Programming - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

9.11.3

Programming

Determining the cause of the ASUB activation
The cause of the activation of the ASUB can be read bit-coded via the system variable
$AC_ASUP.
Continuation
When using the system ASUB, the behavior for the continuation after execution of the actions
is permanently specified within the ASUB:
● System ASUB 1 → continuation with RET (subprogram return)
● System ASUB 2 → continuation with REPOS (repositioning)
The description of the system variables specifies the behavior with regard to the system ASUB
for each cause at "Continued for".
Note
Continued for user-specific ASUB
It is recommended for user-specific ASUBs that the appropriate continuation of the system
ASUB be retained.
Cause: Change of operating mode ($AC_ASUP, bit 9 == 1)
At a change of operating mode, the continuation depends on the machine data:
MD20114 $MC_MODESWITCH_MASK (interruption of MDA through mode change)
● Bit 0 == 0: System ASUB 1 → continuation with RET
● Bit 0 == 1: System ASUB 2 → continuation with REPOS
References
A detailed description of the system variables can be found in:
List Manual, System Variables
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
K1: Mode group, channel, program operation, reset response
9.11 User-specific ASUB for RET and REPOS
573

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents