9 - 17
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL9
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, 20H)
D0 to D7999 0000 to 1F3F
H
D8000 to D8511 1F40 to 213FH
Extension register
R
(52
H, 20H)
FX
3G:R0 to R23999
FX
3U/FX3UC:R0 to R32767
FX
3G:0000 to 5DBFH
FX3U/FX3UC:0000 to 7FFFH
Timer
Current value
TN
(54
H, 4EH)
FX
3G:T0 to T319
FX
3U/FX3UC:T0 to T511
FX
3G:0000 to 013FH
FX3U/FX3UC:0000 to 01FFH
Contact
TS
(54
H, 53H)
FX
3G:T0 to T319
FX
3U/FX3UC:T0 to T511
FX
3G:0000 to 013FH
FX3U/FX3UC:0000 to 01FFH
Counter
Current value
CN
(43
H, 4EH)
C0 to C199 0000 to 00C7
H
C200 to C255 00C8 to 00FFH
Contact
CS
(43
H, 53H)
C0 to C199 0000 to 00C7
H
C200 to C255 00C8 to 00FFH
Input
X
(58
H, 20H)
FX
3G:X0 to X177
FX
3U/FX3UC:X0 to X377
FX
3G:0000 to 007FH
FX3U/FX3UC:0000 to 00FFH
Output
Y
(59
H, 20H)
FX
3G:Y0 to Y177
FX
3U/FX3UC:Y0 to Y377
FX
3G:0000 to 007FH
FX3U/FX3UC:0000 to 00FFH
Internal relay
M
(4D
H, 20H)
M0 to M7679 0000 to 1DFFH
M8000 to M8511 1F40 to 213FH
State
S
(53
H, 20H)
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