DL06 Micro PLC User Manual; 3rd Edition Rev. E
4–13
Chapter 4: System Design and Configuration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
If Your Host Software Requires the Data Type and Address
Many host software packages 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, CR, S, T, C (contacts)
• Word – V, Timer current value, Counter current value
In either case, you basically convert the PLC octal address to decimal and add the appropriate
MODBUS address (if required). The table below shows the exact equation used for each group
of data.
DL06 Memory Type
QTY
(Decimal)
PLC Range
(Octal)
MODBUS Address
Range
(Decimal)
MODBUS Data Type
For Discrete Data Types .... Convert PLC Addr. to Dec. + Start of Range + Data Type
Inputs (X)
512
X0 – X777
2048 – 2559
Input
Special Relays(SP)
512
SP0 – SP777
3072 – 3583
Input
Outputs (Y)
512
Y0 – Y777
2048 – 2559
Coil
Control Relays (CR)
1024
C0 – C1777
3072 – 4095
Coil
Timer Contacts (T)
256
T0 – T377
6144 – 6399
Coil
Counter Contacts (CT)
128
CT0 – CT177
6400 – 6527
Coil
Stage Status Bits(S)
1024
S0 – S1777
5120 – 6143
Coil
For Word Data Types .... Convert PLC Addr. to Dec. + Data Type
Timer Current Values (V)
256
V0 – V377
0 – 255
Input Register
Counter Current Values (V)
128
V1000 – V1177
512 – 639
Input Register
V-Memory, user data (V)
3200
V1200 – V7377
640 – 3839
Holding Register
4096
V10000 - V17777
4096 - 8191
Holding Register
V-Memory, non-volatile (V)
128
V7400 – V7577
3840 – 3967
Holding Register