Y = Y2 / factor - offset
Formula for converting Y to Y2:
Y2 = (Y + offset) * factor
Figure 7-2 Example with second Y axis with own scaling
Example
Y: 0 to 200 should correspond to Y2: -25 to 25.
● Offset: -100
● Factor: 0.25
Calculation example:
Y2 = -30
Y = -30 / 0.25 – (-100) = -20
Calculation example:
Y = 0
Y2 = (0 + (-100)) * 0.25 = -25
The X axis is the same for both coordinate systems.
You can set the colors using setForeColorY2() and setGridColorY2() (see colors).
The axes are labeled with setAxisNameY2() (see axis identifiers).
Graphic and logic elements
7.5 SIEsGraphCustomWidget
SINUMERIK Integrate Run MyScreens (BE2)
222 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1