Page 1 of 1

Where to find all the PLC example files?

Posted: Sat May 29, 2021 4:29 am
by ashesman
When I installed CNC12, I was given the option of choosing from a list of PLC configurations. Where can I find these files? I want to have a look at some spindle orientation and ATC examples rather than just start writing my own.

Re: Where to find all the PLC example files?

Posted: Sat May 29, 2021 7:04 am
by tblough
They are in the installer download. Open it with a Zip file viewer.

Re: Where to find all the PLC example files?

Posted: Sat May 29, 2021 3:31 pm
by ashesman
Cool, thanks...

Re: Where to find all the PLC example files?

Posted: Sun May 30, 2021 5:32 pm
by martyscncgarage
Spindle orient is usually controlled by the VFD.
Oak would send an output to Orient, and wait for an input from the VFD that Orient is complete.
For this to work, you usually need the encoder option card in the VFD.

Re: Where to find all the PLC example files?

Posted: Sun May 30, 2021 5:33 pm
by martyscncgarage
I would suggest that you may be time and money ahead hiring Marc Leonard (cncsnw) to help you with the PLC programming of your tool changer. If memory serves, your tool changer is not typical?

Re: Where to find all the PLC example files?

Posted: Sun May 30, 2021 5:56 pm
by ashesman
Haha, "Get some bloke in", never!

I already have my tool change program done. And the m codes tested. Its basically a rack tool change like on some router tables so not too complex. The racks are pneumatic to hide the tools. I just have to work out spindle orient with the hitachi vfd. Probably a PID loop but not sure yet as I havent looked into it yet.

I only got the machine powered up yesterday so lots of little things to sort out now!