Home Books & Publications Programmable Logic Controllers
Industrial Automation Book

Programmable Logic Controllers

First Edition 2026

By Dr Ahsan Rahman

The first edition of Dr Ahsan Rahman's comprehensive book on programmable logic controllers — published online as structured study notes, chapter by chapter. Each chapter pairs the theory with worked PLC programming examples drawn from real industrial automation problems, so students don't just learn the concept — they see it solved.

📘 15 Chapters 📚 4 Parts 80+ Worked Examples 📅 First Edition · 2026
First Edition · 2026
⚙️

Programmable Logic Controllers

Dr Ahsan Rahman, PhD

University of Prince Mugrin · 2026

1st

First Edition · Published 2026

The inaugural edition of Dr Rahman's PLC textbook

Fifteen chapters across four parts — written for undergraduate electrical and mechatronics engineering students at the University of Prince Mugrin, and published chapter-by-chapter online throughout 2026. A complete first edition; subsequent editions will refine and extend this foundation.

About this book · First Edition

Master PLCs from fundamentals to industrial applications

This first edition is a complete academic course on programmable logic controllers — from the very basics of how a PLC works, through ladder logic programming, timers and counters, advanced data manipulation, and on to real-world industrial applications including SCADA and ControlLogix systems. Each chapter is published online as a self-contained note set, including key concepts, ladder logic diagrams, common student mistakes, exam-style review questions, and a library of worked PLC programming examples with truth tables, ladder rungs, and run-time test cases. Written for undergraduate electrical and mechatronics engineering students.

How to study this book

A simple 3-step routine for every chapter

1

Read the theory

Work through the sections, diagrams, and tables. Take notes on key concepts.

2

Study the worked examples

Trace each example line by line. Verify the truth table or run-time output yourself.

3

Solve the review questions

Try every question on your own first, then check the model answer. Don't skip the tricky ones.

Table of Contents · First Edition · 4 Parts · 15 Chapters
I

Part I

Foundations of PLC Systems

Chapters 1–4
II

Part II

Ladder Logic Programming Essentials

Chapters 5–8
III

Part III

Advanced Instructions & Data Handling

Chapters 9–12
IV

Part IV

Industrial Implementation & Modern Systems

Chapters 13–15

New in this First Edition

Programming Examples Library

Beyond the chapter notes, this first edition includes a dedicated library of worked PLC programming examples grouped by topic. Each example follows the same template: problem description, list of inputs and outputs, ladder diagram, run-time test cases, and a short discussion of where the technique is used in industry. Use them after each chapter to put the theory into practice.

1

Set 1 · Digital Logic

Logic Gates & Code Conversions

Implement every basic logic gate in ladder form, then move on to Boolean function realisation and code-converter circuits.

  • AND, OR, NOT, NAND, NOR, XOR, XNOR gates
  • Boolean function realisation
  • Boolean don't-care conditions
  • Combinational logic circuit (Karnaugh-map design)
  • Binary ↔ BCD converter
  • BCD ↔ Excess-3 converter
  • Binary ↔ Gray code converter
12 Programs For Ch 3, 4 →
2

Set 2 · Building Blocks

Comparators, MUX, Encoders, Flip-Flops

The classic digital building blocks built from ladder logic — useful when designing custom control circuits before resorting to dedicated function blocks.

  • Magnitude comparator
  • 4 : 1 and 8 : 1 multiplexers
  • 1 : 8 demultiplexer
  • 3-to-8 decoder · 8-to-3 encoder
  • SR · D · T flip-flops
  • Seven-segment display driver
  • Parts stamping sequencer
12 Programs For Ch 4, 5 →
3

Set 3 · Building Automation

Latching, Interlocks & Home Systems

Latch / unlatch instructions and interlocking — the foundation of every safe machine control. Then practical home and building automation problems.

  • Latch / unlatch (basic, sealing, time-delayed)
  • Burglar alarm system
  • Car parking system (capacity counter)
  • Classroom occupancy controller
  • Automatic car wash sequence
  • Forward / reverse motor drive
  • Interlocked drive motors
10 Programs For Ch 5, 6 →
4

Set 4 · Time & Math

Timers, Counters, Math & Sequencing

All the timer and counter instructions in action, plus equation-based outputs, jump/subroutine control, and the classic traffic-light controller.

  • Sequential lights (timer-based and bit-shift)
  • Mathematical functions ladder
  • Outputs from custom equations
  • Jump-to-other-process
  • Pulse-width modulation
  • Subroutine call
  • Traffic / pedestrian light controller
10 Programs For Ch 7, 8, 9, 11 →
5

Set 5 · Process Industry

Tank Level & Process Control

The bread-and-butter of process plants — tank level control, heating, mixing, and reactor control, including a continuous stirred tank reactor (CSTR).

  • Single-tank level control
  • Two-tank level control
  • Series & parallel tank arrangements
  • Tank heating with PID
  • Tank mixing with agitator control
  • Heat tank with steam-flow control
  • Continuous stirred tank reactor (CSTR)
  • Oil-water separation process
10 Programs For Ch 10, 12, 14 →
6

Set 6 · Production Lines

Industrial Production & Conveyor Systems

Real production-line problems — bottle filling, conveyor counting and sorting, drilling stations, and inspection lines you would meet on a real factory floor.

  • Bottle filling, capping & rinsing
  • Conveyor part counting / packing / sorting
  • Drilling station automation
  • Spray-painting station
  • Defective-part detection
  • Robotic-arm screwing of parts
  • Heat / bend glass tubes
  • Process data logging
15+ Programs For Ch 13, 14, 15 →
📑

End Matter

Glossary & Index

A complete glossary of PLC and industrial automation terminology, plus a searchable index of every concept and worked example covered in this first edition.

📘

About the author

Dr Ahsan Rahman, PhD, P.E.

Associate Professor and Head of the Electrical Engineering Department at the University of Prince Mugrin (UPM). PhD in Control, Mechatronics, AI, and System Design from Jeju National University, Korea, with PLCs as a core specialisation. Over two decades of international academic experience, with PLCs taught as a core undergraduate course and dedicated workshops on Ladder Programming and PLC Programming delivered to engineers in industry. Fluent in all four IEC 61131-3 PLC programming languages — Ladder Diagram, Structured Text, Instruction List, and STEP7 — with supervised industrial automation projects including a Mitsubishi PLC-based robotic arm and a PLC-based frequency counter. Co-inventor of two patents in printed electronics, with $500K+ in research funding from SABIC, KACST, LG Chem, and KIMM, and over 20 publications in IEEE and Current Applied Physics. HEC-approved PhD supervisor.

Edition: First Edition · 2026 Author: Dr Ahsan Rahman, PhD, P.E. Affiliation: University of Prince Mugrin Position: Head, Electrical Engineering PhD: Jeju National University, Korea Specialisation: Control · Mechatronics · PLC · AI Format: Online · Chapter-by-Chapter

Need help with PLC coursework, projects, or industrial automation?

Get one-on-one guidance from Dr Ahsan Rahman — Head of Electrical Engineering, with two decades of teaching and supervising PLC-based mechatronics and industrial automation projects.

Request Consultation →