Re: Newby question about Home switches pin assignment




Hi Hugues

Yes, But....

 These changes will require some hacking to one of the ext***mot.c sources 
depending on which motion controller you are using. The limit switches are 
all read in by :-
steppermod and freqmod use extsmmot.c
smdromot uses extsmdromot.c
stgmot uses extstgmot.c
All of these can be found in src/emcmot.

The step/direction pins are a little more involved, as these are hard coded 
in emcmot.c and emcstepmot.c. Search for smController() and freqfunc() to see 
how it is done.

Regards, Paul.


On Friday 25 January 2002 3:29 pm, Hugues Belanger wrote:
> Can anybody tell me if the home switch pin assignment can be modified
> emc.ini to match with my homemade controller.
>
> pin 10 --> Limit switches
> pin 11 --> X home
> pin 12 --> Y home
> pin 13 --> Z home
>
> Thanks in advance
> Hugues



Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact