Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
The flowchart for this programming is given below.
Repeat processing
for WHILE instruction 1
Repeat processing
for WHILE instruction 2
Precautions for Correct Use
• Always place this instruction between the FOR and END_FOR, WHILE and END_WHILE, or
REPEAT and END_REPEAT instructions.
• If you nest repeat processing, one EXIT instruction is required for each nesting level to end all of the
repeat processing.
2-40
START
x := INT#0
y := INT#0
FALSE
x ≤ INT#10
TRUE
TRUE
A = TRUE
FALSE
FALSE
y ≤ INT#20
TRUE
TRUE
B = TRUE
FALSE
y := y+1
x := x+1
C := D
END
If the value of variable A is
TRUE, the repeat processing
for WHILE instruction 1 is
ended.
If the value of variable B is
TRUE, the repeat processing
for WHILE instruction 2 is
ended.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents