Automating Manufacturing Systems with PLCs