Standard data types, Bool, Integer data types – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 1022: Standard data types 0, L-force | plc designer
L-force | PLC Designer
Programming Reference
1020
DMS 4.1 EN 03/2011 TD29
16.2.1
Standard Data Types
All data types described by standard IEC61131-3 are supported by »PLC Designer«. See
here the following
• BOOL
• Integer Data Types
• REAL / LREAL
• STRING
• WSTRING
• Time Data Types
Notice that there are also some norm-extending data types and that you can also
define types on your own (user defined data types).
bool
BOOL type variables may be given the values TRUE (1) and FALSE (0). 8 bits of memory
space will be reserved.
See also: BOOL constants (Operands)
Integer Data Types
See below a list of all available integer data types. Each of the different number types
covers a different range of values. The following range limitations apply to the integer
data types:
Type
Lower limit
Upper limit
Memory space
BYTE
0
255
8 Bit
WORD
0
65535
16 Bit
DWORD
0
4294967295
32 Bit
LWORD
0
2
64-1
64 Bit
SINT
-128
127
8 Bit
USINT
0
255
8 Bit
INT
-32768
32767
16 Bit
UINT
0
65535
16 Bit
DINT
-2147483648
2147483647
32 Bit
UDINT
0
4294967295
32 Bit
LINT
-2
63
2
63-1
64 Bit
ULINT
0
2
64-1
64 Bit
As a result when larger types are converted to smaller types, information may be lost.
See also: Number constants (Operands)