IoDrvModbusSerialSlave (FB)

FUNCTION_BLOCK IoDrvModbusSerialSlave EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter

An instance of this function block is generated for each serial Modbus Server device in the device tree.

InOut:

Scope

Name

Type

Initial

Comment

Input

xEnable

BOOL

TRUE

TRUE : start operation, open Com-Port

Output

xOnline

BOOL

Com Port opened, receives data

xBusy

BOOL

operating

xInternalError

BOOL

FALSE

ComPort errors or licence not ok

ErrorCode

UDINT

error code