Description On Sequence Application Instructions; Fnc00 (Cj): Conditional Jump; Fnc00 (Cjn): Conditional Jump Not - Mitsubishi FX2N-10GM Hardware / Programming Manual

Melsec-f
Hide thumbs Also See for FX2N-10GM:
Table of Contents

Advertisement

FX Series Positioning Controllers
5.10

Description on Sequence Application Instructions

This paragraph describes the details of sequence application instructions.
5.10.1

FNC00 (CJ): Conditional jump

FNC 00
CJ
CONDITIONAL
JUMP
Applicable
devices and
basic format
X00
N100
N120
5.10.2

FNC00 (CJN): Conditional jump not

FNC 01
CJN
CONDITIONAL
NOT JUMP
Applicable
devices
and basic
format
X00
N200
N220
N229
X02
N230
Conditional jump
16-bit operation
CJ
3 steps
S· : Pointers
P0 to P127 (in the 10GM)
P0 to P255 (in the 20GM)
Drive
input
FNC 00
CJ
Jump
destination
·
When FNC 00 (CJ) is driven, program execution jumps to the
FNC 00
P 10
line marked with label P10 equivalent to the pointer No.
CJ
specified in this instruction.
·
The part of the program skipped by the FNC 00 instruction
is not executed.
P 10
Label
Conditional jump not
16-bit operation
CJN
3 steps
S· : Pointers
P0 to P127 (in the 10GM)
P0 to P255 (in the 20GM)
Drive
input
FNC 01
CJN
Jump
destination
·
When FNC 01 (CJN) is not driven, program execution jumps to the
FNC 01
P 20
line marked with label P20 equivalent to the pointer No. specified in
CJ
this instruction.
·
If FNC 01 instruction is jumped by another jump instruction, FNC 01
P 20
is not executed.
P 30
·
The part of the program skipped by the FNC 01 instruction is not
FNC 01
P 30
executed.
CJN
Pointers used for CALL instructions
should not be used for JUMP instructions.
When the drive input condition is satisfied, program
execution jumps to the specified label.
When the drive input condition is not satisfied, program
execution jumps to the specified label.
Applicable models
Series name
FX
FX
Series name
FX
FX
Pointers used for CALL instructions
should not be used for JUMP
instructions.
Program format 5
Remarks
-10GM
2N
-20GM
2N
Applicable models
Remarks
-10GM
2N
-20GM
2N
5-47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents