Mitsubishi Electric MELSEC FX3U Programming Manual page 232

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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.
Label
P 63
Do not program P63.
6. When jumping to a pointer for subroutine
Any label cannot be shared by CALL instruction and CJ instruction.
Command
X000
X001
Label
M8000
P15
RUN monitor
(normally ON)
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:
M8000
RUN monitor
Label
P5
230
FNC 00
P 63
CJ
END
FNC 00
CJ
FNC 01
CALLP
C0
FNC 06
FEND
User program
FNC 02
SRET
FNC00
CJ
User program
(It is skipped, and is not executed.)
User program
Bad
P15
Good
P15
K10
Subroutine program
dedicated to CALL
instruction
Program a label (P) after
FEND instruction.
P5
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents