Until Loop Statement - Hitachi NT2021XA Instruction Manual

Easy-sequence programming software
Table of Contents

Advertisement

until loop statement

- Format
Format
until
<condition>
<instruction set>
loop
- Explanation
This instruction executes
<instruction set>
execution of
<instruction
- Sample program (Condition "X (00) = 0" is met after the loop is executed twice.)
Label
Mnemonic
until
Y(00)=
Y(00)=
loop
Y(00)=
Instruction to conditionally execute a post-conditioned loop
This instruction executes <instruction set> until
Note that
set>.
repeatedly until <condition> is met. Note that
set>.
Execute
Is
<condition>
parameter1
parameter2
parameter3
X(00)
=
1
1
0
1
Description
<condition>
is checked after the execution of
<instruction set>
Yes
met?
No
parameter4
parameter5
2-13
Chapter 2 Syntax
<condition>
is met.
<instruction
<condition>
is checked after the
Sequence of execution
(1)
(5)
(9)
(2)
(6)
(10)
(3)
(7)
(11)
(4)
(8)
(12)
(13)

Advertisement

Table of Contents
loading

Table of Contents