Np_Prot_D_Level - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Syntax
$NP_PROT_COLOR[<m>] = <value>
Meaning
$NP_PROT_COLOR:
<m>:
<value>:
Example
The 6th protection area is to be displayed half transparent and in a green-blue color on the
user interface:
● AA = 7F
● RR (red) = 00 ≙ no red component
● GG (green) = FF
● BB (blue) = 33
Program code
N100 $NP_PROT_COLOR[5] = 'H7F00FF33'
6.2.3.7

$NP_PROT_D_LEVEL

Function
The detail level as of which the protection area or the protection area elements are displayed
on the user interface is specified via the system variable. If a separate value is entered for a
protection area element in $NP_D_LEVEL (Page 238), this is used for the display of the
protection area element.
Detail level
● Lowest detail level: 0
● Highest detail level: 3
If the detail level x is selected for the display on the HMI, all protection areas and protection
area elements are displayed for which the following applies for the detail level D: D ≤ x
Special functions
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
Alpha/transparency and color value of the protection area
Data type:
Range of values: 00000000
Default value:
System variable or protection area index
Data type:
Range of values: 0, 1, 2, ... ($MN_MM_3D_MAXNUM_PROT_AREAS - 1)
Transparency and color value
Data type:
= 127
≙ 50% transparency
H
D
= 255
≙ 100% green color component
H
D
= 51
≙ 20% blue color component
H
D
K8: Geometric machine modeling - only 840D sl
DWORD
- FFFFFFFF
H
H
0000000
(black, not visible)
H
INT
DWORD
Comment
; 6. Protection area,
; alpha/transparency and color
value = H7F00FF33
6.2 Commissioning
227

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents