I have limit switches that go directly to the servo drives and a seperate set going directly to the controller.
I need to have a high output while homing to bypass the servo limits.
I thought i found it in the manual for a homing output
Code:
# connect limit/home switch outputs to motion controller
newsig Xminlim bit
newsig Xmaxlim bit
newsig Xhome bit
net Xmaxlim axis.0.pos-lim-sw-in ppmc.0.din.01.in-not
net Xminlim axis.0.neg-lim-sw-in ppmc.0.din.02.in-not
net Xmaxlim axis.0.home-sw-in
net Xhome axis.0.homing ppmc.0.dout.00.out
newsig Yminlim bit
newsig Ymaxlim bit
newsig Yhome bit
net Ymaxlim axis.1.pos-lim-sw-in ppmc.0.din.03.in-not
net Yminlim axis.1.neg-lim-sw-in ppmc.0.din.04.in-not
net Ymaxlim axis.1.home-sw-in
#net Yhome axis.1.homing ppmc.0.dout.00.out
newsig Zminlim bit
newsig Zmaxlim bit
newsig Zhome bit
net Zmaxlim axis.2.pos-lim-sw-in ppmc.0.din.06.in-not
net Zminlim axis.2.neg-lim-sw-in ppmc.0.din.05.in-not
net Zmaxlim axis.2.home-sw-in
#net Zhome axis.2.homing ppmc.0.dout.00.out
I get the error that ppmc.0.dout.00.out is already linked to home. I need this same output when I am homing each axis. It says the error is on line #26 which is the Yhome...homing..... line. But I need all three to do this with the same output. Is there another way to approach this?
Thanks!