Design World

  • Home
  • Technologies
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
    • Fluid power
  • Learn
    • Ebooks / Tech Tips
    • Engineering Week
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • Leadership
    • 2022 Voting
    • 2021 Winners
  • Design Guide Library
  • Resources
    • Subscribe!
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Women in Engineering
  • Supplier Listings

FAQ: What is PLC ladder logic and what are some other programming options?

By Miles Budimir | July 19, 2016

Share

The most common way to program early PLCs was using so-called ladder logic programming. Basically, a ladder logic diagram was a graphical way of representing the functions in a typical PLC and the control actions it would have to take. For instance, lines on a ladder logic diagram could include opening or closing a switch, turning a motor on or off, or energizing a coil on a relay. These functions would be represented graphically as rungs on a ladder, hence the name “ladder logic.”

For many years this was the standard way of programming a PLC. Even today, ladder logic programming tends to be the most favored programming language in the U.S., perhaps due mainly to its simplicity and familiarity to many in the controls industry, especially electricians and technicians.

These days, there are other programming languages for PLCs that have been standardized in the IEC 61131-3 standard. (with the 3 referring to the third part of the standard published in 2013.) This standard defines two basic types of programming languages; graphical and textual.

800px-Ladder_diagram

A typical ladder logic diagram. (Diagram by Nuno Nogueira, Wikimedia Commons)

The standard defines 5 different languages:

  • Ladder diagram – the original PLC programming language, this gives a graphical representation of circuit elements such as switches and motors.
  • Function block diagram – a graphical programming language, functions are described as blocks with input and output connections.
  • Sequential function chart – also a graphical programming language, good for coordinating large tasks into smaller processes.
  • Structured text – a textual programming language, it is based on Pascal, a higher level language, and can communicate with other languages based on common structural elements.
  • Instruction list – a textual language, it is a low-level programming language that closely resembles assembly.

In large measure, the programming language used depends on the PLC manufacturer. The most common language continues to be ladder logic with sequential function charts also fairly popular. Also, keep in mind that not all PLCs may be capable of running the various IEC languages due to lack of memory or processor speed.

The natural tendency for many engineers is to stick with a programming language that they already know and are familiar with. However, this will depend, again, on which company’s PLC is being used and which programming language it uses.

 

Motion Control Tips


Filed Under: Motion Control Tips

 

Related Articles Read More >

New servo and motion bundles simplify machine integration
POSITAL extends product finder portal to include kit encoders
POSITAL extends product finder portal to include kit encoders
Kit encoders now included in product finder portal from POSITAL

DESIGN GUIDE LIBRARY

“motion

Enews Sign Up

Motion Control Classroom

Design World Digital Edition

cover

Browse the most current issue of Design World and back issues in an easy to use high quality format. Clip, share and download with the leading design engineering magazine today.

EDABoard the Forum for Electronics

Top global problem solving EE forum covering Microcontrollers, DSP, Networking, Analog and Digital Design, RF, Power Electronics, PCB Routing and much more

EDABoard: Forum for electronics

Sponsored Content

  • Industrial disc pack couplings
  • Pushing performance: Adding functionality to terminal blocks
  • Get to Know Würth Industrial Division
  • Renishaw next-generation FORTiS™ enclosed linear encoders offer enhanced metrology and reliability for machine tools
  • WAGO’s smartDESIGNER Online Provides Seamless Progression for Projects
  • Epoxy Certified for UL 1203 Standard

Design World Podcasts

July 26, 2022
Tech Tuesdays: Sorbothane marks 40 years of shock and vibration innovation
See More >
Engineering Exchange

The Engineering Exchange is a global educational networking community for engineers.

Connect, share, and learn today »

Design World
  • Advertising
  • About us
  • Contact
  • Manage your Design World Subscription
  • Subscribe
  • Design World Digital Network
  • Engineering White Papers
  • LEAP AWARDS

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Design World

  • Home
  • Technologies
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
    • Fluid power
  • Learn
    • Ebooks / Tech Tips
    • Engineering Week
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • Leadership
    • 2022 Voting
    • 2021 Winners
  • Design Guide Library
  • Resources
    • Subscribe!
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Women in Engineering
  • Supplier Listings