Ethernet Communications Modules, 3rd Edition, Rev. D
5-27
Chapter 5: MODBUS TCP for H0/H2/H4-ECOM100
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Network #1 uses the Hx-ECOM100 in Slot 1. This would be the only slot in 05, first slot in
06, and second slot in 205/405 models.
It will use the range of V-memory from V400 - V502 as the working status, workspace and
buffer. These locations must not be used anywhere else.
Make sure Dipswitch 7 is turned ON in the ECOM100.
The Modbus converter spreadsheet from ADC Tech Support site will be extremely useful
to convert Modbus addresses into the octal-based addressing required in the instructions.
NOTE: NetEdit 3 MUST be used to setup the ECOM100 "Peer-to-Peer Config" table in
the ECOM100. This is what determines if the communications are ModbusTCP or ECOM.
On the first PLC scan, set the Comm Success & Comm Error count registers to 0.
Also SETS C106, which is the enable logic to the ECxX boxes.
Once the ECRX and ECWX IBoxes are enabled, the ECOM100 IBox will automatically
sequence them, no manual control of the port busy bits is required.
This example uses C106 with a SET on First Scan, it could be changed to whatever logic
the user desires such as SP1.
ECOM100 Config
ECOM100
ECOM100#
Slot
Status
Workspace
Msg Buffer (65 WORDs)
ECOM100
K1
K1
V400
V401
V402–V502
1
2
3
_FirstScan
RX/WX Ok Count
SPO
LD
K0
OUT
V505
RX/WX Fail Count
OUT
V506
C106
SET
NOP