EasyManuals Logo

Mitsubishi FX3G Series Programming Manual

Mitsubishi FX3G Series
944 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 #218 background imageLoading...
Page #218 background image
216
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump
Cautions
1. Relationship between the label input position and the list program
The figure below shows programming of a label.
When creating a circuit program, move the cursor to the left side of the bus line in the ladder diagram, and input a label
(P) at the head of the circuit block.
2. Programming a label in a smaller number step than CJ instruction
A label can be programmed in a smaller number step than CJ instruction. However, note that a watchdog timer error
occurs when the scan time exceeds 200 ms (default setting).
3. Jumping to one label from two or more CJ instructions
When the pointer number in operands is same and there is one label, the following operation is caused:
When X020 turns ON, the program execution jumps from CJ instruction corresponding to X020 to the label P9. When
X020 turns OFF and X021 turns ON, the program execution jumps from CJ instruction corresponding to X021 to the
label P9.
4. Using a label (P) two or more times
When a label number (including labels for CALL instructions described later) is used two or more times, an error is
caused.
X030
Label
P 20
X031
X032
Y011
Y010
FNC 00
CJ
P 20
LD X030
CJ P 20
LD X031
OUT Y010
P 20
LD X032
OUT Y011
Pointer
Label
Bus
line
Label
P 10
X022
FNC 00
CJ
P 10
X020
X021
Label
P 9
FNC 00
CJ
P 9
FNC 00
CJ
P 9
P 9
Label
FNC 00
CJ
P 9
END
User program
X030
X020
P 9
FNC 00
CJ
P 9
Label
User program
Good
Good
Bad

Table of Contents

Other manuals for Mitsubishi FX3G Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3G Series and is the answer not in the manual?

Mitsubishi FX3G Series Specifications

General IconGeneral
ModelFX3G Series
Power SupplyAC 100-240V or DC 24V
Program Capacity32, 000 steps
Execution Speed0.21 µs/basic instruction
Communication OptionsRS-422, USB, Ethernet
Expansion ModulesAnalog, digital, communication
Programming LanguageLadder Logic, Instruction List
Built-in FunctionsHigh-speed counters, pulse output
Analog I/OAvailable via expansion modules

Related product manuals