Attached is the experimental plasmac component for voltage based spotting.
It uses Centre Spot Torch On Time (which is for this exercise Voltage Threshold) in the following ways:
- If the value is below the voltage reached for your Arc OK then this is the voltage the torch will turn off at.
- If the value is above the voltage reached for your Arc OK and the value is below 300 then the torch will turn off when Arc OK is received.
- If the value is above 300 then the torch will turn off (value - 300) milli-seconds after Arc OK is received.
e.g. a value of 450 would turn the torch off 150 mS after receiving Arc OK
I know it is a bit funky but I want it to be reasonably flexible for testing purposes without too many changes.
I haven't added an arc fail timer yet so if the torch doesn't fire then it will just wait with the torch on signal active.
If you rename your existing plasmac.comp (which is probably in ~/linuxcnc-dev/src/hal/components) to plasmac.comp.old then copy this one to that directory then rebuild as you normally do then it should be installed.