20 Gear Drive, Plymouth Ind. Park, Terryville, CT 06786
Tel: (860) 585-1254 Fax: (860) 584-1973 http://www.amci.com
Modbus TCP Protocol
M
ODBUS
TCP C
ONFIGURATION
69
Supported Modbus Functions
Table T5.2 Supported Modbus Functions
Table T5.2 above lists all of the Modbus functions supported by an NX2A4E2. AMCI supports all of these
functions so that you can control the unit as you see fit. However, if you are looking for the easiest way to
interface with your unit, then you only need to use the
Read/Write Registers
function, which is function code
23.
Each NX2A4E2 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.
Supported Modbus Exceptions
Table T5.3 Supported Modbus Exceptions
Function
Code
Function Name
SD4840E2
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
Code
Name
Description
01
Illegal function
The NX2A4E2 does not support the function code in the query.
02
Illegal data address
The data address received in the query is outside the initialized memory area.
03
Illegal data value
The data in the request is illegal.
Summary of Contents for NEXUS NX2A4E2
Page 1: ...MICRO CONTROLS INC ADVANCED U s e r M anual Manual 940 0N090 E2 Technology...
Page 16: ...NX2A4E2 INTRODUCTION NX2A4E2 User Manual ADVANCED MICRO CONTROLS INC 16 Notes...
Page 28: ...DATA FORMATS NX2A4E2 User Manual ADVANCED MICRO CONTROLS INC 28 Notes...
Page 52: ...PROTOCOL SPECIFIC INFORMATION NX2A4E2 User Manual ADVANCED MICRO CONTROLS INC 52 Notes...
Page 56: ...INSTALLING AN EDS FILE EtherNet IP Protocol ADVANCED MICRO CONTROLS INC 56 Notes...
Page 66: ...ETHERNET IP EXPLICIT MESSAGING EtherNet IP Protocol ADVANCED MICRO CONTROLS INC 66 Notes...
Page 70: ...MODBUS TCP CONFIGURATION Modbus TCP Protocol ADVANCED MICRO CONTROLS INC 70 Notes...
Page 76: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC...