Siemens SINUMERIK 840DE sl Commissioning Manual page 1076

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Variables
5.8 Example 6: Progress bar
A MIN and a MAX value must be specified for the display of the progress bar (in the example
MIN: 0, MAX: 150).
Depending on the current value of the variable PROGGY0, this setting already displays a
progress bar with the foreground color 3 (= dark green) and the background color 4 (= light
gray).
Optionally, one or two signal values SVAL1 and SVAL2 (limit parameters) can be defined (in
the example SVAL1: 50 and SVAL2: 100). With these signal values, the foreground color of
the progress bar changes. The appropriate signal colors are specified via parameters SC1
and SC2 (in the above example SC1: 9 (= yellow) and SC2: 7 (=red)).
The following rule applies when specifying limit values for the progress display:
MIN < SVAL1 < SVAL2 < MAX.
Example 6b
Progress bar without color change:
Figure 5-2
DEF PROGGY0 = (R/0,150///DT2,DO0//"$R[10]"//,,150/6,10)
To use a progress bar without color change, the display mode DT (DisplayType) must be set
to 2.
The orientation of the progress bar is determined via the attribute display option DO
(DisplayOption) (see description for example 6a).
A MIN and a MAX value must be specified for the display of the progress bar (in the example
MIN: 0, MAX: 150).
Depending on the current value of the variable PROGGY0, this setting displays a progress
bar with the foreground color 6 (= blue) and the background color 10 (= white).
90
Progress bar
Variable type:
Limits / toggle field:
MIN:
MAX:
Attributes:
Display type DT:
Display option DO:
System or user variable:
Position of input/output field:
Width:
Colors:
Foreground color:
Background color:
REAL
0
150
2 (progress bar)
0 (from left to right (default))
$R[10]
150
6 (blue)
10 (white)
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents