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 > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-03-2005, 07:13 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road
X always = 25 ????

I solved "most" of my ground loop problems and now have a new one.

My motor is disconnected from its load and will freespin in open air for testing.
I have 1 servo motor using the X axis. (encoder is on back of motor)

Starting from Machzero X, no matter what distance I tell the servo to travel, the camsoft interface X axis readout ends up at 25.xxxx . If I tell the machine !FEEDRATE 10:MACHGO 10 the servo motor will make rotations to 25.xxx
If I tell the machine !FEEDRATE 10:MACHGO 2 the servo motor will make rotations to 25.xxxx

Now I realize that the setup gear ratio and encoder counts per inch need to be entered correctly but that should have nothing to do with the camsoft interface X axis readout right?
If I tell camsoft to go to x=10 then the readout should say X=10 when it finishes its move right? (regardless of the actual move made).

So why does it seem to be going to the same point every time?? I am also getting an error "Begin with motor off?" after each move. I am assuming that this is caused by massive position error.
The encoder counts I am getting seem smooth now. When the motor is under torque, the encoder readout is very stable +/- 1 count.

Also, with the control wiring disconnected from the drive, the drive sits stable under torque. As soon as I connect the +/- 10v signal wires, the motor oscillates. (ground loop?).. So I disconnected the ground wire from the +/- 10v reference signal from the ICM2900 and the problem went away. Is this normal to have it hooked up with only 1 wire like this? I did a google search for Ground Loops and read about certain conditions when only 1 wire is desired. Any thoughts on this?

And why does this thing always want to go to 25 ??? Something strange here..

Thanks,
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-03-2005, 07:39 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

After removing the GND line from the ICM2900 to my +/- 10v reference signal at the servo motor, the motor only goes one direction.

My servo drive takes a +/- 10V signal with inputs marked as "inverted" , "NonInverted", "0 volts".
The IMC2900 gives me McmdX and Gnd.

If I hook it up the way I used to have it, I get oscillations in the motor. (Noise?).

I have tried to shield the +/- 10v signal cable at one end, then the other, then both. Nothing makes a difference.

Why oh why did this thing work perfectly 2 months ago and now is giving me so many problems.

Thanks for all the help
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 03-03-2005, 09:25 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

What makes you think it is noise? It sounds like it could be because of tuning. Both analogue connections should be made, the oscillations probabally stop because you have disconnected one of the inputs. I go back to what I said previously and tune and trouble shoot using the Galil terminal program, and when you have good results, then go through the Camsoft interface.
Also you have to phase the encoder rotation correctly, this can be reversed at the ICM2900 by reversing the A & /A phases.
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 03-03-2005, 10:14 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Al,, thanks again, you are the man.

How much is that galil program?? WSDK ???

Phase the encoder?? The servo has a resolver phasing program that runs program and you have to enter the number in another parameter. As far as the High and Low coming from each encoder channel, I am almost positive I have them correct. (A to +Max), (A- to -Max) , (B to +MBX) and so on.. I have checked the connections with a continuity checker (disconnected from the terminals so I dont send multimeter power into sensitive circuits) Everything checks out good... I even ripped out the CAT5 line I had for the encoder simulator port and replaced it with the real encoder cable. (No difference at all in operation)


Do you think it better for me to get the galil program, or a scope that I can use on anything? (Its been 20 years but would you believe it if I told you I used to fix oscilloscopes and spectrum analizers?) LOL.. Ya.. the airforce days...

What is bugging me most about all this is that this servo motor worked absolutly perfectly for over 1/2 hour of trial tests.. Back and forth over 20 feet. It lost less than 1/8 of an inch error after probably 500 feet of travel. (rolls on rubber wheels on a track). Now, I can not get it to move 1 inch correctly. (I cant even get it to move in one direction without it running away).


Thanks for all your help AL.. I dont forget

Murphy

Last edited by murphy625; 03-03-2005 at 10:20 PM. Reason: Add question and comments
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 03-03-2005, 10:54 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

The SmartTerm program is free, the WDSK is 195.00. The encoder phasing I refered to occurs when what is known as the rotation direction of the pulses is opposite to what the controller expects, in other words the controller sends out a particular analogue signal and expects the motor (encoder) to count either in the up or down direction, if it is opposite to what the controller expects this confuses the control and unpredictable things happen, and this can be reversed by swopping the A & /A chanel pulses.
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   Ban this user!
Old 03-04-2005, 12:31 AM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

