M122
#!/bin/sh
# Trigger pins to slave W from Z

halcmd sets  w-z-cmd-s-hold  1
sleep .100 ;# requires a sleep that does <1
halcmd sets  slave-offset-sel  1
sleep .100 ;# requires a sleep that does <1

# if a M1nn command fails and its script exits with nonzero status,
# the gcode program exits.  So always exit 0, and make sure
# the M1nn command prints a message in order to keep on going.
exit 0
