- Posts: 8
- Thank you received: 0
Homing switches dont react, CNC goes on.
- TheProcessTechnician
- Topic Author
- Offline
- New Member
-
Less
More
2 years 1 week ago #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:
Attachment not found
HAL file:
Attachment not found
Please Log in to join the conversation.
2 years 1 week ago #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?
Please Log in to join the conversation.
- TheProcessTechnician
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
2 years 1 week ago #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 to join the conversation.
2 years 1 week ago #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).
Please Log in to join the conversation.
- TheProcessTechnician
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
2 years 1 week ago #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 to join the conversation.
Time to create page: 3.450 seconds
