Homing switches dont react, CNC goes on.
- TheProcessTechnician
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
21 Oct 2024 12:58 #312745
by TheProcessTechnician
Homing switches dont react, CNC goes on. was created 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:
HAL file:
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:
HAL file:
Attachments:
Please Log in or Create an account to join the conversation.
21 Oct 2024 14:27 - 21 Oct 2024 14:30 #312752
by Aciera
'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?
Replied by Aciera on topic Homing switches dont react, CNC goes on.
Have you checked that the relevant pinseverything does as it should (input is normally 1, if it touches it opens ->0),
'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?
Last edit: 21 Oct 2024 14:30 by Aciera.
The following user(s) said Thank You: TheProcessTechnician
Please Log in or Create an account to join the conversation.
- TheProcessTechnician
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
21 Oct 2024 14:44 #312754
by TheProcessTechnician
Replied by TheProcessTechnician on topic Homing switches dont react, CNC goes on.
Value is set to FALSE even if I press the button.
Please Log in or Create an account to join the conversation.
21 Oct 2024 15:31 #312761
by Aciera
Replied by Aciera on topic Homing switches dont react, CNC goes on.
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).
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).
The following user(s) said Thank You: TheProcessTechnician
Please Log in or Create an account to join the conversation.
- TheProcessTechnician
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
21 Oct 2024 18:08 #312781
by TheProcessTechnician
Replied by TheProcessTechnician on topic Homing switches dont react, CNC goes on.
Arrrrgs, im an idiot. forgot to add read to the base thread...
addf hal_gpio.read base-thread
addf hal_gpio.read base-thread
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds