00191134-03 - 第54页
GEM for SIPLACE V5.01 Page 54 of 252 ©Siemens AG, all rights reserved 10 Decim al Ten 0x10 Hexadecim al 10 -10 Decimal Negative 10 W here a value is not fixed, the SECS var iable name is used directly. For Exam ple: <…

GEM for SIPLACE V5.01
©Siemens AG, all rights reserved page 53 of 252
6(&60HVVDJH'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>
> .

GEM for SIPLACE V5.01
©Siemens AG, all rights reserved page 55 of 252
'DWD,WHP'LFWLRQDU\
$%6 - Any binary string
Format : B
used in : S2F25, S2F26
$&.& - Acknowledge Code
Format: B[1]
0 = Accepted
>0 = error, not accepted
1 - 63 reserved
used in : S5F2, S5F73
$&.& - Acknowledge Code
Format: B[1]
0 = Accepted
>0 = error, not accepted
1 - 63 reserved
used in : S6F2, S6F3, S6F10, S6F12, S6F14
$&.& - Acknowledge Code
Format: B[1]
0 = Accepted
1 = Permission not granted
2 = Length error
3 = Matrix overflow
4 = PPID not found
5 = Mode unsupported
6 = busy
7 = Control state is not „remote“
8 = Control mode is not „GEM-Host“
9 = recipe type is not binary
10 - 63 reserved
used in : S7F4, S7F18
$&.& - Acknowledge Code
Format: B[1]
0 = Accepted for display
1 = Message will not be displayed
2 = Terminal not available
3 = Message to long (more than 160 char)
4 - 63 reserved
used in : S10F2, S10F4, S10F6, S10F10
$/&' - Alarm code byte
Format: B[1]