System Variables: Protection Area Elements For Automatic Tool Protection Areas - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

K8: Geometric machine modeling - only 840D sl
6.2 Commissioning
Program code
; 19. Protection area element, direction vector and angle of rotation
N100 $NP_DIR[18.0] = COS(90)*COS(10)
N110 $NP_DIR[18.1] = SIN(90)*COS(10)
N120 $NP_DIR[18.2] = SIN(10)
N130 $NP_ANG[18] = 45.0
6.2.5

System variables: Protection area elements for automatic tool protection areas

The protection area element of an automatic tool protection area is defined using the
subsequent system variables. The control automatically generates the values of the system
variables from the geometric data of the associated tool, and these can only be read.
Name
$NP_T_NAME[<n>]
$NP_T_TYPE[<n>]
$NP_T_FILENAME[<n>]
$NP_T_PARA[<n>,<i>]
$NP_T_OFF[<n>,<i>]
$NP_T_DIR[<n>,<i>]
$NP_T_ANG[<n>]
1) n = 0, 1, ... ($MN_MM_MAXNUM_3D_T_PROT_ELEM – 1)
2) The system variables of the automatic tool protection areas correspond to those of the machine
protection areas.
250
Meaning
1)
Name of the protection area element
Type of the protection area element
File name of the STL file that contains the geometric
data of the protection area element
(only relevant for $NP_T_TYPE == "FILE")
Geometric parameters of the protection area body
(only relevant for $NP_T_TYPE == "BOX" or
"SPHERE" or "CYLINDER")
Offset vector of the protection area element local co‐
ordinate system
Direction vector for the rotation of the protection area
element local coordinate system
Angle for the rotation of the protection area element
local coordinate system
Comment
; 0 = X component
; 1 = Y component
; 2 = Z component
; Angle of rotation δ = 45°
Analog to
$NP_NAME
(Page 233)
$NP_TYPE
(Page 240)
$NP_FILENAME
(Page 243)
$NP_PARA
(Page 245)
$NP_OFF
(Page 246)
$NP_DIR
(Page 247)
$NP_ANG
(Page 249)
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
2)
Special functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents