Need help, please: EMC2 is will not open.

More
21 Aug 2014 22:30 #50151 by GeorgeL
Hello, after installation all is fine. EMC Stepconf Wizzard is running. All parameters are configured.

Now i want to open EMC application. I got an error message. Because of an error EMC closed.

Debug file information:

Could not open command file 'GoCNC'
1526
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components


What ist wrong? Please, help me.

Best
George

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

More
21 Aug 2014 23:20 #50152 by ArcEye
Hi

Unfortunately we cannot help you unless you post the full errors and the config you are trying to run.

Could not open command file 'GoCNC'


That is completely non-standard, so have no idea unless we know what it is.

Can you open the config-chooser dialog, choose Sample Configurations > sim > axis > axis_mm,
does that run?

If so it is solely the config you are trying to run, if not you need to post the full error output from that as well

regards

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

More
08 Sep 2014 16:30 - 08 Sep 2014 16:48 #50911 by seiringerf
Hallo ArcEye,

i think you don't know me, but i have read here about this Problem for starting the cnc-machine,
and maybe you can help me -> i would be very grateful :-)
Am going to work with this machine: gocnc.de/index.php?page=product&info=184

So i have already done the EMC2 Stepp configuration and it is possible to move the three axis with the "test axis" buttons.
When i am going to run my Configuration "goCNC Stepp 2500" i also get an error message
-> Could not open command file 'GoCNC'.

I send you the hole error output in the notes! If it is necessary i can also send you the screenshots of my configurations!
So i would be very glad to get an answer from you! Sorry for my bad english :-)
Wish you a nice day ... and thanks in advance!

Franz
Last edit: 08 Sep 2014 16:48 by seiringerf.

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

More
08 Sep 2014 16:50 #50913 by cncbasher
Please Archive (compress ) your complete configs folder and place as an attachment to this post
it will make it so much easier for us to help you

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

More
08 Sep 2014 17:13 #50918 by ArcEye
The instructions are here: www.digi-vision.de/pdf/EMC-Kurzanleitung.pdf

I translated them, nothing out of the ordinary, we need to see the configs as cncbasher said.

The warning probably comes from line 216 (in my copy) of halcmd_main.c, which would indicate that it cannot find the .hal file that is
listed in the .ini file (either not present or name different?)

regards

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

More
08 Sep 2014 17:30 #50923 by seiringerf
Hallo,
thank you both (ArcEye & cncbasher) for the quick response!

I have placed the whole configs folder as an attachment to my my post! Maybe you will get more informations from this!
I will also try now the instructions as ArcEye send me in the link!!

Thank you very much!!





File Attachment:

File Name: configs.zip
File Size:48 KB
Attachments:

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

More
08 Sep 2014 17:55 - 08 Sep 2014 17:55 #50924 by ArcEye
Hi,

A very brief look shows that you have spaces in your .ini and .hal file names

Linux does not do spaces in file names very well

I have added underscores instead

Try it now

File Attachment:

File Name: configs.zip
File Size:47 KB


regards
Attachments:
Last edit: 08 Sep 2014 17:55 by ArcEye.

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

More
08 Sep 2014 17:55 - 08 Sep 2014 17:59 #50925 by cncbasher
which version of linuxcnc are you using ?
your INI file specifies PROGRAM_PREFIX = /home/cnc/emc2/nc_files
if your named folder is cnc then emc2 should be linuxcnc so /home/cnc/linuxcnc/nc_files

there is also subroutine path missing
so could you confirm your version of ubuntu and the linuxcnc version , so we can clarify the missing parts

also the machine name has spaces , i'm sure this needs to be a single name as does the filenames
so change the filenames and modify the entrys and you should be ok
Last edit: 08 Sep 2014 17:59 by cncbasher.

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

More
08 Sep 2014 18:36 - 08 Sep 2014 18:40 #50931 by seiringerf
Hey you two,
i think it's working, there is no Error message anymore !! I am really happy now :laugh:
I have already invested much time, and searched on other internet sites to solve the problem,
but you really helped me now !!
I would like to drink a beer with you now :lol:

So in the notes i send a screenshot to you, to see how it looks like now!! ]
I am a real beginner by working with a cnc machine, but i am looking forward to get it started!

Now i have to study how it works with the g-code and so on, i hope i will be able to ... :-)
Maybe i will write you again, i hope you will help me again if it is necessary!!

@ ArcEye: I think the spaces like you say have been the problem! Thank you!!
@ cncbasher: I am using the standard software of the seller "linuxCNC 2.4.3 and the newest version of ubuntu, but it does't matter now i think.

greetings
Attachments:
Last edit: 08 Sep 2014 18:40 by seiringerf.

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

More
08 Sep 2014 18:48 #50933 by cncbasher
that is a very old version of linuxcnc we are at version 2.6.3 now .
you will be better off by upgrading at some stage , their are many improvements

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

Time to create page: 0.141 seconds
Powered by Kunena Forum