On Sat, 2009-12-12 at 10:12 -0500, Martin Pinkston wrote:
> Ok. guys (and gals, if there are any.)
> 
> I sort of like the idea of tearing into Hal to reconfig in order to get out
> what will work.
> I understand the principal of using the Hal scope to check signal traces,
> and Dale also said he has a scope I can use. So either way there would be
> o.k. with me.

Halscope and an oscilloscope are in one way very different. An
oscilloscope will show you a voltage relative to time, halscope will get
you under EMC2's kimono by showing logic states and virtual pin values
relative to time. Halscope can show you what EMC2 is trying to do, the
oscilloscope can show you the result.


> If you send me something to like a Hal file to look at, I will do so, just
> make sure you tell me what in the file you want me to pick up on....again,
> some things just take a little longer to sink in, soak through...make the
> neurons fire....what ever.

Okay, here is a first pass at massaging my confound, oops, config files
for your setup:
http://www.wallacecompany.com/machine_shop/Cardinal/ 

Basically, I pared down my Shizuoka files to just what you need for
three axes and changed to stepgen type 10. The lines with #, are
comments and are mostly ignored by EMC2. The ## are what I tend to to
use to disable lines that are configuration settings that will need
attention someday.

Make a directory like:
/home/Martins_home/emc2/configs/Cardinal

Then copy the files above to your new directory (right click on file,
then "save link as" into configs/Cardinal). When you start EMC2 the new
setup should show up in the Configuration Selector, under My
Configurations.

If you have some LED's and some resitors...

V=IR, 5 (supply) - 1.2 (LED drop) = .010 (current limit for LED) x R,
R=380 Ohms or close enough to a common value of 330 Ohms (red red
black?). 

Set your C10 to output with common terminals at ground. Connect an LED
to terminal 2 then to the resistor then the resistor to a common. The
LED should flash when you jog X. The rest of the pin assignments are in
the .hal file. Theoretically, you could wire the C10 to your drivers and
start moving axes, but of course, you should verify this setup should
work.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to