Логические значения TRUE и FALSE
Что означают TRUE и FALSE в PLC-программах и как они связаны с реальными сигналами.
Read lessonBoolean logic
This track explains TRUE/FALSE conditions, why AND needs two active inputs, how OR differs from XOR, and how to move an expression into an FBD diagram.
TRUE and FALSE describe condition state: button pressed, sensor active, permissive available.
AND, OR, NOT, and XOR combine simple conditions into expressions.
In FBD each operation becomes a block and connections show signal flow.
A truth table checks every input combination before running the diagram.
Related lessons
Что означают TRUE и FALSE в PLC-программах и как они связаны с реальными сигналами.
Read lessonAND включает выход только при одновременном выполнении всех разрешающих условий.
Read lessonOR объединяет несколько команд или условий, когда достаточно хотя бы одного активного сигнала.
Read lessonNOT инвертирует сигнал и помогает описывать запреты, аварии и активные низкие сигналы.
Read lessonКак проверять поведение логических схем по всем сочетаниям входных сигналов.
Read lessonTransform NOT, AND, and OR expressions, verify equivalence with a truth table, and apply De Morgan's laws in FBD.
Read lessonLearn how XOR and AND add two one-bit binary numbers and produce the SUM and CARRY signals.
Read lessonPractice
Open an example, toggle inputs, and compare the output with the truth table.
A direct input-to-output connection shows the basic meaning of TRUE/FALSE.
Open exampleThe lamp turns on only when both buttons are active.
Open exampleOne active condition is enough to turn on the output.
Open examplePermissive A works only while blocking condition B is not active.
Open exampleThe output is TRUE when two inputs are in different states.
Open example