Data Types & Variables
Data structures, variable types, and memory organization
A
3 terms
Alias
Alternative name for variable providing meaningful description of purpose.
ANY
Generic data type parameter allowing functions to accept multiple data types.
Array
Indexed collection of same data type elements, accessed by numerical index.
B
4 terms
BCD
Binary Coded Decimal format representing decimal digits in 4-bit groups.
Bit Field
Data structure packing multiple boolean flags into single memory word.
BOOL
Boolean data type representing single bit with value TRUE (1) or FALSE (0).
BYTE
8-bit data type for bit string operations or small unsigned values (0-255).
C
2 terms
D
5 terms
Data Block
DB
Siemens-specific memory area for storing structured data and function block instances.
DATE
Calendar date representation without time component.
DATE_AND_TIME
DT
Combined date and time stamp for event logging and scheduling.
DINT
32-bit double integer with range -2,147,483,648 to 2,147,483,647.
DWORD
32-bit double word for bit string operations or large bit patterns.
F
2 terms
I
1 term
L
3 terms
S
5 terms
Signed
Data type capable of storing both positive and negative values.
SINT
8-bit signed short integer with range -128 to 127.
STRING
Variable-length character array for text data, typically with defined maximum length.
Structure
STRUCT
User-defined data type grouping different data types into single unit.
Subrange
User-defined data type limiting variable to specific range of values.
T
3 terms
U
6 terms
UDINT
32-bit unsigned double integer with range 0 to 4,294,967,295.
UINT
16-bit unsigned integer with range 0 to 65,535.
ULINT
64-bit unsigned long integer with maximum range for whole numbers.
Union
Data type allowing same memory location to be accessed as different types.
Unsigned
Data type storing only positive values, doubling positive range.
USINT
8-bit unsigned short integer with range 0 to 255.