linuxcnc noob

More
06 Jul 2016 04:25 #77070 by slyvape
linuxcnc noob was created by slyvape
Hello all
I really hate to be that \guy but this forum is a little over whelming. I bought a used sherline mill with cnc kit on it. However no comuter or software. I found an old laptop with a parallel port and installed ubuntu i ran the script to get the linuxcnc iso and it installed debian with the cnc package. No big deal. I tried to set up the basic configuration as per the instructions but all i get is the stepper motors locked and humming when i turn on the driver. I really don't need the actual program to run i need the DRO and the jog features to work as my projects are simple. if i could get some help just to get those tow things running it would be great.

here is a list of what i have
sherline 5400 mill
a2z upgrade kit (3/8 lead screws 8 tpi)
minebea matsushita 23km-k035-62v stepper motors
sherline emc 4 axis driver

Thank you in advance for anyhelp

john

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

More
06 Jul 2016 12:57 - 06 Jul 2016 12:58 #77077 by andypugh
Replied by andypugh on topic linuxcnc noob
Try inverting the sense of the step pins (it's a little check-box next to each pin in the Stepconf setup)

Also, note that step-length is nanoseconds. 5000 is a number that nornally works.
Last edit: 06 Jul 2016 12:58 by andypugh.

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

More
07 Jul 2016 01:16 #77118 by slyvape
Replied by slyvape on topic linuxcnc noob
Hello all
I am sorry to do this but i am really get frustrated with this.

I will gladly reimburse someone that can walk me through setting up this mill over the phone. This is not a challenge and i don't think there are any major problems with the computer or the mill.

Thanks for the help.

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

More
07 Jul 2016 01:24 #77120 by andypugh
Replied by andypugh on topic linuxcnc noob
it might help to say which time-zone and continent you are on. And what language you speak.

Or, post your config files and the Sherline specs here, and we can probably see what's not right.

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

More
07 Jul 2016 02:07 #77123 by slyvape
Replied by slyvape on topic linuxcnc noob
I am in NJ USA
I have a sherline 5400 with three stepper motors
the motors are minebea-matsushita 23km-k035-62v
the driver is a sherline emc 4 axis unit
the lead screws are 3/8 8 tpi

the parport is 0x278

the motors lock up when connected

i am using the standard sherline 3 axis config that is with linux cnc. i can send the complete file to anyone that needs it.

Thank you so much for the help.

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

More
07 Jul 2016 08:06 - 07 Jul 2016 08:21 #77131 by Rick G
Replied by Rick G on topic linuxcnc noob

I found an old laptop with a parallel port and installed ubuntu

Probably not a great choice.
linuxcnc.org/docs/2.6/html/common/System_Requirements.html

Have you looked here...
linuxcnc.org/docs/html/

Also here...
linuxcnc.org/docs/html/gui/axis.html

the motors lock up when connected

Well that is a good thing. Sounds like the hardware is working.

Remember when starting linuxcnc you need to Set the power and the E-stop. Top left corner red circle orange square or F1 then F2.

the parport is 0x278


In your .hal file there should be a line such as
loadrt hal_parport cfg="0x0378"
that sets the parallel port
You can edit it for the address of your parallel port
If things still are not working, yes post your configuration files here so we can look.

Rick G
Last edit: 07 Jul 2016 08:21 by Rick G.

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

More
07 Jul 2016 12:18 #77139 by slyvape
Replied by slyvape on topic linuxcnc noob
The machine is an ibm t42 not something ancient
I will check the other items and report back thanks for the help

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

More
07 Jul 2016 13:13 #77141 by Todd Zuercher
Replied by Todd Zuercher on topic linuxcnc noob
The reason it is probably a bad choice has nothing to do with its age, but the fact that it is a laptop.

Lap tops come with all sorts of odd power saving features hardwired into them, and they wreak havoc with the real time system that Linuxcnc relies on.

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

More
07 Jul 2016 13:38 #77142 by andypugh
Replied by andypugh on topic linuxcnc noob
However, even if the laptop turns out not to work especially well, it should at least work.

If the motors are locked but not turning then the problem tends to be:
1) Step and direction not connected
2) Step and direction swapped
3) Step length too short
4) Step polarity inverted


Case (2) can be spotted by the motor making one single step when the jog direction is reversed.

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

More
07 Jul 2016 15:18 #77144 by Todd Zuercher
Replied by Todd Zuercher on topic linuxcnc noob
Since I think he is using a stock Sherline config, on what we have to assume is a stock Sherline mill, my money is on the parallel port address needing to be set correctly.
loadrt hal_parport cfg="0x0378"
needs changed to
loadrt hal_parport cfg="0x0278"
or what ever his actual parallel port address is.
Look for the above line in the file:
~/linuxcnc/configs/by_machine.sherline.Sherline3Axis/standard_pinout.hal

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

Time to create page: 0.084 seconds
Powered by Kunena Forum