MODBUS R
T
U
D0–DCM with
Installation and
5–3
D0–DCM Using MODBUS
DL05/06 Data Communications Module, 1st Edition, 08/05
Many MODBUS masters 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.
For an automated MODBUS/Koyo address conversion utility, download the file
modbus_conversion.xls from the www.automationdirect.com technical support website
> Technical and Application notes> PLC hardware> Coummunications
> app note #
AN–MISC–010.
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
If Your Host Software
or Master Requires
the Data Type and
Address
Содержание D0-DCM
Страница 1: ...D0 DCM Data Communications Module Manual Number D0 DCM M...
Страница 8: ......
Страница 9: ...1 1 Introduction In This Chapter Manual Overview D0 DCM Hardware Features D0 DCM Applications...
Страница 24: ......
Страница 56: ......
Страница 57: ...1 5 D0 DCM Using MODBUSr RTU In This Chapter Network Slave Operation Network Master Operation...