
10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/05
- 376 -
10.18.3 Ladder
Extended functions
%@3-D
END1
LABEL1 LBL ;<L100 >
;[LABEL L00001]
END2
SUBPR1 SP ;<P1 > "SUB PROG. NO.01"
;[SUB PROGRAM DATA NO.01]
RD XADRS1 ;<X0.0 > "JUMPB LABEL L001"
JMPB LABEL1 ;<L100 >
;[LABEL L00001]
RD XADRS2 ;<X0.1 > "JMPC LABEL L001"
JMPC LABEL1 ;<L100 >
;[LABEL L00001]
LABEL1 LBL ;<L100 >
;[LABEL L00001]
SPE
SP1000 SP ;<P2 > "SUB PROGRAM NO.1"
RD RADRS00 ;<R0.0 >
DEC DADRS04 ;<D0 >
2
WRT %D0.0
SPE
END
%
Fig. 10.18.3
CAUTION
1 Please input the parameter of LBL and SP
instruction from the 1st character.
2 Please be sure to put in the space or a tab before a
basic instruction and a functional instruction.
3 The character before a “:” (colon) is disregarded.
The character after a “;” semicolon is also
disregarded.
4 Please attach "%" (percent) to an address.