EasyManua.ls Logo

Automationdirect.com HX-ECOM Series - If Your Host Software or Client Requires the Data Type and Address

Automationdirect.com HX-ECOM Series
129 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Ethernet Communications Modules, 3rd Edition, Rev. D
5-6
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
If Your Host Software or Client Requires the Data Type and Address
Many Modbus TCP clients allow you to specify the Modbus data type and the Modbus address
that corresponds to the PLC memory location. This is the easiest method, but not all packages
allow you to do it this way.
The actual equation used to calculate the address depends on the type of PLC data you are using.
The PLC memory types are split into two categories for this purpose.
Discrete – X, SP, Y, C, S, T(contacts), CT (contacts)
Word – V-Memory, Timer current value, Counter current value
In either case, you basically convert the PLC octal address to decimal and add the appropriate
Modbus starting address (as required). The following tables show the exact range used for each
group of data.
NOTE: For an automated Modbus/Koyo address conversion utility, download the file
Modbus_conversion.xls from the www.automationdirect.com technical support website.
DL05 Memory Type
Qty
(Dec.)
PLC Range
(Octal)
Modbus
Address Range
Modbus
Data Type
For Discrete Data Types... Convert PLC Addr. to Dec. + Start of Range
+ Data Type
Inputs (X)
256 X0 – X377 2048 – 2303
Input
Special Relays (SP)
512 SP0 – SP777 3072 – 3583 Input
Outputs (Y)
256 Y0 – Y377 2048 – 2303 Coil
Control Relays (C)
512 C0 –C777 3072 – 3583 Coil
Timer Contacts (T)
128 T0 – T177 6144 – 6271 Coil
Counter Contacts (CT)
128 CT0 – CT177 6400 – 6527 Coil
Stage Status Bits (S)
256 S0 – S377 5120 – 5375 Coil
For Word Data Types ... Convert PLC Addr. to Dec. + Data Type
Timer Current Values (V)
128 V0 – V177 0 – 127
Input Register
Counter Current Values (V)
128 V1000 – V1177 512 – 639 Input Register
V-Memory, user data (V)
3072 V1400 – V7377 768 – 3839
Holding Register

Table of Contents