Basic logic functions: Spindles (S1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
95
Examples
4
4.1
Example of automatic gear step selection (M40)
Example
To illustrate the contents of the new block search variables:
Assumptions about automatic gear step selection (
M40
):
S0...500
1. Gear step
S501..1000
2. Gear step
S1001..2000
3. Gear step
Content of system variables:
$P_SEARCH_S
; Collected S value
$P_SEARCH_DIR
; Collected direction of rotation
$P_SEARCH_GEAR
; Collected gear step
Collected
S value:
Direction of
rotation:
Gear step:
; 0/last speed
-5
40/last GS
N05 G94 M40 M3 S1000
; 1000
3
40
N10 G96 S222
: 222
3
40
N20 G97
; f (PlanAxPosPCS)*
3
40
N30 S1500
; 1500
3
40
N40 SPOS=0**
; 1500
-19
40
N50 M19**
; 1500
-19
40
N60 G94 G331 Z10 S300
; 300
-19
40
N70 M42
; 300
-19
42
N80 M4
; 300
4
42
N90 M70
; 300
70
42
N100 M3 M40
; 300
3
40
N999 M30
*
f (PlanAxPosPCS): The speed depends on the current position of the transverse axis in the
workpiece coordinate system.
**
($P_SEARCH_SPOS and $P_SEARCH_SPOSMODE are programmed)
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 ...