20 Gear Drive, Plymouth Ind. Park, Terryville, CT 06786
Tel: (860) 585-1254 Fax: (860) 584-1973 http://www.amci.com
61
Modbus Task
M
ODBUS
TCP C
ONFIGURATION
Enable Modbus TCP Protocol
The internal web page utility can be used to change the communications protocol used by the NXEE2. This is
typically done while setting the IP address. Specifically, follow the steps in section 2.2b,
Modbus Addressing
The register addresses used in this manual are the
Modbus logical reference numbers
†
, which are unsigned
integers starting at zero. This is often called
zero based
addressing. In this scheme, the first register is given
an address of zero. This is the actual addressing scheme used in the Modbus packets.
Another common addressing scheme is
one based
or
data model
addressing. In this scheme, the register’s
number is used as its address, so the first register, Register 1 in the data model, has an address of 1.
Modbus Table Mapping
The Discrete Input and Input Register tables in the Modbus data model map to the same physical memory
locations in the NXEE2 units.
These registers hold data that is reported from the NXEE2 to the host controller.
Addresses for these registers and inputs start at 0 in zero based addressing.
As examples:
Discrete Input 0 is the same memory location as bit 0 of the first Input Register.
Register address 3, the fourth register, contains Discrete Inputs 48 through 63.
The Coil and Holding Register tables in the Modbus data model map to the same physical memory locations
in the NXEE2 units.
These registers hold data that is from the host controller to the unit. This data is typically commands.
Addresses for these registers start at 1024 in zero based addressing. Coil addresses start at 16,384 in
zero based addressing (1024*16).
As examples:
Coil 16384 is the same memory location as bit 0 of the first Holding Register.
Register address 1025, the address of the second Holding Register, contains Discrete Inputs 16,400
through 16,415 in zero based addressing.
Host Addressing
Your host controller may not use these basic addressing schemes for communicating over a Modbus connec-
tion. For example, Modicon controllers use addresses starting at 30000 for Input Registers and addresses
starting at 40000 for Holding Registers. GE hosts internally use their %R memory for Holding Registers and
%AI memory for Input Registers.
If this is the case, you will define a mapping between your host controller’s addressing scheme and the zero
based Modbus TCP addresses when you add the NXEE2 to your host controller. Refer to your host control-
ler’s documentation for information on how to accomplish this.
An AMCI NXEE2 that has been configured for the Modbus TCP protocol requires a
host controller to issue configuration data and read data from the unit. This chap-
ter tell you how the I/O words used by an AMCI NXEE2 are mapped to the Modbus
I/O registers.
† MODBUS Application Protocol Specification V1.1b3, section 4.3: MODBUS Data model.
www.modbus.org
Summary of Contents for NXEE2
Page 22: ...DATA FORMATS NXEE2 User Manual ADVANCED MICRO CONTROLS INC 22 Notes ...
Page 32: ...INSTALLING THE NXEE2 NXEE2 User Manual ADVANCED MICRO CONTROLS INC 32 Notes ...
Page 40: ...SET THE IP ADDRESS AND PROTOCOL NXEE2 User Manual ADVANCED MICRO CONTROLS INC 40 Notes ...
Page 42: ...PROTOCOL SPECIFIC INFORMATION NXEE2 User Manual ADVANCED MICRO CONTROLS INC 42 Notes ...
Page 54: ...IMPLICIT COMMUNICATIONS WITHOUT EDS EtherNet IP Protocol ADVANCED MICRO CONTROLS INC 54 Notes ...
Page 60: ...ETHERNET IP EXPLICIT MESSAGING EtherNet IP Protocol ADVANCED MICRO CONTROLS INC 60 Notes ...
Page 64: ...MODBUS TCP CONFIGURATION Modbus TCP Protocol ADVANCED MICRO CONTROLS INC 64 Notes ...
Page 72: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC ...
Page 74: ...PROFINET NETWORK CONFIGURATION PROFINET Protocol ADVANCED MICRO CONTROLS INC 74 ...