6 - 11
6 Drive Programming Commands
Drive Programming User’s Manual (I580-E2)
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.