It gives a great pleasure to present this book on “Introduction to Practical PLC Programming”. This book has been written for the first course in “PLC Programming” especially for beginner learner of automation technology. This book covers introduction of programmable logic controllers with basic to advance ladder programming techniques. The main objective of this book is to bridge the gap between theory and practical implementation of PLC information and knowledge.
In this book, you will get an overview of practical PLC programming for beginner to intermediate level user chapter 1 is introduction to history and types of PLCs. Chapter 2 introduce how relay logic can be converted into PLC logic. Chapter 3 introducing plc ladder programming logic, jump, call and subroutines. Chapter 4 giving insight for Latching, Timer, Counter, Sequencer, Shift Registers and Sequencing Application. Chapter 5 explains data handling and advance logic programming techniques commonly use in practical plc programming. Chapter 6 introducing analog programming and chapter 7 gives introduction of different languages used for plc programming. This books contains ladder diagrams, tables, and examples to help and explain the topics.
Table of Contents
1. Introduction PLC And Automation
1.1 Introduction
1.2 What Is PLC
1.3 History of Programmable Logic Controllers (PLCs):
1.4 Types of PLC
1.5 Functional Description
2. Relay Logic to PLC Inputs/Outputs
2.1 Concept Of Relay Functioning
2.2 Relay Logic
2.3 Plc Inputs And Outputs
2.4 Plc Data Types
2.5 Memory Types
2.6 Address The Input And Output
2.7 Sinking And Sourcing
3. PLC Ladder Logic Programming
3.1 Introduction
3.2 Ladder Programming
3.3 Logic Functions
3.4 Multiple Outputs
3.5 Entering Programs
3.6 Function Block Diagram (FBD)
3.7 Jump And Call
3.8 Jumps Within Jumps
3.9 Subroutines
4. Event Based Logic Programming
4.1 Introduction
4.2 Latching
4.3 Timer
4.4 Counter
4.5 Sequencer
4.6 Shift Registers
4.7 A Sequencing Application
4.8 Keeping Track Of Items
5. Data Handling and Advance Logic
5.1 Introduction
5.2 Data Handling
5.3 Logical Functions
6. Analog Programming
6.1 Introduction
6.2 Analog (A/D) Input
6.3 Analog (D/A) Output
6.4 Analog Data Handling
6.5 Analog I/O Potential Problems
7. Different PLC Programming Languages
7.1 Introduction
7.2 Instruction List Programming
7.3structured Text Programming
7.4 Ladder Diagram (LD)
7.5 Function Block Programming
7.6 Sequential Function Charts
Objectives & Topics
The primary objective of this book is to bridge the gap between theoretical knowledge and the practical implementation of Programmable Logic Controllers (PLCs), providing foundational training for beginners in automation technology.
- Fundamentals of Programmable Logic Controllers and industrial automation.
- Conversion of traditional relay logic to PLC-based control systems.
- Techniques for ladder logic, function block, and event-based programming.
- Practical data handling, analog signal processing, and troubleshooting.
- Overview of standardized PLC programming languages as per IEC 1131-3.
Excerpt from the Book
1.1 INTRODUCTION
A Programmable Logic Controller (PLC) is a specialized industrial computer control system used to replace banks of electromagnetic relays in industrial process control via continuously monitoring the state of input devices and makes decisions based upon custom program to control the state of output devices. The PLC is also known as a programmable controller (PC). The tile "PC" for programmable controller could be confused in common usage with "PC" used to mean personal computer. To avoid this confusion, it is generally referred as programmable controller or programmable logic controller or PLC.
The programmable logic controller is like a heavy-duty computer system designed for machine control. Like a general-purpose computer, the PLC is based on digital logic and can be field-programmed. The programming language is a bit different because the purpose of the PLC is to control machines. The PLC is used to time and sequence functions that might be required in assembly lines, robots, and chemical processing. It is designed to deal with the harsh conditions of the industrial environment. Some of the physical environment problems could include vibration and shock, dirt and vapors, and temperature extremes. The PLC commonly has to interface with a wide variety of both input and output devices. Some input devices include limit and pressure switches, temperature and optical sensors, and analog- to digital converters (ADCs). Some output devices valves, motors and cylinders, and Digital-to Analog converts (DAC).
Chapter Summary
Introduction PLC And Automation: Provides an overview of PLC architecture, history, and its role in industrial automation.
Relay Logic to PLC Inputs/Outputs: Explains the functioning of relays, their conversion to PLC logic, and the technical aspects of sinking and sourcing.
PLC Ladder Logic Programming: Details the fundamental graphical programming method, including logic functions like AND, OR, and NOT, along with subroutines.
Event Based Logic Programming: Focuses on temporal control and event handling using latching circuits, timers, and counters.
Data Handling and Advance Logic: Covers advanced operations including mathematical functions, data movement, and block operations for complex logic.
Analog Programming: Explores A/D and D/A conversion, resolution specifications, and strategies to resolve analog signal noise or offset errors.
Different PLC Programming Languages: Compares various programming formats including Instruction List, Structured Text, and Sequential Function Charts according to international standards.
Keywords
PLC, Programmable Logic Controller, Automation, Ladder Logic, Relay Logic, Digital Input, Analog Output, Timer, Counter, Shift Register, IEC 1131-3, Industrial Control, Sinking, Sourcing, Troubleshooting.
Frequently Asked Questions
What is the core purpose of this book?
The book serves as a beginner-level guide to PLC programming, designed to bridge the gap between theory and practical industrial application.
Which central automation themes are explored?
The text covers core themes such as PLC architecture, relay-to-logic conversion, ladder programming, event-based control, data handling, and analog processing.
What is the main goal of the research/text?
The primary goal is to empower beginners in automation technology to design, implement, and troubleshoot PLC-based control sequences effectively.
Which programming methodologies are emphasized?
The book emphasizes Ladder Diagram (LD) programming as the primary method, while also introducing Function Block Diagrams (FBD), Instruction List (IL), Structured Text (ST), and Sequential Function Charts (SFC).
What does the main body cover?
The main body covers a progressive journey from relay logic basics to advanced topics like file algebra, statistical data handling, and sophisticated sequence control.
How are the key technical terms defined?
Key terms are characterized by their industrial usage, such as "Sinking" (NPN) and "Sourcing" (PNP) for DC modules, and "Scan time" for processor performance.
How does the book address the shift from relay to PLC logic?
It explains the historical context and provides direct examples of how traditional electromagnetic relay schematics are converted into ladder logic diagrams.
Does the book provide real-world examples for complex tasks?
Yes, it includes case studies and practical scenarios, such as control for heating ovens, pump applications, and conveyor belt tracking using counters and shift registers.
- Quote paper
- Dr. Dilip Patel (Author), 2017, Introduction Practical PLC (Programmable Logic Controller) Programming, Munich, GRIN Verlag, https://www.grin.com/document/413360