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 > Granite Devices


Granite Devices Discuss about servo & stepper drives made by Granevices and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-14-2008, 03:23 AM
 
Join Date: Jan 2006
Location: Finland
Posts: 16
mkuivamaki is on a distinguished road
VSD-A Spindle control in MACH3?

Hi.
How VSD-A should be configured in Mach when it's used at spindle control? It's probably controlled with step/dir(?) but I haven't got this working yet
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 08-20-2008, 01:19 PM
 
Join Date: Nov 2003
Location: Texas
Age: 34
Posts: 107
nicad is on a distinguished road

I too would like to know... I assume one just drives the spindle with S/D just like a big, fast rotary axis.. but setup as the spindle in Mach.

I also have a question regarding using a large Fanuc AC servo +VSD-A for the spindle drive on a 5C collet size lathe (to allow A-axis positioning). Fanuc is a 10s/3000 rated 145V, 15A (stall) 12nm torque (stall). Will trying to drive it like a "ridged" axis make it error out all the time when taking cuts? I assume I would make the fault range (step +/- range) about as large as possible, to allow the spindle/drive time to correct before faulting when taking cuts??
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 08-24-2008, 02:41 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

One may use position mode for spindle but there is also a velocity mode which works also thru step/dir. Velocity mode is much like position mode with following differences:
  • Following error fault limit is defined as velocity error, not position error
  • Velocity mode allows position "slipping" if motor is overloaded. It doesn't wind-up to catch the position. That's actually what velocity mode means, it just tries to keep velocity controlled, not position.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 08-27-2008, 01:03 PM
 
Join Date: Nov 2003
Location: Texas
Age: 34
Posts: 107
nicad is on a distinguished road

Xerxes-
Thank you for the distinction between s/d and velocity modes.
My next two questions are:
1) I assume velocity mode is the desired mode for a lathe spindle control, but what about cutting threads? There will be a 500-1000 count encoder on the spindle motor, but if velocity mode allows slipping, and the software is out of the control loop, how is thread accuracy held?
2) When I want to use the spindle as a rotary axis, I assume I need to use s/d mode again for position accuracy, correct? Can the VSD-A change between velocity and s/d modes on the fly?

Thanks for the information. The spindle control is still the hazy part of the project for me, especially since I am needing C-axis positioning on the spindle. I am open to any comments and suggestions.

mkuivamaki- have you made any progress on setting up Mach for your spindle?
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 08-28-2008, 06:56 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

Sounds like you would need to use the position mode to get guaranteed spindle orientation. Mode can be changed on fly but only via SPI bus, so with Mach you need to use single mode.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-08-2008, 03:51 AM
 
Join Date: Jan 2006
Location: Finland
Posts: 16
mkuivamaki is on a distinguished road

Yes I got it working. I configured spindle to position mode. Spindle is controlled with step/dir. I have still one problem, with another computer (I made vsd-a configuration with this computer) command M5 in Mach stops spindle rotation smoothly as it should be. But when I tested spindle with my cnc control PC spindle stops immediately (in rough way). With high rpm's vsd-a goes over current error when spindle stops. All parameters should be same in both Machs. Spindle acceleration/deceleration curves aren't sharp. Acceleration works as it should be.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 09-08-2008, 12:37 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

Overcurrent fault is symptom from incorrect tuning, that should never happen if tuning is good. Overcurrent fault means that measured motor current got higher than commanded (above the overcurrent fault leven you set in GDtool). Adjusting overcurrent limit and/or torque controller PI gains will fix this.

To Mach problem I don't know an answer. Perhaps there is acceleration/deceleration setting somewhere?
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 09-08-2008, 01:46 PM
 
Join Date: Jan 2006
Location: Finland
Posts: 16
mkuivamaki is on a distinguished road

The error is this: "Other fault, get details via SPI bus.
Possibly over current fault." So it might be something else than over current? Acceleration and deceleration time are set to 2sec. There is still that problem when servo stops on high speeds.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 09-08-2008, 03:09 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,148
Xerxes is on a distinguished road

Are you sure it's not fault #10 which has quite similar LED pattern? That would be overvoltage (regenerative) which is typical problem in deceleration. Try measuring HV bus voltage after fault.
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
Setting up Spindle Control in mach3 UKRobotics Mach Mill 2 10-18-2009 05:34 PM
Mach3 spindle control of Boxford 260 VMC jwhitley Benchtop Machines 1 09-09-2008 01:21 PM
Spindle Speed Control for X3 with C11G BOB & Mach3 MRM RCModels Benchtop Machines 24 07-26-2008 01:39 PM
MACH3 to control spindle speed of Wabeco F1210E pdyer Benchtop Machines 0 07-23-2008 01:34 AM
SX3 spindle speed control with Mach3 bbox Benchtop Machines 47 07-05-2008 06:15 PM




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