start up Help

More
26 Jan 2012 00:55 #17142 by paulocgcc
start up Help was created by paulocgcc
Hi there'

I'm a begginer in CNC, in the process of instalation of my very first Sherline 5400 Mill CNC. I lost 2 step motors bringing it to Brazil and while waiting the replacement I tried to install just the X axle, once I'm craving to see it working. I purchased a brand new computer, installed the recomended version thru this website, connected everything, but I cant make the X axle work Tested the latancy, used the recomended configuration that comes with EMC - Sherline 3 axles metric. So questions is
- I have to have all 3 step motors in place?

Please notice that this is also my first experience with Linux...:blush:
Somebody can help me?

PC.

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

More
26 Jan 2012 09:20 #17148 by Rick G
Replied by Rick G on topic Re:start up Help
Hello,

You might start with checking that you have the correct parallel port address and it is working.
Try Chapter 9 in the Integrator Manual.
www.linuxcnc.org/index.php/english/documentation

Rick G

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

More
26 Jan 2012 09:33 #17149 by Rick G
Replied by Rick G on topic Re:start up Help
From a terminal try...
lspci -v

or

dmesg|grep parport

See what happens and make sure the correct address is used in your config.

Rick G

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

More
26 Jan 2012 15:26 #17161 by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Thanks a lot Rick.
As soon as I return home I will try it and give you a feedback.
PC.

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

More
26 Jan 2012 22:00 #17173 by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Rick,

I tried the solution presented on Troubleshooting #11 but didn' work as weel.

Regarding your suggestion, I thank you but I do not understand the information presented or what I have to do. As I explained before I'm complete dumb regarding linux and as I can see now in hardware. Attached is what I got from the command you instructed to me. Could you help me on that?

Thanks in advance
PC

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

More
27 Jan 2012 11:15 - 27 Jan 2012 11:33 #17180 by Rick G
Replied by Rick G on topic Re:start up Help
I did not see an attachment, but the first question is did the results show a parallel port and if so what address did you find?

Does this help?
wiki.linuxcnc.org/cgi-bin/wiki.pl?NetMos

The idea is to find the correct address of your parallel port, make sure it is working and then look in your .hal file to see if the correct address is there, if not edit the line for the correct address.

You can then open an editor and put the addresses into the appropriate place in your .hal file.

loadrt hal_parport cfg="0x378 0xc000"


The above example is taken from the netmos link and shows the results edited into the file, your address may be different 0x378 is often the normal address for an onboard port.
You may also want to look here..
www.linuxcnc.org/docs/EMC2_Getting_Started.pdf

Rick G
Last edit: 27 Jan 2012 11:33 by Rick G.

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

More
27 Jan 2012 13:18 #17184 by andypugh
Replied by andypugh on topic Re:start up Help
Rick G wrote:

The idea is to find the correct address of your parallel port, make sure it is working and then look in your .hal file


Something we always seem to forget to explain is where the "hal file" is to be found.

When you create a machine emc2/linuxcnc creates a folder in your home directory called "emc2" (or, possibly, LinuxCNC) and in that folder you will find a "configs" folder, and in the "configs" will be another folder with a name that corresponds to your chosen machine name. And in that folder is where the HAL and INI files live.

It is possible that the HAL file reads the port address from the INI file, or it might be in there explicitly, I am not sure.

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

More
28 Jan 2012 00:59 #17208 by paulocgcc
Replied by paulocgcc on topic Re:start up Help
Nope... still the same...
Sorry for the attachment issue... here is now. I'm attaching the copy of my .hal file as the result for

File Attachment:

File Name: lspci_paulo.txt
File Size:6 KB
Attachments:

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

More
28 Jan 2012 01:00 #17209 by paulocgcc
Replied by paulocgcc on topic Re:start up Help
now the .ha file

File Attachment:

File Name: standard_p...ed81.hal
File Size:2 KB
Attachments:

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

More
28 Jan 2012 01:04 #17210 by andypugh
Replied by andypugh on topic Re:start up Help
paulocgcc wrote:

Nope... still the same...
Sorry for the attachment issue... here is now. I'm attaching the copy of my .hal file as the result for

File Attachment:

File Name: lspci_paulo.txt
File Size:6 KB


Do you actually have a parport?

Instead of lspci (which only show PCI ports) try

cat /proc/ioports

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

Time to create page: 0.888 seconds
Powered by Kunena Forum