00193786-01 - 第20页
SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual Page 20 of 236 ©Siemens AG, all rights reserved 1.10 State Diagrams This document uses several Finite State Machine diagrams to describe the current condition of th…

SIPLACE GEM SW Version GEM 505.01
HOST Interface Manual
©Siemens AG, all rights reserved page 19 of 236
This illustration shows one S25 machine with an MTC. There is just one feeder location
on each side.
Variables are only for configured equipment valid.
TWIN-Input
conveyor
TWIN-First
Processing
conveyor
TWIN-Output
conveyor
Input
conveyor
First Processing
conveyor
Output
conveyor
Direction of transport
Conveyor 2 (left)
Conveyor 1
(i ht)
Gantry 1
Revolverhead 1
Gantry 2
Revolverhead 2
Location
3
Location
1

SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual
Page 20 of 236 ©Siemens AG, all rights reserved
1.10 State Diagrams
This document uses several Finite State Machine diagrams to describe the current
condition of the Equipment’s SECS link, material handling mechanisms, and process
cycle. Each Finite State Machine diagram includes a State Diagram and a complete
description of the states and state transitions.
All Finite State Diagrams have been prepared in the format specified in the GEM
standard. This notation is required as a fundamental part of GEM compliance and must
be included in the Equipment SECS Interface Documentation. This notation is the
„Statechart“ notation developed by David Harel.
The following are the major characteristics of this notation as it is used in this document:
Each state is represented by a rectangle with rounded corners.
A collection of sub-states may be grouped into a super-state.
The entity described by the diagrams will be in one and only one of the sub-states at all
times.
Variables representing the current state of an entity do not contain values for super-
states, only the lowest sub-state is represented.
State transitions are represented by single-headed arrows.
Each state transition is a Collection Event, and it has a unique Collection Event ID (CEID)
An arrow directly from a super-state to another state describes a Collection Event that
can occur while the entity is in any one of the sub-states contained in the super-state.
An arrow directly into a super-state to the H* (history) symbol describes a transition to the
lowest sub-state which described the entity just before the transition out of the super-
state.
An arrow directly into a super-state to the C (conditional) symbol describes a transition to
a particular sub-state based on some other relevant data. The conditional data is not
represented in the diagram but is described in the associated text.

SIPLACE GEM SW Version GEM 505.01
HOST Interface Manual
©Siemens AG, all rights reserved page 21 of 236
2 Message Summary
2.1 Host to Equipment
This section describes primary SECS messages sent by the Host, and the associated
reply messages from the Equipment.
The column headed "CState" in the table below indicates the control state the Equipment
must be in to accept the message. The current value of the Equipment Control State can
be found in variable CONTROLSTATE (vid 1002006). Possible values for this column
are as follows:
Value State
1 Off-Line/Equipment Off-Line
2 Off-Line/Attempt On-Line
3 Off-Line/Host Off-Line
4 On-Line/Local
5 On-Line/Remote
Unlawful messages sent to the Equipment while Control State is Off-Line (1, 2, or 3) will
be replied to with a SnF0 message. Thus, the Host will only ever see values of 4 or 5 for
CONTROLSTATE.
In the column headed "Notes", those messages marked with "E" are extensions beyond
GEM. Those messages marked with "N" are provided for non-GEM or older GEM
compatibility.
Primary Reply CState Description Notes
S1F1 S1F2 4,5 Are You There
S1F3 S1F4 4,5 Selected Status
S1F11 S1F12 4,5 Status Variable Namelist
Request
S1F13 S1F14 All Connect Request
S1F15 S1F16 4,5 Request Off-Line
S1F17 S1F18 1,2,3 Request On-Line
S1F65 S1F66 All Connect Request N
S2F13 S2F14 4,5 Equipment Constant
Request
S2F15 S2F16 4,5 New Equipment Constant
Send
S2F17 S2F18 4,5 Date and Time Request
S2F21 S2F22 5 Remote Command N
S2F23 S2F24 4,5 Trace Initialize
S2F25 S2F26 4,5 Loopback Diagnostic E
S2F27 S2F28 5 Initiate Processing
Request
N
S2F29 S2F30 4,5 Equipment Constant E