Normally open (NO) contacts or inputs in the PLC ladder logic program do not mean the same as a wired normally open switch. NO contacts on the ladder logic provide the logic condition for the rung to turn on the output.
We will be looking at three things about the normally open (NO) contact on our ladder logic program. The normally closed NC ladder logic contact will also be discussed at the end. Let’s get started. Keep on Reading!
All programmable logic controllers (PLC) have the same numbering system at their core. This is the same with all computers as well. The status of any memory location can be either on or off. A one (1) will represent an on or “True” status and zero (0) will represent an off or “False” status. This is called binary.
PLC inputs are one component of our PLC block diagram. The output actions of the PLC will be controlled based on the inputs. We will be looking at digital and analog inputs that can be wired to the programmable logic controller.
We will be looking at wiring of a normally open (NO) push button, normally closed (NC) push button, 3 wire PNP sensor, and an analog sensor to the PLC. These will all be sinking inputs. Let’s get started. Keep on Reading!
I have been writing PLC programs for over 20 years. I often get asked what is the best way to learn PLC programming. Programming in the way I was taught in college was with the Motorola 6809. (Yes, I know that I am dating myself) This was microprocessor programming, but it was the best way to sometimes explain the methods behind PLC programming. Manufacturers of PLCs had proprietary software that was not even related in their appearance and methods of programming. Today we have a few standards that have changed the look and feel of the programming software packages so each manufacturer is similar. The following is the best recommendation that I have for beginners to start to learn PLC programming today.
The first place to start in order to learn PLC programming is free publication by Kevin Collins. This PDF will teach you PLC programming without just telling you what a PLC is and how it functions. He also includes some test questions along the way in order for you to retain and understand the important points that he is making.
PLC Programming for Industrial Automation
by Kevin Collins (Note: This book is now for sale on Amazon.)
After learning the basics from the above manual, practice. Create programs yourself and test what you have learned. You can accomplish this by using simulators. A lot of the programming software will have simulators. The simulator will mimic the PLC hardware so you can test your programs before installing them in the field. Traditionally I have not been a fan of simulators, but recently Automation Direct has introduced a simulator with their Do-More PLC. It is the Do-More Designer Software. This software simulator includes the entire instruction set (Not Just a Bit Logic) as well as communication protocols. It can be downloaded and installed for free from the above link.
Advanced PLC Programming Instructions
The next step I recommend is then to advance into some of the advanced instructions. An understanding of the numbering systems in the PLC will be a benefit. Math, PID, register manipulation, and conversion instructions are just a few of the advanced programming you can learn. All of this and more instruction information can be obtained from reviewing the documentation from the PLC manual that you are programming. Once again all of these instructions are included in the Do-More Designer Software.
PLC Programming Structure
The program structure is the next topic. A lot of programmers would stop here and can do well with developing software, however, there is much more than you can lean. Sequencers give programmers the methods to change the logic on the fly and allow troubleshooting the system easier. This method of programming can benefit you greatly and reduce the development time of your logic.
PLC Programming – Information Sharing
The last step that I recommend learning is the sharing of information. I am meaning the information that you program through an HMI and/or SCADA package. This refers to the understanding of the ways in which information can be gathered from the PLC and displayed in different ways. Here are a couple of previous articles that have been written on this subject:
As you can see, there is a lot of information available to you to begin and learn PLC programming without spending a dime! Remember that PLCs are similar to computers, (Moore’s Law) they increase in size and ability. Systems are expanding and changing every day. Happy programming.
Do you know of additional tips or methods to share? PLC Beginner’s Guide – There are many different PLC manufacturers with different hardware and software. All of the programmable logic controllers have similar basic features. Here is how I would approach learning about basic PLCs.
If you have any questions or need further information please contact me.
If you’re like most of my readers, you’re committed to learning about technology. Numbering systems used in PLC’s are not difficult to learn and understand. We will walk through the numbering systems used in PLCs. This includes Bits, Decimal, Hexadecimal, ASCII and Floating Point.
To get this free article, subscribe to my free email newsletter.
Use the information to inform other people how numbering systems work. Sign up now.
The ‘Robust Data Logging for Free’ eBook is also available as a free download. The link is included when you subscribe to ACC Automation.