This is an example of how a plc is programmed