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 08-20-2011, 03:09 PM
 
Join Date: Sep 2010
Location: USA
Posts: 52
forseral is on a distinguished road
Dual x-axis strange issue

Hello All,

I've built a dual x-axis machine and I'm running emc2. I'm using the keiling kit with the gecko 540 and 387oz-in motors.

I've mapped the output of the x-axis to the a-axis in emc's config. I'm finding when I advance the axis, one side advances a smidge (~.5") further than the other. As a quick test I switched the output from the g540 on the motors but same axis continued to advance further.

I realize this is not a lot to go on but I figured it was worth asking.

Anyone have any thoughts?
Reply With Quote

  #2  
Old 08-20-2011, 03:17 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,538
Al_The_Man is on a distinguished road
Buy me a Beer?

If you have eliminated the electrical/electronic possibilities then it comes down to mechanical, No?
.5" is a bit more than a 'Smidge' in my book!
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 08-20-2011, 03:33 PM
 
Join Date: Sep 2010
Location: USA
Posts: 52
forseral is on a distinguished road

Originally Posted by Al_The_Man View Post
.5" is a bit more than a 'Smidge' in my book!
Al.
ha, ya, i suppose im a little delusional
Reply With Quote

  #4   Ban this user!
Old 08-20-2011, 04:08 PM
 
Join Date: Apr 2007
Location: USA
Posts: 5,912
CarveOne is on a distinguished road

Here are the EMC2 (8.04) Configuration Wizard settings that I use. Make sure that the Steps Per settings are exactly alike for both X axis motors. I don't remember if they have individual settings or assume that for the second X motor.

CarveOne
Attached Thumbnails
Click image for larger version

Name:	Screenshot-EMC2 Stepper Mill Configuration.png‎
Views:	44
Size:	58.1 KB
ID:	140488   Click image for larger version

Name:	Screenshot-EMC2 Stepper Mill Configuration-2.png‎
Views:	34
Size:	55.3 KB
ID:	140489  
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #5   Ban this user!
Old 08-20-2011, 04:16 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Over what distance of movement do you see the discrepancy?

Are you using ballscrews or acme screws to drive the axis? Are you absolutely sure that the pitch of each screw is identical to the other? Can you test that manually?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-20-2011, 05:17 PM
 
Join Date: Sep 2010
Location: USA
Posts: 52
forseral is on a distinguished road

Originally Posted by doorknob View Post
Over what distance of movement do you see the discrepancy?

Are you using ballscrews or acme screws to drive the axis? Are you absolutely sure that the pitch of each screw is identical to the other? Can you test that manually?
I'm use 1/2-8 (8start) acme screws from mcmaster-carr. I ordered both at the same time and have validated they're the same.

I see the discrepancy in under 12 inches of movement
Reply With Quote

  #7   Ban this user!
Old 08-20-2011, 05:59 PM
 
Join Date: Sep 2010
Location: USA
Posts: 52
forseral is on a distinguished road

Originally Posted by CarveOne View Post
Here are the EMC2 (8.04) Configuration Wizard settings that I use. Make sure that the Steps Per settings are exactly alike for both X axis motors. I don't remember if they have individual settings or assume that for the second X motor.

CarveOne
are you using your Y axis for your secondary X motor? I'm using the A-axis and i'm curious the gecko treats it "secondary" so-to-speak.
Reply With Quote

  #8   Ban this user!
Old 08-20-2011, 08:54 PM
 
Join Date: Apr 2007
Location: USA
Posts: 5,912
CarveOne is on a distinguished road

Both X motors are moving the gantry. The Y motor moves the Z assembly along the gantry.

EMC2 is using the XYZ gantry machine configuration. I never could get the XYZA configuration to synchronize the two X axis motors (X and A). I also found it difficult to find out how to get it working online. None of the descriptions I found gave anything but vague information. When you configure the wizard it will initially show four motor options. After you define X, Y, and Z motors and go to the next page of the wizard you won't see but three motor entries if you go back to that page. If you define four motors the first time they will still be there when you go back later. Weirdness. I haven't seen what later releases of EMC2 have on these pages so I don't know if there have been changes to make this slaving setup more obvious.

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

  #9   Ban this user!
Old 08-20-2011, 09:15 PM
 
