10 - 65 10 - 65
MELSEC-Q
10 DEVICES
(d) Local device designation
1) In order to use the above devices as local devices, the usable local
device range must be designated at the "Device" tab screen in the
“(PLC) Parameter" dialog box.
Note that the range designated for local devices applies to all
programs, and cannot be changed for individual programs.
For example, if the local device range is designated as M0 to M100,
this range will be used for local devices in all programs.
Local device
Program A
Local device
Program B
Local device
Program C
This range becomes
the local device range
for all programs.
M0
M100
2) When local device settings are designated, the drive and file name
where the local device data is to be stored must be designated at the
"PLC file" tab screen in the “(PLC) Parameter" dialog box.
3) To write data from the GX Developer onto the High Performance model
QCPU, specify whether to use a local device at the "PLC file" tab
screen in the “(PLC) Parameter" dialog box. If a local device is not
specified, the local devices used for previously-executed programs are
selected. This does not require replacing local devices in a memory
card with the device memory of the High Performance model QCPU. If
local devices are not used for Program B while executing Programs A,
B, and C, the local devices are used as shown below.
Local device
Program A
Program C
Program A
Local device
Local device
Restored
Saved
Restored
Saved
Restored
Sequence program
For
program A
For
program B
For
program C
For
program A
For
program B
For
program C
For
program A
For
program B
For
program C
Program B
Program B
Used local device of program A
POINT
Unless designated as "local devices", all devices are global devices.
(e) Using local devices used by the file where a sub-routine program is stored
It is possible to use local devices that are used by the file where a sub-
routine program is stored when executing a sub-routine program.
Whether or not such local devices are used is set by special relay "SM776"
ON/OFF setting.
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...