Application of PLCs