00193786-01 - 第147页
SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual ©Siemens AG, all rights reserved page 147 of 236 5.3.4 Alarm Report (GEM, Ver 3.1 Compatibility) Note: This scenario is provided only for compatibility with Host co…

SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual
Page 146 of 236 ©Siemens AG, all rights reserved
5.3 Alarms
5.3.1 Equipment Reports Alarm
Step SECS Message Description
1. H <- E S5F1 [W] If reporting for this alarm ID is disabled, skip this
and the following step. Otherwise send the
alarm. The Equipment Constant WBitS5
determines whether the W-bit is 0 or 1 in this
message.
2. H -> E S5F2 If the W-bit in S5F1 is 1, the Host acknowledges
the alarm report. Otherwise, skip this step.
3. H <- E S6F11 W If the event ID associated with this alarm state is
enabled, send the event report. Otherwise, the
scenario ends.
4. H -> E S6F12 The Host acknowledges the event report.
5.3.2 Host Enables/Disables Alarms
Step SECS Message Description
1. H -> E S5F3 [W] The Host specifies ALIDs to be enabled or
disabled.
2. H <- E S5F4 If the W-bit in S5F3 is 1, the Equipment
acknowledges.
5.3.3 Host Requests Alarms
Step SECS Message Description
1. H -> E S5F5 W The Host requests whether specified ALIDs are
„on“ or „off“.
2. H <- E S5F6 The Equipment sends Alarm status.

SIPLACE GEM SW Version GEM 505.01
HOST Interface Manual
©Siemens AG, all rights reserved page 147 of 236
5.3.4 Alarm Report (GEM, Ver 3.1 Compatibility)
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.
5.3.5 Alarm Report (GEM, Ver 1.7 Compatibility)
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.

SIPLACE GEM SW Version GEM 505.01 HOST Interface Manual
Page 148 of 236 ©Siemens AG, all rights reserved
5.4 Control State
5.4.1 Host Sends On-Line Command
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.
5.4.2 Host Sends Off-Line Command
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.
5.4.3 Host Sends Remote Command
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.
5.4.4 Equipment Rejects Host Command
Assumption: Control State is Local and On-Line
Step SECS Message Description