Sharp 90* turn in gcode becomes a large sweeping turn
- PCW
- Offline
- Moderator
Less
More
- Posts: 17935
- Thank you received: 4809
11 Mar 2020 02:32 #159740
by PCW
If you loadrt debounce cfg=2
you get a 2 channel instance of debounce.0
which may be OK if both channels can use the
same delay, for example:
loadrt debounce cfg=2 #I think I only need two
setp debounce.0.delay 100
addf debounce.0 base-thread
net deb-probe-in debounce.0.0.in <= parport.0.pin-12-in-not
net deb-estop-ext debounce.0.1.in <= parport.0.pin-10-in
net probe-in debounce.0.0.out
net estop-ext debounce.0.1.out
Replied by PCW on topic Sharp 90* turn in gcode becomes a large sweeping turn
Thank you for the troubleshooting help.
Can you please advise me about debouncing pin 10?
I think I need to replace this wscnc.hal code
with... net estop-ext <= parport.0.pin-10-in ... #limits debounce to stop false triggers loadrt debounce cfg=2 #change to the number you want setp debounce.0.delay 100 #this sets the delay 100 iterations of the base thread addf debounce.0 base-thread net deb-probe-in debounce.0.0.in <= parport.0.pin-12-in-not net probe-in debounce.0.0.out... loadrt debounce cfg=2 #I think I only need two setp debounce.0.delay 100 setp debounce.1.delay 100 addf debounce.0 base-thread addf debounce.1 base-thread net deb-probe-in debounce.0.0.in <= parport.0.pin-12-in-not net deb-estop-ext debounce.1.0.in <= parport.0.pin-10-in net probe-in debounce.0.0.out net estop-ext debounce.1.0.out
If you loadrt debounce cfg=2
you get a 2 channel instance of debounce.0
which may be OK if both channels can use the
same delay, for example:
loadrt debounce cfg=2 #I think I only need two
setp debounce.0.delay 100
addf debounce.0 base-thread
net deb-probe-in debounce.0.0.in <= parport.0.pin-12-in-not
net deb-estop-ext debounce.0.1.in <= parport.0.pin-10-in
net probe-in debounce.0.0.out
net estop-ext debounce.0.1.out
The following user(s) said Thank You: lumberjack_jeff
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds