EasyManuals Logo

YOKOGAWA MW100 User Manual

YOKOGAWA MW100
260 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #64 background imageLoading...
Page #64 background image
1-52
IM MW100-01E
Conditional Expressions
Type Operators Explanation
Conditional expressions [EXPR1?EXPR2:EXPR3] Execute expression 2 when expression 1 is
true, or expression 3 when it is false
Other
Type Operator Explanation
Parentheses ( ) Specifies the order of operations
Order of Operations in Expressions
Expressions are hierarchical according to the table below. The operations are listed in
the table from top to bottom in order of precedence. These precedences must be taken
into account when writing expressions.
Type Operators
(High precedence)
Arithmetic, TLOG, and CLOG functions ABS(), SQR(), LOG(), EXP(), TLOG.MAX(), TLOG.
MIN(), TLOG.P-P(), TLOG.SUM(), TLOG.AVE(), TLOG.
PSUM()
CLOG.MAX(), CLOG.MIN(), CLOG.P-P(), CLOG.AVE()
Conditional expressions [EXPR1?EXPR2:EXPR3]
Exponentiation **
Logical negation NOT
Multiplication and division *, /
Addition and subtraction +, –
Relational operation .GT., .LT., .GE., .LE.
Equivalence .EQ., .NE.
Logical product AND
Logical sum, exclusive OR OR, XOR
(Low precedence)
MATH Reference Channels
The following channels can be referenced for data used in computations.
Type Channel number Description
Measurement Channel 001 to 060 Data from measurement channels
Computation channels A001 to A300 Data from MATH channels
(Channels A061 to A300 are used for
communication input only.)
Communication input channels C001 to C300 Numerical values in expressions substituted
with communication input
Flag input channels F01 to F60 Set in expressions as the constant 1 or 0
Calculation constant K01 to K60 Represented as a fixed constant in expressions
Program channels P01 to P03 Inputs broken line data into expressions
Flag Input Channels
Can be set in expressions as the constant 1 or 0. Normally 0, but turns to 1 upon
occurrence of certain events of the Event/Action function.
For example, given the expression:
NOTF01 * TLOG.SUM(001)
if the Event action’s Edge action is set to FLAG:F01, when the event
occurs, F01 becomes 1 and NOTF01 becomes 0, therefore the total of channel 001 is 0.
1.13 MATH Function (/M1 Option)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the YOKOGAWA MW100 and is the answer not in the manual?

YOKOGAWA MW100 Specifications

General IconGeneral
BrandYOKOGAWA
ModelMW100
CategoryData Loggers
LanguageEnglish

Related product manuals