Ladder logic
4.1 (10 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
293 students enrolled

Ladder logic

Basics of PLC programming, Logic gates AND, OR, NOR, NOT, NAND, XOR.
New
4.1 (10 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
293 students enrolled
Created by Amjith S
Last updated 6/2020
English
English [Auto]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1 hour on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • ladder logic programming
  • The smart thing about ladder logic is that it looks very similar to electrical relay circuits.
  • Basics of PLC programming
  • Basics of logic gates like OR, AND, NOT, NOR, NAND, XOR.
Requirements
  • NO PRIOR EXPERIENCE IN ANYTHING
  • This course is mostly at a BEGINNER level in general
Description

Ladder logic is a programming language that is used to program a PLC (Programmable Logic Controller). It is a graphical PLC programming language which expresses logic operations with symbolic notation using ladder diagrams, much like the rails and rungs of a traditional relay logic circuit. It is used by engineers and electricians to execute logical, sequential, counting, timing and arithmetic tasks in order to carry industrial automation applications.

In the good old days, machine and process automation was accomplished using a hard wired control system known as relay logic. With the advent of microprocessors and the invention of the PLC, relay logic quickly became superseded by programming languages such as ladder logic.

Who this course is for:
  • Beginner in PLC programming
  • Beginner in INDUSTRIAL INSTRUMENTATION
  • Beginner in INDUSTRIAL AUTOMATION
  • Beginner in LOGIC CIRCUITS
Course content
Expand all 8 lectures 01:06:08
+ Introduction
1 lecture 03:46

Introduction to Ladder logic progamming

Basic concepts of PLC

Key features of PLC

Introduction to Ladder logic progamming
1 question
+ PLC ladder programming
1 lecture 06:37

Necessity is the mother of invention. Programming logic controller (PLC) invention is yet another example that supports this truth. A Programmable Logic Controller or PLC for short, is simply a special computer device used for industrial control systems. The etymology of this innovation of electronics research is very simple and interesting. In late 1960's, General Motors were in a find of an alternative mechanism for analog relays in control circuitry. Engineers developed a standard machine controller that is capable of performing the task of analogy relays. In simple terms, it can be termed as a significant evolution in the industrial automation revolution.

PLC ladder programming
06:37

Basic idea about PLC programming

PLC ladder programming
1 question
+ Rules of ladder logic programming
1 lecture 09:06

Rules of ladder logic programming

  • The vertical lines of the ladder diagram represent the power rails. The circuits are connected between these vertical lines.

  • The power flow is taken to be from the left hand vertical across a rung.

  • Each rung on the ladder defines one operation in the control process.

  • A ladder diagram is read from left to right and from top to bottom.

  • The top rung is read from left to right. Then the second rung down is read from left to right and so on.

  • When the PLC is in its run mode, it goes through the entire ladder program to the end.

  • The end rung is indicated by a block with the word END or RET for return.

  • Each rung must start with an input or inputs and must end with atleast one output.

  • A particular device can appear in more than one rung of a ladder. The same letters and/or numbers are used to label the device.

  • The inputs and outputs are all identified by their addresses, the notation used differs from PLC manufacturer to manufacturer.

  • Electrical devices are shown in their normal condition. Thus a switch which is normally open until some object closes, it is shown as open on the ladder diagram. A switch that is normally closed is shown closed.

  • The term input is used for a control action, such as closing the contacts of a switch ie an input to the PLC. The term output is used for a device connected to the output of a PLC.

  • The end rung of the program is being mentioned with clarity, the program promptly resumes at the start. This procedure of going through all the rungs of the program is termed as a "cycle".

Rules of ladder logic programming
09:06

Before ladder programming, all should follow Rules of ladder logic programming.

Rules of ladder logic programming
1 question
+ Types of switches
1 lecture 06:36

Normally open (NO) contacts allow current when the relay or contactor is energized. In other words, when voltage is applied to the relay/contactor terminals, this contact closes. Normally closed (NC) contacts allow current through when the relay or contactor is not energized.

Types of switches
06:36
+ AND gate
1 lecture 09:02

The AND gate is a basic digital logic gate that implements logical conjunction - it behaves according to the truth table to the right. A HIGH output (1) results only if all the inputs to the AND gate are HIGH (1). If none or not all inputs to the AND gate are HIGH, a LOW output results. The function can be extended to any number of inputs.

AND gate
09:02
+ OR gate
1 lecture 08:04

The OR gate is a digital logic gate that implements logical disjunction – it behaves according to the adjacent truth table. A HIGH output (1) results if one or both the inputs to the gate are HIGH (1). If neither input is high, a LOW output (0) results. In another sense, the function of OR effectively finds the maximum between two binary digits, just as the complementary AND function finds the minimum.

OR gate
08:04
+ NOT gate
1 lecture 06:05

Inverting NOT gates are single input devices which have an output level that is normally at logic level “1” and goes “LOW” to a logic level “0” when its single input is at logic level “1”, in other words it “inverts” (complements) its input signal. The output from a NOT gate only returns “HIGH” again when its input is at logic level “0” giving us the Boolean expression of: A = Q.

NOT gate
06:05
+ NAND, NOR, XOR gates
1 lecture 16:52

In digital electronics, a NAND gate (NOT-AND) is a logic gate which produces an output which is false only if all its inputs are true; thus its output is complement to that of an AND gate.

The NOR gate is a digital logic gate that implements logical NOR - it behaves according to the truth table to the right. A HIGH output (1) results if both the inputs to the gate are LOW (0); if one or both input is HIGH (1), a LOW output (0) results. NOR is the result of the negation of the OR operator.

An XOR gate circuit can be made from four NAND gates. In fact, both NAND and NOR gates are so-called "universal gates" and any logical function can be constructed from either NAND logic or NOR logic alone.

NAND, NOR, XOR gates
16:52

Check your knowledge about logic gates .

NAND, NOR, XOR
1 question