Home + Limit from just 1 input pin: HAL config explained

More
5 years 3 months ago #214592 by fernandosf
Actually, now I understand what you have done!
so simple, silly me.

I will give it some thoughts,
thanks for now.

Please Log in to join the conversation.

More
5 years 3 months ago #214594 by fernandosf
Well, reproducing your test, I got different results
For the sake of completeness, that is what I did:
1. Loaded LinuxCNC with sim.axis config (I am away from real machine and don't have a parport available)
2. Opened HAL Configuration and typed this:
Code:
loadrt lut5 setp lut5.0.function 0x10000 setp lut5.0.in-4 TRUE
And got this:
 

Attachment not found

Please Log in to join the conversation.

More
5 years 3 months ago #214605 by Aciera
Have you added lut5 to a thread?
Code:
addf lut5.0 servo-thread

Please Log in to join the conversation.

More
5 years 3 months ago #214618 by fernandosf
Of course not
Felling stupid.
Thanks!

Please Log in to join the conversation.

More
5 years 3 months ago #215064 by fernandosf
Hey Guys,
Just to close this topic, I was getting LUT5 function the wrong way, in fact, what happens is that the function 0x10000 means LUT5 will output true only when IN4=TRUE, IN3=IN2=IN1=IN0=FALSE

This means that Limit switches of the joints will only be TRUE when:
1. the serial circuit of switches is open (IN4=TRUE)
2. none of the joints are in a homing operation (IN3=IN2=IN1=IN0=FALSE)

Thank you all

Please Log in to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum