Skip to main content
Skip table of contents

get_modbus_input_multi (iobus)

Features

This function reads the signal from the Modbus Slave unit.

Parameters

Parameter NameData TypeDefault ValueDescription

iobus

string

-

Modbus multi signal name (set in the TP)

Return

ValueDescription

list

List of values corresponding to the number of signals

Exception

ExceptionDescription

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

PY
#Modbus multiple signal is registered as “multi”(cnt=2).
get_modbus_input("multi")   # return = [10, 101]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.