00193786-02 - 第116页

S I P L A C E G EM S W V e r s i on G EM 505 . 03 SP 1 H O S T I n t e r f a c e M anua l P age 116 o f 241 ©S i e m en s A G, a ll r i gh t s r e s e r v ed T he h i gh - o r de r b i t o f A LCD w ill be " 1 &quot…

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 115 of 241
The following special format can be used to enable or disable all ALIDs.
S5F3 [W] * H->E
<L [2]
<B [1] ALED> * ALED - Alarm Enable/Disable Code
<U4> * ALID - Alarm ID
> .
The Host may optionally set the W-Bit to "1" in S5F3. If so, the SIPLACE replies with
S5F4.
4.7.4 S5F4 - Enable/Disable Alarm
{XE "S5F4"}S5F4 * H<-E
<B [1] {XE "ACKC5"}ACKC5> . * ACKC5 - Acknowledge Code
ACKC5 Description
0x00 Normal. Everything Correct
0x01 Invalid ALID.
4.7.5 S5F5 - List Alarms Request
{XE "S5F5"}S5F5 W * H->E
<U4 {XE "ALID"}ALID ...> . * Alarm ID Array
The Host requests the Equipment to send the current status of the specified Alarm IDs.
The Host can use the following special format to request the status of all Alarm IDs:
S5F5 W
<U4>. * ALID
4.7.6 S5F6 - List Alarm Data
{XE "S5F6"}S5F6 * H<-E, Multiblock
<L
<L [3]
<B [1] {XE "ALCD"}ALCD> * ALCD - Alarm On/Off and Severity
Code
<U4 {XE "ALID"}ALID> * Alarm ID
<A ALTX> * ALTX - Alarm Text
>
...
> .
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 116 of 241 ©Siemens AG, all rights reserved
The high-order bit of ALCD will be "1" if this alarm is currently On (Unsafe), or "0" if it is
currently Off (Safe). The low-order seven bits of ALCD contain the severity code for this
alarm.
For any invalid ALID specified in S5F5, the corresponding entry in S5F6 has the
following special error format:
<L [3]
<B> * ALCD - alarm On/Off and Severity Code
<U4 ALID> * Alarm ID
<A> * ALTX - Alarm Text
>
If S5F5 specified all alarms, S5F6 reports alarms in order by alarm ID.
4.7.7 S5F7 - List Enabled Alarms Request
{XE "S5F7"}S5F7 W . * H->E
The Host requests the Equipment to send the current status of all Alarm IDs which are
currently enabled (See S5F3).
4.7.8 S5F8 - List Enabled Alarm Data
{XE "S5F8"}S5F8 * H<-E, Multiblock
<L
<L [3]
<B [1] {XE "ALCD"}ALCD> * ALCD - Alarm On/Off and Severity
Code
<U4 {XE "ALID"}ALID> * Alarm ID
<A {XE "ALTX"}ALTX> * ALTX - Alarm Text
>
...
> .
The high-order bit of ALCD will be "1" if this alarm is currently On (Unsafe), or "0" if it is
currently Off (Safe). The low-order seven bits of ALCD contain the severity code for this
alarm.
S5F8 contains only those ALIDs which are currently enabled for reporting (See S5F3).
S5F8 reports alarms in order by Alarm ID.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 117 of 241
4.7.9 S5F71 - Alarm Report Block Send
{XE "S5F71"}S5F71 [W] * H<-E
<L [2]
<U1 0> * ALPY Alarm Priority
<L [1]
<L [4]
<U4 {XE "ALID"}ALID> * ALID - Alarm ID
<BOOLEAN {XE "ASTAT"}ASTAT> * T = Alarm On
F = Alarm Off
<U4 {XE "ASER"}ASER> * ASER Alarm Serial Number
<A [16] 'YYYYMMDDhhmmsscc'> * CLOCK
>
>
> .
Note: This message is provided only for compatibility with Host computers which support
an older version of GEM.
If the Equipment Constant "{XE "ConfigAlarms"}ConfigAlarms" is set to "1", the
Equipment sends S5F71 instead of the normal S5F1 Alarm Notification Send.
The SIPLACE reports that an alarm condition has changed.
ALID identifies the Alarm.
ASTAT value is "True" (Non-zero) if this alarm is currently On (Unsafe), or "False" (Zero)
if it is currently Off (Safe).
ASER (Alarm Serial Number) is assigned by the Equipment. Its value begins at "1" and
is incremented by 1 for each alarm reported.
ALPY (Alarm Priority) is always zero.
CLOCK indicates the date and time of the alarm change.
Equipment Constant "{XE "WBitS5"}Wbits5" controls whether the Equipment sends
S5F71 with w-bit = "1" (Reply Expected) or "0" (No Reply Expected).
4.7.10 S5F72 - Alarm Report Block Acknowledge
{XE "S5F72"}S5F72 * H->E
<L> .
The Host acknowledges Alarm Report. This Equipment ignores the data portion of
S5F72.