Local Device - Mitsubishi Electric MELSEC iQ-R Series User Manual

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

27.19

Local Device

This device can be used independently in each program. When creating multiple programs, programming can be completed
without being aware of devices used in other programs.
Program execution
Program A
MOV K3 #D100
MOV K1 D100
Program B
MOV K4 #D100
MOV K2 D100
END processing
The local device area must be reserved independently from the global device area. Therefore a local device
and global device with the same device number can exist.
Devices available as local device
The following devices are available as local devices.
• Internal relay (M)
• Edge relay (V)
• Timer (T, LT, ST, LST)
• Counter (C, LC)
• Data register (D)
• Pointer (P)
Because the index register (Z, LZ) saves/returns during program execution, it should be regarded separately
as the local index register unlike other local devices. ( Page 476 Index Register (Z/LZ))
Local device area
The CPU module reserves the local device area on the device/label memory based on the number of points setting of the
local device when:
• CPU module is powered off and on or is reset.
• Operating status of the CPU module is changed from STOP to RUN.
27 DEVICES
490
27.19 Local Device
Global device
D0
The value is
K1
K2
D99
For the program A
D100
D199
D200
D300
Local device
The value is K3.
For the program B
#D100
#D100
#D199
#D199
The value is K4.

Advertisement

Table of Contents
loading

Table of Contents