00193786-02 - 第115页

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 ©S i e m en s A G, a ll r i gh t s r e s e r v ed page 115 o f 241 T he f o ll o w i ng s pe c i a l f o r m a t c an be u s ed t …

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 114 of 241 ©Siemens AG, all rights reserved
4.7 Stream 5
4.7.1 S5F1 - Alarm Report
{XE "S5F1"}S5F1 [W] * H<-E
<L [3]
<B [1] {XE "ALCD"}ALCD> * ALCD - Alarm On/Off and Severity
<U4 {XE "ALID"}ALID> * ALID - Alarm ID
<A [40] {XE "ALTX"}ALTX> * ALTX - Alarm Text
> .
This message is the "normal" message that the Equipment uses to report alarms. In
order for this message to be used, the Equipment Constant "ConfigAlarms" must be set
to "0".
If the Equipment Constant "{XE "ConfigAlarms"}ConfigAlarms" is set to "0", the
Equipment sends S5F1 instead of the normal S5F73 Alarm Notification Send.
The equipment reports that an alarm condition has changed.
ALID identifies the Alarm.
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.
ALTX contains up to 40 bytes of Alarm Text. See "Appendix C" for a table of possible
Alarms which can occur.
Equipment Constant "{XE "WBitS5"}WBitS5" controls whether the Equipment sends
S5F1 with W-Bit "1" (Reply Expected) or "0" (No Reply Expected).
4.7.2 S5F2 - Alarm Acknowledge
{XE "S5F2"}S5F2 * H->E
<B [1] 00>. * ACK5 - Alarm Acknowledge
The Host acknowledges the Alarm Report. This Equipment ignores the {XE
"ACKC5"}ACKC5.
4.7.3 S5F3 - Enable/Disable Alarm
{XE "S5F3"}S5F3 [W] * H->E
<L [2]
<B [1] {XE "ALED"}ALED> * ALED - Alarm Enable/Disable Code
<U4 {XE "ALID"}ALID> * ALID - Alarm ID
> .
The Host commands the Equipment to enable or disable (depending on ALED) reporting
for the specified Alarm ID in S5F1, S5F8, S5F71, and S5F73.
ALED Description
0x80 Enable sending alarm.
0x00 Disable sending alarm.
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.