beautypg.com

2 instructions, Additional information – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 383

background image

2-347

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Step I

n

stru

ctio

ns

2

SNXT/STE

P

(2) Branching Control

Additional Information:

In the above example, where SNXT(009) is executed for W0.02, the branching moves onto the next

steps even though the same control bit is used twice. This is not picked up as an error in the program
check using the CX-Programmer. A duplicate bit error will only occur in a step ladder program only
when a control bit in a step instructions is also used in the normal ladder diagram.

The above programming is used when steps A and B cannot be executed simultaneously. For simul-

taneous execution of A and B, delete the execution conditions illustrated below.

Step (A) W0.00

Step (B) W0.01

Step (C) W0.02

End

0.05 (Step (C) reset conditions)

0.01 (Step (A)
starting condition)

0.02 (Step (B) starting condition)

0.03 (Step (A)

Step (C) transition
condition)

0.04 (Step (B)

→ Step (C)

transition condition)

STEP

W0.00

0.02

SNXT

W0.01

0.01

SNXT

W0.00

0.01

0.02

STEP

W0.01

0.03

SNXT

W0.02

0.04

SNXT

W0.02

STEP

W0.02

STEP

0.05

SNXT

W30.0

Step (A) ladder program

Step (B) ladder program

Step (C) ladder program

Step W0.00
(A)

Step W0.01
(B)

Step W0.02
(C)

0.02

0.01

This manual is related to the following products: