BOOL Boolean (bit)

Also called: bit, boolean, binary, digital, on/off

A single bit: 0 or 1, false or true.

What it does

The basic ladder type. A contact reads a BOOL, a coil writes one. The PLC's on/off inputs and outputs are BOOLs.

When to use it

Buttons, sensors, lamps, motors, internal bits (run memories, steps), status bits of an instance (T1.Q, C1.DN…).

Size1 bit
Possible values0 / 1
Starting valueFALSE / 0
Constants (examples)TRUE or FALSE / 1 or 0
Size1 bit
Possible values0 / 1
Starting valueFALSE
Constants (examples)TRUE or FALSE
Size1 bit
Possible values0 / 1
Starting value0
Constants (examples)1 or 0

Behaviour in detail

European (IEC) and American styles

Same type on both sides (BOOL). Only constants are written differently: TRUE / FALSE (European), 1 / 0 (American).