6 computation function (/m1 option), 6 computation function (/m1 option) -26, 6 computaton functon (/m1 opton) – Yokogawa µR20000 User Manual

Page 42: Computaton functon, Channels dedcated to computatons, Types of computatons, Data that can be used n equatons

Advertising
background image

IM 04P02B01-01E

For the procedure to set the functions, see section 1.10, “Function Setup Guide.”

1-26

1.6 Computaton Functon (/M1 Opton)

Computaton Functon

Computing equations can be set up using measured values and other computed values
as variables in computation-dedicated channels, and the computation can be executed.
The computed result can be recorded. Computation is performed every scan interval.

Channels Dedcated to Computatons

The computation-dedicated channels below can be used.

Model

Number of Channels

Channel Names

Pen model

8

0A, 0B, 0C, 0D, 0E, 0F, 0G, and 0J

Dot model

24

0A, 0B, 0C, 0D, 0E, 0F, 0G, 0J, 0K, 0M, 0N, 0P,

1A, 1B, 1C, 1D, 1E, 1F, 1G, 1J, 1K, 1M, 1N, and 1P

Types of Computatons

In the table below, y represents the computed result. X and n represent the measured
value, a constant, etc.

Type

Syntax n the

Equaton

Descrpton

Four arithmetic

operation

+, –, *, /

Determines addition, subtraction, multiplication, and

division.

Power

**

Determines the power. y = X

n

Square root

SQR()

Determines the square root.

Absolute value

ABS()

Determines the absolute value.

Common logarithm LOG()

Determines the common logarithm. y=log

10

x

Exponent

EXP()

Determines the exponent. y = e

x

Relational

computation

.LT., .LE., .GT.,

.GE., .EQ., .NE.

Determines <, ≤, >, or ≥ of two elements and outputs “0”

or “1.”

Logical computation AND, OR, XOR,

NOT

Determines the AND (logical product), OR (logical sum),

XOR (exclusive logical sum) of two elements,

NOT (negation) of an element and outputs “0” or “1.”

TLOG computation TLOG.SUM(),

TLOG.MAX(),

TLOG.MIN(),

TLOG.AVE(),

TLOG.P-P(),

Determines the sum (SUM), the maximum (MAX),

the minimum (MIN), the average (AVE),

and the maximum – minimum (P-P) at specified time

intervals. There are three timers for setting the interval.

Data That Can Be Used n Equatons

In TLOG computation, the measured values of measurement channels or computed
values of computation channels can only be used. For all other computations, all of the
data types below can be used.

• Measured Values on Measurement Channels

Specified by the channel number. For channels that have scaling enabled, the scaled

values are used in the computation.

• Computed Values on Computaton Channels

Specified by the channel number.

• Constants (K01 to K30)

The values assigned to K01 to K30 can be used as constants.
Range of values (maximum significant digits is 5):
–9.9999E+29 to –1.0000E–30, 0, 1.0000E–30 to 9.9999E+29

Advertising