Precautions For Transition Programs - Omron WS02-CXPC1-V8 - V8.1 REV 02-2009 Operation Manual

Sfc programming
Table of Contents

Advertisement

Precautions When Creating SFC Programs
Example 1
With processing such as the increment processing shown above, add the action flag by
ANDing the flag as a NO execution condition. Even if the final scan is executed, the
value of D0 will not be incremented in the final scan.
Example 2
When you do not want a timer/counter PV refreshed after the step becomes inactive in
timer/counter instruction processing like the processing in the chart shown above, add
the action flag by ANDing the flag as a NO execution condition to a JUMP (JMP0)
instruction, and enclose the timer/counter instruction between JMP0 and JME0. Even if
the final scan is executed, the PV will not be refreshed additionally.
ST Program
Include an "Action flag = FALSE" condition with an AND condition in a statement such
as an IF statement, and execute the processing.
1-5-3

Precautions for Transition Programs

A bit output or timer/counter instruction used in a transition program will not be reset
when moving to the next step, i.e., operation of the bit output or timer/counter
instruction will continue.
36
0.00
Action.Q
0.00
Add action flag.
0.00
Action.Q
Add action flag.
0.00
Section 1-5
++(590)
D0
++(590)
D0
TIM
0010
___
#10
JMP0(515)
TIM
0010
___
#10
JME0(516)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents