# Keep your plasmac i/o connections here to prevent them from # being overwritten by updates or pncconf/stepconf changes # Other customisations may be placed here as well # This file is built by the configurator in your configuration directory #***** debounce for the float switch ***** # the lower the delay here the better # each 1 is a 0.001mm (0.00004") increase in probed height result loadrt debounce cfg=3 setp debounce.0.delay 5 addf debounce.0 servo-thread loadrt ohmic3 names=ohmicsense addf ohmicsense servo-thread #***** arc voltage lowpass cutoff frequency ***** #***** change to the cutoff frequency you require ***** setp plasmac.lowpass-frequency 0 #***** the joint associated with the Z axis ***** net plasmac:axis-position joint.3.pos-fb => plasmac.axis-z-position net plasmac:arc-voltage-in hm2_7i96.0.encoder.00.velocity => plasmac.arc-voltage-in net plasmac:arc-ok-in hm2_7i96.0.gpio.010.in => plasmac.arc-ok-in net plasmac:float-switch hm2_7i96.0.gpio.005.in_not => debounce.0.0.in net plasmac:breakaway hm2_7i96.0.gpio.006.in_not => debounce.0.1.in # net plasmac:ohmic-probe {YOUR OHMIC PROBE PIN} => debounce.0.2.in # net plasmac:ohmic-enable plasmac.ohmic-enable => {YOUR OHMIC ENABLE PIN} net plasmac:torch-on => hm2_7i96.0.ssr.00.out-00 # a 1 here allows multiple tools to be used # gcode M3 S1 needs to be changed to: # M3 $0 S1 for the plasma torch # M3 $1 S1 for the scribe # M3 $2 S1 for spotting setp plasmac.multi-tool 1 # net plasmac:scribe-arm plasmac.scribe-arm => ***YOUR_SCRIBE_ARMING_OUTPUT*** net plasmac:scribe-on plasmac.scribe-on => hm2_7i96.0.ssr.00.out-01 # ---THC signals--- #0V = 117.4 KHz #10v = 964.9 KHz setp hm2_7i96.0.encoder.00.scale -1 setp hm2_7i96.0.encoder.00.counter-mode 1 setp hm2_7i96.0.encoder.00.filter 1 # ---OHMIC signals--- #0V = 136.5 KHz #5v = 983.7 KHz setp hm2_7i96.0.encoder.01.scale -1 setp hm2_7i96.0.encoder.01.counter-mode 1 setp hm2_7i96.0.encoder.01.filter 1 setp ohmicsense.thcad-0-volt-freq 136500 setp ohmicsense.thcad-max-volt-freq 983700 setp ohmicsense.thcad-divide 32 setp ohmicsense.thcad-fullscale 5 setp ohmicsense.volt-divider 4.9 setp ohmicsense.ohmic-threshold 23.5 setp ohmicsense.ohmic-low 21.5 setp ohmicsense.mode 1 setp ohmicsense.num-readings 10 net ohmic-vel ohmicsense.velocity-in <= hm2_7i96.0.encoder.01.velocity #unlinkp debounce.0.2.in net ohmic-true ohmicsense.ohmic-on => debounce.0.2.in net plasmac:ohmic-enable plasmac.ohmic-enable => ohmicsense.is-probing #net ohmic:type <= motion.motion-type #net ohmic:type => ohmicsense.motion-type-in net plasmac:motion-type => ohmicsense.motion-type-in net ohmic:power <= ohmicsense.power-on