Idle,MPos... Error? Stuck in Idle?

Question/Answers related to this version of the board.
Post Reply
TrinGia
Posts: 5
Joined: Thu Sep 15, 2016 11:09 pm

Idle,MPos... Error? Stuck in Idle?

Post by TrinGia » Mon Sep 19, 2016 8:38 pm

I was running the v3 image on my RPI with 2.51 Hat, all was good... then suddenly nothing, the motors stopped and BCNC status became "Not connected". So I tried to re-connect, nothing. So I rebooted, nothing. Checked the terminal and I saw a recurring message "Idle,MPos:0Grbl 0.9j..." (see photo). Then I checked Nano via MiniCom, same problem.
After re-flashing the Nano several times, re-flashing the SD image, even trying an earlier v2 image... Finally I swapped the Nano.

That was it... The Nano seemed fine when connected to Ardruino IDE, gave the responses I am used to "$$", "$#", etc... BUT it is bad.
20160919_154743 (640x360).jpg
20160919_154743 (640x360).jpg (158.16 KiB) Viewed 3181 times
Any thoughts on what might have killed it?

I noticed another tread "bCNC - Stuck in Idle State". This may be the same issue!

Thanks,
Rich

Bertus Kruger
Site Admin
Posts: 1670
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: Idle,MPos... Error? Stuck in Idle?

Post by Bertus Kruger » Tue Sep 20, 2016 3:41 am

Hi Rick,

You did not maybe have stepper drivers plugged in with no steppers connected. We had a case of that happening with the CNC shield recently.

TrinGia
Posts: 5
Joined: Thu Sep 15, 2016 11:09 pm

Re: Idle,MPos... Error? Stuck in Idle?

Post by TrinGia » Wed Sep 21, 2016 1:33 am

Not that I know of, it was in the middle of a run when it happened. I figure it was just a bad Nano board, not a big deal to replace, but it would be on the 2.58. Which I will be ordering next.

Hey completely off subject, would you consider making a CNC cape for the BeagleBone Black or better the Beagle Board X15. The Beagle Boards can support a LinuxCNC fork, MachineKit which make them very interesting. BCNC is limited! There were only a few capes available for this a few years ago and maybe only one or two that actually worked (from what I am reading). I think a good, lets say 5 axis with some I/O would be a good seller. No need for drivers, no need for micro-controller, just a basic breakout with some voltage changeover and connectors.

Just a thought!
Rich

Bertus Kruger
Site Admin
Posts: 1670
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: Idle,MPos... Error? Stuck in Idle?

Post by Bertus Kruger » Sun Sep 25, 2016 8:52 am

TrinGia wrote:Not that I know of, it was in the middle of a run when it happened. I figure it was just a bad Nano board, not a big deal to replace, but it would be on the 2.58. Which I will be ordering next.

Hey completely off subject, would you consider making a CNC cape for the BeagleBone Black or better the Beagle Board X15. The Beagle Boards can support a LinuxCNC fork, MachineKit which make them very interesting. BCNC is limited! There were only a few capes available for this a few years ago and maybe only one or two that actually worked (from what I am reading). I think a good, lets say 5 axis with some I/O would be a good seller. No need for drivers, no need for micro-controller, just a basic breakout with some voltage changeover and connectors.

Just a thought!
Rich
Hi Rich,

I wanted to go that way a while back but found it very hard to get BBB's at the time. RPI's on the other hand are much easier to source. I just noticed that they are available from Element14 so should not be a problem. (I added one to my shopping basket :)

There are a few available : http://blog.machinekit.io/p/hardware-capes.html#BeBoPr

Do you want to elaborate a bit more on the shortcomings they have?

TrinGia
Posts: 5
Joined: Thu Sep 15, 2016 11:09 pm

Re: Idle,MPos... Error? Stuck in Idle?

Post by TrinGia » Sun Sep 25, 2016 5:29 pm

Bertus,

Thanks, I just ordered one!

The BBB through MachineKit can run LinuxCNC, but most of the hats or Capes available are designed for 3D printers. Many of the capes are no longer available or they are kind of made to order. I have contacted a few of the manufactures already. I did manage to order the CRAMPS, which is Charles Steinkuehler's design. I will use it for some testing, but it too was designed for a 3D printer.

My interest is in CNC machinery, we build and rebuild industrial machinery and work with many types of PLC's and Motion controllers. As a side project we are designing a 3-4 axis platform for a CNC Router or Plasma cutter. This platform will hopefully blur the line between hobby and industrial, being robust and accurate enough for industrial use but being priced not to exclude the hobbyist. So I am testing and investigating control systems, most of the systems we use now, such as Allen Bradley, Parker, Siemens, etc... are priced way outside our sales model. Thus my interest in Arduino and the like. The hat I received from you is working great, except for the little hiccup with the Nano, even at 16mhz it works well. The main issue is BCNC, which is very limited.
Ideally I would like a system based on a small "mini-computer" and controller which could be used as a stand alone system for the platform. The BBB may fit this model, with the right interface, since it incorporates both. I need to do some testing with MachineKit,s LinuxCNC yet, but I have high hopes.

