4-7
4 Understanding Programming
CP2E CPU Unit Software User’s Manual(W614)
4-2
T
as
ks, Sectio
ns, an
d Sym
b
o
ls
4
4-2-
3
Ov
er
vie
w
of Symb
ols
Addresses are allocated to symbols using one of the following methods.
•
User Specified allocation
•
Automatic allocation using the CX-Programmer
The area of memory used for automatic allocations is set by selecting
Memory Allocation - Auto-
matic Address Allocation
from the PLC Menu in the CX-Programmer.
Note
“Global” and “local” indicate only the applicable scope of the symbol.
They have nothing to do with the applicable scope of memory addresses.
Therefore, a warning but not an error will occur in the following cases, and it will be possible to
transfer the user program.
•
The same addresses is used for two different local symbols.
•
The same addresses is used for a global symbol and a local symbol.
Additional Information
In programs in the CX-Programmer, global symbols and local symbols can be identified by the
following character colors and symbol icons.
Select
Tool
s
- Option
s
, and select
Local Symbol
s
or
Global Symbol
s
in Appearance
to change
the color.
Types of
symbols
Project tree in the
CX-Programmer
Scope
Address and
I/O comment
(without a
symbol name)
Access using
symbols
from a net-
work
Access from
other tasks
Access from
the local task
Global
symbols
PLC tree
Not
possible.
Possible.
Possible.
Supported
Local
symbols
Program tree
Not
possible.
Possible.
Not supported
Classification
Display color
Example (default color)
Global symbols
Black (default)
Local symbols
Blue (default)
Start
3.00
Error
W
0.00
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......