![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CamSoft Products Discuss Camsoft PC based CNC controller products here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
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. |
|
#2
| ||||
| ||||
| 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. |
|
#3
| ||||
| ||||
| 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. |
|
#4
| |||
| |||
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. |
|
#5
| ||||
| ||||
| 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. |
| Sponsored Links |
|
#7
| ||||
| ||||
| My best guess, in this situation, would be to read TT once per second and a reaction after 5 seconds is plenty fast. karl |
|
#8
| ||||
| ||||
| 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% |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |