00192402-01.pdf - 第49页

GEM for SIPLACE V7.01 ©Siemens AG, all rights r eserved page 49 of 251 If a trans mis sion failure oc curs while attempting to send the s pool, the event Gem SpoolTr ansm itFailure (CEID 1000009) is sent to the spool and…

100%1 / 251
GEM for SIPLACE V7.01
Page 48 of 251 ©Siemens AG, all rights reserved
6322/,1*67$576
When a transmission failure occurs, the first message sent to the spool is the event
message GemSpoolingActivated (CEID 1000007). The next message sent to the spool is
the message which caused the communications failure. The following table depicts the
activity at the SIPLACE when spooling starts.
# Equipment Send
Sequence
Spool Sequence Description
1 S5F1 (Alarm
Report 1)
S6F11 (Spool
Activated Event
Report)
Equipment attempts to send an alarm
report to the Host, but experiences a
transmit failure. The
GemSpoolingActivated event (CEID
1000007) is sent to the spool.
Variable GEMSPOOLSTARTTIME
(VID 1002042) is updated.
2 S5F1 (Alarm
Report 1)
The Alarm Report message is sent to
the spool.
3 S6F11 (Event
Report 1)
S6F11 (Event
Report 1)
The Equipment generates an event
report and it is sent to the spool.
4 S5F1 (Alarm
Report 2)
S5F1 (Alarm
Report 2)
The Equipment generates an alarm
report and it is sent to the spool.
(48,30(176322/60(66$*(6
While spooling messages, the Equipment will increment the SPOOLCOUNTACTUAL
(VID 1002038) and SPOOLCOUNTTOTAL (VID 1002039) status variables for each
message spooled. Messages which require an inquire/grant scenario are spooled along
with the inquire message as a single message. That is, if a multi-block S6F11 (Event
Report) message is being sent to the Host and spooling is active, the S6F5 (inquire) as
well as the S6F1 are sent to the spool and SPOOLCOUNTTOTAL (VID 1002039) and
SPOOLCOUNTACTUAL (VID 1002038) are incremented by one.
The SIPLACE maintains two Equipment Constants which effect the spooling of
messages. The first is CONFIGSPOOL (VID 1002045). If this is set to zero, then
spooling will never become active. If it is set to one, spooling will become active when a
transmission failure occurs.
The EC OVERWRITESPOOL (VID 1002046) determines if the Equipment should over-
write the oldest messages with new ones when the spool becomes full. If
OVERWRITESPOOL is TRUE, old messages will be over-written with new ones. If
FALSE, new messages will be discarded when the spool is full.
+2675($'66322/(''$7$
The Host can read spooled messages by sending the S6F23 message. Upon receipt of
this message, the Equipment will reply and attempt to send spooled messages.
Messages are sent in order of oldest to newest, with no priority given to a particular kind
of message. The EC MAXSPOOLTRANSMIT (VID 1002037) determines the maximum
number of spooled messages which are sent per S6F23 message received from the Host.
If zero, all spooled messages are sent, if any other number, that number of messages are
sent.
During the de-spooling of messages, the Equipment maintains only one outstanding
Equipment-Initiated transaction. The equipment will wait for either a reply to the primary
or a T3 timeout before starting another transaction. If the de-spooled message requires a
inquire/grant scenario, the Equipment will initiate this transaction first. If the Host accepts
the inquire, the message is sent. If not, then the Equipment removes the message from
the spool and discards it.
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 49 of 251
If a transmission failure occurs while attempting to send the spool, the event
GemSpoolTransmitFailure (CEID 1000009) is sent to the spool and spooling will remain
active. While the spool is active, any new (spoolable) messages generated by the
Equipment are also sent to the spool.
When the spool has been completely transmitted, the event GemSpoolingDeactivated
(CEID 24) is sent to the Host.
Instead of reading spooled messages, the Host can purge the spool by sending S6F23
with RSDC = 1. For details, please see section "S6F23 -- Request Spooled Data".
GEM for SIPLACE V7.01
Page 50 of 251 ©Siemens AG, all rights reserved
Purge Spool
Transmit
Spool
Spool Full
Spool Not Full
5
6
Spool Output
987
4
No Spool Output
Spool Active
Spool Inactive
10
3
Power Off
H*
Power On
1
2
6SRROLQJ6WDWH'LDJUDP