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 > Controller Cards



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-17-2008, 05:38 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road
setup Galil Servo

I've setup three machines with Galil cards, AMC servo amps, and servos in the past. Last spring, I did a CNC mill and the X,Y,Z went fine and the 4rth axis failed. I didn't have time so I just got the mill running without the 4rth axis.

OK, I'm thinking bad component. So I got another servo, installed a BEI encoder, another AMC servo amp (25AE8), made up a small wire connector to go from pins 2,4,11 on the servo amp to ground, MOCMD_, and AMPEN_ on the Galil card.

Then I started swapping out components one at a time. No joy. So then I connected all the new componets to axis G (unused but available). No joy.
I just called it a day.

In WSDK, the failure has always been the same. It passes the hand spin encoder test. Then when I reset the Estop to power the servo it starts spinning and often trips the servo amp out.

What am I missing here?

karl
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 11-17-2008, 06:46 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Karl,
It sounds like runaway, so have you tried inverting the motor leads?
__________________
First you get good, then you get fast. Then grouchiness sets in.

(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

  #3  
Old 11-17-2008, 07:26 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

There are Galil commands to reverse both commanded direction and encoder feedback phasing, without reversing wires.
Try the MT command first. Either 1 or -1.
CE is one of the other ones.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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

  #4   Ban this user!
Old 11-17-2008, 07:33 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road

I'll try these suggestions tommorrow, but i don't think that's it. Step 2 in WSDK under "getting started" is "check motor polarity" . I've had this wrong on other motors; WSDK does this check and tells you to switch leads.

I'll try changed MT from 1 to -1 also.

Karl
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 11-17-2008, 07:41 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

If the drive works open loop, i.e. with a ±10vdc from a battery box, then usually the MT will do it, make sure you set the appropriate axis.
I have never figured out why some of the advice in the Galil manuals are a bit contradictory and do not mention phasing the encoder/motor by command.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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  
Old 11-18-2008, 12:49 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Further to the MT CE commands.
The Galil manuals were written with DC tachless servo motor WRT the set up procedure, this was relatively easy to just change the two armature conductors.
Now with new installations, the use of DCBL and AC servo's are prevalent.
If the motor runs away when hooked up, rather than having to swap two of the three stator wires and then making sure the commutation is corrected also, it is much easier to change the MT1 to MT-1.
Now if no runaway occurs, it is possible the count direction is wrong, so instead of changing the motor wires back and swapping the A & /A to change encoder direction.
All that is required is to change the MT-1 back to MT1 and change the encoder direction with the CE command.
It is advisable to burn the parameters when done, otherwise the parameters must be loaded by program command immediately at start up.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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

  #7   Ban this user!
Old 11-18-2008, 04:28 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road

More trials today. No joy. See if anything rings a bell.

MT ?,?,?,?,?,?,?,? gives all 1.0
CE ?,?,?,?,?,?,?,? gives all 0

I tried reversing motor leads, same response motor turns about 3 - 5 revs and kicks the servo out. repeated trial with other servo and other servo drive, same result.

So, open loop trials. I got a 500 ohm pot; put one lead on +5V, one on common, and the middle to the pin 4 on the servo amp. Turned pot to 0. Reset Estop, and I get same result as above!

So I disconnect +5 volt from pot, issue SH, and Reset the Estop. Servo does nothing, green light stays on. Touch +5 back to pot, nothing happens. Just barely, and I mean barely, turn the pot; servo goes about three turns and kick out. repeated trial with a different drive, same result.

I'm using an AMC analog servo amp 25A8E and the original servo on the 4rth axis is by reliance electric brushed dc servo model E660 rated at 1/3 hp. My trial motor is slightly larger, 1/2 hp, model E690.

Suggestions for further trials?

Karl
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 11-18-2008, 05:08 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road

I just had another thought. For my open loop trials, I still had the encoders and AMPEN_ connected. The KO was due to the encoder moving and galil dropped AMPEN_

So, I just made a total open loop trial. No encoder, no AMPEN_. Motor turns slowly with nothing connected. Speeds up and slows down as I vary the speed pot from 0 - 5 volt.

Any more ideas?
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 11-18-2008, 05:23 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road

I'm contemplating that last trial..

Could this be happening? With normal complete hookup, the servo starts turning even though its not commanded to (0 volts on MOCMD pin) so Galil KOs AMPEN when the servo is out of position?

If this is true, how do I stop motor rotation when servo is first powerred?

Karl
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 11-18-2008, 05:24 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

You need to get the drive and motor work together first before connecting to Galil.
I would either set the drive for Voltage Mode and use a pot with slider to +ref and the outer ends to +5 -5v, or set to voltage mode and use the offset switch to on, this allows the offset pot to be used to control the motor, reset the balance afterwards.
You could also test it with a dummy low resistive load and see if the voltage gradually increases when the input is increased, use a resistor value that limits the current to the drive max.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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
  #11  
Old 11-18-2008, 10:08 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by Karl_T View Post
, the servo starts turning even though its not commanded to (0 volts on MOCMD pin) so Galil KOs AMPEN when the servo is out of position?

If this is true, how do I stop motor rotation when servo is first powerred?

Karl
I must have cross posted.
If the motor turns when the input is zero, it means the balance pot is mis-adjusted, it should allow adjustment to zero rpm (null).
If you want to stop rotation on power up before anything is initialized, you can issue a MO or SP0 for initial commands.
If it runs away with a MO there is something else amiss, such as wiring problem.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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

  #12   Ban this user!
Old 11-19-2008, 09:47 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,308
Karl_T is on a distinguished road

OK, I'm reading the manual (when all else fails,RTM)

I may be miswiring here. I've got a common from pin17 (ground) on the galil 1700 to pin 2, signal ground, on the AMC servo amp. Another wire from MOCMDW(pin23) to pin4(+refin). The block diagram in section G engineering reference shows a wire from pin5(-refin) to the controller. I don't have this wire; where should I connect on the Galil 1700. (FWIW, I've got five drives working without this)

I'll keep reading, I'm sure to find more issues.

Karl


P.S. Here's a manual section on this. I think I should just tie pin5 (ref-) and pin2(signal gound) together. Correct?

P.P.S. I just found the wiring instruction in Galil 1700.pdf manual page 30 shows the wiring exactly as i have it.


3.6 Reference Input Wiring
Use of a twisted, shielded pair for the input reference wires is recommended. If the reference source can float (remain
ungrounded), connect the cable shield to both the reference source common and the amplifier's signal ground. It is
recommended that the input be connected directly to the amplifier's differential input (if applicable). Connect the reference
source "+" to "+ref” input, and the reference source "-" (or common) to "-ref” input. If the reference source ground and the
amplifier power ground are connected to the master chassis ground, leave the source end of the shield unconnected.
The servo amplifier's reference input circuit will attenuate the common mode voltage between signal source and amplifier
power grounds. In case of a single ended reference signal, connect the command signal to “+ref” and connect the
command return and “-ref” to the signal ground

Last edited by Karl_T; 11-19-2008 at 10:36 AM.
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
remote servo setup. fred friendly Want To Buy...Need help! 6 09-05-2008 09:48 AM
Need help with servo/drive setup CreativeOffroad Machine Problems, Solutions , Wireless DNC, serial port 19 02-21-2007 01:34 AM
Sure Servo to Galil Mountain CamSoft Products 7 07-05-2006 01:40 PM
WOOHOO chips in pan, Galil servo tune? Karl_T CamSoft Products 3 05-27-2006 08:51 PM
Help with AC servo setup h3ndrix General Electronics Discussion 9 04-01-2004 03:53 AM




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