Mitsubishi Electric MELSEC-Q00U(J)CPU User Manual page 406

Table of Contents

Advertisement

• To access the extended data register (D) or extended link register (W) from a module that does not support
the use of these devices, device numbers need to be specified with those of the file register (ZR).
Calculation formulas for obtaining device numbers of the file register (ZR) to be specified to access the
extended data register (D) and extended link register (W) and calculation examples are described below
Device number of the file register (ZR) used to access the extended data register (D)
Device number of the file register (ZR) used to access the extended link register (W)
*1
Variables in the table indicate the following:
ZR
: Points of the file register (ZR)
C
ED
ZN
ED
: Access target device number of the extended data register (D)
N
D
: Points of the data register (D)
C
ED
: Points of the extended data register (D)
C
EW
ZN
EW
N
W
: Points of the link register (W)
C
[Calculation example]
D
: Points of the data register (D)
C
W
: Points of the link register (W)
C
ZR
: Points of the file register (ZR)
C
ED
: Points of the extended data register (D)
C
1) Device number of the file register (ZR) used to access D13000
ED
ZN
2) Device number of the file register (ZR) used to access W2100
EW
ZN
File register (ZR)
404
Item
: Device number of the file register (ZR) used to access the extended data register (D)
: Device number of the file register (ZR) used to access the extended link register (W)
: Access target device number of the extended link register (W) (hexadecimal)
= 2048 + (13000-12288) = 2760
= 2048 + 2048 + (2100
- 8192) = 2048 + 2048 + (8448 - 8192) = 4352
H
ZR0
ZR2047
ZR2048
ZR2760
ZR4095
ZR4096
ZR4352
ZR6143
•••
12288 points
•••
8192 points
•••
2048 points
•••
2048 points
D0
D12287
D12288
1)
D13000
D14335
W0
W1999
W2000
2)
W2100
W27FF
Calculation formula
ED
= ZR
+ (ED
- D
)
ZN
C
N
C
EW
= ZR
+ ED
+(EW
- W
ZN
C
C
N
Data register (D)
Extended data register (D)
Link register (W)
Extended link register (W)
)
C

Advertisement

Table of Contents
loading

Table of Contents