English
Deutsch
Português
Español
- PLC Programable Logic Control
- What is a PLC
- Analog and Digital
- PLC Programming Languages
- Basic Logic Functions
- Combinatorial Logic
- Wire Break Detection
- Algebraic Simplification of Logic Circuits
- Karnaugh map
- PLC Exercises I
- PLC-exercises II – boolean algebra
- PLC exercise – Tank level monitoring
- Work Order PLC Material detection
- How a PLC works
- PLC function Set and Reset
- PLC-Program for H-Bridge
- Sequence control
- Analog value processing
- Bus Network
- Number Systems
- Videos about PLC
- Index PLC
Circuit design using a simple example
You receive a plant description from your customer and must develop a PLC program for this purpose. Which work steps are necessary for this? This will be shown by means of a simple example.
Example: It should be possible to switch on a motor M1 from two control points with the latching switches S1 and S2. The motor should start when either only S1 or only S2 is switched on.
Step 1: Create a Truth table
![Truth table](https://sp-ao.shortpixel.ai/client/to_auto,q_glossy,ret_img,w_385,h_159/https://learnchannel-tv.com/wp-content/uploads/2020/04/Truth-table.png)
Truth table
Step 2: Create a Boolean equation from the Truth table
Only the cases in which the output has the logical state '1' are interesting here! The complete Boolean equation is:
![Boolean equation](https://sp-ao.shortpixel.ai/client/to_auto,q_glossy,ret_img,w_309,h_28/https://learnchannel-tv.com/wp-content/uploads/2020/04/Boolean-equation.png)
Boolean equation
Step 3: Translate the logic equation into a Logic circuit
![Logic circuit](https://sp-ao.shortpixel.ai/client/to_auto,q_glossy,ret_img,w_335,h_192/https://learnchannel-tv.com/wp-content/uploads/2020/04/Logic-circuit.png)
Logic circuit
Using a PLC you might program in LD (Ladder Diagram) or FUP (Function plan). Here the solution:
![Learning PLC - XOR in LD and FUP](https://sp-ao.shortpixel.ai/client/to_auto,q_glossy,ret_img,w_539,h_193/https://learnchannel-tv.com/wp-content/uploads/2020/04/Learning-PLC-XOR-in-LD-and-FUP.png)
Learning PLC - XOR in LD and FUP
Note: This logic, i.e. that the output only switches when only one input has High-signal at any one time, is frequently used in automation technology. Therefore, it has its own designation and symbol:
![XOR, Exclusive-Or](https://sp-ao.shortpixel.ai/client/to_auto,q_glossy,ret_img,w_234,h_70/https://learnchannel-tv.com/wp-content/uploads/2020/04/XOR-1.png)
XOR, Exclusive-Or