20 RSTi-EP Slice I/O Serial Communication Module
GFK-2992B
FB_MBM_RTU_Master Output Variables
Flag first cycle: set to a value of 1 after the first cycle
Status of COMport, MODBUS is activated
MODBUS transmission is active
MODBUS request is answered OK
Last addressed MODBUS slave
Last offset addr. of MODBUS register
Last number of MODBUS register
Responding Bit of FB_RSTI_EP_5261: Start/Enable Receive
Responding Bit of FB_RSTI_EP_5261: Start/Enable Send
Responding Bit of FB_RSTI_EP_5261: Error acknowledge
Responding Bit of FB_RSTI_EP_5261 flush the transmit buffer of RST- EP-5261
Responding Bit of FB_RSTI_EP_5261: flush the receive buffer of RSTi EP-5261
Responding Bit of FB_RSTI_EP_5261: Disable Tx hard buffer
Responding CNT of FB_RSTI_EP_5261: Byte counter of received bytes of RSTi EP-
5261
Responding CNT of FB_RSTI_EP_5261: Byte counter of transmitted bytes of RSTi
EP-5261
usiMODfailCode Description
Error code
MODBUS: Illegal Function Code
MODBUS: Error Data address
MODBUS: Error telegram length
Parameter error of the function block
COMport open/initializing failed
MODBUS: Error slave address
MODBUS: Slave indicates incorect Function Code
MODBUS: Slave indicates incorrect number or address of register
Note: FB_MBM_RTU_Master uses and calls the auxiliary function block ModbusMaster_CoilMax (included in the library).
For public disclosure