beautypg.com

Yokogawa Touch Screen GP20 User Manual

Page 69

background image

1-55

IM 04L51B01-01EN

Configuring the GX/GP

1

2

3

4

5

App

Basic Arithmetic

Expression Examples
• Addition 0001+0002

(Determines the sum of the measured values of channels 0001 and 0002)

• Subtraction 0001–0002

(Determines the difference of the measured values of channels 0001 and 0002)

• Multiplication 0001*K003

(Multiplies constant K003 to the measured value of channel 0001)

• Division 0001/K002

(Divides the measured value of channel 0001 by constant K002)

Power and Other Computations

Expression Examples
• Power 0001**0002

(Determines the measured value of channel 0001 to the power of the measured value of

channel 0002)

• Square root SQR(0002)

(Determines the square root of the measured value of channel 0002)

• Absolute value ABS(0002)

(Determines the absolute value of the measured value of channel 0002)

• Common logarithm LOG(0001)

(Determines the common logarithm (log10) of the measured value of channel 0001)

• Natural logarithm LN(0001)

(Determines the natural logarithm of the measured value of channel 0001)

• Exponent EXP(0001)

(Determines e to the power of the measured value of channel 0001)

Relational Computation

Expression Examples
0002.LT.0003, 0002<0003
If the measured value of channel 0002 is less than the measured value of channel 0003, the

computed result is 1.

Otherwise, the result is 0.

0002.GT.0003, 0002>0003
If the measured value of channel 0002 is greater than the measured value of channel 0003,

the computed result is 1.

Otherwise, the result is 0.

0002.EQ.0003, 0002=0003
If the measured value of channel 0002 is equal to the measured value of channel 0003, the

computed result is 1.

Otherwise, the result is 0.

0002.NE.0003, 0002<>0003
If the measured value of channel 0002 is not equal to the measured value of channel 0003,

the computed result is 1.

Otherwise, the result is 0.

0002.GE.0003, 0002>=0003
If the measured value of channel 0002 is greater than or equal to the measured value of

channel 0003, the computed result is 1. Otherwise, the result is 0.

0002.LE.0003, 0002<=0003
If the measured value of channel 0002 is less than or equal to the measured value of

channel 0003, the computed result is 1. Otherwise, the result is 0.

1.5 Configuring Math Channels

This manual is related to the following products: