Siemens SINUMERIK 840D sl Function Manual page 424

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

Advertisement

H2: Auxiliary function outputs to PLC
8.13 Behavior during block search
System variables
The spindle-specific auxiliary functions are always stored in the following system variables
during block searches, irrespective of the parameter assignment described above:
System variable
$P_SEARCH_S [<n> ]
$P_SEARCH_SDIR [<n>]
$P_SEARCH_SGEAR [<n>]
$P_SEARCH_SPOS [<n>]
$P_SEARCH_SPOSMODE [<n>]
For later output of the spindle-specific auxiliary functions, the system variables can be read in
an ASUB, for example, and output after the action blocks are output:
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.
For more detailed information on ASUB, block search and action blocks, see Section "K1:
Mode group, channel, program operation, reset response (Page 455)".
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.
Parameterization: MD11450 $MN_SEARCH_RUN_MODE, bit 2 = 1
After the block search on N55, the ASUB is started.
Part program:
Program code
N05 M3 S200
N10 G4 F3
N15 SPOS=111
N20 M2=4 S2=300
N25 G4 F3
424
Description
Accumulated spindle speed
Range of values:
Accumulated spindle direction of rotation
Range of values:
Accumulated spindle gear stage M function
Range of values:
Accumulated spindle position
Range of values:
or
Accumulated traversing path
Range of values:
Accumulated position approach mode
Range of values:
Comment
; Spindle 1
; Spindle 1 is positioned to 111 degrees in the ASUB
; Spindle 2
0 ... Smax
3, 4, 5, -5, -19, 70
40 ... 45
0 ... MD30330 $MA_MODULO_RANGE
(size of the module range)
-100.000.000 ... 100.000.000
0 ... 5
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents