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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-08-2011, 05:03 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 14
deslee is on a distinguished road
cnc step/dir. cw/ccw

Can anyone please tell me what is the difference between this step/dir and cw/ccw on a stepper motor driver?because I dont know how to connect to the cw/ccw . please help
Reply With Quote

  #2   Ban this user!
Old 09-08-2011, 08:20 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

Hi Deslee

with step /dir

pulses to the step input makes the motor turn

the direction signal controls the direction (as expected)


with cw/ccw

pulses to the cw input turns the motor in one direction

pulses to the ccw makes it turn in the other direction


if you have the wrong control signals for a stepper driver

its possible to convert them

John
Attached Thumbnails
Click image for larger version

Name:	clock - direction and clock up-clock dowm.jpg‎
Views:	171
Size:	65.9 KB
ID:	141585  
Reply With Quote

  #3   Ban this user!
Old 09-09-2011, 06:11 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 14
deslee is on a distinguished road

thanks john 100 I used the stp/dir bob to control cw/ccw driver ,nowander it did not work . so, do you have any kind of this schematic bob ,so I can make my own. hope to hear you so . thanks
Reply With Quote

  #4   Ban this user!
Old 09-09-2011, 07:08 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

Hi Deslee ,

since my last post ,

I've looked at your other posts and had a look at the AD5410 manual

the circuit below should help

the AND gates made from part of the 7400 and 7406 IC's

can provide more current than a 7408 AND gate to drive the opto isolators

the 150 ohm resistor limits the LED current to a similar level to the "MF"

inputs

the step signal is switched to the CW or CCW depending on the

logic level from the direction signal

(note the NAND gate used to send the inverted direction signal to

one half of the circuit)




John
Attached Thumbnails
Click image for larger version

Name:	AD5410 step -direction converter.jpg‎
Views:	134
Size:	48.1 KB
ID:	141623  
Reply With Quote

  #5   Ban this user!
Old 09-09-2011, 09:18 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

Hi Deslee ,

I've just had a thought

you could use a 74241 octal buffer

only two of eight buffers are used

John
Attached Thumbnails
Click image for larger version

Name:	74241 step-dir to cw - ccw converter.jpg‎
Views:	107
Size:	42.1 KB
ID:	141630  
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-10-2011, 05:56 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 14
deslee is on a distinguished road

Hi John,
does this mean i have to use 3 74241 to link it to my stp/dir bob?

so,i can use 3 drivers.

because i just have some basic electronics knowledge .thanks
Reply With Quote

  #7   Ban this user!
Old 09-10-2011, 06:10 AM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Where are your step/dir signals coming from?
I believe EMC can be configured to generate cw/ccw directly.
Reply With Quote

  #8   Ban this user!
Old 09-10-2011, 06:35 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

Hi Deslee,

yes you will need three 74241 IC's ( one for each axis)

the unused parts can not be used because each of the two enable pins
control 4 buffers

John
Reply With Quote

  #9   Ban this user!
Old 09-11-2011, 04:48 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 14
deslee is on a distinguished road

hello john
the circuit you give me is not working
I use it on kcam and mach3 no movement at all
any circuit I can try ? please let me know.
thanks.

stp/dir signals coming from parallel port.

what is EMC?
Reply With Quote

  #10   Ban this user!
Old 09-11-2011, 06:47 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

I've not used EMC

but I understand its a LINUX version of the

the Kcam and Mach3 type of software for windows


have you used Kcam or Mach 3 to control another stepper

motor driver before?


if not try the step and direction test circuit from Geckodrive :--

Support

look in application notes-
open the miscellaneous tab
then open step and direction tester


I've added led indicators to the 74241 circuit

the direction signal should switch between the two led's

the step signal should make one flash on or off


john
Attached Thumbnails
Click image for larger version

Name:	74241 step-dir to cw - ccw converter+ leds.jpg‎
Views:	96
Size:	51.5 KB
ID:	141734  

Last edited by john_100; 09-11-2011 at 07:03 AM. Reason: add link to geckodrive.com
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-11-2011, 07:01 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 14
deslee is on a distinguished road

hi john

I did used kcam for the l297/l298 drivers

what do mean test circuit from geckodriver?

can you draw the led circuit for me?

thanks
Reply With Quote

  #12   Ban this user!
Old 09-11-2011, 09:48 AM
john_100's Avatar  
Join Date: Mar 2007
Location: uk
Posts: 413
john_100 is on a distinguished road

Hi Deslee ,

it looks like you made your last post while I was re-sizing the picture of

the 74241 circuit with the two LED's added (one for CW and one for CCW)

the picture was too big when uploaded first time


the test circuit from Gacko was just incase you had problems
with the control of the printer port and the 74241 adaptor circuit

if you select in Kcam (or Mach 3) negative going pulses

one led should be on
the led will dim as you rapidly send pulses to turn the motor

for positive going pulses
the led will be off until , you send step pulses
the faster the pulses the brighter the led


you can test the 74241 circuit on its own ,with just a 5V supply connected

you should have one led on

connecting the direction input to 0V it should switch to the other led

connecting the step input to 0V will switch off the led



John
Attached Thumbnails
Click image for larger version

Name:	StepDirectionTester.jpg‎
Views:	73
Size:	43.6 KB
ID:	141745   Click image for larger version

Name:	74241 step-dir to cw - ccw converter+ leds.jpg‎
Views:	87
Size:	51.5 KB
ID:	141746  

Last edited by john_100; 09-11-2011 at 01:09 PM. Reason: typo
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Loosing step more and more on X axis only after reducing the accl/velocity step motor Calico DIY-CNC Router Table Machines 3 04-09-2010 07:23 PM
Need Help!- Step/Direction pins should be Step FWD and Step BACK rayscott Mach Software (ArtSoft software) 6 02-09-2010 05:57 PM
Full step and half step hybrid driver? rkremser Stepper Motors and Drives 4 11-20-2008 10:22 AM
Need Help!- How to edit MPFAN post file step by step m_bhui Post Processors for MC 2 10-04-2008 05:42 AM
Step by step cnc plasma with parts list and links. massajamesb CNC Plasma and Waterjet Machines 8 07-08-2007 10:22 PM




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