From: Stephen W. P. <sp...@so...> - 2009-03-27 00:52:32
|
dave wrote: >[snip] > >I'm on 2.2.8 and I cannot find a hm2_5i20_pidtest.hal. But can find one >under m5i20 which is what I'm using. So I think I'm still stuck about >how to pet/feed the dog. > >Show all *dog* does reveal an m5i20.0.watchdog-reset which is set to >FALSE. I've been unable to set it TRUE so don't know what to do next. > > You aren't using hostmot2. There is no pidtest file for the hostmot2 driver, and unless you changed all the names in the m5i20_pidtest.hal file, it's still loading the m5i20 driver. Unfortunately, 2.2.x doesn't have any good hostmot2 samples to look at. You may want to download one of them from the CVS server to see how the watchdog has to be kept happy. You can download via the web at http://cvs.linuxcnc.org/cvs/emc2/configs/ - just go to the directory you want and there will be a "download this directory as a tarball" link at the bottom of the page. That said, it shouldn't be the hostmot driver changes that are making things hard for you, since you aren't using it ;) I think you said earlier that you get DAC output (in response to John K's suggestions). Did you mean that you can see physical output with a scope/meter, that you can see the dac-xx-value pins changing, or ??? >Just as an aside: >When I fire up axis and home and then try jogging the velocity shows >while I have the mouse down and then goes to zero when I let up. However >there is no attempt to drive the servo motor. > > If a bare HAL setup won't do it, then it's unlikely that the full EMC setup will either. (but you knew that) - Steve |