[EMAIL PROTECTED] wrote:
> I'm getting an axis error on axes 0 1 3 it says joint (0,1,3) on limit
> switch error but i don't have any limit switches and axis 3 isn't even
> plugged in. how do I clear this so i can turn the machine on?
You probably need to invert the sense of the limit switches, or 
even remove the HAL code that passes these bits in to EMC in the 
case that you never intend to have such switches.

Since you haven't told us what configuration you are using, I 
have to take some wild guesses.  the stepper config files don't 
have limit switches in them, so you must not be using them.
In the hal file(s) that is used for your configuration, there 
must be some input pin that is being connected to emc's inputs 
such as "axis.0.neg-lim-sw-in", which is what emc sees as the 
limit switch condition.

With my controllers, for instance, there are 3-line stanzas for 
each limit switch, such as :
newsig Xminlim bit
linksp Xminlim <= ppmc.0.din.01.in
linksp Xminlim => axis.0.neg-lim-sw-in

If the switch was getting the wrong on/off sense, you would 
change the middle line to :
linksp Xminlim <= ppmc.0.din.01.in-not

The driver for this device produces two complementary outputs, 
and you can choose which polarity you need in each case.  You 
should have a similar mechanism in your system.  You can use the 
halshow program, usually available from the "machine" menu in 
the GUI you are using, to show all available HAL signals and pins.


Jon

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to