Device |
Bit Address |
Word Address |
32 bits |
Address notation in External Device |
Remarks |
|---|---|---|---|---|---|
Coil |
000001 - 001024 |
000001 - 001009 |
|
X0000 - X1023 |
|
Discrete Input |
100001 - 101024 |
100001 - 101009 |
Y0000 - Y1023 |
||
Discrete Input |
108193 - 115872 |
108193 - 115857 |
M0000 - M7679 |
||
Discrete Input |
120481 - 122528 |
120481 - 122513 |
SM0000 - SM2047 |
||
Discrete Input |
122529 - 130208 |
122529 - 130193 |
L0000 - L7679 |
||
Discrete Input |
130721 - 132768 |
130721 - 132753 |
B0000 - B2047 |
||
Discrete Input |
138913 - 139040 |
138913 - 139025 |
F000 - F127 |
||
Discrete Input |
140961 - 143008 |
140961 - 142993 |
SB0000 - SB2047 |
||
Discrete Input |
145057 - 149152 |
145057 - 149137 |
S0000 - S4095 |
||
Discrete Input |
153249 - 153760 |
153249 - 153745 |
TC000 - TC511 |
||
Discrete Input |
155297 - 155808 |
155297 - 155793 |
TS000 - TS511 |
||
Discrete Input |
157345 - 157360 |
157345 - 157345 |
STC00 - STC15 |
||
Discrete Input |
159393 - 159408 |
159393 - 159393 |
STS00 - STS15 |
||
Discrete Input |
161441 - 161696 |
161441 - 161681 |
CC000 - CC255 |
||
Discrete Input |
163489 - 163744 |
163489 - 163729 |
CS000 - CS255 |
||
Holding Register |
400001,00 - 408000,15 |
400001 - 408000 |
D0000 - D7999 |
||
Holding Register |
420481,00 - 430480,15 |
420481 - 430480 |
SD0000 - SD9999 |
|
|
Holding Register |
430721,00 - 431744,15 |
430721 - 431744 |
W0000 - W1023 |
|
|
Holding Register |
440961,00 - 441984,15 |
440961 - 441984 |
SW0000 - SW1023 |
|
|
Holding Register |
453249,00 - 453760,15 |
453249 - 453760 |
TN000 - TN511 |
|
|
Holding Register |
457345,00 - 457360,15 |
457345 - 457360 |
STN00 - STN15 |
|
|
Holding Register |
461441,00 - 461696,15 |
461441 - 461696 |
CN000 - CN255 |
|
*2Write disable.
The following table compares IEC61131 and MODBUS syntax address descriptions.
Device |
MODBUS Syntax
|
IEC61131 Syntax |
||||||
|---|---|---|---|---|---|---|---|---|
Format |
0-based |
1-based |
||||||
Format |
Range |
First element |
Range |
First element |
Range |
First element |
||
Coil |
000001+i |
i = 0 to 65535 |
000001 |
%Mi |
i = 0 to 65535 |
%M00000 |
i = 1 to 65536 |
%M00001 |
Discrete Input |
100001+i |
i = 0 to 65535 |
100001 |
- |
- |
- |
- |
- |
Input Register (Word) |
300001+i |
i = 0 to 65535 |
300001 |
- |
- |
- |
- |
- |
Input Register (Word bit) |
300001+i,j |
i = 0 to 65535 j = 0 to 15 |
300001,00 |
- |
- |
- |
- |
- |
Holding Register (Word) |
400001+i |
i = 0 to 65535 |
400001 |
%MWi |
i = 0 to 65535 |
%MW00000 |
i = 1 to 65536 |
%MW00001 |
Holding Register (Word bit) |
400001+i,j |
i = 0 to 65535 j = 0 to 15 |
400001,00 |
%Mwi:Xj |
i = 0 to 65535 j=0 to 15 |
%MW00000:X00 |
i = 1 to 65536 j=0 to 15 |
%MW00001:X00
|
Address mapping in BLUE is as follows. %MD and %MF use two sequential words form the specified address.
