370
21 DEVICES
21.19 Local Device
Setting whether or not it should be used
Whether or not local devices should be used can be set for each program. Since the local device area of program for which
"Do not use" has been set is not assured, it can suppress unnecessary consumption of device/label memory.
[CPU Parameter]
[Program Setting]
Operating procedure
Do not use local devices in a program which is configured not to use local devices.
Specification method for the local devices
To specify the local device in the program, add "#".
Ex.
For example, #D100, K4#M0, and @#D0 can be used.
Local device is listed with a preceding # symbol in the program. This symbol is helpful to differentiate local
devices from global devices.
Precautions
This section describes the precautions when using local devices.
• Like global devices, the timer (T, LT, ST, LST) and counter (C, LC) specified as a local device cannot be checked for the
device range. Therefore when operates the address in the index modification or indirect specification, be careful not to
exceed the specified device range.
• Accessing the range including both global and local devices by the index modification is not allowed.
• When the range of the 32-bit index modification is across the setting ranges of local devices of the index register, proper
index modification is impossible.
• Local devices are not latched.
"Program Setting" window
1.
Click "Detailed Setting" on the "Program
Setting" window.
"Detailed Setting" window
2.
Click "Detailed Setting" of "Device/File Use or
not".
"Setting of Device/File Use Or Not" window
3.
Set whether or not it should be used for each
program in the setting of "Local Device Local
Index Register Use or not".
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......