Skip to main content

PLC

What is a Programmable Logic Controller, or PLC?
If you’ve used a computer, and you’ve used an Arduino, Raspberry Pi, or any number of other microcontrollers, you might think that a computer based on the physical world is a relatively new concept. A digital input causes some sort of conditional logic to make something blink, your robot to move, a signal to be transmitted, or any number of other things.
This type of logic has, in fact, been going on for quite some time in industry. In 1968, a man named Richard E. Morley proposed the Modular Digital Controller (MODICON) to a car manufacturer. This MODICON, or programmable logic controller (PLC), was used to replace complicated relays with virtual programmable relays, making machinery changes in industry much, much faster.
This later became the commercial MODICON 084, which led to many more manufacturers making their own version. Here’s an article on the history of the PLC if you’d like more background.
How do You Program One?
Computers and microcontrollers that you may be familiar with use a typed programming language to let them perform their tasks. You might assume, as I did when I first learned to program in this fashion, that a PLC uses something similar, like C, BASIC, or Python. It doesn’t (at least not in its most basic form); instead, it uses something called “ladder logic.”
This ladder logic looks exactly like it sounds, with a ladder-like screen with characters like “X1” with a normally open contact connected to an output labeled as, say “Y0” at the end of it. These ladder “rungs” are suspended between two rails which represent electrical power. Thus an electrician with a background in setting up relay logic circuits could, in theory, read this code without additional training.

Comments

Popular posts from this blog

Nano Technology In Electronics

Full Wave Bridge Rectifier With Capacitor Filter

 Full Wave Bridge Rectifier With Capacitor Filter The voltage obtained across the load resistor of the full-wave bridge rectifier described above has a large amount of ripple. A capacitor filter may be added to smooth-en the ripple in the output, as shown below. Figure 21: Full wave Bridge rectifier with capacitor filter The rectifier circuits discussed above can be used to charge batteries and to convert AC voltages into constant DC voltages. Full-wave and bridge rectifier are more commonly used than half-wave rectifier.

MATLAB

Introduction to MATLAB Goal The goal of this tutorial is to give a brief introduction to the mathematical software MATLAB. After completing the worksheet you should know how to start MATLAB, how to use the elementary functions in MATLAB and how to use MATLAB to plot functions. What is MATLAB? MATLAB is widely used in all areas of applied mathematics, in education and research at universities, and in the industry. MATLAB stands for MATrix LABoratory and the software is built up around vectors and matrices. This makes the software particularly useful for linear algebra but MATLAB is also a great tool for solving algebraic and differential equations and for numerical integration. MATLAB has powerful graphic tools and can produce nice pictures in both 2D and 3D. It is also a programming language, and is one of the easiest programming languages for writing mathematical programs. MATLAB also has some tool boxes useful for signal processing, image processing, optimization, etc. How ...