ModbusTCPSlave_Diag
(FB)
FUNCTION_BLOCK ModbusTCPSlave_Diag EXTENDS ModbusTCPSlave IMPLEMENTS IDevice
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Output
xInitDone
BOOL
FALSE
xBusy
BOOL
FALSE
Is TRUE as long as a request is in progress
xDone
BOOL
FALSE
Is TRUE if a request finished successfully
xError
BOOL
FALSE
Is TRUE if a request finished unsuccessfully
byModbusError
MB_ErrorCodes.UNDEFINED
Specifies the current error as defined in the “MB_ErrorCodes” enumeration
ComSettings
ComState
ModbusTCPComState.OFF
iChannelIndex
INT
-1
Input
xConfirmError
BOOL
FALSE
continue processing at rising edge
xDoInit
BOOL
TRUE
If true then xConfirmError also sends all reset init commands, false (old behaviour)
IDevice
ModbusTCPSlave_Diag.GetDeviceDiagnosisInfo
(METH)ModbusTCPSlave_Diag.GetDeviceErrorAsync
(METH)ModbusTCPSlave_Diag.GetDeviceInfo
(METH)ModbusTCPSlave_Diag.GetDeviceState
(METH)ModbusTCPSlave_Diag.GetSpecificDeviceErrorAsync
(METH)ModbusTCPSlave_Diag.GetSpecificDeviceState
(METH)ModbusTCPSlave_Diag.SetCommunicationState
(METH)
INode