modbus_set_signal_update_frequency(signal_name, update_frequency)

Sets the frequency with which the robot will send requests to the Modbus controller to either read or write the signal value.

>>> modbus_set_signal_update_frequency("output2",20)

Parameters

signal_name:A string identifying an output digital signal that in advance has been added. Can not be empty.

update_frequency: An integer in the range 0-500 specifying the update frequency in Hz.

Note: The function accepts -1 and 0 as a valid input as a special value to create acyclic signals.

Note: If the input is 0 the signal will be acyclic.

Example command: modbus_set_signal_update_frequency("output2", 20)

  • Example Parameters:
    • Signal name = output2
    • Signal update frequency = 20 Hz