MASTERING FACTORY AUTOMATION : A HANDBOOK TO PLCS AND CIRCUIT LOGIC