Conditional Jump: Cjp(221)/Cjpn(222) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

CONDITIONAL JUMP: CJP(221)/CJPN(222)

5-10 CONDITIONAL JUMP: CJP(221)/CJPN(222)

Ladder Symbol
(221)
CJP N
(222)
CJP N
Description
0000
00
0000
01
Precautions
Flags
138
CJP(221) operates in the reverse of JMP(004). When the execution condition
turns ON, the program up until JME(005) is skipped. When the execution condi-
tion is OFF, the instructions after CJP(221) are executed normally.
The CJPN(222) operates similar to JMP(004). When the execution condition is
ON, the instructions after CJPN(222) are executed normally. When the execu-
tion condition is OFF, the program up until JME(005) is skipped.
JMP(004), CJP(221), and CJPN(222) all operate differently, however, when
used in a block program. With JMP(004), the program jumps to JME(005) un-
conditionally. With CJP(221), the program jumps to JME(005) when the condi-
tion just before the CJP(221) instruction is ON. With CJPN(222), the program
jumps to JME(005) when the condition just before the CJP(221) instruction is
OFF.
When a jump occurs, the status of outputs from the program (output bits, timers,
counters, shift registers, keep, etc.) is maintained and timing continues for TIM/
TIMH(015).
If there are two or more JME(005) instructions in a program for the same jump
number, the one at the lower address is valid and the ones at higher addresses
are ignored.
(221)
When the execution condition (CIO 000000) is ON, the program
CJP #0100
up to the JME(005) instruction with jump number 0100 is ignored.
(005)
JME #0100
(222)
When the execution condition (CIO 000001) is OFF, the program
CJPN #0101
up to the JME(005) instruction with jump number 0101 is ignored.
(005)
JME #0101
The jump number (N) must be BCD between 0000 and 0999.
ER (A50003):
Operand Data Areas
N: Jump number
CIO, G, A, T, C, #, DM, DR, IR
Content of *DM word is not BCD when set for BCD.
Jump number is not BCD or not between 0000 and 0999.
CJP(221) or CJPN(222) in program without a corresponding
JME(005). Also turns ON the Jump Error Flag A40213.
Section 5-10
(CVM1 V2)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents