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! > Commercial Products Support Forums > Automation Technology Products


Automation Technology Products Discuss Automation Technology Products here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-12-2008, 06:28 PM
 
Join Date: Dec 2007
Location: USA
Posts: 29
richlandrick is on a distinguished road
Questions Wiring Up Servo/Gecko

Hello all,

having spent much more time than I expected on the mechanical opart of an IH mill conversion I'm finally ready to wire up my controller. This is my first servo system.

I have three each:
KL34-170-90 850 Oz servo motors
Gecko G340 drives
US Digital: E5S-500-250-EG-PKG2
CA-3131 Connector

I'm using a KL- 7220 power supply.

1. The KL34-170-90 has a black, red, and green wire. Green is Ground, White is +, Black is Common. I assume the white wire is Arm + (terminal 3)and black is Arm -(terminal 4). Where does the green ground wire go?

2. Are all 5 wires from the encoder used? Where does the green index wire go?


Thanks in advance for any help rendered.
Rick in Washington
Reply With Quote

  #2   Ban this user!
Old 12-12-2008, 07:44 PM
 
Join Date: Oct 2006
Location: USA
Posts: 205
123CNC is on a distinguished road
some answers

1. The KL34-170-90 has a black, red, and green wire. Green is Ground, White is +, Black is Common. I assume the white wire is Arm + (terminal 3)and black is Arm -(terminal 4). Where does the green ground wire go?

Green ground should run back to your control cabinet's ground bus/point.
2. Are all 5 wires from the encoder used? Where does the green index wire go?

You'll just need 4 wires for your Gecko servo loop, +/- power and a/b single ended signal. The index is not used for your Gecko servo loop. It can be used for a highly repeatable homing signal, but don't worry about that now.
Reply With Quote

  #3   Ban this user!
Old 12-12-2008, 10:33 PM
 
Join Date: Dec 2007
Location: USA
Posts: 29
richlandrick is on a distinguished road

Thanks 123cnc

I hooked up my parallel cabel turned on the power and tried to get the motor to move. I hadn't changed my Mach 3 motor tuning from the previous stepper settings. I assumed the only difference would be the amount of movement for a given signal.

The Gecko was in fault until I reduced the "limit." Until reducing it the motor would spin (pulse) on its own first one way then the other. It wouldn't respond to jogging either before or after adjusting the "limit" down.

I'm just at the beginning of the wiring and tuning process, but it sure would have been nice if it just worked the first time.

Any ideas?
Reply With Quote

  #4   Ban this user!
Old 12-12-2008, 11:18 PM
 
Join Date: Oct 2006
Location: USA
Posts: 205
123CNC is on a distinguished road
next step...

First, I'm assuming you are bench testing, or at a minimum do not have the servo physically engaged with their respective axis/load, e.g. drive belt removed.

Generally speaking when dealing with servo loops you'll want to verify your encoders are working, live signal and proper direction. Next you would want to tune the amplifier and then the controller. Then check proper operation of limits, physical and software, and check e-stop.

Then your ready to test the system with drives engaged.

Follow the 320 manual for tuning the drive. They describe both a multimeter and an oscilloscope approach to tuning.

Servo's require a little more caution then steppers. Although the 320 should fault out quickly if you have something wrong. If the encoder is opposite the step/dir signal the servo will start to move and stop when it hits the 128 count (IIRC, actual # may be different) off of target. In other words if you send a step/dir to move clockwise and the encoder is reading counterclockwise, the servo will turn briefly until the following error is hit. You would need to either swap the encoder a/b wires, the servo's white+/black-, or change the active low/high for dir in Mach. Any one of the three. This is why bench testing is recommended, even when you think you know what will happen.
Reply With Quote

  #5   Ban this user!
Old 12-13-2008, 08:50 AM
 
Join Date: Dec 2007
Location: USA
Posts: 29
richlandrick is on a distinguished road

Thanks,

I am bench testing the motor. I'll follow your guidance and test again this morning.

Does it matter if the other two drives are in fault mode while I test a single motor?

Rick
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-13-2008, 12:35 PM
 
Join Date: Dec 2004
Location: usa
Posts: 1,665
TOTALLYRC is on a distinguished road

Originally Posted by richlandrick View Post
Thanks,

I am bench testing the motor. I'll follow your guidance and test again this morning.

Does it matter if the other two drives are in fault mode while I test a single motor?

Rick
It shouldn't make a difference as long as the error signal is not wired to the estop circuit. I would as a matter of course disconnect the 2 unused drives/motors and have on connected at a time. This way it will prevent any accidents. I have only bench tested my g320s and it is not that hard to do. Print out the directions from gecko and take your time.

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Reply With Quote

  #7   Ban this user!
Old 12-13-2008, 01:57 PM
 
Join Date: Oct 2006
Location: USA
Posts: 205
123CNC is on a distinguished road
Agreed

