Mitsubishi Electric melsec q00ujcpu User Manual page 414

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

6) 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.
Table9.9 Calculation formulas for obtaining device numbers of the file register (ZR) to be specified to access the extended data
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
: Device number of the file register (ZR) used to access the extended data register (D)
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
: Device number of the file register (ZR) used to access the extended link register (W)
ZN
EW
: Access target device number of the extended link register (W) (hexadecimal)
N
W
: Points of the link register (W)
C
[Calculation example]
• D
: Points of the data register (D) ••• 12288 points
C
• W
: Points of the link register (W) ••• 8192 points
C
• ZR
: Points of the file register (ZR) ••• 2048 points
C
• ED
: Points of the extended data register (D) ••• 2048 points
C
1) Device number of the file register (ZR) used to access D13000
ED
= 2048 + (13000-12288) = 2760
ZN
2) Device number of the file register (ZR) used to access W2100
EW
= 2048 + 2048 + (2100
ZN
File register (ZR)
Figure 9.82 Access to the extended data register (D) and extended link register (W)
register (D) and extended link register (W)
Item
- 8192) = 2048 + 2048 + (8448 - 8192) = 4352
H
ZR0
ZR2047
1)
ZR2048
ZR2760
ZR4095
ZR4096
2)
ZR4352
ZR6143
*1
Calculation formula
ED
= ZR
+ (ED
ZN
C
EW
= ZR
ZN
C
D0
Data register (D)
D12287
D12288
Extended data register (D)
D13000
D14335
W0
Link register (W)
W1999
W2000
W2100
Extended link register (W)
W27FF
CHAPTER9 DEVICES
- D
)
N
C
+ ED
+(EW
- W
)
C
N
C
9 - 69
9
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents