#emc-devel | Logs for 2009-10-13

[13:29:36] <RobJansen> I'm trying to get my brand new servo system running (m5i20 + 7i40) but got lost in all the configs. Is there a good place to look for info?
[13:30:36] <RobJansen> The integrators manual tells me that I should be using hostmot2 since hal_m5i20 is deprecated - but all I can find is on the old version (and that one will not run???)
[13:33:03] <SWPadnos> the old version of what?
[13:34:07] <RobJansen> the old version being hal_m5i20
[13:34:47] <SWPadnos> err - I guess I'm wondering what you mean by "all I can find is the old version"
[13:35:02] <SWPadnos> what version of EMC2 are you using (or looking at)?
[13:36:10] <RobJansen> something I got out of Git a month or so ago - can't really see the version, all versions I got from Git report 2.4.0~pre
[13:36:17] <SWPadnos> ok
[13:36:42] <SWPadnos> then you should have hm2_servo and hm2_stepper sample configs (or similarly spelled)
[13:37:01] <SWPadnos> and the driver is hostmot2, but it may be under mesa_hostmot2 or something like that
[13:40:10] <RobJansen> I know hostmot2 - that's what I am using for the stepper config - can't remember where I got it from. I can't find anything with hm2 in the name in /etc/emc2/sample-configs
[13:40:57] <SWPadnos> did you install your compiled version, or do you run-in-place?
[13:41:05] <RobJansen> user error: hit any user to continue. I should be looking in emc2-trunk/configs ...
[13:41:13] <SWPadnos> heh
[13:41:18] <RobJansen> run-in-place
[13:41:33] <cradek> when you start emc you'll get the config chooser. There are hm2-servo and hm2-stepper branches and you can pick the right one from inside there
[13:41:49] <RobJansen> and there is my hm2-servo to start with
[13:41:58] <SWPadnos> enjoy! :)
[13:42:11] <cradek> (if you were running installed, it would offer to copy one into your home directory to customize)
[13:42:35] <RobJansen> Thanks - I am now looking at a config that looks like what I used for hostmot2 stepper config
[13:43:28] <cradek> are you doing a lathe directly run from the 7i40?
[13:43:49] <RobJansen> It's a mill. 4 axis version
[13:43:59] <cradek> ah, two of them then? neat
[13:44:42] <RobJansen> Yep - I ordered (and got) 4! I have two 5i20 systems - only 1 up&running right now
[13:49:29] <RobJansen> Hm, emc terminates, in emc_debug.txt there is an error "Can not find -sec EMC -var NML_FILE -num 1"
[13:51:29] <cradek> RobJansen: the version you're trying to run does not match your config. if you're running git master, maybe you should start with a new config
[13:51:48] <cradek> how (whether) the nml file is specified has changed - I think lots of other things have too
[13:52:21] <cradek> the mesa configs in git master are kept carefully updated
[13:52:53] <SWPadnos> . scripts/emc-environment
[13:52:58] <SWPadnos> you know, just a reminder :)
[13:55:42] <RobJansen> I'm gonna do a git pull (I fell lucky ;-) )
[14:01:34] <RobJansen> Nice: "failed to find a valid git directory". Guess what: when things changed from cvs to git I decided to leave the old cvs stuff in one directory and install git in another one. I now copied the proper configs from the git one and now everything works (ehm.. I mean it loads and I can now go and try to connect my servos)
[15:25:23] <RobJansen> The electronics are still dangling at the back of my PC but its working!