CLM01.4-LAP-01VRS
Writing the User Program
5-43
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
RTS – Return from Subroutine
As described for the ’JSR’ command, a subroutine must be concluded
with an ’RTS’ return command.
If several subroutine levels have been accessed in one program cycle, a
return from a higher subroutine level leads first to the next lower
subroutine level rather than directly back to the main program.
Example:
Rts_bef_AE.WMF
Fig. 5-19: Example of Return from Subroutine Levels
The program proceeds to the next instruction following the time period of
one cycle.
RTS
Содержание CLM1.4
Страница 117: ...7 20 Functions CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 205: ...9 42 Interfaces CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 213: ...10 8 Command Communications CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 233: ...11 20 Diagnostic Messages CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 272: ......
Страница 273: ...Printed in the U S A Barcode...