3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

get_modbus_input_multi()

Definition

get_modbus_input_multi(iobus)

Features

This function reads the signal from the Modbus Slave unit.

Parameters

Parameter Name

Data Type

Default Value

Description

iobus

string

-

Modbus multi signal name (set in the TP)

Return

Value

Description

list

List of values corresponding to the number of signals

Exception

Exception

Description

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

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

Keyword

get_ / modbus / get_modbus / modbus_input / modbus_input_multi