Motor protection relay with VFD support