00193786-02 - 第40页

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 40 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 3 . 3 . 5 R e l ate d C o ll ect i on E v e n ts T he f o ll o …

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 39 of 241
# From Trigger To Description
single function mode.
7 Single
Function
Start-Button on
GUI
Processing When the machine is in
single function mode, the
operator press the Start-
button and the Prestate
was Processing the
machine will return to the
Processing state.
3.3.2 SIPLACE Process States
{ XE Machine Initialization }Machine Initialization
In this state, the peripheral equipment is initialized and the reference run is executed.
Machine is waiting for a processing program or is preparing a new processing program
for production.
{ XE Processing }Processing
In this state, the SIPLACE is producing a board or is waiting for a board to produce.
{ XE Single function }Single function
In this state, the Operator can teach fiducials, react on run-time-errors like empty
feeders.
3.3.3 Intermediate States
In case of 3 State Transitions, an intermediate state will occur for briefly. This
intermediate state is required for internal reasons and is also reported:
State Transition 2 consists of
Init2Process è Process2Init è Init2Process (see A in the diagram)
State Transition 3 consists of
Process2Init è Init2Process è Process2Init (see B in the diagram)
State Transition 6 consists of
Process2Init è Init2SingleFunction (see C in the diagram)
3.3.4 Related Variables
The following table lists the variables (SV's, EC's, or DVVALS) which are relevant to the
Equipment processing states. For a more complete description of these variables, see
"Chapter 6 Variables".
Variable Name VID
{XE
„PREVIOUSPROCESSSTATE“}PREVIOUS
PROCESSSTATE
1002012
{XE „PROCESSSTATE“}PROCESSSTATE
1002011
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 40 of 241 ©Siemens AG, all rights reserved
3.3.5 Related Collection Events
The following lists the collection events (CEIDs) which are relevant to the Process State.
For a more complete description of these events, see "Appendix B -- Collection Events"
or the description in this chapter.
Collection Event CEID
{XE Init2Process“}Init2Process
1000010
{ XE „Process2Init}Process2Init
1000011
{ XE Process2SingleFunction
}Process2SingleFunction
1000012
{ XE SingleFunction2Process
}SingleFunction2Process
1000013
{ XE Init2SingleFunction
}Init2SingleFunction
1000016
{ XE FunctionSingle2Init
}FunctionSingle2Init
1000017
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 41 of 241
3.4 Data Collection
3.4.1 Variables{XE "Variables"}
The SIPLACE has a fixed set of Variables which can be read by the Host. Each Variable
is identified by a unique Variable ID (VID). The Variables which exist are shown in
"Appendix A -- Variables".
There are three types of Variables: {XE "Status Variables"}Status Variables, {XE "Data
Variables"}Data Variables, and {XE "Equipment Constants"}Equipment Constants. The
Host can read Variables of any type, but can set values only for Equipment Constants.
The Host can read values for Status Variables and Equipment Constant whenever the
SIPLACE is On-Line, but values for Data Variables are typically meaningful only
immediately after certain {XE "Collection Events"}Collection Events (CEIDs), and so are
typically reported only in {XE "Event Reports"}Event Reports ({XE "S6F11"}S6F11).
3.4.2 Are You There{XE "Are You There"}
The Host can send {XE "S1F1"}S1F1 at any time to determine if the SECS link is
operational. The SIPLACE responds with {XE "S1F2"}S1F2, if the equipment is in the
ONLINE & COMMUNICATING states. This indicates Model Number ({XE
"MDLN"}MDLN) and Software Revision Number ({XE "SOFTREV"}SOFTREV).
3.4.3 Host Requests Status
The Host can send {XE "S1F3 "}S1F3 when the Equipment is On-Line to read Equipment
Constants from the SIPLACE.
The Host can send {XE "S2F13 "}S2F13 when the Equipment is On-Line to read
Equipment Constants from the SIPLACE.
For this Equipment, S1F3 and S2F13 with a list of VIDs are essentially the same. That
is, either message can return Variables of any type. However, S1F3 with a zero-length
list will return only VIDs of type SV, and S2F13 with a zero-length list will return only
VIDs of type EC.
3.4.4 Setting Equipment Constants
The Equipment Operator can change the value for Equipment Constants. Once the
Operator has changed an EC value, the Equipment will note the {XE "EqConstChange
"}EqConstChange Event (CEID 1000001). The VID for the changed EC will be reported
to the Host in the variable {XE "ECIDCHANGE "}ECIDCHANGE (VID 1002036).
3.4.5 Event Reports{XE "Event Reports"}
The SIPLACE has a fixed set of Events which can occur. Each Event is identified by a
unique Collection Event ID (CEID). The CEIDs which exist are shown in "Appendix B --
Collection Events".
When an Event occurs, the Equipment sends the appropriate {XE "S6F11"}S6F11 Event
Report message to the Host (if that particular event has been enabled). Event Reports
are defined by the Host ({XE "S2F33"}S2F33) and linked to a specific CEID ({XE
"S2F35"}S2F35).
The Equipment allows the Host to enable and disable Event Reports using {XE
"S2F37"}S2F37. If the Host enables a CEID, for which no Event Report is defined, the
Equipment will send a "null" (no data) report when the event occurs.
The Host can "force" Event Reports on the Equipment using the following Event Report
Request messages:
{XE "S6F15"}S6F15 Host Requests an Event Report associated with a CEID.