00193368-02 - 第84页
SIPLACE GEM for S25HM, S27HM, HS50 , HS60 SW Version GEM 503.02 HOST Inter fac e Manual Page 84 of 243 ©Siemens AG, all rights reser ved 4.4.3 S2F15 - New Equipment Constant Send S2F15 W * H->E <L <L [2] <U4 …

SIPLACE GEM for S25HM, S27HM, HS50, HS60 SW Version GEM 503.02
HOST Interface Manual
©Siemens AG, all rights reserved page 83 of 243
4.4 Stream 2
4.4.1 S2F13 - Equipment Constant Request
S2F13 W * H->E
<L
<U4 VID> * Equipment Constant ID
...
> .
The Host requests the VIDs of interest. Several VIDs can be specified if desired.
Normally, only VIDs of class EC (i.e. Equipment Constants) are used in this message.
However, any VID of class DV, EC, or SV can be used.
If S2F13 contains a zero-length list, then the Equipment will report all variables of class
EC, in order by VID.
For compatibility with older Host implementations, the Equipment allows the following
alternative form for this message, using an array format:
S2F13 W * H->E
<U4 VID VID ...> . * Equipment Constant ID
4.4.2 S2F14 - Equipment Constant Data
S2F14 * H<-E, Multiblock
<L
<V> * Equipment Constant Value
...
> .
The Equipment returns the Equipment Constants in the order requested in S2F13. If any
VID specified in S2F13 is invalid, the corresponding V in S2F14 has the following error
format:
<L> * V for Invalid VID

SIPLACE GEM for S25HM, S27HM, HS50 , HS60 SW Version GEM 503.02
HOST Interface Manual
Page 84 of 243 ©Siemens AG, all rights reserved
4.4.3 S2F15 - New Equipment Constant Send
S2F15 W * H->E
<L
<L [2]
<U4 VID> * Equipment Constant ID
<V>
>
...
> .
The Host sends new values for desired Equipment Constants. Several Equipment
Constants can be specified if desired.
Only VIDs of class EC can be used in this message.
4.4.4 S2F16 - Equipment Constant Send Acknowledge
S2F16 * H<-E
<B [1] EAC> . * Equipment Acknowledge Code
Normal completion returns a zero (0) in EAC. If any ECID or ECV in S2F15 is invalid,
then EAC contains a non-zero value, and the Equipment rejects the entire S2F15.
Possible EAC values are:
EAC Description
0x00 OK
0x01 At least one ECID invalid
0x03 At least one ECV out of range

SIPLACE GEM for S25HM, S27HM, HS50, HS60 SW Version GEM 503.02
HOST Interface Manual
©Siemens AG, all rights reserved page 85 of 243
4.4.5 S2F17 - Date and Time Request
S2F17 W . * H<->E
The Host may send this message at any time to determine the Date and Time base which
the SIPLACE is currently using.
The SIPLACE sends this message at the request of the operator.
4.4.6 S2F18 - Date and Time Data
S2F18 * H<->E
<A 'YYMMDDhhmmss'> . * TIME - Date and Time
This message contains the current Date and Time.
YY Year (last two digits), 00 to 99
MM Month, 01 to 12
DD Day, 01 to 31
hh Hours, 00 to 23
mm Minutes, 00 to 59
ss Seconds, 00 to 59
When the Equipment receives a good S2F18, it sets its internal clock/calendar. When
receiving S2F18, the Equipment will discard an invalid date or time. For example, if the
date is good but the time is bad, the Equipment sets its date but not its time.
4.4.7 S2F21 - Remote Command
S2F21 [W] * H->E
<A RCMD> . * Remote command string
Note: This message is only provided for compatibility with non-GEM Hosts.
The Host sends a Remote Command to the Equipment.
The SIPLACE ignores case when performing validity checks on the RCMD strings.
The Host may optionally set the W-Bit to "1" in S2F21. If so, the Equipment replies with
S2F22.
4.4.8 S2F22 - Remote Command Acknowledge
S2F22 * H<-E
<B [1] CMDA> . * Command Ack. Code
Normal completion returns a zero (0) in CMDA.
A non-zero value for CMDA indicates that the Equipment has rejected the Remote
Command.
CMDA Description
0x00 OK. All normal.
0x01 Invalid command. Equipment rejects command