PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Threedj16
Posts: 224
Joined: Thu Feb 22, 2018 1:21 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: C8FD19F23AFF-0213180659
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Augusta, Ga

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by Threedj16 »

martyscncgarage wrote: Sun Jun 03, 2018 3:22 pm You'll get there. I'm very interested to hear how you make out with Fusion.
I think a super helpful guy named Ron just spotted my issue. I was calling the wrong offsets for each tool (or using the wrong table of offsets). Not used to having offset tables setup since I have an ER16 mill and use a probe routine after each tool change. Well, about to go see if this works.
Last edited by Threedj16 on Tue Nov 12, 2019 4:37 pm, edited 2 times in total.


Threedj16
Posts: 224
Joined: Thu Feb 22, 2018 1:21 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: C8FD19F23AFF-0213180659
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Augusta, Ga

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by Threedj16 »

Threedj16 wrote: Sun Jun 03, 2018 3:36 pm
martyscncgarage wrote: Sun Jun 03, 2018 3:22 pm You'll get there. I'm very interested to hear how you make out with Fusion.
I think a super helpful guy named Ron just spotted my issue. I was calling the wrong offsets for each tool (or using the wrong table of offsets). Not used to having offset tables setup since I have an ER16 mill and use a probe routine after each tool change. Well, about to go see if this works.
Well, scratch that knowing where the problem is.....I screwed up and got my dates mixed up. Thought I had a current report and turns out it was an older version before I setup my tool table.......... :oops:
Last edited by Threedj16 on Tue Nov 12, 2019 4:36 pm, edited 1 time in total.


Threedj16
Posts: 224
Joined: Thu Feb 22, 2018 1:21 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: C8FD19F23AFF-0213180659
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Augusta, Ga

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by Threedj16 »

I'll update the code in this thread soon. If you check my other thread, you'll see I had mechanical issues that are hopefully now all solved. The new code addresses several issues if you use the macro buttons on the pendant along with Aux buttons on the Virtual Control Panel. There were a couple of the Aux buttons that got tied in with the pendant macro 4 and pendant "=0" along with Aux 8 and 9 if my memory serves me correctly. The new code will solve those if you are using those buttons. All thanks to Centroid Tech support for getting those items straightened out for me.

Also want to mention that if you want to use incremental on the virtual control panel and you had use the pendant on VV mode, you need to turn the pendant select axis knob to "off" before trying to use incremental. Doesn't matter if you turned off the pendant, it still stays on VV. Thanks to Marty for helping me find that work around on it.

Anyway, I'll post up a new file hopefully this weekend that solves those issues and includes all the working turret software for a two optical sensor lathe turret. Shouldn't matter the number of tools, as that is set in the parameters section. But this only works with a tool one switch and a switch for each tool position.


martyscncgarage
Community Expert
Posts: 9958
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: Yes
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: Yes
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Mesa, AZ

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by martyscncgarage »

Threedj16 wrote: Wed May 30, 2018 9:07 pm Ok, wasn't thinking.....LOL. Forgot to just hit reset twice and then all is back to normal if you fault the turret. Anyway, I've played with this code lathe turret enough to feel pretty good that it will work fine. Mario ran some Gcode that just did a bunch of turret moves and it worked fine. We tested using Aux11 button, ATC call, midi call and Gcode call. The only thing it won't do is remember the tool number after startup when if you've used the Aux button. Think it remembers the rest.

Also the Aux 10 is setup for relay 8 as a toggle on/off for my work light and that is in the PLC code. If you don't want that, just search Aux10 and comment out that section. It comes on at startup and then anytime you touch Aux10, it toggles the light. I think everything else I've done was via macros.

Anyway, here is the report file.

report_C8FD19F23AFF-0213180659_2018-05-26_01-31-07.zip
Still running with this PLC Jasen?
No changes?
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


Threedj16
Posts: 224
Joined: Thu Feb 22, 2018 1:21 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: C8FD19F23AFF-0213180659
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Augusta, Ga

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by Threedj16 »

Hey Marty,

I actually totally forgot about this stuff. It took me a while to get my lathe Z keeper and turret pawl rebuilt due to my back issues. So when I finally got it done, a new project for my mill popped up and the lathe dropped off my radar. I'm about to need it soon, so in the next few weeks it will be back up and running, then I can figure out which program I'm running. I do remember the version I have solves the errors with the jog pendant macro buttons being tied to the virtual panel Aux buttons.

