set_tool_digital_input_action(port, action)
Using this method sets the selected tool digital input register to either a "default" or "freedrive" action.
See also:
set_input_actions_to_defaultset_standard_digital_input_actionset_configurable_digital_input_actionset_gp_boolean_input_action
Parameters
port: The tool digital input port number. (integer)
action: The type of action. The action can either be "default" or "freedrive". (string)
Example command: set_tool_digital_input_action(0, "freedrive")
- Example Parameters:
- n is the tool digital input register 0
- f is set to "freedrive" action