loadrt carousel pockets=12 dir=2 encoding=index
#loadrt conv_float_s32 (already loaded in sim_vmc.hal)
addf carousel.0 servo-thread
addf conv-float-s32.2 servo-thread # G-code analogue outputs are float-type

net car-enable carousel.0.enable
net car-ready carousel.0.ready
net car-ccw motion.digital-out-03
net car-cw motion.digital-out-04
net car-pos-req motion.analog-out-02 conv-float-s32.2.in
net car-pos-s32 conv-float-s32.2.out carousel.0.pocket-number
net index carousel.0.sense-0 motion.digital-in-03
net pulse carousel.0.sense-1 motion.digital-in-04


net arm-act motion.digital-out-00
net arm-in motion.digital-in-01
net arm-out motion.digital-in-00

net tool-release motion.digital-out-02
net tool-released motion.digital-in-02
net tool-locked motion.digital-in-05

net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed

loadusr sim_pin carousel.0.jog-fwd carousel.0.jog-rev
