PLCs in industrial automation