OK, I'm almosts finished but I'm getting an error that I can't figure out. My postgui.hal file looks like this:
#set up the z-axis touchoff button
net remote-z-axis-touchoff classicladder.0.in-00 <= pyvcp.z-axis-touchoff
#set to mdi mode
net halui.mode.is_mdi => classicladder.0.in-01
#wait for motion to finish
net motion.motion-inpos => classicladder.0.in-02
#mdi command 1
net z-touchoff classicladder.0.out-00 => halui.mdi-command-00
#mdi command 2
net z-zero classicladder.0.out-01 => halui.mdi-command-01
#mdi command 3
net rapid-away classicladder.0.out-02 => halui.mdi-command-02
my ladder program is set up just like chester88's example. I get an error like "signal name 'motion.motion-inpos' must not be same as a pin." when trying to start emc. Any suggestions? I'm moderately sure the rest of my postgui code is right.