00192402-01.pdf - 第81页

GEM for SIPLACE V7.01 ©Siemens AG, all rights r eserved page 81 of 251 0x02 Cannot perf orm now. Equipment r ejects com m and. 0x40 Control State is Local. Equipm ent rejec ts com m and. 0x41 Inco rrect Proc ess State f …

100%1 / 251
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:
GEM for SIPLACE V7.01
Page 82 of 251 ©Siemens AG, all rights reserved
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
<U4 SVID SVID ...> * Status Variable ID array
> .
 6)7UDFH,QLWLDOL]H$FNQRZOHGJH
S2F24 * H<-E
<B [1] TIAACK> . * TIAACK - Trace Init. Ack. Code
TIAACK Description
0x00 Normal. Everything Correct
0x03 Invalid period. DSPER is incorrect. The
Equipment does not start the trace.
The SIPLACE does not signal an error if a Host error in S2F23 causes S6F1 to be multi-
block. Instead, this Equipment sends multi-block S6F1 as requested by the Host.
This Equipment does not signal an error if the Host initiates more than four (4)
simultaneous traces. The maximum number of traces supported depends on the size of
the trace data, but is always at least 4.
 6)'LDJQRVWLF/RRSEDFN5HTXHVW
S2F25 W * H->E
<B ABS> . * ABS - Any Binary String
The Host sends an arbitrary binary string to test operation of the link.
The Equipment never sends this message to the Host.
 6)'LDJQRVWLF/RRSEDFN'DWD
S2F26 * H<-E
<B ABS> . * ABS - Any Binary String
The Equipment "echoes" back the binary data from the Host's S2F25.