Mitsubishi L02CPU User Manual page 270

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

(e) Access from an inapplicable module
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 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
: 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
• ED
: 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
• EW
: 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
Device number of the file register (ZR) used to access D1300
Ex.
Ex.
ED
ZN
Device number of the file register (ZR) used to access W2100
Ex.
Ex.
EW
ZN
File register (ZR)
268
Item
= 2048 + (13000 - 12288) = 2760
= 2048 + 2048 + (2100
- 8192) = 2048 + 2048 + (8448 - 8192) = 4352
H
ZR0
ZR2047
ZR2048
ZR2760
ZR4095
ZR4096
ZR4352
ZR6143
Calculation method
ED
= ZR
+ (ED
ZN
C
N
EW
= ZR
+ ED
ZN
C
C
D0
Data register (D)
D12287
D12288
Extended data register (D)
1) D13000
D14335
W0
Link register (W)
W1999
W2000
2) W2100
Extended link register (W)
W27FF
- D
)
C
+ (EW
- W
)
N
C

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-bt

Table of Contents