194
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump
5. Label unnecessary for the pointer P63
The pointer P63 specifies jump to END step. Do not program P63.
If P63 is programmed, PLCs will display the error code 6507 (defective label definition) and stop.
6. When jumping to a pointer for subroutine
Any label cannot be shared by CALL instruction and CJ instruction.
7. Unconditional jump if the command contact is normally ON
Because M8000 is normally ON while a PLC is operating, unconditional jump is specified when M8000 is
used in the following example:
Label
P 63
FNC 00
CJ
P 63
END
Do not program P63.
X000
M8000
K10
FNC 01
CALLP
C0
X001
P15
FNC 06
FEND
RUN monitor
(normally ON)
FNC 02
SRET
P15
Label
User program
Command
Subroutine program
dedicated to CALL
instruction
Program a label (P) after
FEND instruction.
FNC 00
CJ
P15
Good
Bad
FNC00
CJ
P5
Label
P5
M8000
User program
(It is skipped, and is not executed.)
User program
RUN monitor
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......