Flexible NC programming
1.1 Variables
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
53
NOTICE
Value assignments to axial machine data
In the case of value assignments to axial machine data using
SET or REP, the AXIS data type
array index is ignored or not processed.
Memory requirements
Data type Memory requirement per element
BOOL
1 byte
CHAR
1 byte
INT
4 bytes
REAL
8 bytes
STRING
(string length + 1) bytes
FRAME
∼ 400 bytes, depending on the number of axes
AXIS
4 bytes
See also
Definition and initialization of array variables (DEF, SET, REP) (Page 46)
1.1.14 Data types
The following data types are available in the NC:
Data type Significance Value Range
INT Integer with sign -2147483648 ... +2147483647
REAL Real number (LONG REAL to IEEE) ±(∼2,2*10
-308
… ∼1,8*10
+308
)
BOOL Truth value TRUE (1) and FALSE (0) 1, 0
CHAR ASCII character ASCII code 0 to 255
STRING Character string of a defined length Maximum of 200 characters (no special characters)
AXIS Axis/spindle identifier Channel axis identifier
FRAME Geometric parameters for static coordinate
transformation (translation, rotation, scaling,
mirroring)
---