ModbusSerialSlaveBase
(FB)
FUNCTION_BLOCK ModbusSerialSlaveBase EXTENDS ModbusSlaveBase
- InOut:
Scope
Name
Type
Initial
Comment
Input
xTrigger
BOOL
FALSE
Triggers sending all configured Modbus channels on a rising edge
xReset
BOOL
FALSE
Restarts communication and resets “xError” and “byModbusError”.
xAcknowledge
BOOL
FALSE
Restarts communication but does not reset “xError” or “byModbusError”
xDoInit
BOOL
TRUE
If true then xReset also sends all reset init commands, false (old behaviour)
Output
xInitDone
BOOL
FALSE
All init commands have been processed
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 any error occurred. Communication to this Slave is suspended.