Hello!
New here. Fairly well versed with 3D printer builds (RepRaps). I was preparing to post my LowRider build, however, I ran into issues getting Z to home and I’m not quite sure how to resolve it. Trying to adjust from 3D printer to CNC mindset, while being careful to not breaking things.
I’m using a Megatronics 3.0 board, with Marlin 2.0.7.2, uploaded via PlatformIO.
I made the changes that I know to make, comparing them with the V1 firmware config.h and adv. files.
I inverted the endstop logic, so my switches show ‘open’, not triggered in pronterface when the machine is not touching them. I’m not exactly comfortable with them the other way around during initial testing; trying to avoid bashing axes. What’s the point NC/triggered, when the switch isn’t physically closed? It’s not logical; especially when you can invert the behaviour in the firmware anyway?
I have X and Y working properly; both move and home.
Z is set to home by moving up (using pronterface + moves it down and - moves it toward home/up). I leveled the endstops on the machine the best I can for testing purposes, bumping the machine down 1mm until both switches closed. Sending M119 reflects open/closed states correctly. Went to home Z for the first time and it bashed the axis, I pushed the emergency stop
I moved the axis 40mm from home, triggered movement, and pushed the endstop switch… it doesn’t stop the motor; same behavior exhibited on Z2.
So the switches work, motors work, but the switches don’t stop the Z motors.
I searched the forums, but didn’t find a specific example. Seems not many people are using the Megatronics board.
I’m suspecting it might be some issue with pins relating the endstops to the motors on the Megatronics board? Or some very simple mistake in the config or adv file. Limited knowledge of changing the pins; I know where to find them for the motors, for example, but I haven’t messed around with it.
I know some of you are pros at Marlin and have a greater knowledge of manipulating it than I do, so here’s my current config, config_adv, pins (unmodified) for the Megatronics3.0. Overview and links to documentation for the Megatronics 3.0 is here.
Config.h
Config_adv.h
Pins for Megatronics
Steppers are currently wired Z, Y, X, E2=Z2, E1=Y2, E0=Unused
My endstops match those in the instructions provided by V1. Wiring to the Megatronics
Physical endstop setup (same on both sides)
What Pronterface shows for endstops in terms of labeling
I hope that helps with troubleshooting, if other files are needed, please let me know.
Thanks!