Uthayne-
I've attached a zip file with the relevant config files. I'm using QtPlasmaC so the .prefs file is important as well. Since QtPlasmaC puts some limits on what are acceptable for the Arc Voltage Offset and the Arc Voltage Scale (it basically expects a MESA THCAD of some sort), for scaling I used a combo of encoder scaling in custom.hal:
# The QtPlasmaC GUI does not allow voltage offsets higher than 5 digits, so scale this down here
setp hm2_7i92.0.encoder.00.scale 100
and the offset and scale in the laser_cutter.prefs file:
[PLASMA_PARAMETERS]
Arc Voltage Offset = 22900
Arc Voltage Scale = 0.10
This leaves me with a ~50-100 range for "arc voltage" in the QtPlasmaC GUI and is sensitive enough to hold height well, at least for the values in the table that Taloot published a while back (0.5-1.5mm).
You might also be interested in the fake "ohmic" probing and fake "arc OK" signals I implemented in the custom.hal file:
Code:
# Make a fake Ohmic probe based on the capacitive sensor
# Use the .velocity-rpm so the .velocity can be left unused for arc_ok
loadrt comp count=1
addf comp.0 servo-thread
net fake-ohmic-probe-in hm2_7i92.0.encoder.00.velocity-rpm comp.0.in0
setp comp.0.in1 930000.0
net plasmac:ohmic-probe comp.0.out
# ohmic output is comp.0.out
# Fake "Arc OK" signal that is always true
loadrt not count=1
addf not.0 servo-thread
setp not.0.in FALSE
net plasmac:arc-ok-in not.0.out
# ---OHMIC SENSE CONTACT DEBOUNCE---
setp plasmac.ohmic-sense-off-delay 3
setp plasmac.ohmic-sense-on-delay 3