14 Programs
This chapter extends the examples given in previous chapters to show programs developed to complete specific tasks. These include tasks which 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 might be considered to be:
The sensor used for the temperature might be a thermocouple, a thermistor or an ...
Get Programmable Logic Controllers, 4th 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.