Detailed description
2.12 Block search
Basic logic functions: Auxiliary Function Output to PLC (H2)
48
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
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
Description
$P_SEARCH_S [ n ]
Accumulated spindle speed,
Value range = { 0 ... Smax }
$P_SEARCH_SDIR [ n ]
Accumulated spindle direction of rotation,
Value range = { 3, 4, 5, -5, -19, 70 }
$P_SEARCH_SGEAR [ n ]
Accumulated spindle gear level M function,
Value range = { 40 ...
$P_SEARCH_SPOS [ n ]
Accumulated spindle position,
Value range = { 0 ... MD30330 $MA_MODULO_RANGE (size of
the module range)}
Accumulated traversing path,
Value range = { -100,000,000 ...
$P_SEARCH_SPOSMODE [ n ]
Accumulated position approach mode,
Value range = { 0 ...
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.
More detailed information on ASUB, block search, and action blocks is to be found in:
References:
/FB1/ Function Manual Basic Functions; Mode Group, Channel, Program Operation (K1),
Section: Program test
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...