Code:
motion.motion-type OUT S32
These values are from src/emc/nml_intf/motion_types.h.
0: Idle (no motion)
1: Traverse
2: Linear feed
3: Arc feed
4: Tool change
5: Probing
6: Rotary unlock for traverse
ref: http://linuxcnc.org/docs/2.9/html/man/man9/motion.9.html#MOTION%20PINS