cncdrive wrote:The basic idea behind the anti-down is that CAM software's can be coded to insert the anti-down on/off macros to problematic points of the path, e.g. small circles and cross-sections.
Balazs, If CAM software can insert code to the problematic points, why turn on/off MAKROS which will be turn on/off automatic control - too much events? Just put command to enable/disable automatic height control (freeze/defreeze torch and(or) set hardware output pin). For this will be sufficient only two commands, for example M62Px/M63Px.
By the way, this commands uses in any CNC (Linux and Mach4).
M62 P- - turn on digital output synchronized with motion. The P- word specifies the digital output number.
M63 P- - turn off digital output synchronized with motion. The P- word specifies the digital output number.
The M62 & M63 commands will be queued. Subsequent commands referring to the same output number will overwrite the older settings. More than one output change can be specified by issuing more than one M62/M63 command.
The actual change of the specified outputs will happen at the beginning of the next motion command. If there is no subsequent motion command, the queued output changes won’t happen. It’s best to always program a motion G code (G0, G1, etc) right after the M62/63.