Goto Statement; On Trip Goto Statement - Hitachi NT2021XA Instruction Manual

Easy-sequence programming software
Table of Contents

Advertisement

Chapter 2 Syntax

goto statement

- Format
Format
goto
<label name>
- Explanation
Use this instruction to branch processing unconditionally to the step labeled with
<label name>
: Specifies the label name of the branch-target step (line).
- Sample program
Label
Mnemonic
goto
LABEL1
FW=

on trip goto statement

- Format
Format
on trip goto
<label name>
- Explanation
Use this instruction to branch processing to the step labeled with
In the SJ700 Series, when inverter trips without the description of this instruction, the program stops immediately after the
occurrence of inverter trip.
In the WJ200 Series, when the user trip occurs without the description of this instruction, the program stops immediately after
the occurrence of inverter trip.
- Sample program
Label
Mnemonic
on
LABEL1
Y(00)=
Instruction to branch processing unconditionally
This instruction branches processing unconditionally to the step labeled
with
<label
parameter1
parameter2
parameter3
LABEL1
1
Instruction to branch processing upon the occurrence of an event
This instruction branches processing to the step labeled with
name>
when the inverter trips.
parameter1
parameter2
parameter3
trip
goto
LABEL1
1
Description
name>.
parameter4
parameter5
Description
<label name>
when the inverter trips.
parameter4
parameter5
2-8
.
<label name>
: Unconditionally branch to step "LABEL1".
: Branch target
<label
: Branch to step "LABEL1" when the
inverter trips.
: Branch target

Advertisement

Table of Contents
loading

Table of Contents