I am helping a friend wire up his CNC lathe to Camsoft. He picks me because of my Allen Bradley PLC and Ladder Logic experience and mechanical engineering education.
I have traced all of the wires in his machine and all servo wires are running straight into an ICM 2900. The limits will also be going to the ICM but my limits are 24v so I was told to throw in a 5v/24v relay.
Its seems all the wires I have from the machine are single wire except the 5v and ground and MOCMDX, MOCMDY, MOCMDZ and its grounds for the servo motors. The single wires for the ICM I have are AMPENX, AMPENY, AMPENZ, MAX+, MAX-, MBX+, MBX-, INX+, INX-, MAZ+, MAZ-, MBZ+, MBZ-, INZ+, INZ-, MAY+, MAY-, MBY+, MBY-, INY+, INY-, HOMEX, HOMEZ, OvertravelX+, OvertravelX-, OvertravelZ+, OvertravelZ-.
I have Coolant, DecelX, DecelZ, Chuck Clamp, Chuck Unclamp, Tail In, Tail Out, Turret Forward, and all Turret Position switches to go to an Opto board. These are all also single wires.
Are there any more wires that I missed that I should have hooked up into the ICM or Opto boards to get this machine running?
My machine runs on 24v so I was told to throw a 5v/24v relay in the loop for my limits and then connect the 5v side of the relay to the ICM and 24v side to the machine. As far as I know relays and the opto boards work off of two wires. Where do you get this second wire from? Is there a common in the machine somewhere? The only wire I can think that would be a common for all of the 24v devices is a wire that plugs into the 0v side of the 24v power supply on the machine. There is also another wire that is plugged into this 0v terminal which runs to a field ground block. Could I just connect all of the second terminals for the 24v relays to these two wires? and then for the 5v side of the 5v/24v relay just to a ground screw?
Any help will be great.