My best guess is RF or Electrical noise from the VFD getting into your Z controller. Strange it should start just now. Check all your grounds and grounding, and loose connections in the VFD box and controller enclosure. You might have moved or rerouted some wires around and that made it happen. I am thinking your running Mach3?