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
D
ata
U
nit
T
ypes (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.
Содержание FPS Series
Страница 7: ......
Страница 17: ......
Страница 18: ...Chapter 1 Safety Measures...
Страница 21: ......
Страница 22: ...Chapter 2 Overview...
Страница 32: ...Chapter 3 CPU Types...
Страница 47: ...CPU Types FP User s Manual 30 LD Body...
Страница 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...
Страница 55: ...CPU Types FP User s Manual 38 LD Body...
Страница 57: ......
Страница 58: ...Chapter 4 Expansion...
Страница 73: ......
Страница 74: ...Chapter 5 I O Allocation...
Страница 81: ......
Страница 82: ...Chapter 6 Installation and Wiring...
Страница 104: ...FP User s Manual 6 4 Input and Output Wiring 87 A FP 1 Output terminal 2 Load 3 Inductor COM 2 1 3...
Страница 115: ......
Страница 116: ...Chapter 7 High Speed Counter and Pulse Output...
Страница 169: ......
Страница 170: ...Chapter 8 Communication...
Страница 227: ...Communication FP User s Manual 210 LD Body ST Body...
Страница 233: ...Communication FP User s Manual 216 POU Header LD Body...
Страница 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...
Страница 237: ...Communication FP User s Manual 220 2 2 ST Body...
Страница 266: ...Chapter 9 Security Functions...
Страница 273: ......
Страница 274: ...Chapter 10 Other Functions...
Страница 277: ......
Страница 278: ...Chapter 11 Troubleshooting...
Страница 289: ......
Страница 290: ...Chapter 12 Appendix...