Hi.
I am building a drawing machine for my son. I don´t need Z axis.
I have used mks boards with 3d printers and have uploaded Marlin firmware with Arduino without problem, but this new board (mks dlc32 v2.1) seems to work different. I have already used it successfully on a camera slider using X and Y without touch screen but only with the ESP32 wifi function (With an iphone) by running the gcode without G28 (home all axis) and have not used the homing procedure as we normally do on a 3d printers or a CNCs, but manually adjusting the slider.
I don´t want (If possible) to go into programming or new firmare upload, but need help to do the procedure like I do with any other mks board that any 3d printer uses, where the machine homes X (Into end switch) then Y (Into end switch) and Z (Which in this drawing machine I will not use) so I can have a starting point.
I have uploaded a g.code and everything works perfect, except that G28 command is being skipped, or the closest I have come is to start the homing process (But X and Y motors move at the same time) and when any end switch is being hit, both motors stop and everything stops.
How can I clic PLAY on any g-code and watch the machine home X and Y and start the drawing from point 0/0 (home point)?
the homing cycle and operation type is defined in the configuration. Marlin used to have a configuration.h file or something like that but you should know this since you built the system right. There might be some M-code commands to change things so I would start looking at the Marlin M-code and G-code definitions to see if you can find something to try. Sounds like you want something like auto-home on power up or something like that along with not having coordinated X and Y homing.
This is a GRBL-ESP32 based board. So the notes about Marlin above dont apply. MKS supply lots of differently configured versions of thie firmware with geometry etc preconfigured in..
You need to make sure you have a firmware configured for your machine type..
Then configure the limit pin locations and directions:
Thanks for your reply. Before trying to upload a new firmware I wanted to know if there is a stupid trick I have not done, so the board can read a simple command (G28) which all CNCs and 3D printers use before starting a task. Is there a way I can get the board to follow this G28 command? First X (Until it hits the X end switch), then Y (Until it hits the Y end switch) and finally starts to follow create the drawing? Thanks again.
PD
I am trying to avoid the firmware upload, because I use macOS. Ups.
@aquialdo ; as far as I know the homing cycle and limit pin definitions are hard-coded into the firmware. I think your only real option is to flash a firmware that matches your hardware.
An alternative is to run FluidNC as your firmware.
(I use this on my esp32 based controller at home, all configuration is kept in a file you can edit without re-flashing, instead of being hardcoded)