Flexible NC programming
1.3 Array definitions (DEF, SET, REP)
Memory requirements
Variable type
BOOL
CHAR
INT
REAL
STRING
FRAME
AXIS
Note
The maximum array size determines the size of the memory areas in which the variable
memory is managed. It should not be set higher than actually required.
Default: 812 bytes
If no large arrays are defined, select: 256 bytes.
Example: Definition of BOOL arrays
Global user data must contain PLC machine data for switching the control on/off.
Example Definition of arrays with maximum array size for the 1st and 2nd dimension
DEF INT NAME[32767,32767]
1-10
Memory requirement per element
1 byte
1 byte
4 bytes
8 bytes
String length + 1
∼ 400 bytes, depending on the number of axes
4 bytes
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning