ModbusTCPSlaveR_Diag (FB)

FUNCTION_BLOCK ModbusTCPSlaveR_Diag EXTENDS ModbusTCPSlaveR IMPLEMENTS DED.IDevice

InOut:

Scope

Name

Type

Initial

Comment

Inherited from

Output

xInitDone

BOOL

FALSE

ModbusTCPSlave

xBusy

BOOL

FALSE

Is TRUE as long as a request is in progress

ModbusTCPSlave

xDone

BOOL

FALSE

Is TRUE if a request finished successfully

ModbusTCPSlave

xError

BOOL

FALSE

Is TRUE if a request finished unsuccessfully

ModbusTCPSlave

byModbusError

MB_ErrorCodes

MB_ErrorCodes.UNDEFINED

Specifies the current error as defined in the “MB_ErrorCodes” enumeration

ModbusTCPSlave

ComSettings

ModbusTCPComSettings

ModbusTCPSlave

ComState

ModbusTCPComState

ModbusTCPComState.OFF

ModbusTCPSlave

iChannelIndex

INT

-1

ModbusTCPSlave

Input

xConfirmError

BOOL

FALSE

continue processing at rising edge

ModbusTCPSlave

xDoInit

BOOL

TRUE

If true then xConfirmError also sends all reset init commands, false (old behaviour)

ModbusTCPSlave

Output

usiActiveLine

USINT

0

ModbusTCPSlaveR

ComStateBackup

ModbusTCPComState

ModbusTCPComState.OFF

ModbusTCPSlaveR

Properties:

Methods:

Structure: