12 app, Salmhysmath alarm hysteresis (/mt), Salmdlymath alarm delay time (/mt) – Yokogawa Touch Screen GP20 User Manual

Page 35: Stagmath tag (/mt), Scolormath channel color (/mt), Szonemath waveform display zone (/mt), Sscalemath scale display (/mt)

Advertising
background image

2-21

IM 04L51B01-17EN

Commands and Responses

1

2

App

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

DO

Output to a relay (DO

channel)

SW

Output to an internal

switch

p8 Number

If p7=DO

Relay (DO channel)

number

If p7=SW

Internal switch number

(001 to 100)

Query

SAlarmMath[,p1]?

Example Set a high limit alarm (H) on alarm number 2 of

math channel 015. Set the alarm value to 85.0.

When an alarm occurs, output to the relay (DO

channel) at number 0105.

SAlarmMath,015,2,On,H,850,On,

DO,0105

Description

• You cannot set this on a “Off” channel.

• If p3=Off, you cannot set p4 or subsequent

parameters.

• If p7=Off, you cannot set p8.
• You cannot set DO channels or internal switches

whose output type is set to Manual as output

destination numbers.

SAlmHysMath

Alarm Hysteresis (/MT)

Sets the alarm hysteresis for a math channel.

Syntax SAlmHysMath,p1,p2,p3

p1 Channel number

p2 Alarm number (1 to 4)

p3 Hysteresis

Alarm Type Hysteresis Range

H, L

0 to 100000

Query

SAlmHysMath[,p1[,p2]]?

Example Set a hysteresis on alarm 3 of math channel

015.

SAlmHysMath,015,3,10

Description

Hysteresis specified for delay high and low limit

alarms (TH and TL) does not apply.

SAlmDlyMath

Alarm Delay Time (/MT)

Sets the alarm delay time for a math channel.

Syntax SAlmDlyMath,p1,p2,p3,p4

p1 Channel number

p2 Hour (0 to 24)

p3 Minute (0 to 59)

P4 Second (0 to 59)

Query

SAlmDlyMath[,p1]?

Example Set the math channel 015 alarm delay time to

2 minutes 30 seconds.

SAlmDlyMath,015,0,2,30

Description

• Set the delay time so that it is an integer multiple of

the scan interval (

SScan

command).

STagMath

Tag (/MT)

Sets the tag of a math channel.

Syntax STagMath,p1,p2,p3

p1 Channel number

p2 Tag (up to 32 characters, UTF-8)

p3 Tag number (up to 16 characters, ASCII)

Query

STagMath[,p1]?

Example Set the math channel 015 tag to “SYSTEM1”

and the tag number to “TI002.”

STagMath,015,’SYSTEM1’,’TI002’

SColorMath

Channel Color (/MT)

Sets the color of a math channel.

Syntax SColorMath,p1,p2,p3,p4

p1 Channel number

p2 R value of RGB display colors (0 to 255)

p3 G value of RGB display colors (0 to 255)

P4 B value of RGB display colors (0 to 255)

Query

SColorMath[,p1]?

Example Set the math channel 015 display color to red.

SColorMath,015,255,0,0

Description

• For details on RGB values, see “Description” of the

SColorIO

command.

SZoneMath

Waveform Display Zone (/MT)

Sets the waveform display zone of a math channel.

Syntax SZoneMath,p1,p2,p3

p1 Channel number

p2 Zone lower limit [%] (0 to 95)

p3 Zone upper limit [%] (5 to 100)

Query

SZoneMath[,p1]?

Example Set the waveform zone of math channel 015

waveform to 0% to 30%.

SZoneMath,015,0,30

SScaleMath

Scale Display (/MT)

Sets the scale display of a math channel.

Syntax SScaleMath,p1,p2,p3

p1 Channel number

p2 Scale display position (Off, 1 to 10)

p3 Number of scale divisions (4 to 12, C10)

2.4 Setting Commands

Advertising
This manual is related to the following products: