It's modbus, sorry forgot to mention that. What baffles me is the Spindle buttons on the panel, AFAIK, just map to the same spindle-run in the HAL that M3 goes to. I remember looking at the HAL monitor on this weeks ago and IIRC it was "spindle run true, but spindle-isrunning false". The spindle isn't moving at all. I'll recheck the HAL and take proper notes.
And like I say, the VFD won't run again even if you reboot LinuxCNC. It will run if I cycle power on the VFD. So, it's like it sent a toxic command to the VFD that changed a reg to something unusable. I did make that x200_vfd.c from the WJ200_vfd.c VFD code, but it wasn't a major change, and it's simple, there's a run command, cw/ccw command (I made it so CCW just turns into CW), rpm command, and reads is-running-at-speed and an error bit. It don't see where it could deliver something to de-configure the VFD, nor why the Spindle panel buttons would do something different through the HAL than you'd get by MDI M3. Danny ---- andy pugh <bodge...@gmail.com> wrote: > On 16 June 2016 at 07:57, Danny Miller <dan...@austin.rr.com> wrote: > My MPG's "spindle" button works. > > On the default panel, ... Clicking any of that doesn't make the spindle go, > > It's not JUST that. Once you click on any of that, the VFD *will never > run again* until power is cycled. How fascinating.. Can we see your HAL files? Is the spindle controlled by Modbus or DC voltage? What hardware? -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users