00193786-02 - 第91页

S I P L A C E G EM S W V e r s i on G EM 505 . 03 SP 1 H O S T I n t e r f a c e M anua l ©S i e m en s A G, a ll r i gh t s r e s e r v ed page 91 o f 241 4 . 4 . 3 S 2 F 15 - N e w E qu i p m e n t C on sta n t S e nd …

100%1 / 241
SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 90 of 241 ©Siemens AG, all rights reserved
4.4 Stream 2
4.4.1 S2F13 - Equipment Constant Request
{XE "S2F13"}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
{XE "S2F14"}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 SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 91 of 241
4.4.3 S2F15 - New Equipment Constant Send
{XE "S2F15"}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
{XE "S2F16"}S2F16 * H<-E
<B [1] {XE "EAC"}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 SW Version GEM 505.03 SP1 HOST Interface Manual
Page 92 of 241 ©Siemens AG, all rights reserved
4.4.5 S2F17 - Date and Time Request
{XE "S2F17"}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
{XE "S2F18"}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
{XE "S2F41"}S2F21 [W] * H->E
<A {XE "RCMD"}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] {XE "HCACK"}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