mycnc:stop_end_program
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mycnc:stop_end_program [2019/10/28 12:50] – ivan | mycnc:stop_end_program [2024/02/21 13:54] (current) – ivan | ||
---|---|---|---|
Line 2: | Line 2: | ||
{{: | {{: | ||
+ | |||
+ | A video recap of the following manual is available on our YouTube channel: | ||
+ | |||
+ | {{youtube> | ||
When using myCNC, the actions performed by the program when the Stop button is pressed are defined in the following files: | When using myCNC, the actions performed by the program when the Stop button is pressed are defined in the following files: | ||
Line 9: | Line 13: | ||
* %%__HANDLER_GCODE_STOP%% (Settings > Config > PLC > Software PLC) | * %%__HANDLER_GCODE_STOP%% (Settings > Config > PLC > Software PLC) | ||
- | The actions taken upon pressing the button differ depending on the sequence | + | The exact actions taken upon pressing the Stop button differ depending on the number |
<code C M02.plc> | <code C M02.plc> | ||
Line 39: | Line 43: | ||
};</ | };</ | ||
- | If the Stop button is pressed | + | :!: **NOTE:** Note the '' |
+ | |||
+ | {{: | ||
+ | |||
+ | If the Stop button is pressed | ||
<code C OFF.plc># | <code C OFF.plc># | ||
Line 64: | Line 72: | ||
};</ | };</ | ||
- | As can be seen, while the M02.plc procedure will have some sort of lift control to prevent issues do to the working tool potentially coming into contact with the working material/ | + | {{:mycnc:stop-end-004-off.png}} |
- | Additionally, | + | The two separate commands allow for a variety of stopping configurations. M02.plc procedure will often be set to have some sort of lift control to prevent issues due to the working tool potentially coming into contact with the working material/ |
+ | |||
+ | Sometimes, when issues arise with the lift procedure, or with any of the processes described in the M02 procedure, it is advisable to click the Stop button twice in order to obtain a complete and total G-code run shutdown (if that is the way that the codes have been set up). | ||
+ | |||
+ | Additionally, | ||
<code C __HANDLER_GCODE_STOP> | <code C __HANDLER_GCODE_STOP> | ||
Line 74: | Line 86: | ||
</ | </ | ||
- | Therefore, in a default configuration, this handler will simply activate, do nothing | + | {{: |
+ | |||
+ | As can be seen from the code above code, in its default configuration | ||
<code C __HANDLER_GCODE_STOP> | <code C __HANDLER_GCODE_STOP> | ||
Line 83: | Line 97: | ||
</ | </ | ||
- | In non-default configurations, | + | In non-default configurations, |
+ | |||
+ | |||
+ |
mycnc/stop_end_program.txt · Last modified: 2024/02/21 13:54 by ivan