Array Definition - Siemens sinumerik 840d Programming Manual

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

Advertisement

Flexible NC Programming
1
1.3

Array definition

840D
840D
NCU 571
NCU 572
NCU 573
1.3

Array definition

Programming
DEF CHAR NAME[n,m]
DEF INT NAME[n,m]
DEF REAL NAME[n,m]
DEF AXIS NAME[n,m]
DEF FRAME NAME[n,m]
DEF STRING[string length] NAME[m]
DEF BOOL[n,m]
Explanation
INT NAME[n,m]
REAL NAME[n,m]
DEF STRING[string length] NAME[m]
NAME
The same memory size applies for type BOOL as for
type CHAR.
SW 3 and higher:
The maximum size of an array is set via machine data.
Machine manufacturer
See machine manufacturer's specifications
Type
BOOL
CHAR
INT
REAL
STRING
FRAME
AXIS
The maximum array size determines the size of the
memory blocks in which the variable memory is
managed. It should not be set higher than actually
required.
Standard: 812 bytes
If no large arrays are defined, please
select: 256 bytes.
1-30
FM-NC
810D
840Di
Memory size for each array element
1 byte
1 byte
4 bytes
8 bytes
String length + 1
∼ 400 bytes depending on number of axes
4 bytes
Variable type (CHAR, INTEGER, REAL,
AXIS, FRAME, BOOL)
n = array size for 1st dimension
m = array size for 2nd dimension
The data type STRING can only be defined
with one-dimensional arrays
Variable name
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
04.00
1
 Siemens AG 2000. All rights reserved

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents