RSTi-EP Slice I/O Serial Communication Module 19
GFK-2992B
Supported Function Codes
Description Output
Read multiple coil status
Reading of bit variables (Coils)
Read multiple input status
Reading of bit variables (Inputs)
Read multiple holding registers
Reading of word variables (Register)
Read multiple input registers
Reading of word variables (Inputs)
Writing of a bit variable
Writing of a word variable
Loop back diagnostic test (00: return query data)
Writing multiple bit variables (Coils)
Writing multiple word variables (Register)
FB_MBM_RTU_Master Input Variables
xEnable BOOL
Enable COM port for MODBUS communication and reset/initiate the module EP-
5261 while toggle the flag.
Address of MODBUS Slave. Default = 0.
usiMODfc BYTE
Function codes
1, 2, 3, 4, 5, 6, 8, 15, 16 are supported, depending of the MODBUS slave
Offset address (begin) of MODBUS register that will be accessed
Number of MODBUS register of the access
Timeout for MODBUS slave answer. Default = 10s, value in second.
Start of a MODBUS request 0 to 1
Responding bit of FB_RSTI_EP_5261: Receive action is active
Responding bit of FB_RSTI_EP_5261: Receive action is done
Responding CNT of FB_RSTI_EP_5261: Received byte count
Responding bit of FB_RSTI_EP_5261: Send action is active
Responding bit of FB_RSTI_EP_5261: Send action is done
Responding CNT of FB_RSTI_EP_5261: Send byte count
Responding bit of FB_RSTI_EP_5261: RxHWBuffer not empty
Responding state of FB_RSTI_EP_5261 RetVal of FB_RSTI_EP_5261
FB_MBM_RTU_Master Input/Output Variables
warMODRegister
MODBUS data: Buffer for receive or send register, such as
MBM_Data01.arwMB_Register.
xarMODCoil
MODBUS data: Buffer for receive or send BOOL(coil) variables, such as
MBM_Data01.arxMB_Coil.
bInputbuffer
Array 0..270 of
BYTE
Responding data base of FB_RSTI_EP_5261: Address of the buffer for
receives data within the PLC. Array of 400 elements of data type BYTE,
such as myUDT01.arbRecvData.
bOutputbuffer
Array 0..270 of
BYTE
Responding data base of FB_RSTI_EP_5261: Address of the buffer for the
transmit data within the PLC. Array of 400 elements of data type BYTE,
such as myUDT01.arbSendData.
For public disclosure