Convenient Usage Of Devices - Mitsubishi Electric melsec q00ujcpu User Manual

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

9.14 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.
9.14.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.
Program A
9 - 84
Global device can be shared by the programs that are being executed.
M0
Y12
Program B
M0
Y11
Figure 9.96 Using a global device
CPU module
Device memory
Internal relay
M0
M0 ON/OFF data
M0 ON/OFF data
ON/OFF

Advertisement

Table of Contents
loading

Table of Contents