13.4.1 Definition of a parameter of the octet string data type
Parameter statement
The parameter statement describes how one or more parameters can be defined with the
maximum 12-bytes long octet string supplied with the alarm PDU.
Syntax
The following syntax applies for the parameter statement:
<Parameter directive ext> ::= [% <Parameter description> ]
<Parameter description ext> ::= <No. of the associated value><Element type><Off‐
set>
<No. of the associated value> ::= Always 1 (reserved for future applications)
<Offset> ::= Data type-dependent offset of the parameter within
the associated value:
● BOOL data type (B):
Bit offset within the associated value
● All except for BOOL data type (Y, W, X, I, D, C,
R):
Byte offset within the associated value
Element type Data type
Y BYTE (8-bit, unsigned)
W WORD (16-bit, unsigned)
X DWORD (32-bit, unsigned)
I INTEGER (16-bit, signed)
D INTEGER (32-bit, signed)
B BOOL (1-bit)
C CHAR (8-bit)
R REAL (32-bit)
Examples
%1W0%1W2 → 1st parameter: 1st associated value, WORD at byte
offset 0
2nd parameter: 1st associated value, WORD at byte
offset 2
%1Y0%1Y1%1W2 → 1st parameter: 1st associated value, BYTE at byte off‐
set 0
2nd parameter: 1st associated value, BYTE at byte off‐
set 1
3rd parameter: 1st associated value, WORD at byte
offset 2
Configuring alarms
13.4 PLC alarms with parameters
SINUMERIK Operate (IM9)
Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1 283