9 - 17
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9
9 - 17
(2) Designation method and accessible range of devices.
(a) In device read/write, each device is set by a device code and number as
shown in the diagram below.
(b) The following table outlines the device codes and numbers.
Device list
Device
Device code
Device range
Device number
Data register
D
(44
H
, 20
H
)
D0 to D7999
0000 to 1F3F
H
D8000 to D8511
1F40 to 213F
H
Extension register
R
(52
H
, 20
H
)
FX
3G
:R0 to R23999
FX
3U
/FX
3UC
:R0 to R32767
FX
3G
:0000 to 5DBF
H
FX
3U
/FX
3UC
:0000 to 7FFF
H
Timer
Current value
TN
(54
H
, 4E
H
)
FX
3G
:T0 to T319
FX
3U
/FX
3UC
:T0 to T511
FX
3G
:0000 to 013F
H
FX
3U
/FX
3UC
:0000 to 01FF
H
Contact
TS
(54
H
, 53
H
)
FX
3G
:T0 to T319
FX
3U
/FX
3UC
:T0 to T511
FX
3G
:0000 to 013F
H
FX
3U
/FX
3UC
:0000 to 01FF
H
Counter
Current value
CN
(43
H
, 4E
H
)
C0 to C199
0000 to 00C7
H
C200 to C255
00C8 to 00FF
H
Contact
CS
(43
H
, 53
H
)
C0 to C199
0000 to 00C7
H
C200 to C255
00C8 to 00FF
H
Input
X
(58
H
, 20
H
)
FX
3G
:X0 to X177
FX
3U
/FX
3UC
:X0 to X377
FX
3G
:0000 to 007F
H
FX
3U
/FX
3UC
:0000 to 00FF
H
Output
Y
(59
H
, 20
H
)
FX
3G
:Y0 to Y177
FX
3U
/FX
3UC
:Y0 to Y377
FX
3G
:0000 to 007F
H
FX
3U
/FX
3UC
:0000 to 00FF
H
Internal relay
M
(4D
H
, 20
H
)
M0 to M7679
0000 to 1DFF
H
M8000 to M8511
1F40 to 213F
H
State
S
(53
H
, 20
H
)
S0 to S4095
0000 to 0FFF
H
B15
B0 B31
B0
to
to
Device code
Device number (Set in hexadecimal)
[Example] In case of D100
D100 = 4420 00000064
H
Device number (hexadecimal)
Device code