Replies: 2 comments 1 reply
-
M64 and M65 are used for turning on and turning off (respectively) digital outputs immediately. That should do your task. E.g. M64P1 makes aux output 1 on immediately. This command skips planner buffer for execution. So it executes immediately when read. |
Beta Was this translation helpful? Give feedback.
-
This can be done but not via the keypad macro plugin since that can only execute macros when in grblHAL is in idle state. A new plugin that claims aux inport ports and add interrupt handlers that calls functions such as E.g. the template macro plugin can be modified for this by changing the following functions to something like this:
Buttons could be used to toggle the outputs by storing the previous state and inverting it on each interrupt. |
Beta Was this translation helpful? Give feedback.
-
Hei ;)
last weekend i hooked up a modbus relay board to my grblhal2k-EST, to control it i use the "MBIO" Plugin from Risototh -
https://github.com/risototh/grblHAL-modbus-io
had some issues to compile it since there were missing some semicolon (label and decleration order problem) and a error message problem with a "Status_ExpressionInvalidResult", so everytime switching a reset occured... i handeled that by changing the error message type to "Status_OK" quite pragmatic :D
So now to my wish or idea...
would it be possible to make the macro buttons and / or m-codes the same priority as the realtime buttons, such as start, stop, hold and so on?
This would be awesome when using a button panel to switch on an off some thing during a running job
have a nice week! ;)
cheers Einar! :)
Beta Was this translation helpful? Give feedback.
All reactions