But since I've taken everything apart, I need to verify all my setting again along with turret sensor plate needs to be aligned.

Too many projects and too few good days to do them......
Last edited by Threedj16 on Tue Nov 12, 2019 4:33 pm, edited 1 time in total.


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

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by cnckeith »

We are working on adding ATC auto configuration support into the Acorn Wizard. In the meantime we have created plc code and schematic that supports typical 4 bit grey code Lathe Turret. Please find the precompiled ready to run files here...

http://www.centroidcnc.com/centroid_diy ... turret.zip

instructions and schematic are included in the zip file above.
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

Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


PLData
Posts: 44
Joined: Sat Oct 14, 2017 2:10 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: many boards
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Denmark

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by PLData »

Hi Threedj16,

Am starting converting my EMCO 55 to Acorn, and I want to use the original tool changer board for controle.

Dit you godt the original EMCO 55 tool changer to work ?

Please shere your working repport ZIP, Centroic have remove you old repport ZIP file.

\PLData


Chaz
Posts: 856
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by Chaz »

cnckeith wrote: Wed Sep 05, 2018 11:26 am We are working on adding ATC auto configuration support into the Acorn Wizard. In the meantime we have created plc code and schematic that supports typical 4 bit grey code Lathe Turret. Please find the precompiled ready to run files here...

http://www.centroidcnc.com/centroid_diy ... turret.zip

instructions and schematic are included in the zip file above.
Thanks for this, Ive just got a Duplomatic which has 4 bit logic and some other bits, will try and get it working with this. I do however also need to activate a brake and solenoids, I'm guessing with the number of outputs we currently have (pre expansion), I might not be able to do this yet?


martyscncgarage
Community Expert
Posts: 9958
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: Yes
AcornSix CNC Controller: Yes
Allin1DC CNC Controller: Yes
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Mesa, AZ

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by martyscncgarage »

Chaz wrote: Sun Oct 14, 2018 5:53 am
cnckeith wrote: Wed Sep 05, 2018 11:26 am We are working on adding ATC auto configuration support into the Acorn Wizard. In the meantime we have created plc code and schematic that supports typical 4 bit grey code Lathe Turret. Please find the precompiled ready to run files here...

http://www.centroidcnc.com/centroid_diy ... turret.zip

instructions and schematic are included in the zip file above.
Thanks for this, Ive just got a Duplomatic which has 4 bit logic and some other bits, will try and get it working with this. I do however also need to activate a brake and solenoids, I'm guessing with the number of outputs we currently have (pre expansion), I might not be able to do this yet?
Acorn dkes not have enough IO for this. You have left realm of Acorn and should be looking at OAK or All in One DC and a custom PLC.

Which model turret and what machine?
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


Chaz
Posts: 856
Joined: Thu Feb 08, 2018 7:57 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: PLC Program For Emco PC Turn 55 (using original turret board and motor) <Success>

Post by Chaz »

martyscncgarage wrote: Sun Oct 14, 2018 6:58 am
Chaz wrote: Sun Oct 14, 2018 5:53 am
cnckeith wrote: Wed Sep 05, 2018 11:26 am We are working on adding ATC auto configuration support into the Acorn Wizard. In the meantime we have created plc code and schematic that supports typical 4 bit grey code Lathe Turret. Please find the precompiled ready to run files here...

http://www.centroidcnc.com/centroid_diy ... turret.zip

instructions and schematic are included in the zip file above.
Thanks for this, Ive just got a Duplomatic which has 4 bit logic and some other bits, will try and get it working with this. I do however also need to activate a brake and solenoids, I'm guessing with the number of outputs we currently have (pre expansion), I might not be able to do this yet?
Acorn dkes not have enough IO for this. You have left realm of Acorn and should be looking at OAK or All in One DC and a custom PLC.

Which model turret and what machine?
Marty
Ill probably start a new thread. Duplomatic 160-20. Retrofit onto my Harrison M300 which we previously got to work with a smaller Stepper driver ATC.

I just messed about with it in the garage, even if I use it 'manually' its better than nothing. It doesnt have the brake wired in, so one less thing to worry about. There is some logic in their documents as to how it works. Mine goes OK one direction but doesnt like to reverse. That said, its being run off a mismatched VFD. I wonder if changing it to a servo would be better, not sure. The shaft / spline is all integral, so will need to look at the options.


Post Reply