How to block THC function?
THC functions are blocked by setting the “Anti-dive vel. (%)” parameter to 100. To do this, set the machine parameter 4061 to 100. To unlock THC, you must restore the previously saved value of the parameter 4061.
1) From a macro:
To block THC
d.setMachineParam( 50, d.getMachineParam( 4061 ) ) # Saving parameter 4061 in a non-volatile parameter 50
d.setMachineParam( 4061, 100 ) # Block THC by setting the value to 100 for the “Anti-dive vel. (%)” parameter
To unblock
d.setMachineParam( 4061, d.getMachineParam( 50 ) ) # Restore the saved value of the “Anti-dive vel. (%)” parameter
2) From a gcode:
To block THC
#50 = #4061 ( Saving parameter 4061 in non-volatile parameter 50 )
#4061 = 100 ( Block THC after by setting the value to 100 for the “Anti-dive vel. (%)” parameter)
To unblock
#4061 = #50 (# Restoring the saved value of the “Anti-dive vel. (%)” parameter)
[Source:] The text was created by CS-Lab’s Technical Support section for CSMIO/IP users.