difficulty configuring a custom 2-axis CNC
-
TLDR: I'm having difficulty configuring a custom 2-axis CNC.
Thank you in advance for your assistance. I'm running RepRapFirmware 3.4.5 on the Duet 2- Ethernet connected to a custom (but simple) cartesian moving platform (think prusa i3 without the print head). X is 162mm long and Y is 88mm long. I am configuring the board using this tool: https://configtool.reprapfirmware.org/legacy The mechanicals all check out. If I disable the home requirement (M564 S0 H0), I'm able to move both axis as expected in the directions expected. I'm able to hit the limit switches and the LEDs light up on the control board. I'm troubleshooting via the Duet Web Control 3.4.6.
After this initial setup, I encounter an odd behavior. The X-axis and Y-axis move away from the limit switches even though I have configured the endstop location at the (low end) for both. When I switch this I run into other homing issues, so I'll leave it there for now to avoid confusion.
I'd love some help setting up the initial endstop location (high or low). I'm also finding the "printer geometry" settings a bit confusing. Happy to add details if I've missed something. I've gone through over 20 different iterations with the config tool and haven't cracked it yet. Thanks in advanced for your help. Please see attached for my current config files.
bed.g
config.g
config.json
homeall.g
homex.g
homey.g
pause.g
resume.g
sleep.g
stop.g -
@jbeck With microswitches as endstops, you have to check if they are NO (normally open) or NC (normally closed)
If they are NO, you have to invert the endstop logic with an "!" like that:; Endstops M574 X1 S1 P"!xstop"
I remember vaguely, there is a way to check endstop status from DWC, but it's early sunday morning....
If you check them and they are already triggered before they are hit, you have to invert. -
@o_lampe That was it. You really saved me a lot of frustration and time. Thank you!
-
@jbeck if they are standard microswitches with both NO and NC contacts, we recommend you use the NC contacts for greater immunity to interference.