Siemens SINUMERIK 840D sl Programming Manual page 581

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

Advertisement

Program code
CPROTDEF(2,TRUE,3,–100,–150)
G01 X0 Y–10
G03 X0 Y10 J10
X0 Y–10 J–10
EXECUTE(PROTZONE)
CPROTDEF(3,TRUE,3,–150,–170)
G01 X0 Y–27.5
G03 X0 Y27.5 J27.5
X0 Y27.5 J–27.5
EXECUTE(PROTZONE)
; activating protection zones:
NPROT(1,2,–120,60,80)
NPROT(2.2,–120,60,80)
CPROT(1,2,0,0,0)
CPROT(2,2,0,0,0)
CPROT(3,2,0,0,0)
Further information
Activation status after the control powers up
A protection zone can already be active after the control system powers up and the axes have
been referenced. This is the case if, for the protection zone, the following system variable is set
to TRUE:
● $SN_PA_ACTIV_IMMED[<n>] (for machine-specific protection zone) or
● $SC_PA_ACTIV_IMMED[<n>] (for channel-specific protection zone)
Index "<n>" corresponds to the number of the protection zone: 0 = 1. Protection zone
The protection zone is activated with status = 2 – and without offset.
Multiple activation of a protection zone
A machine-specific protection zone can be active simultaneously in several channels (e.g.
protection zone of a tailstock where there are two opposite sides). The protection zones are
only monitored if all geometry axes have been referenced.
A protection zone cannot be activated simultaneously with different offsets in a single channel.
Protection zone monitoring for active tool radius compensation
For active tool radius compensation, a functioning protection zone monitoring is only possible
if the plane of the tool radius compensation is identical to the plane of the protection zone
definitions.
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Comment
; protection zone c–PZ2
; protection zone c–PZ3
; activate protection zone n–PZ1 with offset
; activate protection zone n–PZ2 with offset
; activate protection zone c–PZ1
; activate protection zone c–PZ2
; activate protection zone c–PZ3
Work preparation
3.6 Protection zones
581

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents