
277
CHAPTER 7 CONVENIENT USAGE OF DEVICES
7
7.
1
G
lobal D
e
vice
CHAPTER 7
CONVENIENT USAGE OF DEVICES
When multiple programs are executed in the CPU module, each program can be executed independently by specifying
an internal user device as a local device. Devices of the CPU module are classified into the following two types:
• Global device that can be shared by multiple programs that are being executed.
• Local device that is used independently for each program.
7.1
Global Device
Programs being executed in the CPU module can share the global device. Global device data are stored in the device
memory of the CPU module, and can be shared by all programs.
●
All of the devices that have not been set as local devices (
Page 278, Section 7.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 must be specified in advance. (
Program A
Program B
ON/OFF data of M0
Device memory
Internal relay
ON/OFF
M0
ON/OFF data of M0
Example: Internal relay
M0 Shared by all programs.
Used in program A.
Used in program B.
Used in program C.
The ranges must be specified
for each program.
Summary of Contents for L02CPU
Page 1: ......
Page 2: ......
Page 13: ...11 Memo ...
Page 78: ...76 Memo ...
Page 226: ...224 Memo ...
Page 318: ...316 To the next page ...
Page 320: ...318 To the next page ...
Page 322: ...320 To the next page ...
Page 324: ...322 To the next page ...
Page 326: ...324 To the next page ...
Page 335: ...333 Memo ...
Page 339: ......