beautypg.com

12 app, Smathbasic math action (/mt) – Yokogawa Touch Screen GP20 User Manual

Page 33

background image

2-19

IM 04L51B01-17EN

Commands and Responses

1

2

App

Example Set three set points on channel 0001

(measurement range: 0 to 1.0000 V). Set the

set points as follows: when the input value is 0

V, the output value is 0.0010 V; when the input

value is 0.5000 V, the output value is 0.5020

V; when the input value is 1.0000 V, the output

value is 0.9970 V.

SCalibIO,0001,Appro,3,0,10,5000,

5020,10000,9970

Description

If p2=Off, you cannot set p3 or subsequent

parameters.

You cannot specify set points beyond the number of

points specified by p3.

If the AI channel input type (p2 of SRangeAI) is set

to Skip or DI, you cannot specify anything other than

p2=Off.

SMathBasic

Math Action (/MT)

Sets the basic operation of math channels.

Syntax SMathBasic,p1,p2,p3,p4

p1 Indication on computation error

+Over

Display the computed

value as +Over.

-Over

Display the computed

value as

-Over.

p2 SUM and AVE computation when overflow

data is detected

Error

Sets the computation

result to computation

error.

Skip

Discards the data that

overflowed and continues

the computation.

Limit

Computes by substituting

upper or lower limit

values in the data that

overflowed.

• For channels that do

not have linear scaling

specified, the upper

or lower limit of the

measuring range

• For channels that

have linear scaling

specified, the scaling

upper or lower limit

• For math channels,

the specified span

upper or lower limit.

p3 MAX, MIN, and P-P computation when

overflow data is detected

Over

Computes using data that

overflowed.

Skip

Discards the data that

overflowed and continues

the computation.

P4 START/STOP key action

Off

Computation does not

start even when recording

starts.

Start/Stop Computation starts when

recording starts.

Reset+

Start/Stop

Computation resets and

starts when recording

starts.

Query

SMathBasic?

Example Set the indication on computation error to

“+Over,” computation when overflow data is

detected to “Skip,” and start computation when

recording starts.

SMathBasic,+Over,Skip,Skip,Start/

Stop

2.4 Setting Commands

This manual is related to the following products: