Visualization Tolerance band : You can define an upper and lower limit value on the vertical axis to be displayed as a tolerance band. For each band a color (Press the color rectangle to get the selection dialog) can be defined. If the bands should be displayed in online mode, activate option T olerance band as line . If you want the curve to get displayed in the color defined for the respective band as soon as exceeding the tolerance value, activate Curve color outside tolerance like tolerance band. Activate Both or None if you want to activate both or none of the above described display options at a time. Example: Display of a trend element in online mode: 1.
Declaration in program PLC_PRG: VAR n: INT; rSinus:REAL; rValue:REAL; rSlider1:REAL; (*fьr Lesezeichenfunktion*) rSlider2:REAL; (*fьr Lesezeichenfunktion*) END_VAR 2. Program part of PLC_PRG: n:=n+1; rValue := rValue + 0.01; rSinus:=SIN(rValue)*50 + 50; IF n>100 THEN n:=0; END_IF 3. Configuration of a trend element in a visualization Orientation Left-Right, History activated Horizontal axis: Division lines: T#2s, Duration: T#10s, Main: T#1s, Sub scale: T#500ms, Degree if accuracy: T#200ms, Legend: Time Format ('hh':'mm':'ss'), Scaling T#2s. Symbol bar activated. Vertical axis: Division lines visible, Scale: 10, dotted, grey; Scale left, Start: 0, End: 100, Main: 10, Sub scale: 5; Legend:
10; Symbol bar activated. Variables: 1. Variable PLC_PRG.rsinus, blue line, Marker: PLC_PRG_TRD.rSlider1; 2. Variable PLC_PRG.n, red line, Marker: PLC_PRG_TRD.rSlider2 Curve configuration: Straight line, no tolerance band Configuration of two display fields for the current record values provided by the marker variables: Rectangle element 1: Category Text: insert "%s" in the Content field; Category Variables: insert in field Textdisplay: PLC_PRG.rSlider1 Rectangle element 2: Category Text: insert "%s" in the Content field; Category Variables: insert in field Textdisplay:
PLC_PRG.rSlider2 (additionally insert a rectangle element at the left border of the rectangle elements 1 and 2, showing the curve color of the corresponding record variable) Result in online mode after login and start of the program: TX1200 300 Version: 1.3