Mitsubishi Electric FX3G SERIES Programming Manual page 223

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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.
X030
X031
X032
Label
P 20
Bus
line
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).
Label
P 10
X022
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.
X020
X021
Label
P 9
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.
Label
P 9
Label
Bad
P 9
FNC 00
P 20
CJ
Pointer
Y010
Y011
Label
FNC 00
P 10
CJ
FNC 00
P 9
CJ
FNC 00
P 9
CJ
X020
X030
User program
User program
LD
X030
CJ
P 20
LD
X031
OUT Y010
P 20
LD
X032
OUT Y011
FNC 00
Good
P 9
CJ
FNC 00
Good
P 9
CJ
END
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump
1
2
3
4
5
6
7
8
9
10
221

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents