00193786-02 - 第96页
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 P age 96 o f 241 ©S i e m en s A G, a ll r i gh t s r e s e r v ed T he Ho s t r eque s t s f o r m a t de s cr i p t i on s f o r…

SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 95 of 241
4.4.13 S2F27 - Initiate Process Request
{XE "S2F41"}S2F27 [W] * H->E
<L [3]
<B {XE "RCMD"}LOC> * Location (always '0')
<A [1..8] PPID> * Process Program ID
<L [1]
<A [1..16] MID> * Lot ID
>
> .
The Host sends this command to initiate a new lot for processing.
The SIPLACE ignores case when performing validity checks on the PPID string.
The Host may optionally set the W-Bit to "1" in S2F27. If so, the Equipment replies with
S2F28.
4.4.14 S2F28 - Initiate Process Acknowledge
S2F28 * 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
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.
0x42 Invalid command parameter.
0x43 Invalid command parameter
4.4.15 S2F29 - Equipment Constant Namelist Request
{XE "S2F29"}S2F29 W * H->E
<L
<U4 VID> * Equipment Constant ID
...
> .

SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
Page 96 of 241 ©Siemens AG, all rights reserved
The Host requests format descriptions for the specified Equipment Constants. Several
VIDs can be specified if desired.
Only VIDs of class EC (i.e. Equipment Constants) can be used in this message.
If S2F29 contains a zero-length list, then the Equipment will report all variables of class
EC, in order by VID.
4.4.16 S2F30 - Equipment Constant Namelist Reply
{XE "S2F30"}S2F30 * H<-E, Multiblock
<L
<L [6]
<U4 VID> * Equipment Constant ID
<A ECNAME> * Equipment Constant Name
<ECMIN> * ECV Minimum Value
<ECMAX> * ECV Maximum Value
<ECDEF> * ECV Default Value
<A UNITS> * Units of Measure
>
...
> .
The Equipment returns the Equipment Constant descriptions in the order requested in
S2F29. If any VID specified in S2F29 is invalid, the corresponding List in S2F30 has the
following error format:
<L> * Instead of L [6]
4.4.17 S2F31 - Date and Time Send
{XE "S2F31"}S2F31 W * H->E
<A 'YYMMDDhhmmss'> . * TIME - Date and Time
The Host commands the Equipment to set its Date and Time base to the specified value.
When the Equipment receives a good S2F31, it sets its internal clock/calendar. When
receiving S2F31, 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.18 S2F32 - Date and Time
{XE "S2F32"}S2F32 * H<-E
<B [1] {XE "TIACK"}TIACK> . * TIACK - Acknowledge Code
TIACK Description
0x00 Normal. Everything correct.
0x01 Invalid Date and/or Time.

SIPLACE GEM SW Version GEM 505.03 SP1 HOST Interface Manual
©Siemens AG, all rights reserved page 97 of 241
4.4.19 S2F33 - Define Report
{XE "S2F33"}S2F33 W * H->E, Multiblock
<L [2]
<U4 {XE "DATAID"}DATAID> * DATAID
<L
<L [2]
<U4 {XE "RPTID"}RPTID> * Report ID
<L
<U4 VID> * Variable ID
...
>
>
...
>
> .
The Host specifies one or more Report IDs, and defines which Variables should be
included in each report.
If S2F33 is multi-block, the Host may optionally send the S2F39/S2F40 Inquire/Grant
Transaction before sending S2F33, but this Equipment does not require it.
The Equipment ignores DATAID.
If the SIPLACE already contains existing Report Definitions, then this message can be
used to download additional definitions for RPTIDs not yet defined. The Host cannot
download a new Report Definition for a RPTID for which a Report Definition already
exists in the Equipment. Instead, to change a Report Definition the Host must first delete
the old Report Definition and then send a new Report Definition for that RPTID.
The Host can delete selected report definitions and associated links in the Equipment by
using the following specifications in S2F33:
...
<L [2]
<U4 RPTID> * Report ID to delete
<L>
...