ModbusTCPSlave (FB)¶
FUNCTION_BLOCK ModbusTCPSlave EXTENDS ModbusTCPSlaveBase
- InOut:
- Scope - Name - Type - Initial - Comment - 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) 
Methods:
Structure: