Data Types - Siemens Sinumerik 840D sl Programming Manual

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

1.1.14

Data types

The following data types are available in the NC:
Data type
Significance
INT
Integer with sign
REAL
Real number (LONG REAL to IEEE)
BOOL
Truth value TRUE (1) and FALSE (0)
CHAR
ASCII character
STRING
Character string of a defined length
AXIS
Axis/spindle identifier
FRAME
Geometric parameters for static coordinate
transformation (translation, rotation, scaling,
mirroring)
Implicit data type conversions
The following data type conversions are possible and are performed implicitly during
assignments and parameter transfers:
REAL
INT
BOOL
x : Possible without restrictions
o: Data loss possible due to the range of values being overshot ⇒ alarm;
rounding: decimal place value ≥ 0.5 ⇒ round up, decimal place value < 0.5 ⇒ round down
&: value ≠ 0 ⇒ TRUE, value== 0 ⇒ FALSE
See also
General information about variables General information about variables [Page 17]
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
from ↓ / to →
Value Range
-2147483648 ... +2147483647
±( ∼ 2,2*10
1, 0
ASCII code 0 to 255
Maximum of 200 characters (no special characters)
Channel axis identifier
---
REAL
x
x
x
Flexible NC programming
-308
+308
... ∼ 1,8*10
)
INT
BOOL
o
x
x
1.1 Variables
&
&
x
55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents