beautypg.com

Salarmcom alarm (/mc), Salmhyscom alarm hysteresis (/mc), Salmdlycom alarm delay time (/mc) – Yokogawa Touch Screen GP20 User Manual

Page 38: Stagcom tag (/mc)

background image

2-24

IM 04L51B01-17EN

p3 Watchdog timer (1 to 120) [s]

p4 Value at timer expired (Preset, Last)

Query

SWDCom[,p1]?

Example Set the watchdog timer of communication

channel 025 to 60 seconds. Replace the

communication channel 025 value with its

preset value at watchdog timer expiration.

SWDCom,025,On,60,Preset

Description

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

parameters.

SAlarmCom

Alarm (/MC)

Sets the alarm of a communication channel.

No Alarm Setting

Syntax SAlarmCom,p1,p2,p3

p1 Channel number

p2 Alarm number (1 to 4)

p3 Alarm on or off (Off)

Do Not Output Alarms
Syntax
SAlarmCom,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
SAlarmCom,p1,p2,p3,p4,p5,p6,p7,p8

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)

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

SAlarmCom[,p1]?

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

of communication channel 025. Set the alarm

value to 85.0%. When an alarm occurs, output

to the relay (DO channel) at number 0105.

SAlarmCom,025,2,On,H,850,On,

DO,0105

Description

• You cannot set this on a “Off” communication 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.

SAlmHysCom

Alarm Hysteresis (/MC)

Sets the alarm hysteresis for a communication channel.

Syntax SAlmHysCom,p1,p2,p3

p1 Channel number

p2 Alarm number (1 to 4)

p3 Hysteresis

Alarm Type Hysteresis Range

H, L

0 to 100000

Query

SAlmHysCom[,p1]?

Example Set a hysteresis on alarm 3 of communication

channel 025.

SAlmHysCom,025,3,10

Description

Hysteresis specified for delay high and low limit

alarms (TH and TL) does not apply.

SAlmDlyCom

Alarm Delay Time (/MC)

Sets the alarm delay time for a communication channel.

Syntax SAlmDlyCom,p1,p2,p3,p4

p1 Channel number

p2 Hour (0 to 24)

p3 Minute (0 to 59)

P4 Second (0 to 59)

Query

SAlmDlyCom[,p1]?

Example Set the communication channel 025 alarm

delay time to 2 minutes 30 seconds.

SAlmDlyCom,025,0,2,30

Description

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

the scan interval (

SScan

command).

STagCom

Tag (/MC)

Sets the tag of a communication channel.

Syntax STagCom,p1,p2,p3

p1 Channel number

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

p3 Tag number (up to 16 characters, ASCII)

Query

STagCom[,p1]?

Example Set the communication channel 025 tag to

“SYSTEM1” and the tag number to “TI002.”

STagCom,025,’SYSTEM1’,’TI002’

2.4 Setting Commands

This manual is related to the following products: