modbus_set_digital_input_action(signal_name, action)

Sets the selected digital input signal to either a "default" or "freedrive" action.

>>> modbus_set_digital_input_action("input1", "freedrive")

Parameters

signal_name: A string identifying a digital input signal that was previously added. Can not be empty.

action: The type of action. The action can either be "default" or "freedrive". Can not be empty. (string)

Example command: modbus_set_digital_input_action("input1", "freedrive")

  • Example Parameters:
    • Signal name = "input1"
    • Action = "freedrive"