
1.OVERVIEW OF PMC B-63983EN/02
- 10 -
1.2.7 SPECIFICATION OF EXTENDED SYMBOL AND COMMENT
Using extended symbol and comment, you can use following functions.
· Local symbols effective in sub programs
· Extension of maximum character length of symbol and comment
· Multi-language support of comment
· Multiple definitions of symbol and comment to one signal
· Data type definition
(1) Local symbols effective in sub programs
You can define local symbols effective only in a sub program. So
you can define local symbols having same string in other sub
programs. Local symbols defined in different sub programs do not
conflict.
Using local symbols, symbol conflict does not occur. So it is easy
to develop ladder in modular programming technique. And it is
easy to reuse sequence programs. When you have to program a
similar program in some sub programs, copy the logic to another
sub program, redefine the local symbols, and compile on FANUC
LADDER-III.
NOTE
1 Same local symbol names are not allowed in the
same sub program.
2 Same symbol name of global symbol and local
symbol are not allowed.
3 Local symbol can not be defined to address P.
Symbol definition to address P must be global
symbol.
4 You cannot create initial sequence program
using extended symbol and comment on CNC.
To create it, you have to use FANUC LADDER-
III.
Global Symbol :
X*ESP = X8.4
Lock = X100.0
larm = R1000.0
*ESP = G8.4
P1 (Control_Path1)
Alarm
X*ESP
*ESP
Lock
Lock = X100.1
larm = R2000.0
*ESP = G1008.4
P2 (Control_Path2)
Alarm
X*ESP
*ESP
Lock