# If you are already using some 'and2', 'or2' or 'not' blocks, then you have
# to renumber what you see below, and increase the 'count' on the existing
# loadrt lines
loadrt and2 count=1
loadrt not count=1
loadt or2 count=2
addf or2.0 base-thread
addf or2.1 base-thread
addf or2.2 base-thread
addf not.0 base-thread
addf and2.0 base-thread
net master-sw parport.0.in-NN => and.0.in-0 axis.0.home-sw-in axis.1.home-sw-in axis.2.home-sw-in
net x-is-homing axis.0.homing => or2.0.in-0
net y-is-homing axis.1.homing => or2.1.in-1
net xy-is-homing or2.1.out => or.2.in-0
net z-is-homing axis.2.homing => or2.2.in-1
net any-axis-homing or2.2.out => not.0.in
net no-axis-homing not.0.in => axis.0.neg-lim-sw-in axis.0.neg-lim-sw-in
net no-axis-homing not.0.in => axis.1.neg-lim-sw-in axis.1.neg-lim-sw-in
net no-axis-homing not.0.in => axis.2.neg-lim-sw-in axis.2.neg-lim-sw-in