Your company account is blocked and you cannot place orders. If you have questions, please contact your company administrator.

Comprehensive Guide to PLCs: Understanding Programmable Logic Controllers

September 3, 2019 | POSTED IN: Industrial Control Products

Comprehensive Guide to PLCs: Understanding Programmable Logic Controllers

What Is a Programmable Controller (PLC)? 

Aprogrammable controller (PLC) has a microprocessor and controls devices through custom user programs. A PLC receives signals from input devices and makes decisions based on custom programs to control output devices.

 

 

Ladder logic is a graphical programming language and commonly used for PLC programming. Programming software, such as CX-Programmer, is used for programming on a PC.

Inside the programmable controller (PLC)

I/O devices are connected to the input and output sections of the PLC. The user program determines how output devices work based on the state of input devices. The user program and the state of I/O devices are stored in the internal memory of the PLC.

 

inside plcinside plc

Types of data used by a PLC

The types of data used by a PLC can be classified into three major groups.

 

  Input to PLC input Output from PLC output
ON/OFF state
(discrete I/O)
  • Pushbutton switches
  • Thumbwheel switches
  • Photoelectric sensors and proximity sensors
  • Input relays
  • Indicators
  • Seven-segment displays
  • Relays and contactors

 

Pulse train
(series of rapid ON/OFF)
  • Rotary encoders
  • Photomicrosensors
  • Servomotors
  • Pulse motors
Analog value
(current/voltage)
  • Displacement sensors
  • Thermocouples
  • Inverters

plc techinicalplc techinical

What are the 5 main components of a PLC?

As a micro-computer, a PLC can only fully operate when all its components are in place. For the PLC programming to operate effectively, a basic PLC system must have the following: 

  • Processor
  • Rack/Mounting
  • Input Assembly
  • Output Assembly
  • Power Supply
  • Programming Device/Unit

How does PLC programming work?

  • The PLC programming is the control logic or technique with which the PLC operates. For any machinery, their input devices accept signals that are sent to the PLC through the connector rails. These signals are then stored in locations known as bits in the PLC memory.
  • The PLC programming device is the one on which the program is written. The CPU then takes the instructions from the memory and processes, an operation that is used to control the output devices. 

What is PLC programming used for?

Referred to as special computers, PLCs operate with the aid of PLC programming and are often used to control sensors and monitors. Thanks is just one of their uses. Others include

  • They are used in industries that utilize control-systems since they can operate on their own once programmed
  • They are used to build systems in some industries
  • You can also find them being used in your washing machines and also for traffic lights

What are the 5 main PLC programming languages?

The PLC is a complex device that major industries depend on for the smooth running of their plants, factories, etc. This is because of its controlling capabilities which are very reliable and its easy-to-use hardware. 

That said, no PLC can function effectively without PLC programming. And no PLC programming can be effective without PLC programming languages. Let’s quickly take a look at the 4 main PLC programming languages in use today: 

  • Sequential Flow Chart: This type of programming involves the use of symbols to represent instructions. It has been referred to as the simplest form of programming which uses only logic decisions. When it comes to this type of PLC programming language, a number of symbols can mean various things like terminator, connector, input/output etc.
  • Ladder Logic: This is the most important part of PLC programming. Because of its importance, it includes several terminologies that need to be known in order to know how it operates. One of those terminologies is ‘Rung.’ It is the basic statement in this PLC programming language. Others include Y- Normal Output signals, M – Motor symbol, T – Timer, and C – Counter. This is the most commonly used language across all PLCs
  • Structured Text: In this PLC programming (also referred to as ST or STX), the set out instructions are in a statement list. This type of programming is only available on a few brands of PLCs. What’s more? This type of programming is the most flexible for any user. However, they are not as easy to follow as ladder diagrams or logic symbols. The latest programming style is called in-lone structure text which is a hybrid between ladder and structured text
  • Mnemonics (Instruction Lists): These are instructions written in symbolic form. It takes up less memory than the other PLC programming languages. They are also referred to as Opcode and they are used in handheld programming devices. Just like other programming languages, different symbols are used for Omron, Input = I, Output = Q, Internal relay = W, Timer = T, Counter = C.
  • Function Block: This programming language uses a graphical language for PLC. It is also very popular because it is an easy way to write programs like Ladder Diagram. They can be easily identified by boxes which consist of a number of lines of code

 

Have a question?


Types of PLC 


Explore more PLC products


Free Introduction guide to Programmable Logic Controller 

Loading...