i have come to the difficult bit now, i am looking some help with a macro for a tool change. on the rear of the tool changer there is a rotary switch with 8 positions and another micro switch to tell the machine it has locked.
i have all the inputs reading on the motion controller.
when the motor goes fwd it pushes the tool plate out and then starts to rotate it, on reverse it draws the plate back in until the micro switch sees it.
should add i have no clue about macros.
cheers