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 11-08-2008, 07:07 PM
davesnd's Avatar  
Join Date: Mar 2008
Location: Canada
Posts: 71
davesnd is on a distinguished road
Axis motor load meters?

Is it possible without analog inputs to get the value of the voltage being sent to each axis and use it to drive a graph bar on screen giving the operator some kind of idea what is happening with the tool when it is cutting? The Diagnostic screen gives the numbers in the watch windows screen - how can I capture those values every second or two and use them to drive a graph bar? This would be particularly valueable when deep hole drilling with very expensive insert drill heads - you could see when the tool was getting dull or if you had lost the edge on an insert from looking at the load meter. Maybe I need to get a better motion card which has analog in - but being a cheapskate I want to try and make what I have work.
Reply With Quote

  #2  
Old 11-08-2008, 08:13 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,532
Al_The_Man is on a distinguished road
Buy me a Beer?

Normally it is the spindle load that is monitored, giving an indication of load current , some systems take it one step further and the feedrate is reduced when a spindle load is exceeded.
VFD's and most servo drives have an analogue output that is a direct ratio of drive current, this could be taken to an analogue input quite easily.
If you do not have analogue inputs, it gets trickier, although you could get a separate 3 digit digital display from Red Lion or other suppliers as a cheap fix.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

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

You could collect your analog data with a small separate computer program and data aquisition setup. A quick search found this:
http://www.oceancontrols.com.au/data...ition/isee.htm
I see it has example visual basic programs. Write your data to disk.

Then read the data into camsoft. You can do whatever you want.

I've done this sort of project before. The problem you run into is file sharing violation. Make sure the aquiring program closes the file after writing and do it at a certain CPU clock time. Then the reading program (Camsoft in this case) has to read and close the file at a different time.

This would be WAY over my head, but there is a lot of information in the camsoft manual about communicating with outside programs with all sorts of windows calls, dll, etc.

You might ask the great folks at camsoft help about this. I bet its already been done.

Karl

P.S. I surfed the web a bit more... If i were doing this project, I'd get this:
http://www.dataq.com/products/startkit/di148.htm

Last edited by Karl_T; 11-09-2008 at 10:04 AM.
Reply With Quote

  #4   Ban this user!
Old 11-09-2008, 12:23 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road
Use Galil commands

A Galil card can have many masters and many slaves. Two apps on the same computer can run concurrently.
An app to save values to a text file would be easy using the Galil command TT (tell torque).
I can write a small application for you with either numbers to a text file or something visual if you need eye candy. The output could also compare values per part to show increased loads with a trend line output and a trip value to hold up further production until a dull tool is replaced.

The analog in daughter boards do not sample as fast as reading the voltage out, and there is discrepancy in analog values. The method is very susceptible to noise from wiring/environment or unstable power sources. Analog input values are completely dependent on the quality of the power source used as the reference. Using a 16bit daughter board to collect information you notice a lot of dancing around in the values which has little to do with what you system is actually doing.
Since your system is always hunting for the best possible outcome the voltage output to your drives is always changing. Your sample data would need to be dampened to show an average trend (value/time period) rather than a simple update every xx ms.
Reply With Quote

  #5   Ban this user!
Old 11-09-2008, 01:30 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by keithorr View Post
...An app to save values to a text file would be easy using the Galil command TT (tell torque).
...
KEWL! There's always another function i didn't know about. Try this in timer.fil

COMMAND MG_TTA 'get torque on A axis
RESPONSE \999 'response to variable 999
\998={(.2*\999)+(.8*\998)} ' exponential smoothing of .2
BAR 1;\998;12


you'll have to set up a bar on the screen and initialize the variables in startup.fil You can use different exponential smoothing values; the two numbers add to 1.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-09-2008, 03:00 PM
 
Join Date: Mar 2003
Location: USA
Posts: 332
keithorr is on a distinguished road

using variable 998 when it's empty the first cycle? (.2*10)+.(8*0) =2
you'll always be behind the buoy
Reply With Quote

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

Originally Posted by keithorr View Post
using variable 998 when it's empty the first cycle? (.2*10)+.(8*0) =2
you'll always be behind the buoy
Exponential smoothing is a proven way to smooth noisy data for machine control and statistics. The best exponent depends on many things. A value of .2 will take about 5 cycles to react but give a lot of smoothing. A value of .6, for example, will react quickly but give a lot less smoothing.

My best guess, in this situation, would be to read TT once per second and a reaction after 5 seconds is plenty fast.

karl
Reply With Quote

  #8   Ban this user!
Old 11-10-2008, 12:58 AM
davesnd's Avatar  
Join Date: Mar 2008
Location: Canada
Posts: 71
davesnd is on a distinguished road

brilliant! thanks guys - now I have functioning load meters on z & x on both of my camsoft lathes. I didn't use the smoothing thing - jumpy is ok with me - I even got carried away and made the bar change colour! from green below 80% to yellow at 80% and red at 90%
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
Y axis rails sharing the load? johnmac DIY-CNC Router Table Machines 2 09-24-2008 09:59 PM
Problem- motor over load #12 Delw Fadal 6 07-29-2008 01:14 PM
HELP selecting MOTOR size 1 AXIS 8 ft table with load 1000 lbs cjchands Mechanical Calculations/Engineering Design 1 08-07-2007 08:27 PM
Panel Meters beausdn Gecko Drives 0 08-11-2005 11:35 PM
Axis load meters? DAB_Design General Electronics Discussion 3 10-13-2004 08:35 PM




All times are GMT -5. The time now is 01:46 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 354 355 356 357 358 359 360 361