[EMAIL PROTECTED] wrote:
> Sebastian,
>
> Here are the links for the hal file and ini file I am using. Any other config
> files are unmodified from the defaults (core_stepper.hal, emc.nml, etc.).
>
> HAL file:
> http://pastebin.com/mfb07fa0
If you're using the latest stepgen.c (top-of-tree TRUNK & 2.2 branch),
then you don't need the raw stuff starting on line 30.
Looks like you're using the same stepper timings as I do on the steppers
I test with - is that correct for your setup too?
Oops, and it looks like the u32 stepgen timing parameters are commented
out, and the old float ones are being used. I'm not sure how those
floats get read in, but they might all read as (u32)0, which could also
cause your steppers to not work.
I see you have the Axis 2 motor command hooked up to the LaserPower net
and from there to pwmgen.00.value. Since you're not setting
pwmgen.00.scale it'll default to 1.0. You should be seeing full PWM
(100% duty cycle) when Axis 2 amp enable is on and Axis 2 motor position
is +/- 1. Is that not happening?
One thing that would help debugging this is to set things up so you
think you *should* be seeing a strong pwm dutycycle, and then run (with
halcmd) "setp hm2_5i20.0.raw.dump-state 1" and "show all", and pastebin
the output of those two commands and also the dmesg after them.
> Is there a script for building the deb file or do you have a link on how to
> do
> it? I did a quick search on linuxcnc.org but did not see how to do that.
You need to have the kernel headers for your target system installed on
the development machine. Then run (from the CVS root) "cd debian;
./configure [kernel-version]; cd ..; debian/rules binary".
This would be much easier of your CNC machine was on the net, but I
understand sometimes that's a hassle to do....
--
Sebastian Kuzminsky
Theo: "Julian? I haven't seen you in twenty years. You look good.
The picture the police have of you doesn't do you justice."
Julian: "What do the police know about justice?"
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users