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! > Electronics > Stepper Motors and Drives


Stepper Motors and Drives Discuss stepper motors, drivers and related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-09-2010, 02:32 AM
 
Join Date: Dec 2010
Location: Egypt
Posts: 9
midohamaki is on a distinguished road
why the motor not runing

hi everyone
plz i need help in my controller
i use l297 controller with l298 H-bridge to control 2.5 A unipolar motor
i connect the motor well in bipolar connection and i used the 555 timer to get pulse train 668Hz and it worked very well but
when i use the mach3 to control the motor the motor not running
i tried a lot to solve it but nothing work
1- i isolate the parallel port signal with 74h244 and another time with 74573 and nothing happen too
2- tried to make motor tuning and port configuration in mach3 but zero results
so i do not know where is the problem
plz help meee

Last edited by midohamaki; 12-09-2010 at 03:39 AM.
Reply With Quote

  #2   Ban this user!
Old 12-09-2010, 03:08 AM
 
Join Date: Dec 2010
Location: Egypt
Posts: 9
midohamaki is on a distinguished road
no posts for helpin

plz guys i'll appreciate any help
i need your advices
thanks
Reply With Quote

  #3   Ban this user!
Old 12-09-2010, 06:57 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

What pins are you connecting to on the parallel port?
Reply With Quote

  #4   Ban this user!
Old 12-09-2010, 10:24 AM
 
Join Date: Dec 2010
Location: Egypt
Posts: 9
midohamaki is on a distinguished road

Originally Posted by vger View Post
What pins are you connecting to on the parallel port?
on pin 4 , 3 on EPP mode
Reply With Quote

  #5   Ban this user!
Old 12-09-2010, 11:23 AM
vger's Avatar  
Join Date: Jan 2006
Location: usa
Posts: 664
vger is on a distinguished road

Do you have Mach3 configured to use pins 3 and 4?
Is the port number correct in Mach3?
Do you also have ground from the parallel port to ground point on the L297?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-09-2010, 05:18 PM
 
Join Date: Dec 2010
Location: Egypt
Posts: 9
midohamaki is on a distinguished road

Originally Posted by vger View Post
Do you have Mach3 configured to use pins 3 and 4?
Is the port number correct in Mach3?
Do you also have ground from the parallel port to ground point on the L297?
yes i configured pins 3 , 4 and the port number correctly
and i do grounded the pp with the l297
what if it about the frequency !!
how can i use specific frequency by mach3 coz motor work well with 1KHz
may be it too fast pulsing from mach3 ???
what do you think ??!!
Reply With Quote

  #7   Ban this user!
Old 12-09-2010, 05:32 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,343
neilw20 is on a distinguished road
Answers linked... Been there, done that.

Look at this thread. There was the same problem solved. Read all posts.
http://www.cnczone.com/forums/mach_s...t_running.html
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #8   Ban this user!
Old 12-09-2010, 05:34 PM
 
Join Date: Dec 2010
Location: Egypt
Posts: 9
midohamaki is on a distinguished road

Originally Posted by neilw20 View Post
Look at this thread. There was the same problem solved. Read all posts.
http://www.cnczone.com/forums/mach_s...t_running.html
thank you sir i'll read it now
Reply With Quote

  #9   Ban this user!
Old 12-09-2010, 06:04 PM
 
Join Date: Dec 2010
Location: Egypt
Posts: 9
midohamaki is on a distinguished road

i had read the post you told me
and it was have the same problem and i think it was about motor tuning and mine too but how can i customize the motor tuning option to be in specific frequency ??
and i will try every solution in that post and see what is gona happen
Reply With Quote

  #10   Ban this user!
Old 12-09-2010, 06:08 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,343
neilw20 is on a distinguished road

Don't get confused with Mach3 speed, like 25KHz. That is how often it updates the outputs, but they don't change on every update. This enhances timing accuracy.
Go to motor tuning and set motor speed very slow, then keep doubling it until it does not work.
Halve the one that doesn't work, sneak up on the limit, then back off, say 25%.
Once you have the optimum speed set, do the same procedure with the acceleration. Changing direction will not loose steps when you get it right.
Make sure you have the step and direction polarity set correctly according to the specs for the chip you are using.
That is, active high/low in the output pins.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

Last edited by neilw20; 12-09-2010 at 06:12 PM. Reason: Extra polarity comment
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-21-2011, 05:38 PM
 
Join Date: Oct 2008
Location: nowhere
Posts: 27
bagherdn is on a distinguished road
do step by step

i think at first u must be sure of LPT output (hardware,wire and DRIVER)
for testing it use a small led with a resistor on the selected pins and run mach, if all are ok it will say to you, then u should think on frequency and... if problem is this so ur motor must stall and vibrate with no rotation and u can try for tuning it.
Reply With Quote

  #12   Ban this user!
Old 01-22-2011, 06:56 AM
 
Join Date: Dec 2010
Location: Egypt
Posts: 9
midohamaki is on a distinguished road

at first thnx for ur reply
i am sure of my LPT and tested it it is okay
a bout the freq i donot know the freq i will get from mach3 in spec tuning
so i use 555 timer to get known freq from it and the motor work very will
so i am sure now that the problem in mach 3 tuning
me and my friend made software to control 555 and the driver circuit by code and it worked will but the G code was simple not complex
but i will find the right tuning in mach 3 and tell you it ASP
thnx
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just got a job runing a cnc laserz 100w trooper55 Laser Engraving & Cutting Machines 3 09-17-2008 06:21 AM
Torchmate 1 up and runing, fine tune issues gfelippo Torchmate 2 07-20-2008 02:48 PM
Runing out of pins? bigz1 Hobbycnc (Products) 28 05-19-2007 06:17 PM
Any one runing Allen B Ultra100 in Step/dir DennisCNC Servo Motors and Drives 4 06-15-2006 09:26 PM
Anyone runing ~2,600 oz steppers? DennisCNC Stepper Motors and Drives 6 05-31-2006 11:05 PM




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