9
-
100
CHAPTER9 DEVICES
9
9.13 C
onve
nient
Usag
e of Devices
9.13.2
Local device
●
All of the devices that have not been set as local devices (
Section 9.13.2) are global devices.
●
For execution of multiple programs, the range to be shared by all programs and the range to be used independently by
each program (
Section 9.13.2) must be specified in advance.
9.13.2Local device
The local device is a device that can be used independently for each program.
Using local devices allows programming of multiple independently-executed programs without considering other
programs.
Note that local device data can be stored in the standard RAM and a memory card (SRAM) only.
Figure 9.97 Range specification for a device
Figure 9.98 Using local devices
Example: Internal relay
M0 Shared by all programs
Used in program A
Used in program B
Used in program C
The range must be specified
for each program.
Y12
M7000
Y11
M7000
ON/OFF
M7000
ON/OFF
M7000
If M7000 and higher portion is set as a local device, it can be separately used for each
program that is executing M7000 and higher portion.
Program B
Program A
ON/OFF data of M7000
ON/OFF data of M7000
For program A
For program B
Internal relay
Internal relay
Standard RAM/memory card
CPU module
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......