Well any alcohol is too expensive for me, I dont touch the stuff
Ok here is an explanation of the ladder in the PLC for the Chirons toolchanger, it is a lot harder to explain in writing than it is to actually do in the ladder
.
Inputs to PLC
There are 28 inputs in total
There are 2 prox switches on each tool cylinder, one for up and one for down. So 24 of them
.
There are also two prox switches on the cylinders that raise and lower the whole tool cage
There is one on the tool clamping cylinder to indicate that it has unclamped.
I also have an input from my spindle drive to indicated spindle zero speed. That is settable in the drive to come on at whatever speed I choose and will likely be around 50rpm as the changer actually needs some rotation to engage the spring loaded dog into the tool holder.
Outputs from PLC
There are 16 Outputs, actually 17 bit the air clast I have just connected to the Toolchanger Up relay, so both will operate at the same time.
There are 4 rungs in this ladder for each tool and below you will see them.
The first rung goes like this
Tool 1 Signal From Mach is seen so the rung starts, when the signal from the drive indicates the spindle speed has dropped sufficiently it closes then the next two are OR’d, they are Tool 1 Up Prox and Cage Up Prox, however you will notice I have then as Normally Closed contacts in the ladder, that means that they will allow the ladder to complete if there are not any signals from them, i.e. if tool 1 was down then that contact would open.
So Tool 1 is Up so the NC contact is closed, the Tool cage is Up so at this point that contact is open. So we now have a complete path to the Solenoid output to unclamp the tool.
It unclamps which closes the contact below which is the Unclamped prox and the Tool is Up so the Tool Down contact next in the rung being a normally closed contact allows that part of the ladder to complete which means the Cage Down solenoid is activated.
In the next part the cage down prox is seen so it close.. The next part is looking at all the tool prox switches, they are in the ladder as NC so if all tools are up there will be no passage through to the output as all these contacts would be open. That is fine as if no tools are down there is no need to operate the Tool 1-12 solenoids. If however one tool is down then that would be a closed contact and allow that section of the ladder to complete and the Tool 1-12 Up solenoid would be operated output would be active.
Now to Rung 2.
We have the tool call from Mach and the Spindle Zero speed signal like before so they are closed, cage down and unclamped likewise. The Tool 1-12 Up Output is a NC contact, that means that this rung cant complete until all tools are up and the outputs has been switched off. It will be off as all tolls should now be up and because of that the output will not get power due to the part of the rung being shut off (NC contacts for Tool 1, 2 etc Up Prox being seen) So that contact is closed now and allows you to move onto the next, this is just an added safety, I have all Tool up prox inputs on that line, if one is not up then the rung cant complete. I have deleted them from the ladder so it able to be viewed in the pic and only have the first two but they will be added back in after I finish typing this
Anyway that rung completes so the Tool 1 Down Solenoid operates.
Now onto the next rung. Tool 1 signal from Mach, Zero Spindle speed are closed and when tool 1 prox is seen then that closes, the other tool up proxs are closed because the tools are up (again I have deleted them to allow me to get the pic on screen) and the rung completes and the tool cage Up solenoid operates.
Now if we go back to the first rung you will see a few things have happened.
First thing was, as mentioned before, Tool 1-12 solenoid was shut off as the tools were all up.
The rung above was also shut off when Tool 1 prox down was seen.
In the first part of rung 1 the Tool 1 Down NC contact is now open because Tool 1 is down but as I have the cage Up Prox as a NC it is still activating the tool unclamp solenoid but as the cage has now just been sent up that closes and the tool now gets clamped.
That is the toolchange complete and the only thing wee need to do now is tell mach so it can shut off the tool call signal and then carry on with the machining.
Rung 4 does that, Cage is up, Tool Unclamp signal is not seen, tool 1 down prox is seen so the rung is complete and the signal is sent to Mach, the toolchange macro in Mach has been waiting for this so now it sees it it shuts off the tool call then tells Mach to continue.
All of the above will happen in something like 1 second or less, shame it took me 30 mins to type it and probably a lot longer for you to read
Hood