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

More
13 Jul 2021 14:49 #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 or Create an account to join the conversation.

More
13 Jul 2021 15:10 #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:
loadrt lut5
setp lut5.0.function 0x10000
setp lut5.0.in-4 TRUE
And got this:
 
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Jul 2021 16:14 #214605 by Aciera
Have you added lut5 to a thread?
addf lut5.0 servo-thread

Please Log in or Create an account to join the conversation.

More
13 Jul 2021 16:53 #214618 by fernandosf
Of course not
Felling stupid.
Thanks!

Please Log in or Create an account to join the conversation.

More
16 Jul 2021 15:28 #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
The following user(s) said Thank You: BigJohnT

Please Log in or Create an account to join the conversation.

Time to create page: 0.171 seconds
Powered by Kunena Forum