Call O Codes from hal signal
My first question will be can i start subroutines with signal from Hall in Auto mode
Thanks a lot
Please Log in or Create an account to join the conversation.
HALUI:
You might need to remap your O Word to a user Code first. But after this it's no probemhalui.mdi-command-XX bit in
halui looks for ini variables named [HALUI]MDI_COMMAND, and exports a pin for each command it finds. When the pin is driven TRUE, halui runs the specified MDI command. XX is a two digit number starting at 00. If no [HALUI]MDI_COMMAND variables are set in the ini file, no halui.mdi-command-XX pins will be exported by halui.
linuxcnc.org/docs/html/config/ini-config...l#gcode:ini-features
linuxcnc.org/docs/html/man/man1/halui.1.html
linuxcnc.org/docs/html/remap/remap.html
Cheers
Patrick
Please Log in or Create an account to join the conversation.
Thanks again anfänger
Please Log in or Create an account to join the conversation.
Or exmaple?
In INI file:
[HALUI]
MDI_COMMAND
[HALUI]
MDI_COMMAND.ngc
In config folders must be file:
MDI_COMMAND.ngc
?
Can / must be it in some subfolder.
The *.ngc file must contain M2?
Please Log in or Create an account to join the conversation.
I think that, for example:
MDI_COMMAND = O<my_subroutine> CALL
Please Log in or Create an account to join the conversation.
I think that, for example:
MDI_COMMAND = O<my_subroutine> CALL
Please Log in or Create an account to join the conversation.
MDI_COMMAND=(debug, example: mdi-01)
What "debug" command mean?
Please Log in or Create an account to join the conversation.
linuxcnc.org/docs/stable/html/gcode/over....html#gcode:comments
Listed elsewhere, there is also:
(ABORT, ...) Which stops execution with a message and (py, ...) which will execute python code. (and also (pyrun, ) and (pyreload, ). I don;t know what the last two do.
Please Log in or Create an account to join the conversation.