Mitsubishi Electric MELSEC FX3U Programming Manual page 235

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
2. Circuit example 2 for explaining operations (when only an RST instruction for a timer or
counter is jumped)
X012
X011
X010
Label
P0
Timing chart
Jump operation by CJ
instruction driven by X011
X012
Current
value of C0
1
X010
RST
C0
Program example for activating a timer and counter even during a jump
X012
X011
X010
Label
P0
M8000
Timing chart
Jump operation by CJ
instruction driven by X011
X012
Current
value of C0
1
X010
RST
C0
C0
K10
FNC 00
CJ
RST
C0
Because C0 remains
Counter
reset, its current value
3
is reset.
remains unchanged
2
even if X012 turns ON.
ON
Remains reset.
C0
K10
FNC 00
CJ
RST
RST
Counter
3
is reset.
2
1
ON
*1
When X011 turns ON while the RST instruction for
the counter C0 is operating (X010 is ON), the
program execution jumps past the RST instruction
due to the CJ (FNC 00) instruction.
P0
In this jump status, the counter C0 remains reset.
Accordingly, the current value of C0 remains "0"
even if X012 turns ON.
To clear this reset status, it is necessary to turn
OFF the RST instruction for counter C0. (Refer to
the program shown below.)
1
P0
C0
Clears the reset status of
C0
counter C0 during jump.
5
4
3
2
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump
2
*1 In the same operation cycle as the
reset, the reset status of counter
C0 is cleared.
1
2
3
4
5
6
7
8
9
10
233

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents