M
ODBUS
TCP C
ONFIGURATION
RBE2-8 User Manual
ADVANCED MICRO CONTROLS INC.
46
AMCI Modbus TCP Memory Layout
The RBE2-8 has a starting Input Register address of 0 and a starting Output Register address of 1024. Input
Registers hold the data from the RBE2-8 while Output Registers hold the data to be written to the unit. Figure
T6.1 shows how an RBE2-8 is mapped to the Modbus data reference. The complete specification for the
Modbus protocol can be downloaded at http://www.modbus.org/specs.php.
Figure T6.1 Modbus Data Reference Map
Supported Number of Connections
All RBE2-8 units support four concurrent connections. When connections exist, the Network Status (NS)
LED on the unit will flash green. The number of blinks indicate the number of active connections. There is a
two second break between groups of flashes.
Supported Modbus Functions
Table T6.1 Supported Modbus Functions
Table T6.1 above lists all of the Modbus functions supported by an RBE2-8. AMCI supports all of these func-
tions so that you can control the unit as you see fit. However, if you are looking for the easiest way to inter-
face with your unit, then you only need to use the
Read/Write Registers
function, which is function code 23.
Each RBE2-8 buffers the data that is sent to it over the network. If you use the
Read/Write
Registers
function to write data to the unit, the data read with that command will not contain
the response to the new write data. The response to the new data will be sent with the next data
read.
Function
Code
Function Name
RBE2-8
Register
Addressing method
1
Read Coils
OUTPUT
Bit: Addresses starting at 16,384
2
Read Discrete Inputs
INPUT
Bit: Addresses starting at 0
3
Read Holding Registers
OUTPUT & INPUT
Word: Out Regs.Starting at 1024
In Regs.Starting at 0
4
Read Input Registers
INPUT
Word: Addresses starting at 0.
5
Write Single Coil
OUTPUT
Bit: Addresses starting at 16,384
6
Write Single Register
OUTPUT
Word: Addresses starting at 1024
15
Write Multiple Coils
OUTPUT
Bit: Addresses starting at 16,384
16
Write Multiple Registers
OUTPUT
Word: Addresses starting at 1024
22
Mask Write Register
OUTPUT
Word: Addresses starting at 1024
23
Read/Write Registers
INPUT/OUTPUT
Word: Out Regs.Starting at 1024
In Regs.Starting at 0
Network Input
Data
Not Implemented
Network Output
Data
LSB and MSB
Numbers
Mapped as:
Discrete Inputs
Holding Registers
Input Registers
Mapped as:
Coils
Holding Registers
Register 1024
Register 1025
16,384
16,399
16,400
16,415
0
16
15
31
Register 0
Register 1
Содержание RBE2-8
Страница 14: ...RBE2 8 INTRODUCTION RBE2 8 User Manual ADVANCED MICRO CONTROLS INC 14 Notes ...
Страница 30: ...PROTOCOL SPECIFIC INFORMATION RBE2 8 User Manual ADVANCED MICRO CONTROLS INC 30 Notes ...
Страница 48: ...MODBUS TCP CONFIGURATION RBE2 8 User Manual ADVANCED MICRO CONTROLS INC 48 Notes ...
Страница 54: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC ...