Protection zones
3.3 Checking for protection zone violation, working area limitation and software limits (CALCPOSI)
Program code
N10 def real _STARTPOS[3]
N20 def real _MOVDIST[3]
N30 def real _DLIMIT[5]
N40 def real _MAXDIST[3]
N50 def int _SB
N60 def int _STATUS
N70 cprotdef(2, true, 0)
N80 g17 g1 x–y0
N90 g3 i2 x2
N100 i–x–
N110 execute(_SB)
240
Comments
;
Tool-related protection zone
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning