Page 4 of 4

Re: Fryer et-18 easy turn Lathe: AcornSix, USBBOB, plcext1616 does not work <resolved switch to advanced i/o>

Posted: Thu Jan 23, 2025 7:23 pm
by cnckeith
Angelo DiCenso wrote: Thu Jan 23, 2025 12:06 pm For everyone:
After fixing some small errors these M3 and M4 files work.
Now my lathe will switch gears depending on the spindle speed programmed in the G code
Thank you for the help

mfunc3.mac
mfunc4.mac
video please! :D

Re: Fryer et-18 easy turn Lathe: AcornSix, USBBOB, plcext1616 does not work <resolved switch to advanced i/o>

Posted: Mon Feb 10, 2025 8:16 am
by Angelo DiCenso
Good morning all.

Using the updated "M3 and M4" (for automatic gear selection) file I found an error. The file switches the gear with no problem but it did not continue the G code process.
When I added "M94/1" (line 122) it worked but the gear will switch back at the end while the spindle is still turning.
I have added "#150==6001" to keep output 1 non volatile memory 150 in it's state . I don't know if this will work I need opinions so that I stop grinding the gears.
mfunc3.mac
(5.56 KiB) Downloaded 7 times

Re: Fryer et-18 easy turn Lathe: AcornSix, USBBOB, plcext1616 does not work <resolved switch to advanced i/o>

Posted: Wed Feb 12, 2025 4:15 pm
by Angelo DiCenso
cnckeith, cncsnw, suntravel and others
Any Ideas how to stop the low gear (activated by OUTPUT1) switching to high when the job ends??

Re: Fryer et-18 easy turn Lathe: AcornSix, USBBOB, plcext1616 does not work <resolved switch to advanced i/o>

Posted: Sun Feb 16, 2025 2:49 pm
by Angelo DiCenso
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
mfunc3.mac
(5.91 KiB) Downloaded 5 times
mfunc4.mac
(5.75 KiB) Downloaded 3 times
park.mac
(4.33 KiB) Downloaded 3 times

Re: Fryer et-18 easy turn Lathe: AcornSix, USBBOB, plcext1616 does not work <resolved switch to advanced i/o>

Posted: Tue Feb 18, 2025 11:04 pm
by cnckeith
cool, thanks for posting! this will help others in the future!