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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-12-2008, 01:19 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road
Starting to wire my Keling KL-4030 drivers...QUESTIONS!

OK guys.
I am starting to wire by cnc mill. As stated in my initial posts, wiring is not my favorite pasttime. I have a few questions based on this wiring diagram:

http://www.kelinginc.net/KL-4030Wiring.pdf

1. Are the little squiggly lines by the motor anything important like resistors or other scary, exotic electronic devices? If they are something that I need, how do I wire them in?

2. If I am looking at the schematic right, I am going to take eight wires off the motors and hook them up in pairs, correct?

3. I have a funny looking plug on my power supply that obviously does not plug into anything in the kit. I was just going to cut it off and use the bare wires to splice from. OR...I think I can just push a piece of wire into the plug and go off from there. How do I tell which wire is the negative and which is the positive? Multimeter?

4. And just out of curiosity, what size wire should I use to put all of this together? I think Hoss said he used speaker wire a little heavier than the 22 guage that is on the motors.

5. The rest looks fairly simple.

KEEP THIS SIMPLE. LOL. I am electrically illiterate.

Mike

Last edited by BrassBuilder; 01-12-2008 at 01:35 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 01-12-2008, 02:31 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 4,531
hoss2006 is on a distinguished road
Buy me a Beer?

Hey Mike,
1.The squiggly lines are just the coils of the motor.
2.If the wire color codes match the motors from them, it should be pretty easy to wire them up.
A simple multimeter from walmart, radio shack etc, would be good to check that the coils match the wire colors.
3.Can't say what the plug is for without seeing it, but if it has a red(+) and black(-) that's good.
The multimeter could tell whats + and - if not.
I'd cut it off so the wires can be attached to the KL 4030.
4. 22 AWG should be OK seeing that's what the motors have coming out of them, but thicker would be better.
Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 01-12-2008, 02:51 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road

Cool. I just went to Menards and bought a multimeter along with a nice book by the same company telling me how to operate it. That should be easy enough...it has pictures.

1. Easy beans. No problems there.
2. The colors match and after another search I found someone that posted pictures of his wiring and he has two wires going into one and then into the driver. Another problem down.
3. The plug is not marked. I got my multimeter and after a some study time, I should be able to tell what is what.
4. I got 22 guage wire. I'll give that a try for now.

My plan is to wire up one axis on the work bench and try it out....That way if something should go drastically wrong, I only fry 1/3 of my stuff.

Thanks for the help. I'm off to wire.

Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 01-12-2008, 04:36 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road

OK. I got my X-axis wired up per the diagram link below. I started running through the setup and nothing is happening. A couple of observations:

1. Under the CONFIG Menu, there is a tab called Motor Outputs for setting the Step Pin # and the Dir Pin #. Where does this info come from?

2. On the side of the KL-4030 driver, there are 8 little toggle switches. They are all in the down position. Is this where I set my pins for the above question? If not, what do I do with them? I found this nice picture which does not tell me a lot...in any case, mine does not match any of these lines:

http://www.kelinginc.net/KL-4030.pdf

According to the directions I got from the Keling website, the motors should spin when I play with the sliders. They don't, but I suspect it is something to do with the above.

Hmmm...found more info on this. How many plug ins should I have for the wall outlet? I have one right now. I have the 5v transformer that is wired into the breakout board. But according to another diagram that I found, the power supply should have a plug in. I don't have the power supply plugged in.

Hoss: did you use all eight wires off the motors or just four? I used all eight per the linked drawing below. I think this is correct. That should be wired bipolar parallel.

Anything else that I might have missed?

Thanks
Mike

Last edited by BrassBuilder; 01-12-2008 at 05:21 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 01-12-2008, 05:58 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road

Here is an update:

I rewired the system per this diagram:
http://www.robertguyser.com/download....google.com%29

It is the second link down on the page. I got a plug in wired onto the power supply so now I have everything powered up.

I figured out the pin numbers in Mach 3. The numbers correspond to the KL-4030 driver and the breakout board....

I am still trying to figure out the toggle switches on the side of the KL-4030.

