Siemens SINUMERIK 840DE sl Commissioning Manual page 1182

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Graphic and logic elements
7.2 Defining an array
7.2
Defining an array
Definition
An array can be used to organize data of the same data type stored in the memory in such a
way that it is possible to access the data via an index.
Description
Arrays can be one- or two-dimensional. A one-dimensional array is treated like a two-
dimensional array with just one line or column.
Arrays have start identifier //A and end identifier //END. The number of lines and columns is
optional. An array is structured in the following way:
Programming
Syntax:
Description:
Parameters:
Example
//A(Thread)
(0.3 / 0.075 / 0.202)
(0.4 / 0.1
(0.5 / 0.125 / 0.338)
(0.6 / 0.15
(0.8 / 0.2
(1.0 / 0.25
(1.2 / 0.25
(1.4 / 0.3
(1.7 / 0.35
//END
196
//A
(Identifier)
(a/b...)
(c/d...)
...
//END
Defines array
Identifier
a, b, c, d
; Size/lead/core diameter
/ 0.270)
/ 0.406)
/ 0.540)
/ 0.676)
/ 0.676)
/ 1.010)
/ 1.246)
Name of array
Values of array
Values of the STRING type must be enclosed in double quo‐
tation marks.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents