PLC Programming Basics
PLC Programming Basics
This is how the ladder diagram looks for a simple start/stop function. The
function can be used to start and stop anything like a motor start/stop.
In this ladder logic example, there are two inputs.
This example is from the PLC, Scada, DCS blog. The blog has a lot of very
useful information about PLC programming and especially ladder logic.
Take a look at the blog and see the many ladder logic examples.
But there is a faster way to make the same toggle function with a single
push button:
The example is from Mayur Haldankars blog about PLC programming and
DSP (digital signal processing). He even has examples of DSP programs
written in C++.
In his example, he uses 3 (4) rungs only to make the toggle function of a
push button (simple version):
Input
Enable Output (EN)
Done Output (DN)
Preset Time Value
The enable output (EN) is the first output and it is on when the timer
is energized. So, as long as the input is true or on, the enable output
will be true.
Second output is the done output (DN). This output in an on delay
timer is only on, when the timer has counted down the preset time.
Look at this great video for more info about the on delay timer. The
software used is the free RSLogic Micro Starter Lite from Allen
Bradley.