Hurco KMB-IS CNC update

More
5 years 9 months ago #194792 by CORBETT
Replied by CORBETT on topic Hurco KMB-IS CNC update
Leith,

Hey man you have made some great progress. I have not been around as have gotten really busy with some military work. You have came a long way in a short time to get things going.

Glad you have had a positive experience so far....


Robert

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #195266 by _big_
Replied by _big_ on topic Hurco KMB-IS CNC update
Hadn't messed with the Hurco much for about a month and a half. Christmas you know...

Got back to it and all of a sudden started getting messages like:

DoIt not cleared from previous servo thread. Servo thread rate probably too fast

and

hm2/hm2_7i76e.0 error finishing read! iter=283342

Arrrgh.

But then I noticed a message upon LinuxCNC exit about how it didn't use the real time system. Really... A little more investigation reveals timestamp on the kernel from about a month ago and uname -a says no real time.

Updated to a real time kernel, and shazam, I'm back in business.

Had to think about what happened for a while. The RPi4 WiFi doesn't work real well, even though the signal strength is good. I think I tried to update the SOC drivers in an attempt to fix this and apparently I inadvertently installed a non RT kernel.

Thought I'd make note this for those that follow.

And I would suggest to the LinuxCNC developers that linuxcnc should complain a little more vociferously when starting up without real time features.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #195288 by CORBETT
Replied by CORBETT on topic Hurco KMB-IS CNC update
Leith,

Yeah I was in the same boat... holidays and work have me busy, and unfortunately the holidays fly by too quick to get a real break. We did a very small capacity Christmas but still a lot of work.


It is good that you figured it out so quick and did not have a huge headache... I have almost bashed my face into the monitor before over problems.

Excellent, that you posted your fix as that helps anyone in need. Yep definitely need the RT kernel... if you ever decide to build LCNC from source code, you would be checking out what kernel you had installed and then patch a RT kernel, good that you quickly found the kernel problem.

I don't think LCNC will complain, because I want to say that you can build a RIP without RT for development, but I always patch the kernel for my builds as I am building for use.

Yes when you get a "LinuxCNC Errors" box, you can scroll down to the "Debug file information" and in that section it will usually give you a clue as to what the problem is. Especially if you corrupt your HAL file for some reason... or if you are tweaking your HAL file and get the code wrong, it will usually give the line number to look for in your HAL file. I use EtherCAT so I am very very familiar with that box, LOL.

The one thing I can say about the LCNC developers is that they are a God send to people like you and me. 15 or more years ago I would complain when it was EMC as I was still young and dumb... but then my Dad told me to be grateful as it was free. LCNC has came a long way from the old days. Plus honestly until the BDI (brain dead install) came along it was rather challenging to install EMC and get working. I remember being very frustrated as I was use to UNIX and NOT Linux. Then a guy built the BDI and man that was huge for me and the bulk of every non-Linux user. That was gold back then, I still have mine from way way back put up, and several other versions over the years. Seems like the guy's name was Paul Commer that I bought it from, got it on eBay in early 2000's as I joined back in 1998. I could be wrong on name, as it was a long time ago... I got real busy and stopped messing with EMC2 and then when I came back years later it was called LinuxCNC. Honestly I did not like the name at first as I always knew it as the "Enhanced Machine Controller" from NIST, and I don't like change LOL, but I am super happy with LCNC.

With that said, I know the developers have a lot on their plate. You can go check out the NARKIVE as that is where they generally hang out. There are some really good conversations to follow at times. Makes you realize how smart some of those guy's are, and how challenging it is to get bugs worked out...
I know it can get frustrating when LinuxCNC doesn't want to work as I have pulled my hair out a many a times, but I have a huge respect for everyone that helps and makes all this work... plus I cannot emphasize all the help that I have received over the years. I try to help when I can, but I definitely do not want to give wrong or miss-information and I very rarely do interact on the forum because of it... plus I only joined back up on the forum about 3 years ago. I couldn't remember my old account name.

Nothing feels better than when you figure out a harder problem and LCNC fires up correctly... There have been a few times with EtherCAT that when LCNC fired up, I swore I heard Angels "Singing" LOL LOL.


Robert
The following user(s) said Thank You: Mike_Eitel

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #195325 by andypugh
Replied by andypugh on topic Hurco KMB-IS CNC update

_big_ wrote: And I would suggest to the LinuxCNC developers that linuxcnc should complain a little more vociferously when starting up without real time features.


Maybe, but many folk do it deliberately to check out behaviour and G-code on their ordinary PCs.
The following user(s) said Thank You: CORBETT

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #196094 by _big_
Replied by _big_ on topic Hurco KMB-IS CNC update
A word to the wise...

As a matter of course, did an apt-get update, apt-get upgrade, and now she won't boot.

Might be related to the real time kernel, or possibly the boot ROM update I did to boot off the SSD. Don't really know.

I was planning on re-imaging RPi to solve some other problems, but I guess that task has now been moved to the head of the queue.
The following user(s) said Thank You: CORBETT

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #196096 by CORBETT
Replied by CORBETT on topic Hurco KMB-IS CNC update
Leith,

Man that sucks... I had wrote about updating in my last post and then took it out at the last minute, I wish I left it in now. On my machine controllers I don't update unless there is something that I need pretty bad. I treat them as stand alone without hooking to the net so that I don't screw anything up... I'm a real pro a screwing up.

One thing that I am big on and you may want to try... I get everything working as I like then clone my hard drive with at least 2 backup drives so that if anything goes wrong I can quickly switch a drive and get right back going. I had been buying 10pcs of 8gb Samsung SSD's for cheap, but 8gb is cutting it close to build LCNC and then build EtherCAT... so got a few 16gb models, then this last batch bought some 64gb models. If I remember correctly, it only takes about 15 minutes to clone a 16gb drive. At this point I only use SSD's since no moving parts like the traditional platter HDD.

I started doing this approach way back for two reasons... One if I need to get my machine back working asap to make parts... Second, when I build a new system and want to try something that may not work, then clone so that I can pick right up where I was at before screwing it up. Let's say that I have cloned a lot of drives as I have screwed up a lot... LOL LOL.


Robert

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds
Powered by Kunena Forum