Siemens sinumerik 840d Programming Manual page 31

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

04.00
1
840D
840D
NCU 571
NCU 572
NCU 573
SW 4 and higher:
An array can be larger than a memory block. The
MD value for block size should be set such that
arrays are fragmented only in exceptional cases.
Standard: 256 bytes
Memory requirements per element: see above.
Example:
Global user data should contain PLC machine data for
switching the control on/off (definition of BOOL arrays).
Additional notes
Arrays with a maximum of 2 dimensions can be
defined.
Arrays with STRING variables may only be one-
dimensional. The string length is specified after the
data type String.
Array index
The elements of an array can be accessed via the
array index. The array elements can either be read
or assigned values using this array index.
The first array element begins with the index [0,0].
With an array size of [3,4], for example, the
maximum array index is [2,3].
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
FM-NC
810D
840Di
Flexible NC Programming
1.3
Array definition
Array index
[n,m]
. . . . .
0,0
0,1
0,2
. . . . .
. . . . .
1,0
1,1
1,2
. . . . .
n
. . . . .
. . . . .
n-1,0
n-1,1
n-1,2
1
m
0,m-1
1,m-1
n
-
1,
,m-1
1-31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents