00193786-02 - 第58页

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 58 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 # F r o m T r igg er T o Descr ip t ion nu m be r o f m e ss ag…

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 57 of 241
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 Equipments
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
MAXSPOOLTRANSM
IT (VID 1002037) .If
GemMaxSpoolTransm
it is zero, all
messages will be sent,
otherwise only the
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 58 of 241 ©Siemens AG, all rights reserved
# From Trigger To Description
number of messages
specified in 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.
{ XE „Spool Inactive}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.
{ XE „Spool Active}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.
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 59 of 241
Purge Spool
The SIPLACE is purging its spool, erasing all
spooled messages.
Transmit Spool
The SIPLACE is transmitting spooled messages
to the Host.
3.10.4 Related Variables
The following table lists the variables (SV's, EC's, or DVVALS) which are relevant to
spooling. For a more complete description of these variables, see "Appendix A --
Variables".
Variable Name VID
{XE
„MAXSPOOLTRANSMIT“}MAXSPOOLTRA
NSMIT
1002037
{XE CONFIGSPOOL“}CONFIGSPOOL
1002045
{XE
„SPOOLCOUNTACTUAL“}SPOOLCOUNTA
CTUAL
1002038
{XE
„SPOOLCOUNTTOTAL“}SPOOLCOUNTTO
TAL
1002039
{XE
OVERWRITESPOOL“}OVERWRITESPOO
L
1002046
{XE „SPOOLFULLTIME“}SPOOLFULLTIME
1002040
{XE
„SPOOLLOADSUBSTATE“}SPOOLLOADS
UBSTATE
1002041
{XE
„SPOOLSTARTTIME“}SPOOLSTARTTIME
1002042
{XE „SPOOLSTATE“}SPOOLSTATE
1002043
{XE
„SPOOLUNLOADSUBSTATE“}SPOOLUNL
OADSUBSTATE
1002044
MAX_TIME_TO_STOP 1002942
SAFE_SPOOL_MODE 1002943
3.10.5 Related Events
The following lists the collection events (CEIDs) which are relevant to spooling. For a
more complete description of these events, see "Appendix B -- Collection Events" or the
description in this chapter.