9-8
IM 04L42B01-01E
TLOGComputation
In the explanation below, an expression containing a computing element in e1, an
internal switch (S), a relay (I), or flag (F) cannot be written. In addition, only one TLOG
computation can be specified in a single computing equation.
TLOG.MAX()
Maximum value
(Syntax) TLOG.MAX(e1)
(Condition) Determines the maximum value of channel e1.
TLOG.MIN()
Minimum value
(Syntax) TLOG.MIN(e1)
(Condition) Determines the minimum value of channel e1.
TLOG.AVE()
Average value
(Syntax) TLOG.AVE(e1)
(Condition) Determines the average value of channel e1.
TLOG.SUM()
Sum value
(Syntax) TLOG.SUM(e1)
(Condition) Determines the sum of channel e1.
TLOG.P-P()
Maximum - minimum value
(Syntax) TLOG.P-P(e1)
(Condition) Determines the maximum - minimum value of channel e1.
ExpressionExample
TLOG.MAX(01)+K01*SQR(02)
ExamplesofEquationsThatAreNotAllowed
TLOG.AVE(01)+TLOG.AVE(02)
Reason: TLOG appears twice in one equation.
TLOG.AVE(ABS(01))
Reason: A computing element is used inside the parentheses.
9.2WritingExpressions