12: M
ODBUS
ASCII/RTU C
OMMUNICATION
12-12
FC5A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y-B1268
Address Map
Modbus Device
Name
Modbus Address
Map (Decimal)
*1
Communication
Frame Address
*2
MicroSmart Device
*3
Applicable
Function Code
Coil
(000000 and above)
000001 - 000504
0000 - 01F7
Q0 - Q627
1, 5, 15
000701 - 000956
02BC - 03BB
R0 - R255
001001 - 003048
03E8 - 07F7
M0 - M2557
009001 - 009256
2328 - 2427
M8000 - M8317
Input Relay
(100000 and above)
100001 - 100504
0000 - 01F7
I0 - I627
2
101001 - 101256
03E8 - 04E7
T0 - T255 (timer contact)
101501 - 101756
05DC - 06DB
C0 - C255 (counter contact)
Input Register
(300000 and above)
300001 - 300256
0000 - 00FF
T0 - T255 (timer current value)
4
300501 - 300756
01F4 - 02F3
C0 - C255 (counter current value)
Holding Register
(400000 and above)
400001 - 408000
0000 - 1F3F
D0 - D7999
3, 6, 16
408001 - 408500
1F40 - 2133
D8000 - D8499
409001 - 409256
2328 - 2427
T0 - T255 (timer preset value)
3
409501 - 409756
251C - 261B
C0 - C255 (counter preset value)
410001 - 450000
2710 -C34F
D10000 - D49999
3, 6, 16
*1: Addresses generally used for Modbus communication. Calculation method of Modbus addresses for MicroSmart devices are described
below.
*2: These 4-digit addresses are used in the communication frame. To calculate the address used in communication frame, extract lower 5 dig-
its of the Modbus address, subtract 1 from the value, and convert the result into hexadecimal.
*3: These device addresses represent the slim type CPU module. For the device addresses of the all-in-one type CPU modules, see page 6-1.
Calculating Modbus Addresses for MicroSmart Devices
MicroSmart Device
Calculating Modbus Address
Calculation Example
I, Q, M
M XXX X
(2):
Octal
(1):
Decimal
(
(1)
–
(4)
)
8
+
(2)
+
(5)
Minimum Offset
address
Example: M1325
(132 – 0)
8 + 5 + 1001 = 2062
Modbus address: 2062
2062 – 1 = 2061 = 80Dh
Communication frame address: 080Dh
R, T, C, D
D XXXXX
(3):
Decimal
(
(3)
–
(4)
) +
(5)
Minimum Offset
address
Example: D1756
(1756 – 0) + 400001 = 401757
Modbus address: 401757
Extract lower 5 digits
1757
1757 – 1 = 1756 = 6CDh
Communication frame address: 06DCh
Modbus Device Name
MicroSmart Device
Minimum Address (4)
Offset (5)
Coil
Q0 - Q627
0
1
R0 - R255
0
701
M0 - M2557
0
1001
M8000 - M8317
8000
9001
Input Relay
I0 - I627
0
100001
T0 - T255 (timer contact)
0
101001
C0 - C255 (counter contact)
0
101501
Input Register
T0 - T255 (timer current value)
0
300001
C0 - C255 (counter current value)
0
300501
Holding Register
D0 - D7999
0
400001
D8000 - D8499
8000
408001
T0 - T255 (timer preset value)
0
409001
C0 - C255 (counter preset value)
0
409501
D10000 - D49999
10000
410001
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]