00192402-01 - 第154页

GEM for SIPLACE V7.01 Page 154 of 251 ©Siemens AG, all rights r eserved mu lti-block m essage is rem oved from the s pool and not transm itted. Despooling continues . 11. H -> E S6F23 W T he Host reques ts that the Eq…

100%1 / 251
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 153 of 251
 0HVVDJHV6SRROHGDQG7UDQVPLWWHG
Assumption: Spool State is "Spool Inactive".
Step SECS Message Description
1. H <- E SnFn Equipment attempts to send any message to
the Host.
2. After failure to deliver message, the Equipment
assumes that the link is down, and will start to
spool all messages marked for spooling. The
first message spooled is the collection event
SpoolActivated.
3. H <- E S1F13 W Equipment attempts to establish
communications. This message will repeat
every EstablishCommunicationsTimer
seconds until successful.
4. H -> E S1F14 Communications established.
Communications state transits to
Communicating. If COMMACK is not zero,
communications are not established and
scenario proceeds at step 3.
5. H -> E S6F23 W Host requests that Equipment begin despooling
messages. RSDC is zero in this message.
6. H <- E S6F24 Equipment indicates that it will start to send
spooled messages with return code RSDA =
0x00.
7. Equipment will start to despool messages.
This process is single-threaded. That is, when
Equipment sends a de-spooled message with
the W-bit set to 1, Equipment must be receive
the Host reply before the Equipment will send
next despooled message. If EC
MaxSpoolTransmit is zero, all messages will
be transmitted. If it is set to another number,
this number of messages will be sent. The
Equipment will await the next S6F23 to send
the next messages.
8. H <- E S6F11 W The Equipment signals CEID
GemSpoolActivated. This was the first
message in the spool if it was not over-written.
9. H -> E S6F12 Host acknowledges the start of the spool
transfer.
10. Equipment will de-spool messages one at a
time from oldest to youngest until one of the
following criteria is met: 1) All messages have
been transmitted (go to step 13); or 2) When
MaxSpoolTransmit is not zero, and the
messages transmitted has reached
MaxSpoolTransmit limit (go to step 11).
Some spooled messages (usually multi-block)
consist of a SECS conversation of type
Inquire, Grant, Send, Acknowledge. During
de-spool, if the Host rejects the Inquire, the
GEM for SIPLACE V7.01
Page 154 of 251 ©Siemens AG, all rights reserved
multi-block message is removed from the spool
and not transmitted. Despooling continues.
11. H -> E S6F23 W The Host requests that the Equipment continue
de-spooling messages.
12. H <- E S6F24 Equipment indicates that it will start to send
spooled messages with return code RSDA =
0x00. Go to step 10.
13. H <- E S6F11 W Equipment notifies the Host that sending of
spooled messages has been completed by
sending CEID GemSpooling Deactivated.
14. H -> E S6F12 Host acknowledges that the spool has been
cleared and is deactivated.
 +RVW3XUJHV6SRRO
Assumption: spool state is "Spool Active"
Step SECS Message Description
1. H -> E S6F23 W Host sends S2F23, requesting that spool be
discarded with RSDC set to one.
2. H <- E S6F24 Equipment deletes spooled data and returns
RSDA code zero.
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 155 of 251
 9DULDEOHV
All Ids on SIPLACE are 6 or 7-digits long. The last 3 digits are a consecutively increasing
integer. The next two digits distinguish between errors, event and variables (0:Event,
1:ErrorEvent; 2:Variable) and the software component (0:GEM, 1:Realtimesoftware;
2:Stationsoftware). The first 2 represent the object on which the event occurs.
Example:
6 1 2 007 (Transportwidth)
The objects are :
ObjectId Name
1 Software
2 Nozzle Changer
3Axis
4 Fiducials
5 Vision
6 Transport
7 Coplanarity
8 Waffle Pack Changer
9 Barcode
10 GEM-Kernel
11 User Interface / Operator
12 CAN-Bus
13 Revolver Head 1
14 Revolver Head 2
15 IC-Head
16 Data Preparation
17 Trolleys
18 Glue Machine
19 CRDL Measurement
20 Miscellaneous
21 Flux
Object: Transport
Realtimesoftware
Variable
Number