CNCJS troubleshooting

I have my MPCNC running thought repeater host, and that works. I added a Pi 4 running V1Pi and I am now having trouble. it appears the pi connects to the RAMBO 1.4 dual end stop board ( purchased from Ryan), but I can’t get the the MPCNC to move. it appears the steppers are not energized. I tried “unlock” and “Reset”. I watched a couple YT videos and googled a little. I am sure I am missing some small attention to detail issue.

thanks
Ben

Make sure you have the correct port and baud rate. The port drop-down menu will note an “ultamachine” board or something like that and the baud rate should be 250000. If you don’t see your board reboot the pi, sometimes I have to reboot twice, haven’t bothered to investigate that yet… Anyway, you’ll get a bunch of scrolling text in that terminal after a successful connection.

4 Likes

Thank you. I will double check this tomorrow.

I figure its your baud rate, mine was the same to begin with. Switch that to the right one and you should be set.

1 Like

Yeah, the port is wrong too. AMA0 is the standard pi uart (on the gpio pins). It will show up as ACM0 or ACM1.

Interesting… thank you. I chose the port that said ultimaker board. I plan on some troubleshooting time later today.

Thank you.

thank you. spot on

thank you, spot on

1 Like

Ok, I got everything working… sorta. I was able to carve.

I forget the command Issued when I try to set the workpiece zeros. I had to use g92 in the terminal.

Any assistance would be appreciated.

Thanks
Ben

I’m new to CNCjs myself.

I believe in the top right corner under “work position”. Clicking the icons that look like a location pin on google maps will reset the work position’s 0 point.

I accidentally clicked the button under Machine Position and it tried to Home the machine… which I don’t have endstops :confused: I was just able to kill the power before the steppers started grinding against the side rail.

Thanks. I know the button, and what I am saying is that it’s not working correctly. I know a screen shot would have helped.

Ah. Sorry. It works on my laser, but it’s running GRBL. I haven’t played/tested it on the MPCNC with Marlin. I just got CNCjs on my MPCNC yesterday, but haven’t done anything with it yet.

1 Like

Set you up some custom commands for stuff you will use ALOT. Dont be afraid to experiment.

1 Like

I will look into that. I am trying to understand why it’s not working as I expected. I am good at missing details, I would rather catch a mistake early on than hack a fix. If in fact that’s what is going on.

CNC.js was developed for grbl. The buttons haven’t changed, but the backend commands have. Some of them may not work perfectly, and the macros are a good stop gap.

1 Like

thanks. sounds like I didn’t mess something up. onto macros!