Skconst constant (/mt), Srangemath computation expression (/mt), Stlogmath tlog (/mt) – Yokogawa Touch Screen GP20 User Manual

Page 34: Srolavemath rolling average (/mt), Salarmmath alarm (/mt)

Advertising
background image

2-20

IM 04L51B01-17EN

Description

You cannot use this command to configure settings

while recording is in progress.

You cannot use this command to configure settings

while computation is in progress.

The math function is an option (/MT).

SKConst

Constant (/MT)

Sets a constant for use in computations.

Syntax SKConst,p1,p2

p1 Constant number (1 to 100)

p2 Value (–9.999999E+29 to –1E–30,

0, 1E–30 to 9.999999E+29, seven

significant digits)

Query

SKConst[,p1]?

Example Set constant number 12 to 1.0000E–10.

SKConst,12,1.0000E-10

Description

You cannot use this command to configure settings

while recording is in progress.

You cannot use this command to configure settings

while computation is in progress.

SRangeMath

Computation Expression (/MT)

Sets the computation expression of a math channel.

Unused Channels

Syntax SRangeMath,p1,p2

p1 Channel number

p2 Computation expression on/off (Off)

Used Channels

Syntax SRangeMath,p1,p2,p3,p4,p5,p6,p7,p8

p1 Channel number

p2 Computation expression on/off (On)

p3 Math channel type (Normal)

P4 Expression (up to 120 characters, ASCII)

p5 Decimal Place (0 to 5)

p6 Span lower limit (-9999999 to 99999999)

p7 Span upper limit (-9999999 to 99999999)

p8 Unit (up to 6 characters, UTF-8)

Query

SRangeMath[,p1]?

Example Set expression 0001+0002 in math channel

015. Set the measurement range is 0.0 to

100.0%.

SRangeMath,015,On,Normal,0001+

0002,1,0,1000,’%’

Description

You cannot use this command to configure settings

while recording is in progress.

You cannot use this command to configure settings

while computation is in progress.

A blank character string cannot be used in

expressions.

You cannot set the span upper and lower limits to the

same value.

STlogMath

TLOG (/MT)

Sets the TLOG of a math channel.

Syntax STlogMath,p1,p2,p3,p4,p5

p1 Channel number

p2 Timer Type

Timer

Timer

MatchTimeTimer Match time timer

p3 Timer number (1 to 4)

P4 Sum scale (Off, /sec, /min, /hour)

p5 Reset (On, Off)

Query

STlogMath[,p1]?

Example Assign timer 2 to math channel 015. Set the

sum scale to Off and disable reset.

STlogMath,015,Timer,2,Off,Off

Description

You cannot use this command to configure settings

while computation is in progress.

SRolAveMath

Rolling Average (/MT)

Sets rolling average on a math channel.

Syntax SRolAveMath,p1,p2,p3,p4

p1 Channel number

p2 Enable or disable (Off, On)

p3 Sample interval (1 to 6s, 10s, 12s, 15s,

20s, 30s, 1 to 6min, 10min, 12min, 15min,

20min, 30min, 1h)

P4 Number of samples (1 to 1500)

Query

SRolAveMath[,p1]?

Example On math channel 015, take the rolling average

of 30 data values over 1 minute intervals and

use the results as the computed values.

SRolAveMath,015,On,1min,30

SAlarmMath

Alarm (/MT)

Sets the alarm of a math channel.

Do Not Set Alarms

Syntax SAlarmMath,p1,p2,p3

p1 Channel number

p2 Alarm number (1 to 4)

p3 Alarm on or off (Off)

Do Not Output Alarms
Syntax
SAlarmMath,p1,p2,p3,p4,p5,p6,p7

p1 Channel number

p2 Alarm number (1 to 4)

p3 Alarm on or off (On)

P4 Alarm type (H, L, TH, TL)

p5 Alarm value (within the span range)

p6 Detection (Off, On)

p7 Output (Off)

Output Alarms
Syntax
SAlarmMath,p1,p2,p3,p4,p5,p6,p7,p8

2.4 Setting Commands

Advertising
This manual is related to the following products: