A programmable logic controller (PLC) is an electronic device for controlling industrial processes. It controls actuators using a computer program that processes input data collected by sensors. The PLC is structured around a computing unit (processor), input-output cards, communication buses, and interface and control modules. The aim of this book is to gather the essential knowledge on this subject to quickly acquire mastery of these devices. Highly illustrated (more than 400 diagrams), it presents of course the principles of operation and implementation, but also more than 250 self-assessment tests of knowledge (MCQ) with their answers. This second edition has been completed and updated, including a completely rewritten first chapter and updates on sensors (chapter 2), on sequential diagrams (chapter 6), on sequencers (chapter 10) and new case studies (chapter 14).