Introduction
Data types in bit string format belong to the EDT (Elementary data type) family, which includes single rather than derived data types (tables, structure, function blocks).
Reminder Concerning Bit String Format
The particularity of this format is that all of its component bits do not represent a numerical value, but a combination of separate bits.
The data belonging to types of this format can be represented in three bases. These are:
hexadecimal (16#)
octal (8#)
binary (2#)
Data Types in Bit String Format
Three data types:
Type |
Scale (bits) |
Default value |
---|---|---|
BYTE |
8 |
0 |
WORD |
16 |
0 |
DWORD |
32 |
0 |