I notice that if I have the power off, I can turn the spindle on the motor by hand, but if I have the power on, I cannot turn it. Is this good?

If it would help, I can post a picture of my setup.

Anyone?
Mike
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-12-2008, 06:33 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 4,531
hoss2006 is on a distinguished road
Buy me a Beer?

hey Mike,
been busy in the shop or would have responded earlier.
the toggles are to set the amount of microsteps and the amps going to the motors.
With the default "all down" you'll be in full step mode and only .9 amps.
I have mine set to half step mode for the X and Y, but the 1/8 microstepping is a good starting point.
Switch M1=down, M2=down, M3=up is 1/8 microstepping mode.
Will give nice smooth movement.
I have my 282's set at 2.7 amps, M5=up, M6=up, M7=down
check what your motors specs recommend for current/phase.
Power off, spinning free and power on, stiff is exactly right for the motors.
Later Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-12-2008, 06:49 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road

EUREKA! I GOT IT!

Trust me Hoss, you were a big help even if you did not post. Your website and the postings of your settings in Mach3 caught a couple of things that I missed. I think one of my mistakes was a misunderstanding from the directions from Keling for setting up their motors. Under the "Motor Tuning" tab in the Config menu, I thought sliding the sliders would start the motor. It doesn't. It is only a setting. Once I saved the setting and got back to Mach3 and used the arrow keys, then the motor started turning.

The documentation on this stuff is rather lacking but I got it figured out between your site, a few searches here, and a couple of other websites.

I about wet myself the first time it turned. LOL

Now...I think I will hook up the other two motors to make sure it all works and then I'll mount all of this into a case.

Thanks!
Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 01-12-2008, 07:01 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road

Hoss,
I just ran down and check the toggle switches. I have my motors (425 oz) wired bipolar parallel which according to Keling is 2.8 amps. I have 2.7 and 3.0 amps on the drivers. I set it at 2.7. Is this correct?
Here is the link to my motor specs:

http://www.kelinginc.net/KL23H286-20-8B.pdf

I still need to figure out the steps setting for the motors. I see you are running 1000 in the motor tuning configuration. That is what I put in for now...

Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 01-12-2008, 08:07 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 4,531
hoss2006 is on a distinguished road
Buy me a Beer?

2.7 is right.
1000 steps would be for .200 pitch ballscrews and the kl4030 in full step mode, all up actually.
If you set the kl4030 to 1/8 microstepping, set the steps per in the motor tuning to 8000.
1/2 step mode = 2000 steps per, etc.
Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 01-12-2008, 08:11 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road

Originally Posted by hoss2006 View Post
2.7 is right.
1000 steps would be for .200 pitch ballscrews and the kl4030 in full step mode, all up actually.
If you set the kl4030 to 1/8 microstepping, set the steps per in the motor tuning to 8000.
1/2 step mode = 2000 steps per, etc.
Hoss
got it!
Mike
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-13-2008, 05:50 PM
 
Join Date: Dec 2007
Location: US
Posts: 443
BrassBuilder is on a distinguished road

Hoss,
So what exactly does the "steps" do? Is one better over the other? I'm using 1/8 right now.
Mike
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 01-13-2008, 06:10 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 4,531
hoss2006 is on a distinguished road
Buy me a Beer?

Higher steps per (1/4, 1/8 1/16 etc)will give smoother movement and higher accuracy.
Lower steps per (full step,half step) will give the most torque.
1/4 or 1/8 is a good middle ground.
you'll get good smooth arcs and angles when both axis' are moving together.
Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
5 Phase/ 5 wire stepper drivers. jonandyev Open Source Controller Boards 61 12-11-2011 06:28 AM
4 wire 495oz wiring to 4030 driver tee2 Automation Technology Products 10 03-23-2008 06:29 PM
Keling motors, drivers and power supply connections Nitroghost Automation Technology Products 14 03-13-2008 12:18 PM
Keling Inc. KL-8056 Drivers heathmanc Automation Technology Products 8 06-19-2007 08:54 PM




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