Overview of bit data types

Bit data types store bit strings of different length.

Keyword

Description

Length

Default initial value

BOOL

Boolean

1 bit

0, FALSE

BYTE

Bit string

8 bit

0

WORD

Bit string

16 bit

0

DWORD

Bit string

32 bit

0

notice

The initial values of bit data types must be entered as positive integers.