Chapter 2 Syntax
goto statement
Instruction to branch processing unconditionally
- Format
Format
Description
goto
<label name>
This instruction branches processing unconditionally to the step labeled
with
<label name>
.
- Explanation
Use this instruction to branch processing unconditionally to the step labeled with
<label name>
.
<label name>
: Specifies the label name of the branch-target step (line).
- Sample program
Label
Mnemonic
parameter1
parameter2
parameter3
parameter4
parameter5
㩷
㩷
goto LABEL1
㩷
㩷
㩷
㩷
: Unconditionally branch to step "LABEL1".
㩷
㩷 䋺㩷
㩷
㩷
㩷
㩷
㩷
LABEL1 FW=
1
㩷
㩷
㩷
㩷
: Branch target
on trip goto statement
Instruction to branch processing upon the occurrence of an event
- Format
Format
Description
on trip goto
<label name>
This instruction branches processing to the step labeled with
<label
name>
when the inverter trips.
- Explanation
Use this instruction to branch processing to the step labeled with
<label name>
when the inverter trips.
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
parameter1
parameter2
parameter3
parameter4
parameter5
㩷
㩷
on trip
goto
LABEL1
㩷
㩷
: Branch to step "LABEL1" when the
inverter trips.
㩷
㩷 䋺㩷
㩷
㩷
㩷
㩷
㩷
LABEL1 Y(00)=
1
㩷
㩷
㩷
㩷
: Branch target
2-8
Summary of Contents for NT2021XA
Page 4: ... Safety Instructions ...
Page 8: ... Contents ...
Page 10: ...Chapter 1 Outline of EzSQ ...
Page 14: ...1 4 Chapter 1 Outline of EzSQ ...
Page 16: ...Chapter 2 Syntax ...
Page 68: ...2 52 Chapter 2 Syntax ...
Page 70: ...Chapter 3 Interface with the Inverter ...
Page 80: ...3 10 Chapter 3 Interface with the Inverter ...