mycnc:stop_end_program
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:stop_end_program [2019/10/28 12:16] – ivan | mycnc:stop_end_program [2019/10/28 13:01] – ivan | ||
---|---|---|---|
Line 39: | Line 39: | ||
};</ | };</ | ||
- | If the Stop button is pressed | + | If the Stop button is pressed |
<code C OFF.plc># | <code C OFF.plc># | ||
Line 64: | Line 64: | ||
};</ | };</ | ||
- | Additionally, | + | The two separate commands allow for a variety of stopping configurations. M02.plc procedure can often be set to have some sort of lift control to prevent issues do to the working tool potentially coming into contact with the working material/ |
+ | |||
+ | Additionally, | ||
+ | |||
+ | <code C __HANDLER_GCODE_STOP> | ||
+ | { | ||
+ | exit(99); | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | Therefore, in a default configuration, | ||
<code C __HANDLER_GCODE_STOP> | <code C __HANDLER_GCODE_STOP> | ||
{ | { | ||
+ | portclr(3); | ||
exit(99); | exit(99); | ||
}; | }; | ||
</ | </ | ||
- | Therefore, in a default | + | In non-default |
mycnc/stop_end_program.txt · Last modified: 2024/02/21 13:54 by ivan