Well I spent several hours on this now. I do see the format is wrong, I changed to:
loadusr -W wj200_vfd baud=19200 But I've got it on a scope and it's still 9600 baud. And if I change it to "baud=hahahhaha", there's no error for it being a non-number either. Could the wj200_vfd code have a bug in accepting arguments? Danny ---- dan...@austin.rr.com wrote: > OK, I am unclear on how baud rate gets set. I see the .c code has "void > userinit()", but I don't know how that gets called. > > I had tried "loadusr -W wj200_vfd baud 19200" (kind of random stab) and > thought I was setting the baud, but I changed "baud" to gibberish here > ("bxyzz") and no error is generated. > > So, chances are I'm not setting the baud rate- how do I do that? > > > Danny > > ---- dan...@austin.rr.com wrote: > > Not a stupid question at all- I literally didn't do more than I said. > > > > I will try this ASAP. > > > > Do you know how to handle a "watchdog" that continuously checks whether the > > VFD is running? > > > > Danny > > > > ---- Philipp Burch <p...@hb9etc.ch> wrote: > > > Hi Danny! > > > > > > On 29.02.2016 08:15, Danny Miller wrote: > > > > [...] > > > > > > > > loadusr -W wj200_vfd baud 19200 > > > > #default slave address is 1 > > > > setp wj200-vfd.0.mbslaveaddr 1 > > > > setp wj200-vfd.0.commanded-frequency 60 > > > > # connect to wj200-vfd pins > > > > net spindle-on wj200-vfd.0.run > > > > net spindle-cw wj200-vfd.0.reverse > > > > net spindle-at-speed wj200-vfd.0.is-at-speed > > > > > > > > > > Maybe it's a stupid question, but: Have you also connected the nets > > > spindle-on, spindle-cw and spindle-at-speed to the motion component? > > > > > > I.e. something like > > > > > > net spindle-on motion.spindle-on > > > net spindle-cw motion.spindle-forward > > > net spindle-at-speed motion.spindle-at-speed > > > > > > See: http://linuxcnc.org/docs/2.7/html/man/man9/motion.9.html > > > > > > Then, wj200-vfd.0.commanded-frequency is actually a pin, which you > > > can/should set dynamically as well: > > > > > > net spindle-rps motion.spindle-speed-out-rps-abs > > > net spindle-rps wj200-vfd.0.commanded-frequency > > > > > > Good luck! > > > > > > Bye, > > > Philipp > > > > > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users