Join Date: Sep 2010
Location: USA
Posts: 52
forseral is on a distinguished road

Originally Posted by CarveOne View Post
Both X motors are moving the gantry. The Y motor moves the Z assembly along the gantry.

EMC2 is using the XYZ gantry machine configuration. I never could get the XYZA configuration to synchronize the two X axis motors (X and A). I also found it difficult to find out how to get it working online. None of the descriptions I found gave anything but vague information. When you configure the wizard it will initially show four motor options. After you define X, Y, and Z motors and go to the next page of the wizard you won't see but three motor entries if you go back to that page. If you define four motors the first time they will still be there when you go back later. Weirdness. I haven't seen what later releases of EMC2 have on these pages so I don't know if there have been changes to make this slaving setup more obvious.

CarveOne
Odd, I dont quite understand how yours is working. Can you post your .hal file?

I configured mine manually by editing my .hal file after a basic config. Notice the bottom section highlighted in green. I appended the output pins for my A axis to the xstep and xdir commands.

net xstep => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
setp parport.0.pin-03-out-invert 1
net xdir => parport.0.pin-03-out

net ystep => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-05-out-invert 1
net ydir => parport.0.pin-05-out
net zstep => parport.0.pin-06-out
setp parport.0.pin-06-out-reset 1
net zdir => parport.0.pin-07-out


net xstep => parport.0.pin-08-out
setp parport.0.pin-08-out-reset 1
setp parport.0.pin-09-out-invert 1
net xdir => parport.0.pin-09-out
Reply With Quote

  #10   Ban this user!
Old 08-21-2011, 04:24 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,912
CarveOne is on a distinguished road

When I first run the wizard, there are the four entries. Slaving only works when the first two entries are used for the two X axis motors. They must be named X and X. X and A did not work. I found a reference to it somewhere that finally gave me the clue. I assume that both X motor entries get the same signals. It wasn't at all intuitive as to how to do this. I know nothing about messing around in the hal files.

I'll fire up the machine today and copy the .hal file for posting here.

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

Sponsored Links
  #11   Ban this user!
Old 08-21-2011, 07:06 AM
 
Join Date: Apr 2007
Location: USA
Posts: 5,912
CarveOne is on a distinguished road

Here is the .hal file for my big machine that uses dual r&p drives on the X axis to move the gantry. It has been renamed to .txt file extension for uploading.

CarveOne
Attached Files
File Type: txt CarveOne49x132.txt‎ (2.9 KB, 17 views)
__________________
CarveOne
Resistance is not futile. It is voltage divided by current (R=V/I).
Reply With Quote

  #12   Ban this user!
Old 08-22-2011, 11:12 PM
 
Join Date: Sep 2010
Location: USA
Posts: 52
forseral is on a distinguished road

Originally Posted by CarveOne View Post
Here is the .hal file for my big machine that uses dual r&p drives on the X axis to move the gantry. It has been renamed to .txt file extension for uploading.

CarveOne
Thanks a lot. as I suspected, your configuration uses the X&Y axis. what controller are you using, a gecko? reading your configuration made me realize I need to revisit my hold timings and such. I guess could be losing steps on motor?

i did some additional testing tonight and found 2 strange things:

first: I did some additional testing today and noticed a few strange things: When I dropped my IPM to 1ipm, the gantry stayed aligned. jogging at high speeds caused it to become out of square.

second (off topic) When i ran the gantry from 0 to 20" back and forth without pause, the gantry would not make it to the 0 and 20" position until the last
Reply With Quote

Reply

Tags
dual x-axis




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
strange emco 325 issue ratedr EMCO Lathe 0 08-09-2011 08:25 AM
Strange issue with a C10 BOB Brass_Machine Automation Technology Products 1 04-26-2011 06:32 PM
Dual Steppers or Timing Belt for Dual X-axis? GEBrown Linear and Rotary Motion 3 05-27-2010 11:45 AM
Strange MAzatrol / EIA-ISO issue SPE_user1 Mazak, Mitsubishi, Mazatrol 3 09-09-2008 08:10 AM
Strange serial comms issue TLSupper Machine Problems, Solutions , Wireless DNC, serial port 2 09-27-2007 01:00 PM




All times are GMT -5. The time now is 12:05 PM.





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