I think the encoder phasing is correct.. (not 100% sure) but this unit was working perfectly before..

Anyhow, I have been trying to get this servo on-line and working again for the past 2 or 3 weeks now. I have re-routed grounds to a "star" format..(as close as I could get it).. I have switched servo drives, hooked up and un-hooked shields.. NOTHING IS MAKING A DIFFERENCE.. grrr.. (I'm getting so fed up with this thing I am about to scrap it out)

Look,,, this is not brain surgery.. When I first got this package, (Camsoft, Galil 1832, ICM2900, etc),, it all worked perfectly. I hooked it up to a small (300 watt) table-top test servo and servo drive and I quickly found out what an "Un-tuned" servo was and it took me less than 20 minutes to figure out how to get it tuned or at least working within the parameters I need. (which are very loose by cnc standards). The single phase servo package worked perfect over and over for months while I played around and learned the camsoft software. Then I hooked up to a 3 phase servo. What's so different right? Its just more power. Sure enough, after I was done wiring it, I put it into a test and it worked perfect. (after a quick tune). I hooked it up to my load and again it worked perfect.
Then I decided to hook up the lifting part of my machine. Using a 1.5 hp motor and a 5hp VFD. I programed the drive to respond by way of the OPTO22 relays and the 24volt control strip. Made it all work. Then, as soon as I went to test the servo drive and the lifting device, nothing has been the same since.
First I found my 5volt supply start tripping out, then I find the encoder simulation port on the servo drive sending ghost signals to the galil card.
The problems just keep adding up. Solve one, another pops up.
I have a feeling that VFD screwed up the galil card or something.

I'm at my wits end... I knew this was going south when we started talking about grounds and ground loops.. Something just was not adding up but it almost made sense because my control box is powered by 2 different power supplies. I use 110V from the wall to power all controls and I use a 15hp rotary phase converter to get 3phase to the servo drive.
I thought perhaps there is a ground differential or something happening because of the fact that both the 110volts for the control side, and the 480 volts for the power side were coming from the same 240volt supply. I know it sounds weird but it looked good on paper and when I originally wired it all up, it worked like it should.

So I spend $175 on their software to find something wrong so I can send the card to them and spend more money having them fix it. (why does that not sit right with me?)
This card has already had 2 other malfunctions that were covered under warranty. (but I guess I should make sure its the card before I rant about that)

Thanks for the suggestions AL and everyone else who has helped me in these last few weeks.

Murphy
(Everything that can go wrong, has gone wrong)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 03-04-2005, 12:38 AM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Also,
What would cause the camsoft readout to go to 25.0XX inches no mater what distance I tell it to go.

If I tell it to go 1 inch, it goes 25
if I tell it to go 10 inches, it goes to 25.

(this is something its never done before)..
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 03-04-2005, 07:57 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

I would check with the drive manufacture for phase converter operation. In most cases there is a single phase control transformer inside the drive that supplies the drive logic circuits. It is desirable to have these two lines hooked to the original L1 and L2 that is 180* out of phase (Not the sythetic L3 which bounces somewhere in between.). I take it that you have your step-up transformer, 240V to 480V, on the output of your phase converter (This could add another dimension to your sythetic L3.).

X always = 25 now that is strange! Does the CamSoft LOG.FIL show you anything?

Darek
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 03-04-2005, 09:35 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 529
HillBilly is on a distinguished road

Oh yea, the same should apply to your VFD if you are running it on three phase. You will also want to check the VFD manufacturer for analog input isolation (Some VFD's are only setup for remote pot operation, no isolation.).

Darek
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 03-04-2005, 10:30 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by murphy625
Look,,, this is not brain surgery..

So I spend $175 on their software to find something wrong so I can send the card to them and spend more money having them fix it. (why does that not sit right with me?)
Actually brain surgery is probabally easier

You only need the smartTerm program which is free...
What card do you have the 1700 or 1800 maybe?
Download the manual, if you don't already have it Look at step 9, page 34 and armed with about 10 of the two letter commands you can tune, command a move & interrogate to what is happening in a few minutes of operation. Have the VFD powered off and anything else that might affect the outcome.
Also with the drive enable off, If you turn the motor shaft in one turn increments and type a TP the encoder count should increment or decrement by the amount of encoder pulses/rev.
Likewise with the system enabled, do a simple move equivalent to say 10 revolutions (encoder count x 10) and check the motor for 10 revs, and again do an interrogation (TP)
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   Ban this user!
Old 03-04-2005, 02:39 PM
 
Join Date: Nov 2004
Location: USA
Age: 50
Posts: 446
murphy625 is on a distinguished road

Originally Posted by HillBilly
I would check with the drive manufacture for phase converter operation. In most cases there is a single phase control transformer inside the drive that supplies the drive logic circuits. It is desirable to have these two lines hooked to the original L1 and L2 that is 180* out of phase (Not the sythetic L3 which bounces somewhere in between.). I take it that you have your step-up transformer, 240V to 480V, on the output of your phase converter (This could add another dimension to your sythetic L3.).

X always = 25 now that is strange! Does the CamSoft LOG.FIL show you anything?

Darek
HillBilly,
Thanks for the suggestion... I'm no expert obviously but I was under the impression that the step-up transformer would improve the signal on the 3rd leg. Are you suggesting it may be doing just the opposite? This is the reason I am using such a large (15hp) rotary phase converter. I figured the larger it is, the more "real" that 3rd leg would appear to a smaller drive. You make a good point about that internal transformer on the drive. I just can not believe that switching a couple of the 3 phase input lines would solve all these problems. (It just seems to easy! LOL) But I will give it a try.... I'd jump off bridge if someone told me it would fix this problem!!


AL,
I have "smart term" already installed from another problem months ago. (The nice folks at Galil walked me threw it and I ended up sending it in under warranty).
I have gotten real good at using that TP command. I scrapped my startup.fil and timer.fil and set the program to do a TP command and response every 100 milliseconds to variable 500 within the camsoft interface. (Only because I know how to use it much better than the galil program for the time being)

Ok.. now the strange part.
Part1: The encoder simulation port is set to send out 256 pulses per revolution. (I can set it for 256, 512, 1024 or 2048) When the motor shaft is turned one 360 deg revolution by hand, I get 1024 encoder counts as shown by the TP command. I dont know if this is normal or not because I am not educated enough to know what the signal looks like going into the galil card and what part of that signal its counting.. Its almost as if its counting the leading edge and the trailing edge of the pulse. Kinda strange that I am set for 256 pulses per revolution and its counting 1024... Each pulse has 2 sides (leading edge and trailing edge) and there are 2 channels. 2 x 2 = 4.. 4 x 256 =1024 ? it almost seems like its working becuase the numbers come out even.
Yes, when I turn the motor shaft the TP response counts smoothly in both directions. (counts up and counts down)

PART 2:
No matter what I type in, no matter what I set my gear ratio to.. the camsoft interface always reads 25.xxx after I make a move. (motor uncoupled from the load) Would incorrect encoder pulses cause this? I dont see how. The encoder pulses only tell the galil card where the motor is at right? So even if the encoder pulses are mucked up, the camsoft interface should still go to the correct position right? I tried to type in !feedrate 1:machgo 1 and the motor turned way more than it should have (not that it matters) and the camsoft interface went to 25.xxx.

I am using the Galil 1822 card and ICM2900 with OPTO isolation. All outputs and inputs go into OPTO22 boards also.

I will dig into it with the smart term program when I get back to the shop this weekend. I am going to check out those encoder pulses very carefully.

Thanks for your help AL and Hillbilly.
Looks like I will probably have to make a donation to this forum eh?
Murphy
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 03-04-2005, 03:42 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by murphy625

Its almost as if its counting the leading edge and the trailing edge of the pulse. Kinda strange that I am set for 256 pulses per revolution and its counting 1024... Each pulse has 2 sides (leading edge and trailing edge) and there are 2 channels. 2 x 2 = 4.. 4 x 256 =1024 ? it almost seems like its working becuase the numbers come out even.
Yes, when I turn the motor shaft the TP response counts smoothly in both directions. (counts up and counts down)
You assume right on the encoder count, it can be set to multiply by 1,2 or 4 by looking at the appropriate edges, It looks like you have confirmed the hardware side is OK, which seems to indicate an anomally in the Camsoft code somewhere.
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

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





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