ModbusTCPSlaveR_Diag (FB)¶
FUNCTION_BLOCK ModbusTCPSlaveR_Diag EXTENDS ModbusTCPSlaveR IMPLEMENTS DED.IDevice
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Output
xInitDoneBOOLFALSE
xBusyBOOLFALSE
Is TRUE as long as a request is in progress
xDoneBOOLFALSE
Is TRUE if a request finished successfully
xErrorBOOLFALSE
Is TRUE if a request finished unsuccessfully
byModbusErrorMB_ErrorCodes.UNDEFINED
Specifies the current error as defined in the “MB_ErrorCodes” enumeration
ComSettingsComStateModbusTCPComState.OFF
iChannelIndexINT-1
Input
xConfirmErrorBOOLFALSE
continue processing at rising edge
xDoInitBOOLTRUE
If true then xConfirmError also sends all reset init commands, false (old behaviour)
Output
usiActiveLineUSINT0
ComStateBackupModbusTCPComState.OFF
Properties:
Methods:
Structure: