6 - 11
6 DriveProgramming Commands
DriveProgramming User’s Manual (I622-E1)
6-4 Program Control Commands
6
Sub
Command Description Argument
Indicates the beginning of the subroutine. ---
Format
Flowchart method Text language method
↓
sub
Note It is necessary to have this command at the beginning of each subroutine.
End sub
Command Description Argument
Indicates the end of the subroutine. ---
Format
Flowchart method Text language method
↓ endsub
Note It is necessary to have this command at the end of each subroutine.