I would be looking for at least 4 axis control (No need for embedded drives), spindle spd and dir control, home and end limit switches, coolant and mist switches and some other I/O for e-stop, etc.... We will probably use a 10 inch touch screen we have been testing (with your hat and a RPI3) (http://www.waveshare.com/10.1inch-hdmi- ... h-case.htm) for the main HMI. And most probably the TEKNIC ClearPath "stepper killer" (https://www.teknic.com/products/clearpa ... vo-motors/) all in one servo motor and drive. These are very cost efficient and seem to work well. We are also testing some JMC all in one stepper motors (http://www.jmc-motor.com/) Nema 23 IHSS57 , which are doing quite well and are quite inexpensive.

I will try to post some info as our testing continues.

Thanks,
Rich

Bertus Kruger
Site Admin
Posts: 1670
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: Idle,MPos... Error? Stuck in Idle?

Post by Bertus Kruger » Fri Sep 30, 2016 6:57 pm

TrinGia wrote:Bertus,

Thanks, I just ordered one!

The BBB through MachineKit can run LinuxCNC, but most of the hats or Capes available are designed for 3D printers. Many of the capes are no longer available or they are kind of made to order. I have contacted a few of the manufactures already. I did manage to order the CRAMPS, which is Charles Steinkuehler's design. I will use it for some testing, but it too was designed for a 3D printer.

My interest is in CNC machinery, we build and rebuild industrial machinery and work with many types of PLC's and Motion controllers. As a side project we are designing a 3-4 axis platform for a CNC Router or Plasma cutter. This platform will hopefully blur the line between hobby and industrial, being robust and accurate enough for industrial use but being priced not to exclude the hobbyist. So I am testing and investigating control systems, most of the systems we use now, such as Allen Bradley, Parker, Siemens, etc... are priced way outside our sales model. Thus my interest in Arduino and the like. The hat I received from you is working great, except for the little hiccup with the Nano, even at 16mhz it works well. The main issue is BCNC, which is very limited.
Ideally I would like a system based on a small "mini-computer" and controller which could be used as a stand alone system for the platform. The BBB may fit this model, with the right interface, since it incorporates both. I need to do some testing with MachineKit,s LinuxCNC yet, but I have high hopes.

I would be looking for at least 4 axis control (No need for embedded drives), spindle spd and dir control, home and end limit switches, coolant and mist switches and some other I/O for e-stop, etc.... We will probably use a 10 inch touch screen we have been testing (with your hat and a RPI3) (http://www.waveshare.com/10.1inch-hdmi- ... h-case.htm) for the main HMI. And most probably the TEKNIC ClearPath "stepper killer" (https://www.teknic.com/products/clearpa ... vo-motors/) all in one servo motor and drive. These are very cost efficient and seem to work well. We are also testing some JMC all in one stepper motors (http://www.jmc-motor.com/) Nema 23 IHSS57 , which are doing quite well and are quite inexpensive.

I will try to post some info as our testing continues.

Thanks,
Rich
Very interesting stuff!!!

Closed look systems has been a hot topic but affordable solutions are very scares. The links you mentioned are good options as I am also out growing the $1K machines.

If you have more info , please post.

I am still a bit confused about how MachineKit and LinuxCNC is linked. (LinuxCNC seems to not official support BBB)

TrinGia
Posts: 5
Joined: Thu Sep 15, 2016 11:09 pm

Re: Idle,MPos... Error? Stuck in Idle?

Post by TrinGia » Wed Oct 12, 2016 11:06 pm

Bertus,

LinuxCNC (MachineKit) works quite well, at least in my limited tests, on the BBB.
Machinekit is a fork of Linuxcnc which allows it to run on other architecture, such as ARM. See links below:

http://www.machinekit.io/docs/getting-s ... it-images/
https://www.youtube.com/watch?v=AK_OYoNOBDQ
http://blog.machinekit.io/
https://designmakeshare.wordpress.com/2 ... achinekit/
http://reprap.org/wiki/CRAMPS

I presently have a Beaglebone Black with the Jessie Debain Machinekit image and a CRAMPS cape running 3 steppers. The CRAMPS board is designed for 3D printing, but it is fine for testing LinuxCNC on the BBB. Ideally I would like a cape designed for CNC, with spindle control, endlimits, even encoder quad inputs would be great. Unfortunately the BBB is not nearly as popular as the RPI, so these boards would probably not sell as well. In less my testing goes well, then I will need a bunch.

Also check out the Beagleboard X15, its a bit pricey, but its powerful.


Rich

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest