Label Definition Statement; Wait Statement - Hitachi SJ700-2 Series Instruction Manual

Easy-sequence programming software ezsq
Hide thumbs Also See for SJ700-2 Series:
Table of Contents

Advertisement

Label definition statement

- Format
Format
<label name>
- Explanation
Use this statement to define <label name> to be used in the goto or other instructions. The statement is
not executed when described alone.
- Sample program
  :
goto
  :
LABEL1
Y(00) =
  :

wait statement

- Formats
Format
1
wait iii.ii
2
wait <condition>
- Explanation
Format 1: This instruction makes processing wait for "iii.ii" seconds. After "iii.ii" seconds elapse, the next
instruction is executed.
Format 2: This instruction makes processing wait until <condition> is met. After <condition> is met, the
next instruction is executed.
- Sample programs
Sample 1:
Format 1
  :
wait
Y(00) =
  :
Sample 2:
Format 2
  :
wait
LABEL1
Y(00) =
  :
Statement to define a label
This statement defines <label name>.
LABEL1
1
Instruction to make processing wait
This instruction makes processing wait for "iii.ii" seconds.
This instruction makes processing wait until <condition> is met.
1.00
1
X(00)
=
1
1
Chapter 5 Instruction Words
Description
: Branch to step "LABEL1".
: Branch-target step (line)
Description
: Wait 1 second.
: Wait until condition "X (00) = 1" is met.
5 - 13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sj700 series

Table of Contents