This is more “Software Development” than “Hardware Development”, but I was just poking around CNC.js’s github, and I found someone requested a Marlin version, and there is a marlin branch:
I use CNC.js with my rpiCNC grbl firmware, but this would be a great way to get CNC.js working with the normal setup.
BTW, CNC.js is awesome. Similar to octoprint, but designed for CNC work:
That is great - I was thinking of hooking up OctoPi to my RAMPS to allow Wifi transfer of the Gcode, and adding a small touchscreen I have lying around to the Pi to give my MPCNC an OctoPi based touch interface. Will check out cncjs.
Yeah, I’m not sure how far it’s gotten. I haven’t tried it, but if you do, let us know how it goes. If you want to go to octopi, it’s no different on the Hardware. If you want an SD image that’s got CNC.js already, there’s one for the piCNC:
Anyone get this to work? Since v1.9.12 5/12/17, Marlin is now officially supported. But once I get connected, the cnc does not respond to any commands or gcode uploads.
Yeah, I have ran it by now, on v1pi. Theres an issue with a timeout failing, and the ‘ok’ getting missed. There is a solution to commenting out a line, and there’s a github issue for it. The workaround is to send some other command in the terminal window, which will send another ‘ok’. I just send G1 X0. That seems to work for me.
I really like it over repetier host. However, I found the jog controls move the Z axis really fast and mess it up. Doesn’t appear to listen to max feed rate. Do you know where to configure the max feed rate for the controls in cnc.js by any chance?
Using the latest desktop version which has marlin support. (and that strange bug, easy to bypass as you said)
I don’t know if there’s an easy option for that. I would guess it’s relying on the machine’s firmware for that limit. I am guessing you could add G1 F600 before using the jog buttons, and you could use one of the many macro options for that. But probably safer is to set up the max z feedrate in Marlin. What version of Marlin are you running?
I was using the one that came with my mini rambo, 2.0.0 bugfix I think it was. (board came from Ryan recently). I thought the max was already defined in there. I just updated it to the mini-rambo one so I can look and see what the settings are in there. I needed to enable eeprom.
repetier host moves z at the slow rate. I didn’t configure it, i thought it used the max feedrate so found it strange.