You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marina Egner edited this page Nov 8, 2024
·
5 revisions
Type
Type value
Bits
Range
Final Data type
Bit
BOOL
1
0, 1 or FALSE, TRUE
F
Double Word
DWORD
32
16#0 to 16#FFFF_FFFF
R
Double Integer
DINT
32
-2_147_483_648 to 2_147_483_647
R
Floating-point number
FREAL
32
+5.42101E-20 to +9.22337E+18 (6 significant digits), -2.71056E-20 .. -9.22337E+18
R FLOAT
Floating-point number
REAL
32
-3.402_823_466E+38 to -1.175_494_351E-38, 0.0, +1.175_494_351E-38 to +3.402_823_466E+38
R IEEE
Note
The compiler is not introducing new data types on the target platform.
Therefore the available types are limited by nature.
However it might make sense to introduce certain virtual types in future.