6 DriveProgramming Commands
6-3
Command List
Program Control Commands
Command
Argument 1
entry
end
call
<subroutine>
sub
<subroutine>
end sub
goto
<label>
on trip goto
<label>
if
if
else
endif
6 - 4
Argument 2
Argument 3
<condition>
<condition>
<command set 1>
<command set 2>
Argument 4
Argument 5
goto
<label>
then
DriveProgramming User's Manual (I622-E1)
Description
Indicates the begin-
ning of the task.
Indicates the end of
the task.
Jumps to <subrou-
tine>.
Indicates the begin-
ning of the subroutine.
Indicates the end of
the subroutine.
Jumps to <label>
unconditionally.
Jumps to <label>
when a trip occurs.
Jumps to <label> when
the condition is met.
Starts the "if" structure.
If <condition> is met, it
executes <command
set 1> right after this
command until the
"else" command, and
goes to the next step
after the "endif".
If <condition> is not
met, it executes <com-
mand set 2> right after
the "else" command
until the "endif" com-
mand, and goes to the
next step after the
"endif".
The command set that
is executed when
<condition> is met.
Starts the commands
when <condition> is
not met.
The command set that
is executed when
<condition> is not met.
Ends the "if" structure.