Mitsubishi Electronics QnUCPU Home Theater Server User Manual


 
9 - 86
(1) Devices that can be used as local devices
The following devices can be used as local devices.
Internal relay (M)
Edge relay (V)
Timer (T, ST)
Counter (C)
Data register (D)
Index register (Z)
Note9.7Note1
(2) Saving and restoring a local device file
When some programs use a local device, respective local device file data in the standard RAM or a memory card
(SRAM) are exchanged with the device memory data of the CPU module after execution of each program.
For this reason, the scan time increases by the time spent for data exchange.
Remark
1. There are some instructions for which a local device cannot be specified.
For details, refer to the pages describing devices available for each instruction in the following manual.
QCPU Programming Manual (Common Instructions)
2. For the concept of the number of words used for the local devices, refer to Section 9.2.
Note1
Figure 9.100 Saving and restoring local device files
Note9.7
When using the index register as a local device for the Q02UCPU, Q03UDCPU, Q04UDHCPU, Q06UDHCPU,
Q13UDHCPU, Q26UDHCPU, and Built-in Ethernet port QCPU, check the versions of the CPU module and GX
Developer. ( Appendix 2)
Universal
Local device
Program A Program B Program C
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