Cncjs: Marlin Support

Created on 20 May 2017  ·  6Comments  ·  Source: cncjs/cncjs

Maybe this is a dumb question and its already supported. I'm using a Mini-Rambo with Marlin firmware for my MPCNC build, and I'd really like to use some proper CNC software instead of 3D printing tools. Is it currently possible (or planned) for this to support Marlin firmware? If not can someone point me in the right direction for how I can get this working? I'm willing to contribute to the project if there is some specific piece that needs to be implemented.

Thanks!

⭐ feature (enhancement) 🙏 help wanted

Most helpful comment

Added Marlin support in 1.9.12

image

All 6 comments

Funny, I'm trying to do the exact same thing. I've come across https://github.com/gnea/grbl-Mega to try to get GRBL on the arduino. So far I have CNCJS connected to the board and it looks like it might work, but haven't actually tried it out with the ramps connected so I can't say for sure its all working.

[Edit] Oh wait, I'm thinking now a mini-rambo isn't an arduino with a ramps board on in it. Silly me!

Mini-Rambo seems to be equivalent to arduino mega + ramps (it has the atmega chip and the stepper drivers, etc. on the same board), so grbl-mega should work with the appropriate configuration

I, for one, found the idea of using Marlin for MPCNC weird, so I use an arduino uno clone + cnc shield + cncjs running on an Orange Pi Zero, resulting in a fully autonomous wifi-enabled machine :)

I had a GT2560 board running Marlin 1.1.x. The communication protocol is simple, I think it's not hard to add support for Marlin firmware. I will take a look when I'm free someday.

The preliminary Marlin support is now available in the marlin branch. It's just a quick start, and there are some issues need to be resolved.

There is one thing I cannot find from Marlin documentation. Is there anyway to query active state (i.e. Idle, Run, and etc.) and modal groups (G20/G21, G90/G91) from Marlin?

doesn't seem so; the most you can get is the current position, endstop status and temperatures, Marlin (and most other 3d printer firmwares, I guess) only implements the minimum necessary for moving things around, then adds various extensions to deal with 3d-printing specific stuff (temperature PID tuning, calibration offsets, various kinematics, etc.); the state is usually handled in the host software.

Added Marlin support in 1.9.12

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LukeBonathan picture LukeBonathan  ·  3Comments

f0m3 picture f0m3  ·  6Comments

AZRadiohead picture AZRadiohead  ·  5Comments

TobyGWilliams picture TobyGWilliams  ·  8Comments

Timberwolfe picture Timberwolfe  ·  10Comments