EMC2 Error help

More
23 Mar 2011 05:51 #8018 by 7sticks
EMC2 Error help was created by 7sticks
This is my first CNC build, first try with Linux, first try with EMC2.
My machine is completely built except for the router mounts and I thought I could get the pc going before all the parts came in.
I'm really inexperienced and really striking out at the moment

I'm not sure where to go from here. I have read so much information here i'm in overload condition, head spinning.....

I have 4 Keling KL4030 drivers and steppers, 2 X axis R&P drives, 1 Y axis R&P drives, 1 lead screw Z axis
C10 BoB and 24v power supply, everything wired according to diagrams. Second X axis direction inverted.
PC is an INTEL D945GLCF w/2GB ram, Atom processor and the MAX Jitter is 13945 on Latency Test
I think I have all setting correct in Stepconf but can't get motors to spin in Test Axis

I am guessing that I have a LPT problem but am not sure how to use Linux well enough test the LPT port.
Lots of do this and do that but no specific instructions HOW to do. It seems there is an assumed level of
proficiency with Linux which I am not blessed with at this time.


Here is the debug info when I start EMC2:
Debug file information:
Could not open command file 'IMAV'
1747
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[ 323.379628] I-pipe: Domain RTAI registered.
[ 323.379644] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 323.379650] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu
4.4.3-4ubuntu5) .
[ 323.379663] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs
DISPATCHED), ISOL_CPUS_MASK: 0).
[ 323.379668] PIPELINE layers:
[ 323.379674] f9fd5e20 9ac15d93 RTAI 200
[ 323.379680] c085cb20 0 Linux 100
[ 323.435556] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 323.435839] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN
KTASKs>, kstacks pool size = 524288 bytes.
[ 323.435851] RTAI[sched]: hard timer type/freq = APIC/8312900(Hz); default
timing: periodic; linear timed lists.
[ 323.435859] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq =
1595904000 hz.
[ 323.435866] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 323.436079] RTAI[usi]: enabled.
[ 323.611678] RTAI[math]: loaded.
[ 324.492725] RTAI[math]: unloaded.
[ 324.615903] SCHED releases registered named ALIEN RTGLBH
[ 324.628472] RTAI[malloc]: unloaded.
[ 324.728083] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps
0, syscalls 0).
[ 324.735732] I-pipe: Domain RTAI unregistered.
[ 324.735751] RTAI[hal]: unmounted.

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

More
23 Mar 2011 06:58 #8022 by mduzi
Replied by mduzi on topic Re:EMC2 Error help
There is a breaking point

[ 323.611678] RTAI[math]: loaded.
[ 324.492725] RTAI[math]: unloaded.

I need more informations

try to test the basic config "stepper xyza"
and before remember to change in it the correct address for your the LPT

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

More
23 Mar 2011 10:13 #8024 by mduzi
Replied by mduzi on topic Re:EMC2 Error help
This is a my listing if it's ok.

[17366.907075] RTAI[math]: loaded.
[17366.956712] config string '0x0378'
[17369.543423] RTAI[math]: unloaded.

So, I think it is bad to set the parallel port address (LPT) :)
Martin

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

More
23 Mar 2011 11:37 #8027 by andypugh
Replied by andypugh on topic Re:EMC2 Error help
Can you post the config and INI files?

Does the filename "IMAV" mean anything to you? ( I saw that mentioned in the debug info, I wonder if it as a HAL file mentioned in the INI?)

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

More
23 Mar 2011 14:09 #8029 by BigJohnT
Replied by BigJohnT on topic Re:EMC2 Error help
Can you attach your ini file to a message?

John

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

More
23 Mar 2011 15:46 #8031 by 7sticks
Replied by 7sticks on topic Re:EMC2 Error help
Ok,
When I get back to the shop this evening I'll get more info posted.
I'm not sure how to tell if EMC2 or Ubuntu has control of the LPT port, is there a system profiler in Ubuntu?
Or can I see this info from a terminal session?

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

More
23 Mar 2011 17:24 #8032 by Rick G
Replied by Rick G on topic Re:EMC2 Error help
To check your port address..
Open a terminal and type
lspci -v
You should see your port address listed there.

Rick G

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

More
26 Mar 2011 14:30 #8104 by 7sticks
Replied by 7sticks on topic Re:EMC2 Error help
It's been a crazy week. I got the chance last night to work on it again and ironed out my parallel port problem by installing a new port card. I had to invert all of the pins in Stepconf and bingo, I jogged motors for the first time. I never thought such a small thing would be so exciting. I am still having issues getting EMC2 to start up but it stops now when the halui tries to load. I am going to the shop today so I'll post the ini and hal files. Is there any other info I need to post?

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

More
26 Mar 2011 15:15 #8105 by 7sticks
Replied by 7sticks on topic Re:EMC2 Error help
Yes that's the name I gave the router. It's my company name. Stands for Interactive Music Audio Visual.
I plan to make custom speakers, racks, studio desks, mounting brackets, etc. with the router.

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

More
26 Mar 2011 18:19 #8115 by andypugh
Replied by andypugh on topic Re:EMC2 Error help
The fist error message you posted was that EMC2 couldn't find a file called IMAV. The problem could be where the file is, the file extension, or possibly case-sensitivity.
I assume that the IMAV file is mentioned in the INI file? Make sure that the file is in the same directory as the INI file, and that there is no spurious path in the INI file line.

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

Time to create page: 0.092 seconds
Powered by Kunena Forum