graycode plc confusion

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
Obsidian
Posts: 48
Joined: Tue Dec 03, 2019 10:40 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 780473A92571-0930192501
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

graycode plc confusion

Post by Obsidian »

Looking to clear up confusion about setting up the graycode plc. I'm following the instructions for the ACORN_Gray_Code_2_Motor_Output_Turret_r1.src. When you move the files given for this into your cnct folder and follow the install instructions, does MPU use this plc instead of the original acorn_lathe_plc?
cnckeith
Posts: 7164
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: graycode plc confusion

Post by cnckeith »

yes that is correct. you are using a custom PLC when you use any of the preprogrammed ATC programs and you must wire inputs/outputs just like the schematics shows (or learn how to edit the PLC program yourself:-))

choose custom PLC program in use in the wizard so the wizard doesn't overwrite your custom plc program when you use the wizard to update/change other settings.
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
Obsidian
Posts: 48
Joined: Tue Dec 03, 2019 10:40 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 780473A92571-0930192501
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: graycode plc confusion

Post by Obsidian »

okay! also does the wizard write the Axis Drive Type data into the plc or is there another file that stores that information? I have a custom plc already written for everything but the turret so im going to migrate that stuff over to the graycode plc.
cnckeith
Posts: 7164
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: graycode plc confusion

Post by cnckeith »

when you pick a drive type that "preset" corresponds to the provided drive schematic as a convenience for the user. some drives require connections to acorn inputs and outputs (see the schematics for details) in those cases by definition the drive type preset will assign any inputs and outputs in the wizard to match the schematic, (you can of course change that to you liking and easily create a custom drive type as well). if you are writing your own custom plc you can simply start with one that the wizard created using a the drive type that works with your drives and then modify that wizard generated plc source file code to your special application. just be sure to tell the wizard that you are using a custom PLC program so it doesn't overwrite your work.
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