Siemens SINUMERIK 840D sl Programming Manual page 249

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Program code
DEF INT PROTECTB
Definition of protection zone G17
NPROTDEF(1,FALSE,3,10,–10)G01 X0 Y–10
X40
Y10
X0
Y–10
EXECUTE(PROTECTB)
NPROTDEF(2,FALSE,3,5,–5)
G01 X40 Y–5
X70
Y5
X40
Y–5
EXECUTE(PROTECTB)
CPROTDEF(1,TRUE,3,0,–100)
G01 X–20 Y–20
X20
Y20
X–20
Y–20
EXECUTE(PROTECTB)
CPROTDEF(2,TRUE,3,–100,–150)
G01 X0 Y–10
G03 X0 Y10 J10
X0 Y–10 J–10
EXECUTE(PROTECTB)
CPROTDEF(3,TRUE,3,–150,–170)
G01 X0 Y–27,5
G03 X0 Y27,5 J27,5
X0 Y27,5 J–27,5
EXECUTE(PROTECTB)
Activation of 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)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
3.2 Activating/deactivating protection zones (CPROT, NPROT)
Comments
; Definition of a Help variable
; Set orientation
; Protection zone n–SB1
; Protection zone n–SB2
; Protection zone c–SB1
; Protection zone c–SB2
; Protection zone c–SB3
; Activate protection zone n–SB1 with
offset
; Activate protection zone n–SB2 with
offset
; Activate protection zone c–SB1 with
offset
; Activate protection zone c–SB2 with
offset
; Activate protection zone c–SB3 with
offset
Protection zones
249

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents