00192402-01 - 第80页

GEM for SIPLACE V7.01 Page 80 of 251 ©Siem ens AG, all rights reserved  6)' DWHDQG7LPH5 HTXHVW S2F17 W . * H<->E The Host may send this m essage at any time to determ ine the Date and T ime bas …

100%1 / 251
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 79 of 251
 6)1HZ(TXLSPHQW&RQVWDQW6HQG
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.
 6)(TXLSPHQW&RQVWDQW6HQG$FNQRZOHGJH
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
GEM for SIPLACE V7.01
Page 80 of 251 ©Siemens AG, all rights reserved
 6)'DWHDQG7LPH5HTXHVW
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.
 6)'DWHDQG7LPH'DWD
S2F18 * H<->E
<A 'YYMMDDhhmmss'> . * TIME - Date and Time
This message contains the current Date and Time.
<< Year (last two digits), 00 to 99
00 Month, 01 to 12
'' Day, 01 to 31
KK Hours, 00 to 23
PP Minutes, 00 to 59
VV 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.
 6)5HPRWH&RPPDQG
S2F21 [W] * H->E
<A RCMD> . * Remote command string
1RWH7KLVPHVVDJHLVRQO\SURYLGHGIRUFRPSDWLELOLW\ZLWKQRQ*(0+RVWV
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.
 6)5HPRWH&RPPDQG$FNQRZOHGJH
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
GEM for SIPLACE V7.01
©Siemens AG, all rights reserved page 81 of 251
0x02 Cannot perform now. Equipment rejects
command.
0x40 Control State is Local. Equipment rejects
command.
0x41 Incorrect Process State for this command.
Equipment rejects command.
 6)7UDFHLQLWLDOL]HVHQG
S2F23 W * H->E
<L [5]
<U4 TRID> * Trace ID
<A 'hhmmss'> * DSPER - Data Sample Period
<U4 TOTSMP> * Total Number of Samples
<U4 REPGSZ> * Reporting Group Size
<L
<U4 SVID> * Status Variable ID
...
>
> .
The Host requests the Equipment to initiate a time driven trace operation.
The Equipment will send trace data using S6F1.
If TRID in S2F23 matches TRID of an existing trace, the existing trace operation is
canceled, and replaced by the new one.
Up to four (4) separate TRIDs can be in operation simultaneously.
Within DSPER, must be a valid hour/minute/second format ( hh 0-23, mm 0-59, ss 0-59),
and cannot be 000000. The practical minimum value of DSPER is application dependent.
The Equipment will send the first S6F1 at one time period (DSPER * REPGSZ) after
receiving S2F23.
If TOTSMP is zero, then S2F23 is a request to cancel an existing trace. Any trace with
the specified TRID is canceled.
REPGSZ minimum value is 1. REPGSZ may not be so large that S6F1 would be a multi-
block message. Typical value is 1.
Several SVIDs can be specified if desired. You must not specify so many SVIDs that
S6F1 becomes a multi-block message.
Normally, only Variables of class SV are used in this message. However, any VID of
class DV, EC, or SV can be used.
For compatibility with older Host implementations, the Equipment allows the following
alternative form for this message, using an array format: