Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 295

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

Tag identifier
INCLUDE
LET
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Meaning
The instruction includes an XML description.
(see also DYNAMIC_INCLUDE in this table)
Attribute:
src
Contains the path name.
Syntax:
<?INCLUDE src="<Path name>" ?>
The instruction creates a local variable under the specified name.
Fields:
Using the attribute dim (dimension) single or two-dimensional fields can be created. The
field index addresses the individual field elements.
For a two-dimensional field, initially the line index is specified and then the column index.
Single-dimensional field:
Indices 0 to 4
Two-dimensional field:
Index line 0 to 3 and index column 0 to 5
Attributes:
name
Variable name
type
The variable type can be an integer (INT), unsigned integer (UINT), double
(DOUBLE), float (FLOAT), string (STRING), or STRUCT. The variable type can also
be a structure defined with typedef. If there is no type instruction specified, the system
creates an integer variable.
<LET name = "VAR1" type = "INT" />
permanent
If the attribute is set to true, then the variable value is saved permanently. This attrib-
ute is only effective for a global variable.
dim
The following number of field elements must be specified. For a two-dimensional field,
the second dimension is specified after the first dimension separated by a comma.
A field element is accessed via the field index, which is specified in square brackets
after the variable name.
name[index] or name[row,column]
Single-dimensional field: dim="<Number of elements>"
Two-dimensional field: dim="<Number of lines>,<number of columns>"
Non-initialized field elements are pre-assigned with "0".
295

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents