Examples: If (conditional) command

If /Line1::Pump1\Valve1 = 0 Then Display /Line1::PumpWarning Endif
In this example, when the value of Line1::Pump1\Valve1 is equal to zero, the screen PumpWarning, from Line1 area, is displayed.
If (/Line1::Pump1\Valve1 = 0) && (/Line1::Pump1\Temp>200) Then Display SystemWarning; beep Else Display SystemOK Endif
In this example, when the value of Line1::Pump1\Valve1 is zero and the temperature (value of Temp) is greater than 200, the SystemWarning screen is displayed and a beep is sounded. If the value of Valve1 is not zero or the temperature is less than or equal to 200, the SystemOK screen is displayed.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal