Automating Manufacturing Systems with Plcs