Homing switches dont react, CNC goes on.

More
2 years 1 week ago #312745 by TheProcessTechnician
Hi there
Could solve the GPIO Problem, but now i got another problem:
The homing switches don't react.
Tested the switches and pins, everything does as it should (input is normally 1, if it touches it opens ->0), but if the  machine touches the switches, it goes on with driving. what did I do wrong?
INI file:

Attachment not found


HAL file:

Attachment not found

Please Log in to join the conversation.

More
2 years 1 week ago #312752 by Aciera

everything does as it should (input is normally 1, if it touches it opens ->0),

Have you checked that the relevant pins
'joint.0.home-sw-in'
'joint.1.home-sw-in'
'joint.2.home-sw-in'

Change from 0 to 1 when the switch is activated?

Please Log in to join the conversation.

More
2 years 1 week ago #312754 by TheProcessTechnician
Value is set to FALSE even if I press the button.

Please Log in to join the conversation.

More
2 years 1 week ago #312761 by Aciera
Follow the trail and watch the hal input pins:

net min-home-x <= hal_gpio.PIN40-in
net min-home-y <= hal_gpio.PIN36-in
net min-home-z <= hal_gpio.PIN38-in

If these are also not changing state (as I would expect) then you have a problem with the hal_gpio driver (which I know nothing about).

Please Log in to join the conversation.

More
2 years 1 week ago #312781 by TheProcessTechnician
Arrrrgs, im an idiot. forgot to add read to the base thread...

addf hal_gpio.read base-thread

Please Log in to join the conversation.

Time to create page: 3.450 seconds
Powered by Kunena Forum