Siemens SINUMERIK 828D Function Manual page 445

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

DB21, ... DBX32.6 = 1 (last action block active)
Note
The contents of the system variables $P_S, $P_DIR and $P_SGEAR may be lost after block
search due to synchronization operations.
More detailed information on ASUB, block search, and action blocks is to be found in:
References:
Function Manual, Basic Functions; BAG, Channel, Program Operation, Reset Response (K1), Chapter:
"Program test"
Example
Block search for contour with suppression of output of the spindle-specific auxiliary functions and start of an
ASUB after output of action blocks.
Parameter assignment: MD11450 $MN_SEARCH_RUN_MODE, bit 2 = 1
After the block search on N55, the ASUB is started.
Parts program:
Program code
N05 M3 S200
N10 G4 F3
N15 SPOS=111
N20 M2=4 S2=300
N25 G4 F3
N30 SPOS[2]=IC(77)
N55 X10 G0
N60 G4 F10
N99 M30
ASUB:
Program code
PROC ASUP_SAVE
MSG ("Output of the spindle functions")
DEF INT SNR=1
AUSG_SPI:
M[SNR]=$P_SEARCH_SGEAR[SNR]
S[SNR]=$P_SEARCH_S[SNR]
M[SNR]=$P_SEARCH_SDIR[SNR]
SNR=SNR+1
REPEAT AUSG_SPI P=$P_NUM_SPINDLES-1
MSG("")
REPOSA
RET
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Comment
; Spindle 1
; Spindle 1 is positioned to 111 degrees in the ASUB
; Spindle 2
; Spindle 2 traverses incrementally by 77 degrees
; Destination block
Comment
; Output gear level.
; Output speed (for M40, a suitable
; Output direction of rotation,
; Next spindle.
; For all spindles.
H2: Auxiliary function outputs to PLC
gear level is determined).
positioning or axis mode.
8.13 Block-search response
445

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents