Appendix 
 
FPΣ User's Manual 
304 
12.9 Data Types 
FPWIN Pro provides elementary and user defined data types. 
Elementary data types 
Data Type  Abbreviation  Description  Range 
BOOL  BOOL  Boolean (1 bit)  0 (FALSE) or 1 (TRUE) 
INTEGER INT Integer (16 bits)  -32768–32767 
UNSIGNED INTEGER  UINT  Unsigned integer (16 bits)  0–65535 
DOUBLE INTEGER  DINT  Double integer (32 bits)  -2147483648–2147483647 
UNSIGNED DOUBLE 
INTEGER 
UDINT 
Unsigned double integer (32 
bits) 
0–4294967295 
REAL  REAL  Real number (32 bits) 
-3.402823E
38
– -1.17549410E
-38
, 
0, +1.17549410E
-38
– 
+3.402823E
38
 
WORD  WORD  Bit string of length 16 (16 bits)  16#0–16#FFFF 
DOUBLE WORD  DWORD  Bit string of length 32 (32 bits)  16#0–16#FFFFFFFF 
TIME
1)
  TIME  Duration (32 bits) 
T#0s– 
T#248d3h13m56s470ms 
DATE AND TIME
1)
  DT  Date and time of day (32 bits) 
DT#2001-01-01-00:00:00– 
DT#2099-12-31-23:59:59 
TIME OF DAY
1)
  TOD  Time of day (only) (32 bits) 
TOD#00:00:00– 
TOD#23:59:59 
DATE
1)
  DATE  Date (only) (32 bits) 
DT#2001-01-01– 
DT#2099-12-31 
STRING
1)
  STRING  Variable-length character string  Depending on PLC type 
ARRAY ARRAY 
Number of similar data 
elements 
Depending on PLC type 
A data type has to be assigned to each variable. 
1)
Internal representation of time and string data types 
TIME  In 10ms units 
DATE AND TIME  Seconds after DT#2001-01-01-00:00:00 
TIME OF DAY  Seconds after TOD#00:00:00 
DATE  Seconds after DT#2001-01-01 
STRING  Header with maximum and current number of characters followed by the characters 
User defined data types 
We differentiate between array and Data Unit Types (DUT). An array consists of several 
elementary data types which are all of the same type. A DUT consists of several elementary 
data types of different types. Each represents a new data type.