
B-63484EN/05 10.EXTENDED SYMBOL/COMMENT FUNCTION
- 333 -
Case Conditions Example Result
e.5 Global symbol is different and address is the
same.
ABC
ABCD
L1
L1
; Global symbol
; Global symbol
(O)
e.6 Global symbol is different to local symbol and
address is the same.
ABC
ABCD
L1
L1
; Global symbol
; Local symbol(P1)
(O)
e.7 Local symbol is different to other local symbol
and address is the same.
ABC
ABCD
L1
L1
; Local symbol(P1)
; Local symbol(P2)
(O)
e.8 Symbol is different within local symbol and
address is the same.
ABC
ABCD
L1
L1
; Local symbol(P1)
; Local symbol(P1)
(O)
(f) The symbol for P address.
P address can only be used as global and cannot be used as local
address. The scope of symbols for P address is checked
differently with other symbols as below.
Fig. 10.1.1 (h)
Case Conditions Example Result
f.1 Global symbol is the same ABC
ABC
P1
P2
; Global symbol
; Global symbol
(X)
f.2 Global symbol is different and address is the
same.
ABC
ABCD
P1
P1
; Global symbol
; Global symbol
(O)
f.3 Global symbol is different and address is
different.
ABC
ABCD
P1
P2
; Global symbol
; Global symbol
(O)
NOTE
1 When you decompile the ladder object code
containing the references to the symbols with the
same address, such references may not get back to
the symbol in the original source program. The
symbol name may be changed to one of the symbols
selected by decompiler.
2 When multiple symbols are defined for the same
address, only one symbol selected by the system is
displayed in the address display of the signal status
screen etc. on PMC. Other symbols are not displayed.
10.1.2 About the Symbol Type
Type can be set to the symbol.
BOOL: Set to the symbol which is used as basic instructions.
BYTE, WORD, DWORD: Set to the symbol which is used as
parameters for function instructions.
10.1.3 About the Distinction of Symbol and Address
In case that a symbol R10 is defined, "R10" is interpreted as R10 of
symbol. If you want to enter address R10 explicitly, "%R10" is to be
input. "% + address" should be used when you want to input it
specifically in the address. Without the definition of the symbol R10,
you do not need to input with %. In case of the mnemonic file of
extended function, it is always necessary to add % to the address