W4: Grinding-specific tool offset and tool monitoring
17.6 Supplementary Conditions
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
833
Programming
Program code Comment
N20 T1 D1 ; Select T1 and D1
N25 S1=1000 M1=3 ; 1000 rpm for spindle 1
N30 S2=1500 M2=3 ; 1500 rpm for spindle 2
...
N40 GWPSON ; ;Selection of GWPS for active tool T1
N45 S[$P_AGT[1]]=60 ; Set GWPS to 60 m/s for active tool
n=1909.85 rpm
...
N50 GWPSON(5) ; GWPS selection for tool 5 (2nd spindle)
N55 S[$TC_TPG1[5]]=40 ; Set GWPS to 40 m/s for spindle 2
n=1909.85 rpm
...
N60 GWPSOF ; Deactivate GWPS for active tool
N65 GWPSOF(5) ; Switch off GWPS for tool 5 (spindle 2)
...
For more information, see Section "P5: Oscillation - only 840D sl (Page 641)".
Supplementary references
● Function Manual, Basic Functions; Feedrates (V1)
● Function Manual, Synchronized Actions
17.6 Supplementary Conditions
17.6.1 Tool changes with online tool offset
Tool change
Tool changes with M6 cannot be executed in conjunction with the online tool offset function.