Cj Instruction And Operations Of Contact And Coil - Mitsubishi Electric FX3G SERIES Programming Manual

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
8.1.1

CJ instruction and operations of contact and coil

In the program example shown below, when X000 turns ON, the program execution jumps from CJ instruction in the
first circuit to the label P8.
While X000 is OFF, jump is not executed; The program is executed from the 1st step in turn, and then the program
execution jumps from CJ instruction in the 11th circuit to the label P9.
Instructions skipped by jump are not executed.
1. Circuit example 1 for explaining operations
X000
1st
0
circuit
X001
4
X002
6
X003
8
X004
11
X005
15
X006
18
X007
22
X010
25
X011
29
Label
P 8
X000
11th
35
circuit
X012
40
Label
P 9
X013
42
program, each coil executes the following operation:
Classification
Y, M, S
(Y001, M1, S1)
10 ms timer and
100 ms timer (T0)
1 ms timer
(T246)
Counter
(C0)
Applied instruction
(MOV)
224
FNC 00
P 8
CJ
Y001
M 1
S 1
T 0
K 10
RST
T246
T246
K1000
RST
C 0
C 0
K 20
FNC 12
K 3
D 0
MOV
FNC 00
P 9
CJ
Y001
RST
T246
RST
C 0
Contact status before jump
X001, X002, X003 OFF
X001, X002, X003 ON
X004 OFF
X004 ON
X005 OFF
X006 OFF
X005 OFF
X006 ON
X007 OFF
X010 OFF
X007 OFF
X010 ON
X011 OFF
X011 ON
• Double coil operation of output Y001
While X000 is OFF, output Y001 is activated by X001.
While X000 is ON, output Y001 is activated by X012.
Even in a program divided by conditional jumps, if the same
coil (Y000 in this case) is programmed two or more times
within the jump area or outside the jump area, such a coil is
handled as double coil.
• When the reset (RST) instruction for the retentive type timer
T246 is located outside the jump area
Even if the counting coil (OUT T246) is jumped, reset (return
of the contact and clearing of the current value) is valid.
• When the reset (RST) instruction for the counter C0 is
located outside the jump area
Even if the counting coil is jumped, reset (return of the
contact and clearing of the current value) is valid.
• Operation of the routine timers T192 to T199
A routine timer continues its operation even if it is jumped
after the coil is driven, and the output contact is activated.
• Operation of the high-speed counters C235 to C255
A high-speed counter continues its operation even if it is
jumped after the coil is driven, and the output contact is
activated.
When each input changes during jump in the above
Coil operation during jump
Y001, M1 and S1 turn OFF.
Y001, M1 and S1 turn ON
Timer is not activated.
Counting is paused (, and is restarted after X000 turns OFF).
Timer is not activated.
The deactivation status is reset when X013 turns ON.
Counting is continued (, and the contact is activated after X000 turns OFF).
Counting is not activated.
The deactivation status is reset when X013 turns ON.
Counting is paused (, and is restarted after X000 turns OFF).
FNC instruction is not executed during jump.
But instructions FNC 52 to FNC 58 continue their operations.
8 Program Flow – FNC 00 to FNC 09
8.1 FNC 00 – CJ / Conditional Jump

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents