00192402-01 - 第25页
GEM for SIPLACE V7.01 ©Siemens AG, all rights r eserved page 25 of 251 # From Trigger To Descrip tion / S1F18 transac tion, with ONLACK = 0x00. 11 Unknown Entry into On-Line super-s tate. Conditional (Local or Remote) EV…

GEM for SIPLACE V7.01
Page 24 of 251 ©Siemens AG, all rights reserved
&RQWURO6WDWH7UDQVLWLRQV
Certain state transitions will cause a collection event to be signaled. If the event is
enabled, this event will be sent to the Host along with the appropriate reports if
appropriate. This table lists the state transitions and notes when events will be sent to the
Host.
# From Trigger To Description
1 Unknown Power-Up Conditional This transition is made
to either the Off-Line or
On-Line state,
depending on the EC
INITCONTROLSTATE
(VID 1002005).
2 Unknown Power-Up Conditional This conditional
transition is governed by
the value of the
OFFLINESUBSTATE
EC (VID 1002010).
3 Equipment
Off-Line
Operator requests to
go On-Line
Attempt On-
Line
The SIPLACE will
immediately send an
S1F1 to request to go
On-Line.
4 Attempt On-
Line
Unsuccessful On-
Line request
Conditional This transition occurred
because the Host did
not reply to an S1F1
with an S1F2 or
because the S1F1 was
not successfully sent.
5 Conditional ONLINEFAILED
Equipment Constant
configured to
Equipment Off-Line.
Equipment
Off-Line
Equipment will allow the
operator to attempt to
go On-Line again.
6 Conditional ONLINEFAILED
Equipment Constant
configured to Host
Off-Line.
Host Off-
Line
The SIPLACE will
accept a Host initiated
request to go On-Line
by replying to the S1F17
with ONLACK = 0x00.
7 Host Off-
Line
Operator requests to
go Off-Line
Equipment
Off-Line
A Host request to go
On-Line will not be
accepted.
8 Attempt On-
Line
Successful On-Line
request.
On-Line The Equipment is now
On-Line.
9 On-Line Host puts the
Equipment Off-Line
by sending S1F15
and receiving the
S1F16 with OFLACK
= 0x00.
Host Off-
Line
EVENT:
GemEquipmentOFFLIN
E (CEID 1000005).
The SIPLACE will
accept a Host initiated
request to go On-Line
by replying to the S1F17
with ONLACK = 0x00.
10 Host Off-
Line
Successful
completion of S1F17
On-Line The Equipment is now
On-Line.

GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 25 of 251
# From Trigger To Description
/ S1F18 transaction,
with ONLACK =
0x00.
11 Unknown Entry into On-Line
super-state.
Conditional
(Local or
Remote)
EVENT:
GemControlStateLOCA
L (CEID 1000003) or
GemControlStateREMO
TE (CEID 1000004).
The SIPLACE will
transition to whichever
state is specified in the
EC ONLINE-
SUBSTATE (VID
1002010).
12 Local Operator or Host
requests to go
Remote.
Remote EVENT:
GemControlStateREMO
TE (CEID 1000004). All
documented messages
will be accepted in this
state, including remote
commands.
13 Remote Operator or Host
requests to go Local.
Local EVENT:
GemControlStateLOCA
L
(CEID 1000003) .
Remote commands will
be rejected.
14 On-Line Operator requests to
go Off-Line.
Equipment
Off-Line.
EVENT:
GemControlStateOFFLI
NE (CEID 1000005). A
Host request to go On-
Line will not be
accepted.
&RQWURO6WDWHV
The variable CONTROLSTATE represents the current control state, and will be one of the
following values:
2II/LQH(48,30(172))/,1(
The Operator has put the SIPLACE Off-Line. In this state, the Host may not put the
Equipment On-Line, only the operator can attempt this from this state. Any Host-initiated
primary message (except S1F13 and S1F17) will be replied to with an SQF0 ABORT
message by the Equipment. The Equipment will not send any primary messages except
for S1F13 when necessary to establish communications, and the S9F1 and S9F9
messages for SECS errors.

GEM for SIPLACE V7.01
Page 26 of 251 ©Siemens AG, all rights reserved
2II/LQH+2672))/,1(
While in this state, the SIPLACE will accept either the S1F17 (Go Online), or the S1F13
(Connect Request) message. When in this state, the operator has allowed the Host to put
the Equipment On-Line, but the Host has not yet done so, or the Host has just put the
Equipment Off-Line by sending S1F15. The Host may request for the Equipment to come
On-Line by sending the S1F17 Go Online message. The Operator can not put the
Equipment On-Line from this state.
The S1F13/S1F14 messages are used to maintain the Communications Finite State
Machine. All messages (except S1F13 and S1F17) received will be replied to with the
SQF0 ABORT message. The Equipment will not send any primary messages except for
S1F13 when necessary to establish communications, and the S9F1 and S9F9 messages
for SECS errors.
2II/LQH$77(03721/,1(
The Operator has requested that the Equipment go On-Line, causing the transition to this
state. SIPLACE sends a single S1F1, indicating its desire to go On-Line. When either a
transmission failure (here, T3 or RTY errors) occurs, or a successful reply to the S1F1
has been received, a transmission is made out of this state.
2Q/LQH/2&$/
The local operator has control of the SIPLACE. The Host can send S2F41 (Remote
Command), but the Equipment will reject it with 0x40 return code.
In LOCAL mode, the Equipment continues to send Event and Alarm reports to the Host.
The Host can monitor operations, but cannot control processing. However, the Host can
still exert "controls" other than S2F41 which do not directly affect processing. For
example, the Host can enable/disable Alarms and set the Clock.
2Q/LQH5(027(
The remote Host Computer has control of the SIPLACE using S2F41 (Remote
Command).
3RZHU
8S
At Power Up, the Equipment Constant INITCONTROLSTATE (VID 1002005) controls
whether ControlState is initialized to ONLINE or OFFLINE. Within the Off-Line super-
state, the Equipment Constant OFFLINESUBSTATE (VID 1002010) controls whether the
Control State defaults to:
(TXLSPHQW2II/LQH
+RVW2II/LQH
$WWHPSW On-Line
If INITCONTROLSTATE (VID 1002005) initializes to On-Line, the variable
ONLINESUBSTATE (VID 1002009) determines whether the default state is:
/RFDO
5HPRWH
5HODWHG9DULDEOHV
The following table lists the variables (SV's, EC's, or DVVALS) which are relevant to the
Control State. For a more complete description of these variables, see "Appendix A --
Variables".
Variable Name VID
INITCONTROLSTATE 1002005
OFFLINESUBSTATE 1002010