Was curious if anyone has had to change what the E-Stop function performs on an Oak controlled CNC Mill? I have my coolant output tied to some clamps that I would like to stay on even if someone hit E-Stop, would this be possible?
Basically I'd like the E-Stop to NOT stop my mist coolant output
How to change E-Stop functionality
Moderator: cnckeith
-
- Posts: 5
- Joined: Tue Apr 04, 2023 10:48 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 008DC111213-1123221408
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Wisconsin
Re: How to change E-Stop functionality
Rather than trying to change the behavior of Mist coolant (some of which is hard-coded into CNC12), you would be better off to define a PLC output and functions that do what you want: e.g. toggle on and off with an Aux key; turn on and off with M functions; and remain unchanged by error or fault conditions.
For example, in general outline:
If your program has existing code that includes "RST M10_SV" in response to no program running, delete that line.
To avoid compile errors after you take away the "Mist_O IS OUT4" definition, you can either delete the "Mist coolant on/off" block, or you can add a definition to put "Mist_O" on an unused memory bit.
For example, in general outline:
Code: Select all
Clamp_O IS OUT4
;...
M10_SV IS SV_M94_M95_4
;...
IF (Aux3Key_I || KbAux3Key_M || SkinAux3_M_SV) THEN (Aux3PD_PD)
IF M10_SV ^ Aux3PD_PD THEN (Aux3LED), (Clamp_O)
To avoid compile errors after you take away the "Mist_O IS OUT4" definition, you can either delete the "Mist coolant on/off" block, or you can add a definition to put "Mist_O" on an unused memory bit.