I agree with Mike. The other 2 drives connected in fault shouldn't effect you unless youv'e tied the err/res (terminal 5) into your control scheme. And, disconnecting the other 2 and working one loop at a time is a prudent move as well. This method may help you cut your teeth with 1/3 the risk (assuming we learn from are mistakes and don't just say, wow those sparks, flames, and smoke were cool...I wonder if I could do that again.)

I would even go so far as to suggest swapping a/b and verify results, swap white+/black- and verify, change software high/low and verify...etc.
Confirm for yourself and grasp a better understanding on the first motor of cause and effect. Some people prefer to have the wiring consistent across all three axis and make all the 'difference' settings in the software. Others may prefer software all alike, hardware changes for differences (think +/- direction of z on a knee mill and ballscrew direction of motion cw/ccw as compared to +/- on x/y).
Reply With Quote

  #8   Ban this user!
Old 12-14-2008, 04:25 PM
 
Join Date: Dec 2007
Location: USA
Posts: 29
richlandrick is on a distinguished road

I think I have experienced a $360 failure.

Drive 1: The problem I was having earlier was that the motor leads needed to be reversed. I checked all the wiring many times for proper polarity, connection points, etc. I finally switched the polarity of the red and black motor wires to red ARM- and black ARM+ and the motor seemed to work fine. It was pretty cool watching the motor respond back to its proper position when I tried to turn the shaft.

Drive 2: I moved on to the next controller and experienced some arcing at the power ground (terminal 1). Still have 5 volts at the test point and big blue cap, but the motor doesn't do anything witht he encoder pluged in or not.

Drive 3: Appears dead. No voltage at the test point and the fault light does not turn on.

Drive 1 Again: Fault light works, but doesn't go out. Motor doesn't do anything at all.

It occurred to me that with $360 for Gecko drivers, close to $200 for a power supply, $70 for a breakout board, that I might have been nearer to the cost of a package servo controller than I previously thought. At least I was hoping so because this exercise was getting old fast.

I plan to call Gecko Monday to check my options. Meanwhile anyone want to provide suggestions?
Reply With Quote

  #9   Ban this user!
Old 12-14-2008, 05:27 PM
 
Join Date: Dec 2004
Location: usa
Posts: 1,665
TOTALLYRC is on a distinguished road
Exclamation Don't switch the dc power supply.

Originally Posted by richlandrick View Post
I think I have experienced a $360 failure.

Drive 1: The problem I was having earlier was that the motor leads needed to be reversed. I checked all the wiring many times for proper polarity, connection points, etc. I finally switched the polarity of the red and black motor wires to red ARM- and black ARM+ and the motor seemed to work fine. It was pretty cool watching the motor respond back to its proper position when I tried to turn the shaft.

Drive 2: I moved on to the next controller and experienced some arcing at the power ground (terminal 1). Still have 5 volts at the test point and big blue cap, but the motor doesn't do anything witht he encoder pluged in or not.

Drive 3: Appears dead. No voltage at the test point and the fault light does not turn on.

Drive 1 Again: Fault light works, but doesn't go out. Motor doesn't do anything at all.

It occurred to me that with $360 for Gecko drivers, close to $200 for a power supply, $70 for a breakout board, that I might have been nearer to the cost of a package servo controller than I previously thought. At least I was hoping so because this exercise was getting old fast.

I plan to call Gecko Monday to check my options. Meanwhile anyone want to provide suggestions?

From what you are describing, you were using the power connections on the gecko's to go from one to the others and back again. This is the same thing as switching the dc power on and off. A big no-no.
The drives are repairable if I remeber correctly, but the call to gecko will tell you for sure.

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Reply With Quote

  #10   Ban this user!
Old 12-14-2008, 10:04 PM
 
Join Date: Dec 2007
Location: USA
Posts: 29
richlandrick is on a distinguished road

No. Nothing that reckless. The common on drive 2 came loose while I was testing. I had all three drives hooked uop at the time.

The lesson learned - test one drive at a time.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-18-2008, 01:14 AM
mtk mtk is offline
 
Join Date: Nov 2008
Location: USA
Posts: 9
mtk is on a distinguished road
servo package

Is there someone that has a servo package out there. I called Gecko but just drives. They do not support differential encoders wich I have. Can someone help with some input here.
Reply With Quote

  #12   Ban this user!
Old 12-18-2008, 03:09 AM
 
Join Date: Dec 2004
Location: usa
Posts: 1,665
TOTALLYRC is on a distinguished road
Question What to do with differential encoders?

Originally Posted by mtk View Post
Is there someone that has a servo package out there. I called Gecko but just drives. They do not support differential encoders wich I have. Can someone help with some input here.
If you want to actually use the differential encoder you can do a couple of things. One is to get a chip that decodes the differential signals at the drive and converts them to single ended which the Gecko accepts. This way you get the benifits of the differential encoders and can still use the Gecko drives.

You could also use just the a and b signals and ignore the a prime and b prime signals and use it as a single ended encoder.

The third option is to go with something like the control box that I am using on my retro fit. That is of course if you are using +-10v analog drives.

http://www.cnczone.com/forums/showthread.php?t=66994

The DSPMC/IP directly takes the analog signal and closes the loop and reads the encoder position back in Mach3.

If you don't have servo drives at all then you could consider step and direction drives from AMC or Copley that handle differential encoders.


There are more options but it depends on exactly what you have and what you want to do.

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
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
Yaskawa SGDH and SGDA servo motor/drive wiring questions rpseguin Servo Motors and Drives 62 12-02-2009 06:43 AM
New Machine Build- Gecko 540 wiring: Questions SpeedsCustom Gecko Drives 24 09-28-2008 11:52 AM
SERVO (brand) 350 VDC variable reluctance motor wiring questions … Mike Braddock Servo Motors and Drives 4 09-10-2008 08:43 PM
Need Help!- Gecko wiring clarifications? SPEEDRE Gecko Drives 38 05-30-2008 12:04 PM
gecko / servo / encoder wiring shnitzel Gecko Drives 2 07-18-2007 06:02 PM




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