9
DEDICATED INSTRUCTIONS
9.5 JP/GP.WRITE
9
- 31
9
DE
DICA
T
E
D
INS
T
RUCT
IONS
10
T
R
OUB
L
E
S
HO
OT
IN
G
APPENDI
CES
INDEX
POINT
(1) Specify devices of the target station's CPU within the range allowed for the
own station CPU when writing data to the devices with the WRITE instruction.
(Target station's start device (D1) to which data are written) + (Write points - 1)
(End device No. of own station's CPU
*1
)
*1 End device No. of the device in the own station CPU, and whose device
name is same as (D1)
(2) Specify the own station's start device (D1) within the range allowed for storing
write data.
(Example) When D150 and after the area in the target station's CPU has been
already used
(3) Use the file register (ZR) when specifying the extended data register (D) or
extended link register (W) that is outside the area of the own station CPU's
data register (D) or link register (W). (Except for the Universal model QCPU)
For calculation of the file register (ZR), refer to the following manual.
QCPU User's Manual (Function Explanation, Program Fundamentals)
(Example) When 0K point is assigned to the data register (D) of another station
CPU, and when all 32K points of the file register (ZR) are assigned to the
extended data register (D)
Figure 9.29 When D150 and after the area in the target station's CPU has been already used
Figure 9.30 Specification of the extended data register (D)
Good example (D50 is specified to (D1).)
Bad example (D100 is specified to (D1).)
D50
D0
D99
D0
D99
100 words
100 words
D100
D150
D199
D149
D150
Own station CPU
Other station CPU
Own station CPU
Other station CPU
: Data to be written with WRITE instruction
: Area already used by target station's CPU
: Duplicated area
ZR12288
ZR12287
ZR0
Own station CPU*1
Data register
Other station CPU
Extended
data register
*1 A file register whose capacity is 32K points or more is required for the own station's CPU.
ZR32767
Specify with D0 to 12287.
Specify with ZR12288 to 32767.
D12287
D12288
D32767
D0
D12287
D0
Summary of Contents for QJ71GP21-SX
Page 1: ......
Page 2: ......
Page 644: ...App 94 Appendix 6 External Dimensions Appendix 6 2 QJ71GP21S SX APPENDICES Memo ...
Page 649: ......
Page 650: ......