Fryer gear change using OUTPUT1 to energize the solenoid.
After a week of trying to fix the issue where OUTPU1 closed upon the cycle cancel or job end.
I found on the PLC that OUTPUT 1-8 will automatically be reset on cycle cancel. Centroid must have a reason for that.
In my case if the lathe is on ” LOW gear” and OUTPUT1 closes after a job completion or a cycle cancel, it will force the gear solenoid to slam the gear shifter to the HIGH gear and do a damaging gear grinding ( BIG NO NO ).
To fix this I changed the line on the PLC that resets OUTPUT1 ( I don’t like to change the PLC. It is easy to forget this change when a new version of the CNC12 is installed.
IF SV_STOP || DoCycleCancel THEN RST M61; OUTPUT1
TO:
; IF SV_STOP || DoCycleCancel THEN RST M61; OUTPUT1
Basically, asking the (Acorn-Lathe_PLC.scr) to skip this line. Compiled it and now it all works.
I also added a section on my park macro to change the gear to “HIGH GEAR” before you shut down the Lathe, this way the Gear is always on its normal state “HIGH GEAR” ready for the next day.
Now I can use g code (Spindle Speed) to select the proper gear and run a job
I have added all the files below the that I changed to obtain (gear change up on spindle speed request) for anyone to use or elaborate