00193368-02 - 第50页

SIPLACE GEM for S25HM, S27HM, HS50 , HS60 SW Version GEM 503.02 HOST Inter fac e Manual Page 50 of 243 ©Siemens AG, all rights reser ved 3.10.3 Spooling St ate Transitions # From Trigger To Description 1 Power On Equipm …

100%1 / 243
SIPLACE GEM for S25HM, S27HM, HS50, HS60 SW Version GEM 503.02
HOST Interface Manual
©Siemens AG, all rights reserved page 49 of 243
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.
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".
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
Spooling State Diagram
1
2
Spooling State Diagram
SIPLACE GEM for S25HM, S27HM, HS50 , HS60 SW Version GEM 503.02
HOST Interface Manual
Page 50 of 243 ©Siemens AG, all rights reserved
3.10.3 Spooling State Transitions
# From Trigger To Description
1 Power On Equipment shutdown Power Off The Equipment may
power off at any time.
2 Power Off Equipment Startup History*
(Power On)
Equipment re-boots
after a shutdown.
Spooling will continue
according to its state
when the equipment
was powered off.
3 Spool
Inactive
SIPLACE
experiences a
transmission failure
and the variable
CONFIGSPOOL
(VID 1002045) is set
to „1“ (enabled).
Spool Active SIPLACE will now
start spooling any
messages which have
been defined by the
Host.. If the Host
does not wish to
implement Spooling,
the EC
GemConfigSpool
should be set to „0“
and the spool state will
never become active.
4 Default Entry into Spool
Active
No Spool
Output
No spooled messages
are being read by the
Host.
5 Default Entry into Spool
Active
Spool Not
Full
The spool file has not
yet filled up.
6 Spool Not
Full
The Equipment’s
spool has reached
capacity.
Spool Full The Equipment will
start to either discard
new messages
destined for the spool
or overwrite the
beginning of the spool,
depending on the
setting of
OVERWRITESPOOL
(VID 1002046).
7 Transmit
Spool
The Equipment has
de-spooled some
messages, but not
all have been sent to
the Host.
No Spool
Output
No spooled messages
are being read by the
Host.
8 No Spool
Output
The Host has
requested spooled
messages to be sent
by sending S6F23.
Transmit
Spool
The SIPLACE will
send messages
according to the
setting of
MAXSPOOLTRANSMI
T (VID 1002037) .If
GemMaxSpoolTransm
it is zero, all messages
will be sent, otherwise
only the number of
messages specified in
SIPLACE GEM for S25HM, S27HM, HS50, HS60 SW Version GEM 503.02
HOST Interface Manual
©Siemens AG, all rights reserved page 51 of 243
# From Trigger To Description
this variable will be
sent.
9 No Spool
Output
The Host requests
the SIPLACE to
purge its spool.
Purge Spool SIPLACE will delete its
spool.
10 Spool
Output
Entire spool has
either been read or
purged by the Host.
Spool
Inactive
SIPLACE will continue
normal SECS
communicating.
Spool States
Power Off
The SIPLACE is completely shut down.
Power On
The SIPLACE is "on" and in a stable state.
Spool Inactive
Spooling is not activated. This is either because CONFIGSPOOL
(VID 1002045) is "0" (disabled) in which case, spooling will never
be active, or because while GemConfigSpool is enabled ("1"), a
RTY error has not occurred. In this state, no messages are sent to
the spool. The Host may define or un-define messages eligible for
spooling should the link go down.
Spool Active
While CONFIGSPOOL (VID 1002045) is "enabled" ("1"), the
SIPLACE has experienced a transmission failure (RTY error).
Upon entry into this state, the first message sent to the spool is the
GemSpoolingActivated event (CEID 1000007), assuming that this
event is enabled and that spooling for the particular stream and
function have been enabled. This message will enter the spool
even before the message which originally caused the RTY error.
Spool Not Full
The file containing the spooled messages has not
reached its capacity.
Spool Full
The file containing the spooled messages has reached
its capacity.
No Spool Output
In this state, the Host is not reading or purging the
SIPLACE's spool.
Spool Output
This super-state contains the two sub-states in which
the Equipment's spool is either being read or purged by
the Host.