beautypg.com

Reference channel, Reference channel -65, App index – Yokogawa Standalone MW100 User Manual

Page 79

background image

1-65

IM MW100-01E

Explanation of Functions

1

2

3

4

5

App

Index

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, CLOG functions,

and Bit output

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(), BIT

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)

Reference channel

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.15 MATH Function (/M1 Option)