1.2. Programming¶
1.2.1. Programming principles¶
1.2.1.1. Boolean algebra¶
Any CPU or microcontroller basically understand only logic operations. Main logic operations are AND, OR, and NOT. The following table resume the operations of these operators.
Truth table and logic gates
In PLC ladder language is based on logic operations. More on this argument later.