Yokogawa Touch Screen GP20 User Manual
Page 74
1-60
IM 04L51B01-01EN
Conditional Expression
[a?b:c]
(Syntax) [0001.GT.K001?0002:0003]
(Condition) If the measured value of channel 0001 is greater than constant K001, the
computed result is the measured value of channel 0002. Otherwise, the
computed result is the measured value of channel 0003.
Examples of Equations That Are Not Allowed
[0001.GT.K001?0002:0003]*K002
Reason: Used in combination with another computing element.
Nested Conditional Expressions
A conditional expression can be written to Expression1, Expression2, and Expression3 in the
equation [Expression1?Expression2:Expression3]. For example, the following expression
is allowed: [Equation1?[Equation2-1?Equation2-2:Equation2-3]:[Equation3-1?Equation3-
2:Equation3-3]].
Expressions can be nested as long as the number of characters of the expression does not
exceed 120 characters.
1.5 Configuring Math Channels