![]() | |
| 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
| ||||
| ||||
I bought a LASER displacement sensor off eBay with the idea of scanning parts. This sensor outputs the very common 4-20 milliamp. A galil board needs 0-10 volts. I started with a very simple resistor for the conversion but found a ripple in the voltage reduced accuracy. So a EE friend designed the attached 4-20 milliamp to 0-10 volt converter. Also attached is a graph of this Omron sensor performance. Next I wrote code for my mill's .cbk file. See the attached text file. This code uses G101 to record LASER displacement sensor values to a file. The format of this Gcode is G101 X_ Y_ I_ F_ X,Y,F work just like G1 in any Gcode. I is the increment between laser readings. To scan a part, write a Gcode file to run the laser over as many passes as needed. Parametric programming (looping and incrementing X or Y) can keep this program fairly small. So far, I've scanned as fast as 4ipm with readings every 0.002" with good results. Enjoy Karl |
|
#2
| |||
| |||
| Very Interesting. Do you have a link to the sensor that you used? Was it expensive? As for the 0-10V output, what is the purpose of this? Dose it have something to do with height. Also, What kind of machine are you running this on. -Adam
__________________ www.adambrunette.com - Converting My Harbor Freight X2 And My Jet Jvm-830 Knee Mill, As well as many other projects. |
|
#3
| ||||
| ||||
| Promise not to call the sheriff? I stole it - $80. Laser displacment sensors like this one put out an analog value proportional to the distance or Z height in this setup Camsoft control on an Excello knee mill |
|
#5
| ||||
| ||||
Here's a macro to laser displacement scan arcs. My concept: Scanning a grid of readings to a file just gives a point cloud that is complex, at best, to turn into a CNC program to replicate a scanned surface. I have found that with a little study a CNC program can written for the X and Y coordinates on how a replicated part surface should be machined. 1) I write this program and test. 2) Then change all G01 to G101, all G02 to G102, all G03 to G103. Run the Laser displacement sensor programs to get the Z depths. 3) Rewrite the program in 1) with Z depths. Machine part. This goes really fast, no complex design time. I've done a couple parts, only downside is careful inspection for error readings is needed. Edges are giving the most trouble. Karl |
| Sponsored Links |
|
#6
| |||
| |||
| So you are using your mill as a CMM to reverse engineer your part? Does it record the measurments into your CNC control or into a seperate CAM package? are you using the Cam Soft 3000 or something different. I saw the laser on there web site and was thinking about building a measurment machine. but mounting the laser to the mill takes care of a lot of issues. Thank You Farmers Machine |
|
#7
| ||||
| ||||
The data is recorded to a text file as a series of X Y Z coordinates. You quickly end up with a HUGE number of points, or point cloud. A package called Rhino can handle the data and turn it into a model that is in turn imported to a CAM package. This is NOT my area. I found a shortcut for the parts I needed to copy. Carefully plan your X and Y moves to machine the part; write this Gcode file. (Note that my G101 is linear laser read, G102 is CW laser read, G103 is CCW laser read). Spend some time thinking exactly where you need Z readings. Now modify the Gcode (add 100, put in read increments) to read your Z values off the part and run laser program. Input your Z values into the original program(I automated this step) and you are ready to machine. Karl |
![]() |
| 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 |
| 3D Laser Scanning Services Offered | GJMATHEWS | Product Announcements & Manufacturer News | 8 | 06-14-2010 04:04 PM |
| What is best for scanning? Led or tube laser? | jaru-eri | Digitizing and Laser Digitizing | 0 | 06-08-2008 04:01 PM |
| scanning on the tormach | RB1 | Tormach PCNC | 4 | 01-10-2008 12:18 PM |
| Need Laser Scanning Advice | Rico55 | Digitizing and Laser Digitizing | 5 | 09-20-2007 08:33 AM |
| Is this the way 3d scanning will go ? | greybeard | Digitizing and Laser Digitizing | 5 | 02-15-2007 11:52 AM |