00191134-03.pdf - 第53页

GEM for SIPLACE V5.01 ©Siemens AG, all rights r eserved page 53 of 252  6(&60HVVDJH'HWDLO This section desc ribes each m es sage sent or unders tood by the Equipment.  60/1RWDWLRQ Message desc riptions …

100%1 / 245
GEM for SIPLACE V5.01
Page 52 of 252 ©Siemens AG, all rights reserved
Transmit Spool
The SIPLACE is transmitting spooled messages
to the Host.
 5HODWHG9DULDEOHV
The following table lists the variables (SV's, EC's, or DVVALS) which are relevant to
spooling. For a more complete description of these variables, see "Appendix A --
Variables".
Variable Name VID
MAXSPOOLTRANSMIT 1002037
CONFIGSPOOL 1002045
SPOOLCOUNTACTUAL 1002038
SPOOLCOUNTTOTAL 1002039
OVERWRITESPOOL 1002046
SPOOLFULLTIME 1002040
SPOOLLOADSUBSTATE 1002041
SPOOLSTARTTIME 1002042
SPOOLSTATE 1002043
SPOOLUNLOADSUBSTATE 1002044
 5HODWHG(YHQWV
The following lists the collection events (CEIDs) which are relevant to spooling. For a
more complete description of these events, see "Appendix B -- Collection Events" or the
description in this chapter.
Collection Event CEID
GemSpoolingActivated 1000007
GemSpoolingDeactivated 1000008
GemSpoolTransmitFailure 1000009
GEM for SIPLACE V5.01
©Siemens AG, all rights reserved page 53 of 252
 6(&60HVVDJH'HWDLO
This section describes each message sent or understood by the Equipment.
 60/1RWDWLRQ
Message descriptions are shown using "SECS Message Language" (SML) notation. SML
is a general notation developed by GW Associates for describing SECS messages. SML
is similar to the notation used in the SECS Standards documents, but SML is a more
precise and regular notation. In SML, the format for a data item is as follows:
< type [ count ] value >
The components are:
! Angle Brackets. Each Data Item is enclosed within angle brackets ("less
than", "greater than"). This notation implies that each Data Item has a
Data Item Format and Data Item Length as required by SECS-II.
W\SH This specifies the SECS-II Data Item format. It will have one of the
following values:
A ASCII
B Binary
JJIS-8
I1, I2, I4, I8 Signed Integers
U1, U2, U4, U8 Unsigned Integers
F4, F8 Floating Point
BOOLEAN True/False
FRXQWCount of the element values that make up the item. If present, the count
is enclosed within square brackets "[ ]". The count may be omitted, in
which case the square brackets are also omitted.
The "count" specifies the number of value elements in the Data Item
Value. For String formats (ASCII, Binary, JIS-8), "count" specifies the
number of characters in the string. For Numeric formats (I1, I2, I4, I8, U1,
U2, U4, U8, F4, F8, BOOLEAN), "count" specifies the number of values in
the array. For simple scalar numeric values, "count" is usually "1". For
LIST items, "count" specifies the number of items in the list.
If "count" is omitted, then the length of the Data Item is implied by the
value which follows. The "count" can range between known limits. It may
be specified as minimum and maximum "counts", separated by two dots.
(For example, [0..40]).
YDOXH Value of a single item element. Values are shown in a notation that
depends on the item type. For example, ASCII values are shown as
characters enclosed in quotes, Unspecified Binary values are shown in
hexadecimal.
 Ellipsis (...) is used to indicate additional elements may occur, as for
example where substructures may repeat in a List structure.
As an example, a two-byte unsigned integer Data Item with an array of three values 21,
22, and 23 is represented as:
<U2 [3] 21 22 23>
Numeric values shown are considered decimal integers unless otherwise indicated.
negative values shown with a leading minus sign "-". Hexadecimal values are shown in C-
Language convention, with a leading "0x".
GEM for SIPLACE V5.01
Page 54 of 252 ©Siemens AG, all rights reserved
10 Decimal Ten
0x10 Hexadecimal 10
-10 Decimal Negative 10
Where a value is not fixed, the SECS variable name is used directly. For Example:
<A [6] SOFTREV>
The format of a complete message is:
SnFn W item .
The components are:
6Q)Q The Stream and Function Codes, S1F1 for example.
: The W-Bit, if set. Omitted if not set. If the W-Bit is optional, it is coded
within brackets "[W]".
LWHP An item that is formatted as described above.
A period (.) ends the message definition.
For example, the S1F3 message might be described in SML as follows:
S1F3 W
<L
<U4 13>
<U4 7>
> .