PLC and ladder logic are the workhorses of factory automation. Earlier, automated systems used hundreds or thousands of electromechanical relays; which used to consume lot of time in wiring. A single PLC can be programmed as an efficient replacement. This paper speaks of programming the PLC and designing HMI screens used in the design and development of an induction hardening machine. Induction hardening is a form of heat treatment in which a metal part is heated by induction heating and then quenched.