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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-24-2011, 07:25 AM
 
Join Date: Jan 2011
Location: USA
Posts: 7
jon_cnc is on a distinguished road
EMC2 software setup help

I am building my own CNC machine that is controlled by LinuxCNC's EMC2 program. I am using a parallel port breakout board connected to 4 stepper drivers (all from probotix.com). It is a 3-axis gantry machine with 2 motors for the x-axis. My question is twofold:

1) how do configure EMC2 to move the x-axis motors in sync? I was thinking that I would change the pinout in the stepconf wizard to have x-axis outputs instead of the a-axis outputs. (resulting in two x-axis outputs)

2) how do you configure EMC2 to run Probotix equipment. As in, what specific values are associated with Probotix drivers that need to be entered into stepconf? Also, what is the correct pinout configuration for the Probotix breakout board in stepconf? (I can probably figure this out through trial and error, but I'm new to EMC2 and some advice would be helpful)

Thanks!
Reply With Quote

  #2   Ban this user!
Old 01-24-2011, 10:12 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,911
CarveOne is on a distinguished road

It is possible to slave the X axis motors in EMC2 but it is not easy to find the info. I've done it, it works well, and will need to find where I put the notes about it. As I recall, you will use the xyz machine configuration, not the xyza machine configuration.

CarveOne
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #3   Ban this user!
Old 01-24-2011, 10:27 AM
 
Join Date: Feb 2009
Location: USA
Posts: 38
beermkr is on a distinguished road

I just went out and played with the Stepconf wizard and i bet that you can use the XYZ setup and tell it to put the x step and x dir signals out on the A pins. It should (guessing here) put duplicate info our on both sets then.

R/
__________________
Mike Pensinger
Chief Brewer, The River Company Restaurant & Brewery, Inc. Radford, VA
Reply With Quote

  #4   Ban this user!
Old 01-24-2011, 10:33 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,911
CarveOne is on a distinguished road

Originally Posted by beermkr View Post
I just went out and played with the Stepconf wizard and i bet that you can use the XYZ setup and tell it to put the x step and x dir signals out on the A pins. It should (guessing here) put duplicate info our on both sets then.

R/
That's pretty much what I remembered doing two years ago. My memory about that isn't as sure about it as it used to be though.

CarveOne
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #5   Ban this user!
Old 01-24-2011, 11:22 AM
 
Join Date: Apr 2006
Location: USA
Posts: 21
rk396 is on a distinguished road

I've just recently switched to EMC2 and had to do this very thing. In stepconf just set the pin outs for the slaved motor to the same Axis. Depending on how the motors are installed, the step and direction may have to be inverted.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-24-2011, 11:30 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,911
CarveOne is on a distinguished road
EMC2 dual drive X axis configuration

Start Stepconf Wizard with the xyz router machine configuration.

On the first configuration screen set Axis Configuration: XYZ

On the second configuration screen set Parallel Port Setup as folows:

Pin 1 = Unused
Pin 2 = X step
Pin 3 = X direction (check mark)
Pin 4 = X step
Pin 5 = X direction (check mark)
Pin 6 = Y step
Pin 7 = Y direction (check mark)
Pin 8 = Z step
Pin 9 = Z direction (check mark)

Note that while in the Stepconf Wizard you can only test run one of the X axis drives, so it will cause racking. After making these settings save the configuration and test the drives outside of the Stepconf Wizard. I recommend setting the jog rate to a slow rate for the initial testing to see that the drives both move in the same direction without racking. I hard wired the slave drive so that it is reversed from the X drive and the configuration is the same for both motors. If you want to keep the motors wired the same way just uncheck the box for Pin 5.

You will need to have the gear ratios set correctly in Stepconf also. The slaved drive is assumed to be the same as the X drive.

CarveOne
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #7   Ban this user!
Old 01-24-2011, 08:10 PM
 
Join Date: Jan 2011
Location: USA
Posts: 7
jon_cnc is on a distinguished road

Thanks for the help. CarveOne, what do you mean by not inverting the output for the second x-axis motor? If EMC is outputting two sets of x-axis commands, why can't the motors be wired identically (since they are moving as one)?

Also, is there any Probotix driver specific information that I should be aware of? What about the x-enable, y-enable, and z-enable pins on the breakout board? Are they the digital outs in stepconf?
Reply With Quote

  #8   Ban this user!
Old 01-24-2011, 08:58 PM
Regnar's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 427
Regnar is on a distinguished road

[QUOTE= CarveOne, what do you mean by not inverting the output for the second x-axis motor? [/QUOTE]

This statement is dependent on your type of machine. Most with 2 X motors are usually running a gantry router with rack and pinion. This would mean that both motor shafts would be point towards the center of the table. If you told both motors to turn clockwise. One motor would go one direction and the other would go the opposite. Now if you are using screws like a Solvyia (sp) build then you have nothing to worry about.
Reply With Quote

  #9   Ban this user!
Old 01-25-2011, 05:38 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,911
CarveOne is on a distinguished road

Originally Posted by jon_cnc View Post
Thanks for the help. CarveOne, what do you mean by not inverting the output for the second x-axis motor? If EMC is outputting two sets of x-axis commands, why can't the motors be wired identically (since they are moving as one)?

Also, is there any Probotix driver specific information that I should be aware of? What about the x-enable, y-enable, and z-enable pins on the breakout board? Are they the digital outs in stepconf?
I don't have any experience with Probotix drivers or breakout boards. Sorry.

Regnar is right about the screws vs R&P. In addition, it's also possible to use left hand screw on one side and a right hand screw on the other side of the gantry. Most of us use screws with the same twist direction, typically right hand I would assume.

You have a choice to wire the motors the same (as they would be if they come pre-wired) or reverse the wiring of one coil in the slaved motor. You just toggle the check boxes in Stepconf Wizard for the two slaved motors so that they both run in the correct direction at the same time. Whichever combination works for your machine configuration.

CarveOne
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
emc2 setup with uln2803 cjgaus DIY-CNC Router Table Machines 8 08-12-2010 03:44 AM
Need Help!- MC9 with EMC2 lathe PP tool setup Concealed45 Post Processors for MC 2 12-22-2009 05:35 PM
Need Help!- EMC2 spindle setup melee General CNC (Mill and Lathe) Control Software (NC) 5 11-28-2009 02:38 AM
G540 and EMC2, need help with setup rogerer Gecko Drives 1 05-16-2009 01:21 PM
EMC2 to BobCampbell board setup ? Gads LinuxCNC (formerly EMC2) 5 01-25-2008 01:18 PM




All times are GMT -5. The time now is 02:28 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 354 355 356 357 358 359 360 361