EasyManua.ls Logo

Bosch Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS - CST - Clear Subroutine Stack

Bosch Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS
490 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-32 Writing the User Program ECODRIVE03-FL*-04VRS
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
CST - Clear Subroutine Stack
0 = Clear the subroutine stack
1 = Correct the subroutine stack by 1 level
2 = Correct the subroutine stack by 2 levels
and so on until
9 = Correct the subroutine stack by 9 levels
0 = Task 1 and Task 2
1 = Task 1
2 = Task 2
This command can be used to correct the subroutine stack.
If several subroutines are accessed within one program cycle, a direct
return across several levels is not possible with the RTS command. If the
subroutine stack has been corrected using the CST command, a
subsequent RTS command will execute a direct return across several
levels.
Note: If all the subroutine stacks are cleared, no RTS command
may follow the CST command, or the error message "F- 02
06 - St. underflow RTS" is displayed.
Example:
Cst_bef_AE.WMF
Fig. 6-13: Example Overview of Subroutine Stack Levels
CST 1 1

Table of Contents

Related product manuals