I am trying to figure out how to set this up.
My pendant has a rotary switch for the axis selection (Off, X,Y,Z,4,5,6)
These 7 positions operate on 3 Pokeys inputs as follows (0=Off 1=On)
Pin7 Pin3 Pin4
OFF 0 0 0
X 0 0 1
Y 0 1 0
Z 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
How would I make this work? It used to work with the Mach3 setup, but that was using a Machmotion plugin.
I also do not want these to take any action unless the "Deadman" or Pendant Enable Switch is on (Pin 12).
I am not sure if I should be trying to handle this with LUA code in Mach4 somewhere, or using the Pokeys plugin, or a combination of both.
I an get the MPG to work and select X and Y using the Pokeys Pendant settings, but there is no option to make an axis select with two pins being active, so that seems to be a bust.
I replaced the Pokeys 55 with a 57E and all the inputs work as they did with the 55, but now I seem to be on the fun part of getting it all to work from here. I have the E-Stop, Cycle Start, and Feed Hold working as they should, but I got stuck on this "Matrix" for the pendant axis switch. Everything else has single inputs (including the axis selector on the control panel).
I attached a spreadsheet of what I mapped out...