Siemens SINUMERIK 840Di Function Manual page 505

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

System variables
The spindle-specific auxilary functions are always stored in the following system variables on
block search, irrespective of the programming 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,
for example in an ASUB, and output after output of the action blocks:
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.
References
More detailed information on ASUB, block search, and action blocks is to be found in:
/FB/ Description of Functions Basic Machine; Mode Group, Channel, Program Operation
(K1)
Chapter: Program test
Auxiliary Function Output to PLC (H2)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Description
Collected spindle speed,
value range = { 0 ... Smax }
Collected spindle rotation direction,
value range = { 3, 4, 5, -5, -19, 70 }
Collected spindle gear stage M function,
value range = { 40 ... 45 }
Collected spindle position,
value range = { 0 ... MD30330 $MA_MODULO_RANGE }
Collected traverse path,
value range = { -100.000.000 ... 100.000.000 }
Collected position approach mode,
value range = { 0 ... 5 }
Detailed Description
2.12 Block search
2-31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents