Chapter 14

Programs

Abstract

This chapter brings together the principles developed earlier in the book and shows how programs can be developed to tackle a range of applications.

Keywords

illustrative programs

This chapter extends the examples given in previous chapters to show programs developed to complete specific tasks. These include tasks that involve temperature control and a number involving pneumatic valves.

14.1 Temperature Control

Consider the task of using a PLC as an on/off controller for a heater in the control of temperature in some enclosure. The heater is to be switched on when the temperature falls below the required temperature and switched off when the temperature is at or above the required temperature. The basic algorithm ...

Get Programmable Logic Controllers, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.