00192402-01.pdf - 第142页
GEM for SIPLACE V7.01 Page 142 of 251 ©Siemens AG, all rights r eserved &RQWURO6WDWH +RVW6HQGV 2Q/LQH&RPPDQG Assum ption: Control State is "Host Of f-Line". Var iable Gem ControlState =…

GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 141 of 251
$ODUP5HSRUW*(09HU&RPSDWLELOLW\
Note: This scenario is provided only for compatibility with Host computers which support
GEM, Ver 3.1.
Step SECS Message Description
1. The Equipment Constant ConfigAlarms is set to
2 for non-GEM compatibility.
The Equipment recognizes that an alarm
condition has gone „on“ (i.e. has become
Unsafe).
2. H <- E S5F73 [W] The Equipment reports the Alarm going on. The
high-order bit of ALCD is „1“.
3. H -> E S5F74 If the W-bit of S5F74 is 1, the Host
acknowledges the Alarm.
4. The Equipment recognizes that the alarm
condition has gone „off“ (i.e. has become Safe).
5. H <- E S5F73 [W] The Equipment reports the Alarm going off. The
high-order bit of ALCD is „0“.
6. H -> E S5F74 If the W-bit in S5F74 is 1, the host acknowledges
the Alarm.
$ODUP5HSRUW*(09HU&RPSDWLELOLW\
Note: This scenario is provided only for compatibility with Host computers which support
GEM, Ver 1.7.
Step SECS Message Description
1. The Equipment Constant ConfigAlarms is set to
1 for GEM, Ver 1.7 compatibility.
The Equipment recognizes that an alarm
condition has gone „on“ (i.e. has become
Unsafe).
2. H <- E S5F71 [W] The Equipment reports the Alarm going on. The
high-order bit of ALCD is „1“.
3. H -> E S5F72 If the W-bit in S5F71 is 1, the Host
acknowledges the Alarm.
4. The Equipment recognizes that the alarm
condition has gone „off“ (i.e. has become Safe).
5. H <- E S5F71 [W] The Equipment reports the Alarm going off. The
high-order bit of ALCD is „0“.
6. H -> E S5F72 If the W-bit in S5F71 is 1, the Host
acknowledges the Alarm.

GEM for SIPLACE V7.01
Page 142 of 251 ©Siemens AG, all rights reserved
&RQWURO6WDWH
+RVW6HQGV2Q/LQH&RPPDQG
Assumption: Control State is "Host Off-Line". Variable GemControlState = 3.
Step SECS Message Description
1. H -> E S1F17 W Host instructs the Equipment to go „On-Line“.
2. H <- E S1F18 Equipment responds to successful On-Line
transition with ONLACK=0. Control state transits
to either Local or Remote as guided by EC
GemOnlineSubstate.
3. H <- E S6F11 W The Equipment signals CEID
GemControlState LOCAL or
GemControlState REMOTE.
4. H -> E S6F12 The Host acknowledges the event.
+RVW6HQGV2II/LQH&RPPDQG
Assumption: Control State is "On-Line".
Step SECS Message Description
1. H -> E S1F15 W Host instructs the Equipment to go „Off-Line“.
2. H <- E S1F16 Equipment Control State transitions to „Host
Off-Line“ (GemControlState = 3) and responds
to primary. OFLACK = 0.
+RVW6HQGV5HPRWH&RPPDQG
Assumption: Control State is On-Line and Remote.
Step SECS Message Description
1. H -> E S2F41 [W] The Host sends the command. The W-bit in
this message bay be either 0 or 1.
2. H <- E S2F42 If the W-bit was 1, the Equipment
acknowledges the command. If the Equipment
cannot perform the command, the
acknowledge code in this message is non-zero.
If the command can be completed
„immediately“, the command is performed and
the acknowledge code in this message is 0.
Otherwise, if the command takes a significant
amount of time to complete, the acknowledge
code is 4. Successful completion of a
command may trigger one or more events.
(TXLSPHQW5HMHFWV+RVW&RPPDQG
Assumption: Control State is Local and On-Line
Step SECS Message Description

GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 143 of 251
1. H -> E S2F41 [W] The Host sends the command. The W-bit in this
message may be either 0 or 1.
2. H <- E S2F42 If the W-bit in S2F41 is 1, the Equipment
acknowledges the command. The acknowledge
code in this message is 64 (Control State is
incorrect). If the W-bit is 0, this message is not
sent. In either case, the Equipment does not
perform the command.
*R5HPRWH2SHUDWRU,QLWLDWHG
Step SECS Message Description
1. ControlState is Local. The Equipment operator
switches the Equipment to Remote Control.
2. H <- E S6F11 W The Equipment signals CEID GemControlState
REMOTE. Event Reports as appropriate.
3. H -> E S6F12 The Host acknowledges the report.
*R/RFDO2SHUDWRU,QLWLDWHG
Step SECS Message Description
1. ControlState is Remote. The Equipment
operator switches the Equipment to Local
Control.
2. H <- E S6F11 W The Equipment signals CEID GemControlState
LOCAL. Event Reports as appropriate.
3. H -> E S6F12 The Host acknowledges the report.