CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: parallel port not working with emc?

on 2005-11-16 08:27:52 UTC
pearcedang wrote:

>I was hoping for a .ini mod. I found this old post (message # 73009):
>
>
>>From: Peter Linss <plinss@...>
>>Date: Wed Jun 2, 2004 5:19 pm
>>Subject: Re: [CAD_CAM_EDM_DRO] Re: EMC Parallel port config, please help
>>
>>Someone recently submitted a patch to EMC that adds configuration of
>>the parallel port pins via the .ini file. Expect to see it soon.
>>
>>
>But I can't find any evidence of this in the EMC docs.
>
>For now, the hardware route will get me going. Digikey has a small
>non-solder breakout box that looks like a db-25 adapter with a coulpe
>of rows of holes in it (item no AE1040-ND) for about the price of a
>new cable. Thanks for the comments on which pins (18-25) to connect
>the enables to set them lo. I'll let you know how it works when it
>arrives.
>Dan
>
>
That may be because it's emc2 that has this feature. With emc2, you can
assign any function to any I/O, using a configuration file.

You can get emc(1) to swap the step and direction pin assignments by
recompiling. The only change you need to make to the source code is one
line (in emc/src/emcmot/emcmot.c):
change
#undef XYLOTEX
to
#define XYLOTEX

Not too hard :)

Changing the limits isn't too hard, but I don't have specifics on it at
the moment.
This kind of question may be better asked on the emc users list:
emc-users@...

- Steve

Discussion Thread

pearcedang 2005-11-10 11:18:57 UTC parallel port not working with emc? Irby Jones 2005-11-11 15:35:04 UTC Re: parallel port not working with emc? pearcedang 2005-11-15 06:11:17 UTC Re: parallel port not working with emc? Irby Jones 2005-11-15 13:35:51 UTC Re: parallel port not working with emc? mpictor 2005-11-15 16:46:45 UTC Re: parallel port not working with emc? pearcedang 2005-11-15 21:31:33 UTC Re: parallel port not working with emc? Stephen Wille Padnos 2005-11-16 08:27:52 UTC Re: [CAD_CAM_EDM_DRO] Re: parallel port not working with emc? yet_another_kent 2005-11-16 15:44:07 UTC Re: parallel port not working with emc?