Flexible NC programming
1.1 Variables
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 (Page 15)
54
from ↓/ to →
REAL
x
x
x
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
INT
BOOL
o
x
x
&
&
x
Job planning