Chapter 14. 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 might be considered to be:
IF temperature below set value
What can be considered to be required to give the input to a PLC is a sensor-signal ...