PLCs and drives: communication and control