Basically there are two progress bar types:
1. Progress bars with up to two color changes, e.g. for temperature or utilization display (see
example 6a)
2. Progress bars to display the progress (without color change) in the Operate style (see
example 6b)
Example 6a
Progress bar with two color changes:
Figure 5-1
DEF PROGGY0 = (R/0,150,50,100///DT1,DO0//"$R[10]"//,,150/3,4,,,,,,,9,7)
To use a progress bar with color change, the display mode DT (DisplayType) must be set to
1.
The orientation of the progress bar is determined via the attribute display option DO
(DisplayOption):
0: From left to right (default)
1: From right to left
2: From bottom to top
3: From top to bottom
A MIN and a MAX value must be specified for the display of the progress bar (in the example
MIN: 0, MAX: 150).
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Progress bar with two color changes
Variable type:
Limits / toggle field:
MIN:
MAX:
Signal value SVAL1:
Signal value SVAL2:
Attributes:
Display mode DT:
Display option DO:
System or user variable:
Position of input/output field:
Width:
Colors:
Foreground color:
Background color:
Signal color SC1:
Signal color SC2:
5.8 Example 6: Progress bar
REAL
0
150
50
100
1 (progress bar)
0 (from left to right (default))
$R[10]
150
3 (dark green)
4 (light gray)
9 (yellow)
7 (red)
Variables
67