gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4k stars 1.6k forks source link

laser machine moving in two axis #1046

Open marcootaviomello opened 3 years ago

marcootaviomello commented 3 years ago

I'm modifying a laser machine, which didn't use grbl firmware, used proprietary software along with proprietary company firmware. I recorded the GRBL on it, but when testing with the LASER GRBL when I click on the diagonal movement arrows, that is, it has command in both axes, it moves correctly, but when I click on the conventional up, down, left, right buttons, the same moves diagonally. ME seems to be something from mechanical construction, but can I solve it via GRBL configuration, to send pulse to both engines?

langwadt commented 3 years ago

how does the machine look?

marcootaviomello commented 3 years ago

Analyzing the mechanics, this machine has only 2 motors, to make movements in a straight line I must send a command in both axes, (which is when we click on the arrow to move diagonally on the LASER GRBL), if I send a command only in one of the axes, the machine moves diagonally to the command axis. Any configuration ideas? WhatsApp Image 2021-06-03 at 08 56 53 WhatsApp Image 2021-06-03 at 08 56 52 (1) WhatsApp Image 2021-06-03 at 08 56 52 WhatsApp Image 2021-06-03 at 08 56 53 (1)

langwadt commented 3 years ago

rebuild with COREXY defined, see config.h line 182-189

marcootaviomello commented 3 years ago

Thanks a lot.