Sounds like you've got it sorted now. I struggled with and lived with what seemed like continuous com errors for years with Mb2hal and the Lenze VFDs I have. I could not figure it out. It turned out the problem was LinuxCNC always tryed to write an S0 speed to the VFD when it was commanded to be stopped, but the VFD would not accept zero as a valid speed command and treated it as a com error. Once I figured that out, I just had to set up some Hal trickery to block zero from being written and all of the com errors disappeared.
Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -----Original Message----- From: Gene Heskett <ghesk...@shentel.net> Sent: Tuesday, December 29, 2020 7:05 AM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] A clarifying post that might help another victum of poor Chinese docs. [EXTERNAL EMAIL] Be sure links are safe. On Monday 28 December 2020 17:27:25 Gene Heskett wrote: > On Monday 28 December 2020 17:13:52 andy pugh wrote: > > On Mon, 28 Dec 2020 at 21:56, Gene Heskett <ghesk...@shentel.net> > > wrote: > > > And that get results, but bad, comm timeouts (error 12) once a > > > second forever. Closer, but no biscuit yet. > > > > You might be able to ignore them. If it works otherwise. > > > > > Am I fighting with bad signal polarity since the red wire has an > > > rs- tag, while the black wire is wearing an rs+ tag? > > > > That confused me, but I seem to recall it works better that way. You > > could switch them. [...] I finally got it. the baudrate and parity were both wrong. So that's working well enough to read the vfd's status bits with an hy_comm-ok=true. Now, to transfer controls to hy_vfd. And that is a mine field with this man page. I gives a list of pins, but its a WAG what each does. Fur instance, what the heck is bracking? If its misspelled braking for dc braking there would be 3 values, 0 for coasting tops, 1 for resistor stops (which I've not yet hooked up), and 2 for dc stops. And this is confuzin <name>.spindle-forward (bit, in) <name>.spindle-reverse (bin, in) <name>.spindle-on (bin, in) What the heck is a (bin, in) ?? And that isn't the end, that man page needs help. I don't like netting $tuff ju$t to $ee where the expen$ive $moke comes out. So first is adding a 10 second timer to run the hy_vfd.enable line 10 seconds after powerup. No use trying to talk to it until its booted which seems to take about 8 seconds. Thanks Andy. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users