PLC ladder logic to control variable frequency drive (VFD) for motor speed control with speed selection from Field Local Panel or SCADA graphics.