I am not sure if anyone has done this in the past, but for I am looking for a solution to support a custom application I have for my LinuxCNC controlled 3-axis router.
I have an application, where I need to perform a drilling like operation with a tool to install a widget into a panel at a given set of X,Y coordinates. For these installs, they are going into a sheet good type material, imagine like a polystyrene foam sheet. The installation height is critical that my install tool stops at the surface of the sheet, and does not advance into the material at all. This becomes a challenge as the sheet material can have a slightly varying thickness across panel due to manufacturing tolerances.
In order to solve this, I would like to incorporate a laser distance sensor that measures each X,Y coordinate, and allows me to use the outputting value from the distance sensor as a variable to adjust the finished Z height for my installation macro. Below is the link for the sensor type that I am considering. The outputting value from this sensor is a voltage, that would need to be calibrated, which would then allow for the conversion to be performed from voltage to distance. I know I would also have to incorporate some routines to tie the end of the tool and a value from the distance sensor, but at this point, I need to figure out how to get the values in from the sensor as a variable to LCNC that I can use in macros and programs.
www.automationdirect.com/adc/shopping/ca...ring_sensors/opt2006
Has anyone seen a similar system incorporated into a LinuxCNC run machine? Would anyone have any advice on how to handle solution like this?
Thanks,