EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #330 background imageLoading...
Page #330 background image
328
7 APPLICATION INSTRUCTION
7.2 Program branch instruction
• When the pointer number in operands is same and there is one label, the following operation is caused:
• When a label number (including labels for CALL instructions described later) is used two or more times, an error is caused.
• No label can be shared by CALL instruction and CJ instruction.
• Because SM400/SM8000 is normally ON while a PLC is operating, unconditional jump is applied when SM400 is used as
shown in the following example:
Operation error
(1) When X20 turns ON, the program execution jumps from CJ
instruction corresponding to X20 to the label P9.
(2) When X20 turns OFF and X21 turns ON, the program execution
jumps from CJ instruction corresponding to X21 to the label P9.
Error code
(SD0/SD8067)
Description
3380 A pointer number which is not used as a label in the same program file is specified.
P9CJ
P9CJ
X20
X21
(2)
(1)
Label
P9
P9CJ
P9CJ
X20
X30
END
User program
User program
Label
P9
Label
P9
P15CJ
P15CALL
X1
RET
X2
C0
K10
FEND
SM400
X0
User program
Program a label (P)
after FEND instruction.
Subroutine program
dedicated to CALL
instruction
Label
P15
RUN Monitor
P5CJ
SM400
User program
RUN Monitor
Label
P5
User program
(It is skipped, and is not executed.)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals