CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-27-2006, 12:04 PM
 
Join Date: Apr 2005
Location: USA
Posts: 78
radicooldude is on a distinguished road
EMC + HobbyCNC driver help. I have no linux knowledge.

I was thinking of trying EMC to control my HobbyCNC driver kit. I have no linux knowledge, but I know a lot about PCs (no linux though.. )

Is there a EMC braindead install that will work with the hobbycnc driver? Does someone have the configuration info to connect and setup a hobbycnc driver with this EMC? Can someone walk me through how to setup a Hobbycnc to work on EMC?

Will I gain any advantages of using EMC versus Mach2? Mach2 backlash comp really doesnt work well for me right now, and I am hoping EMC may be better at backlash comp. Any thoughts?

Thanks, Zachery
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 06-27-2006, 02:49 PM
 
Join Date: Mar 2004
Location: Iowa, USA
Posts: 264
rippersoft is on a distinguished road

Try TurboCNC and DOS. I use it with my HobbyCNC board. EMC is difficult to setup for anything other than the parallel port pinouts that it uses.

EMC2 is suppose to help this by using several config files and a Hardware Abstraction Layer (HAL). The current EMC2 setup is with Ubuntu 5.10 (Breezy Badger) and a GUI called Axis.

Axis GUI - http://axis.unpythonic.net/
EMC - http://www.linuxcnc.org/
Install shell script - http://timeguy.com/cradek/emc/ubuntu
EMC2 LiveCD with Axis - http://dsplabs.cs.upt.ro/~juve/emc/

Good luck,
RipperSoftware
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 06-27-2006, 02:54 PM
joecnc2006's Avatar
www.joescnc.com
 
Join Date: Aug 2004
Location: usa
Posts: 3,055
joecnc2006 is on a distinguished road

Originally Posted by rippersoft
Try TurboCNC and DOS. I use it with my HobbyCNC board. EMC is difficult to setup for anything other than the parallel port pinouts that it uses.

EMC2 is suppose to help this by using several config files and a Hardware Abstraction Layer (HAL). The current EMC2 setup is with Ubuntu 5.10 (Breezy Badger) and a GUI called Axis.

Axis GUI - http://axis.unpythonic.net/
EMC - http://www.linuxcnc.org/
Install shell script - http://timeguy.com/cradek/emc/ubuntu
EMC2 LiveCD with Axis - http://dsplabs.cs.upt.ro/~juve/emc/

Good luck,
RipperSoftware
EMC allows you to change the pins in the .INI file with ease, (I used the generic.ini file myself, not the shereline version, just read the install tutorial, or better yet, log onto the IRC and ask them they will help you, And another note EMC2 makes it easier to do changes within the program by opening up the ini files for you to change the values.

When i first started i used the HobbyCNC kit with EMC with no problem.

Joe
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 06-27-2006, 02:59 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Zachery,

It looks (from the info on the HobbyCNC website) that the pinout for the HobbyCNC board is the same as the default pinout for EMC stepper. It is different than CandCNC's breakout board, and the default pinout for TurboCNC and I suspect the default for Mach2, however, on most systems re-configuring the pinouts in the software is easily accomplished.

You will also need to select the microstepping level that you are going to use (should be in your HobbyCNC documentation). You probably have to set the current level for the HobbyCNC board to match the steppers that you are using (should be described in the HobbyCNC documentation). This is true whether you use EMC, TurboCNC, Mach or whatever.

You will need to set the steps per inch and tune the speed in the EMC config file (or whatever system you choose).
TPI = Threads per inch
Steps per rotation = (200 * #microsteps per full step )
Steps per inch = (TPI * steps per rotation)

So the standard BDI should work. Download the software, wire up the system and give it a try.

Alan
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-10-2006, 03:58 PM
jcoats's Avatar  
Join Date: Nov 2005
Location: USA
Posts: 92
jcoats is on a distinguished road
EMC2 & HobbyCNC

Does anyone know if the default config should work with The HobbyCNC board?

Hobby CNC has:
Outputs
Pin 2 - X axis Direction
Pin 3 - X axis step
Pin 4 - Y axis Direction
Pin 5 - Y axis step
Pin 6 - Z axis Direction
Pin 7 - Z axis step
Pin 8 - A axis Direction *
Pin 9 - A axis step *
Other output pins: Suggested/optional uses
Pins 10-13,15 have pullup resistors
Pin 10 - Limit (NC switches in series)
Pin 11 - Home X (NC or NO switch as desired)
Pin 12 - Home Y (NC or NO switch as desired)
Pin 13 - Home Z (NC or NO switch as desired)
Pin 15 - Home A (NC or NO switch as desired) *
Pin 14,16,17 have no pullup resistors
Pin 14 - Not assigned - Router/Spindel on/off **
Pin 16 - Not assigned
Pin 17 - Not assigned
Pin 1 - Not brought out for use on the board. A small 'hack' could make it available.

* - Many do not have/use this axis - typically used in heated bow CNC cutters for styrafoam
** - My desired use
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-15-2008, 08:53 AM
IAD IAD is offline
 
Join Date: Feb 2007
Location: USA
Posts: 75
IAD is on a distinguished road

Does anybody know what I should use for the EMC2 timing requirements for the Hobby CNC board? I'm getting away with the Xylotex default settings, but I'd like to do this right...

Thanks!

~Luke
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 04-17-2008, 04:49 PM
 
Join Date: Apr 2008
Location: US
Posts: 5
will2027 is on a distinguished road

a
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 04-17-2008, 06:04 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Originally Posted by IAD View Post
Does anybody know what I should use for the EMC2 timing requirements for the Hobby CNC board? I'm getting away with the Xylotex default settings, but I'd like to do this right...

Thanks!

~Luke
do you have the latest version of EMC? I think doing it right probably would include running the stepper setup wizard and following all the instructions to the letter
Eric
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 04-20-2008, 06:11 PM
 
Join Date: Apr 2005
Location: USA
Posts: 4
cnccadcam is on a distinguished road

I also have a hobbycnc board. I have the 4AUPC. I also need timing requirements.

Step Time
Step Space
Direction Hold
Direction Setup

C
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 05-20-2008, 05:26 PM
loboy's Avatar  
Join Date: May 2008
Location: US
Posts: 7
loboy is on a distinguished road

the stepper default config for standard_pinout.hal is:

# finally connect physical pins to the signals
linksp Xdir => parport.0.pin-02-out
linksp Xstep => parport.0.pin-03-out
linksp Ydir => parport.0.pin-04-out
linksp Ystep => parport.0.pin-05-out
linksp Zdir => parport.0.pin-06-out
linksp Zstep => parport.0.pin-07-out


check the EMC2 User manual, you will most likely have to change the defaults.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-20-2008, 05:36 PM
loboy's Avatar  
Join Date: May 2008
Location: US
Posts: 7
loboy is on a distinguished road

As far as timing requirements go, you will first have to determine the latency of your computer.

This is done using the Terminal and running a latency test.

http://wiki.linuxcnc.org/cgi-bin/emc...a_Latency_Test
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 05-20-2008, 06:53 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,608
dertsap is on a distinguished road
Buy me a Beer?

the latest versions of emc make it really easy to setup the pinout , latency , or what have you .
the emc startup menu has the wizard which takes you thru the steps to set up your system , its far more user friendly then it was in the past ,no more need to be tracking down the ini files
__________________
A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 09:02 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353