ModbusSerialSlaveBase (FB)
FUNCTION_BLOCK ModbusSerialSlaveBase EXTENDS ModbusSlaveBase
- InOut:
Scope
Name
Type
Initial
Comment
Input
xTriggerBOOLFALSE
Triggers sending all configured Modbus channels on a rising edge
xResetBOOLFALSE
Restarts communication and resets “xError” and “byModbusError”.
xAcknowledgeBOOLFALSE
Restarts communication but does not reset “xError” or “byModbusError”
xDoInitBOOLTRUE
If true then xReset also sends all reset init commands, false (old behaviour)
Output
xInitDoneBOOLFALSE
All init commands have been processed
xBusyBOOLFALSE
Is TRUE as long as a request is in progress
xDoneBOOLFALSE
Is TRUE if a request finished successfully
xErrorBOOLFALSE
Is TRUE if any error occurred. Communication to this Slave is suspended.