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

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

cnckeith
Site Admin
Posts: 8879
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

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

Post 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
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


Angelo DiCenso
Posts: 64
Joined: Fri Jun 17, 2022 3:20 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: cnc12 Mill Pro E0623483321F-0412225912,CNC Router Pro E0623479658B-1022203857
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Mass
Contact:

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

Post 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 6 times


Angelo DiCenso
Posts: 64
Joined: Fri Jun 17, 2022 3:20 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: cnc12 Mill Pro E0623483321F-0412225912,CNC Router Pro E0623479658B-1022203857
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Mass
Contact:

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

Post 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??


Angelo DiCenso
Posts: 64
Joined: Fri Jun 17, 2022 3:20 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: cnc12 Mill Pro E0623483321F-0412225912,CNC Router Pro E0623479658B-1022203857
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Mass
Contact:

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

Post 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 4 times
mfunc4.mac
(5.75 KiB) Downloaded 2 times
park.mac
(4.33 KiB) Downloaded 2 times


cnckeith
Site Admin
Posts: 8879
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

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

Post by cnckeith »

cool, thanks for posting! this will help others in the future!
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


Post Reply