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 > Mach Software (ArtSoft software) > Mach Mill



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-13-2006, 08:47 PM
 
Join Date: Jan 2006
Location: Canada
Posts: 17
kombayotch is on a distinguished road
Mach2 motor tuning problem???

I tuned my motors and with discrete jogging, its right on. I tell it to move 100 thou, it move 100 thou and so on. Put the dial indicator to it and its great.

However, when I run G-code programs, the scale is off...

For example, if I try:

G00 X0 Y0
G01 X1.5

It doesn't go to X of +1.5, it goes to X of +2... but the DRO says its at +1.5.

Ok, this has me baffled... did I miss something in the documentation here?
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-15-2006, 03:04 AM
derekj308's Avatar  
Join Date: Jun 2005
Location: Australia
Posts: 162
derekj308 is on a distinguished road
Hi kombayotch
Look for any G51 blocks in your program and also check the on screen scaling factor for your controller (Mach2/3?). You could also add a G50 block in which resets scaling factors back to 1. Your scaling factor is either 1.333' or 0.75 (I couldn't work out exactly what you meant travelled) so go hunting for those values in your program and your on screen scaling values. Are your other axis behaving the same way?
Cheers
derekj308
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 03-15-2006, 03:45 AM
 
Join Date: Mar 2006
Location: INDIA
Posts: 34
ravin is on a distinguished road
Hi kombayotch
HOW R U? DEREKJ is right also
but i will sugess u that check pitch of the ball secrew
i think if all is ok scalling is off and u should check the pitch in actual of the ball secrew and what u mension in the controler
one thing more if u r using pullys then re check retio of pullys of moter
Cheers

Ravin.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-15-2006, 08:22 AM
 
Join Date: Jan 2006
Location: Canada
Posts: 17
kombayotch is on a distinguished road
No G50 or G51 blocks. This is the entire program:

G00 X0 Y0
G01 X1.5
M02

Essentially, scalling is 1 when I move each axis manually (jog -> discrete), but not when I run G-code... even as simple as that above.

It is the same for both the X and the Y axis. I haven't checked the Z.

There are no pulleys, its direct drive through some Heli-cal couplings.

Other than G50 and G51, is there any other way the scale can get set for G-code but not for jogging?
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 03-15-2006, 08:37 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,551
ger21 is on a distinguished road
Buy me a Beer?
Set it up to be accurate when you run the code, not when jogging. Trying to set up a machine by making .01 moves is probably not the best way to do it. Your screw pitch may be off, and even small amounts of backlash could throw you off when making such a small move.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-15-2006, 08:46 AM
 
Join Date: Jan 2006
Location: Canada
Posts: 17
kombayotch is on a distinguished road
Actually, I jog it different distances 0.1", 1"... several inches when tuning it. It should be acurrate for both the code and manual operations should it not?
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 03-15-2006, 09:11 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,551
ger21 is on a distinguished road
Buy me a Beer?
If you jog it 1", does the DRO say 1", and it measures 1" exactly? If the DRO matches the distance you jog, then it should when you run the g-code. Is the DRO correct when you run the g-code.

The DRO should always match your exact position. If it doesn't, then you may be possibly losing (or gaining) steps.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 03-15-2006, 09:26 AM
 
Join Date: Jan 2006
Location: Canada
Posts: 17
kombayotch is on a distinguished road
DRO matches when I jog. It matches what the results SHOULD BE when I run code, but not what they actually are. Its quite puzzling...
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 03-15-2006, 09:37 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,551
ger21 is on a distinguished road
Buy me a Beer?
If you jog 10inches does the DRO match? If the DRO doesn't match at any time, either the steps per unit is incorrect, or your losing stepsIt could be that your parallel port is not outputting enough voltage?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 03-15-2006, 10:46 AM
 
Join Date: Jan 2006
Location: Canada
Posts: 17
kombayotch is on a distinguished road
The DRO ALWAYS matches during jogging. It just when running code that it doesn't match the actual movement. The part that is confusing is that I'm not loosing steps, I'm GAINING them somehow???

If I tell the machine to jog 1.5": It move exactly 1.5" and the DRO says it moved 1.5"

If I use the code with a center drill in the chuck:

G00 X0 Y0 ;go to the start point
G01 Z-0.1 ;lower the tool and make a small dimple
G00 Z0 ;raise the tool
G01 X1.5 ;move the tool 1.5"
G01 Z-0.1 ;lower the tool and make another small dimple
G00 Z0 ;raise the tool
M02

The DRO says that it is at X 1.5", but its actually moved 2". I'm not gaining distance because I'm taking the diameter of the bit as part of the measurement. I'm measure the center-to-center distance between the two dimples.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-15-2006, 03:34 PM
 
Join Date: Mar 2006
Location: Canada
Posts: 1
victor1946 is on a distinguished road
Hi,
Have you checked with Artsoft. I'm not sure that Mach2 uses the same software sequence to Jog versus running gcode. Have you tried using the MDI mode? They would probably be very interested in your problem.
Victor
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 05:14 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