GCODEHOLD(9) HAL Component GCODEHOLD(9) NAME gcodehold - LinuxCNC HAL component that holds plasma torch height based on M68 cmmand SYNOPSIS loadrt gcodehold [count=N|names=name1[,name2...]] DESCRIPTION This component monitors motion.analog.out.00 pin which is set by M67 or M68 command. Refer to Sheetcam .post file. Typical .post values are: dynthcOnCode = " M67 E0 Q20" dynthcOffCode = " M67 E0 Q10" statthcONCode = " M68 E0 Q20" statthcOffCode = " M68 E0 Q10" EXAMPLE: loadrt gcodehold names=ghold loadrt or2 addf 0r2.0 servo_thread addf gcodehold servo-thread net g-hold <= motion.analog-out-00 net g-hold => ghold.command net g-hold-on <= ghold.hold-request net g-hold-on => or2.0.in0 net k-hold-on => or2.0.in1 net thc-is-held <= or2.0.out net thc-is-held => zo.hold-request net z-moves-up zdir.moving-down => gui.led-z-down FUNCTIONS gcodehold.N (requires a floating-point thread) PINS gcodehold.N.command float in Connect to motion.analog-out-00 gcodehold.N.hold-request bit out True if gcode hold THC requested M68 E0 Q20-30, False if M68 E0 Q10-19 AUTHOR Rod Webster LICENSE GPL LinuxCNC Documentation 2017-04-25 GCODEHOLD(9)