PLC based boiler control system