smartprobe - configuration questions
09 Mar 2017 14:04 #89254
by okiejim
Replied by okiejim on topic smartprobe - configuration questions
I just added the two lines and am running it right now. It does seem to be working. My machine is homemade and real slow but it has not failed yet. I really need to learn G code so I can do more. A perfect find by you. If this works out I will be ready for Christmas this year. More understanding of the parameter will help me fine tune and speed up my probing I hope. I will try to study some now since I see the light at the end of the tunnel now. Thank you Thank you Thank you.
Please Log in or Create an account to join the conversation.
09 Mar 2017 20:50 #89286
by okiejim
Replied by okiejim on topic smartprobe - configuration questions
Update, I began playing around with the height after touch to try to speed up my macnine. I believe I have found that you should not set it less than half the height of the part you are probing. I am using a trailer wire clip as the part because it has rounded top and odd shape. I will keep up with this. I have been searching to see if there is a way to dynamically change the variables with a text screen instead of having to adjust the program each time and re-save it the run again but this is just me once I make sure of the thresholds of the variables is true it will be easier to set it up first time and leave it. Thank you again.
Please Log in or Create an account to join the conversation.
11 Mar 2017 03:47 #89401
by Joebmh
Replied by Joebmh on topic smartprobe - configuration questions
Jim,
I'm not sure about the half the part height thing but if it works for you, use it. The part I was probing was 6" at the highest and 0.25" at the narrowest using a rotary axis. I only had to add 0.05" to the height to not get the error. Essentially, just enough that the probe wasn't touching when it started to move over one step. If the probe contacted the part prior to arriving at the stepover location, it would simple rise until it lost contact again plus the 0.05". I did have to slightly adjust the micro adjustment screw on my probe and also slow down the stepper motor acceleration because the quick movements would falsely trigger my probe. My machine is also homemade and I'm using an $80 probe I got from ebay. As far as dynamically changing the variables, I'm pretty sure Linuxcnc only reads the gcode file when it is loaded. I'm glad the added lines helped but I just borrowed the changes from someone a lot smarter than me.
I'm not sure about the half the part height thing but if it works for you, use it. The part I was probing was 6" at the highest and 0.25" at the narrowest using a rotary axis. I only had to add 0.05" to the height to not get the error. Essentially, just enough that the probe wasn't touching when it started to move over one step. If the probe contacted the part prior to arriving at the stepover location, it would simple rise until it lost contact again plus the 0.05". I did have to slightly adjust the micro adjustment screw on my probe and also slow down the stepper motor acceleration because the quick movements would falsely trigger my probe. My machine is also homemade and I'm using an $80 probe I got from ebay. As far as dynamically changing the variables, I'm pretty sure Linuxcnc only reads the gcode file when it is loaded. I'm glad the added lines helped but I just borrowed the changes from someone a lot smarter than me.
Please Log in or Create an account to join the conversation.
11 Mar 2017 13:48 #89415
by okiejim
Replied by okiejim on topic smartprobe - configuration questions
Joe,
Thankyou for the update. I will do more experimenting later in the week. I did find that the program did not put an end of file M02 so you have to do that manually for linuxcnc to be able to read the gcode. I only ran this once to maybe I did something wrong for the end of file. I added the M02 at the end with an editor and it showed my part in axis. I will try to keep updating here as I go. It was fun to watch it work. Next will be to actually run the gcode and see what happens,
Thankyou for the update. I will do more experimenting later in the week. I did find that the program did not put an end of file M02 so you have to do that manually for linuxcnc to be able to read the gcode. I only ran this once to maybe I did something wrong for the end of file. I added the M02 at the end with an editor and it showed my part in axis. I will try to keep updating here as I go. It was fun to watch it work. Next will be to actually run the gcode and see what happens,
Please Log in or Create an account to join the conversation.
12 Mar 2017 08:21 #89459
by Joebmh
Replied by Joebmh on topic smartprobe - configuration questions
I had to add an end of program code too only I chose M30.(not sure if it matters which one you use) I also added the following codes at the beginning
G20 G90 G64 G40
( T3 : 0.125 )
T3 M6
G0 Z0.25
F30
I will have to re-run the probing routine with a smaller stepover because I got tool marks every tool width. Something else I didn't consider...., the tool plunged straight down to target depth. Luckily, I started it very slowly and was able to stop it before it broke anything. To compensate for this, I set Z0 well above the stock, then ran the code several times dropping the Z0 slightly each time. I'm sure there's probably a better way but it worked for now.
Thanks
Joe
G20 G90 G64 G40
( T3 : 0.125 )
T3 M6
G0 Z0.25
F30
I will have to re-run the probing routine with a smaller stepover because I got tool marks every tool width. Something else I didn't consider...., the tool plunged straight down to target depth. Luckily, I started it very slowly and was able to stop it before it broke anything. To compensate for this, I set Z0 well above the stock, then ran the code several times dropping the Z0 slightly each time. I'm sure there's probably a better way but it worked for now.
Thanks
Joe
Please Log in or Create an account to join the conversation.
19 Jul 2017 16:59 #96094
by choppero
Replied by choppero on topic smartprobe - configuration questions
I am using smartprobe in Tormach pathpilot. Tormach has limited access to the file structure so I can not retrieve the probe results. Does anyone have a way to have the results writen to a directory I've made called PROBE DATA in pathpilot?
Please Log in or Create an account to join the conversation.
20 Jul 2017 01:16 #96117
by choppero
Replied by choppero on topic smartprobe - configuration questions
I now have the probe writing data to the PROBE DATA file. It does not make much sense though. I could use some help making a point cloud file. I wanted to probe a radius on a shaft so made only one x move. the probe came down and touched then moved in X one step Then moved Y and touched and moved back in X one step and so on. The data file is very strange. here is 4 lines:
-0.000000 -0.500000 -0.197214 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
-0.000000 -0.500000 -0.187478 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
0
.010093 -0.500000 -0.179336 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
0
.010000 -0.500000 -0.197221 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
0
N12 #1=-0 (X START)
N13 #2=.01 (X INCREMENT)
N14 #3=2 (X COUNT)
N16 #4=-.5 (Y START)
N17 #5=.05 (Y INCREMENT)
N18 #6=20 (Y COUNT)
N20 #7=0.5 (Z SAFETY)
N21 #8=-.01 (Z PROBE)
N22 (END CONFIGURATION SECTION)
N24 (PROBEOPEN/home/operator/gcode/PROBE DATA/proberesults1.txt)
-0.000000 -0.500000 -0.197214 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
-0.000000 -0.500000 -0.187478 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
0
.010093 -0.500000 -0.179336 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
0
.010000 -0.500000 -0.197221 9.098637 0.000000 0.000000 0.000000 0.000000 0.000000
0
N12 #1=-0 (X START)
N13 #2=.01 (X INCREMENT)
N14 #3=2 (X COUNT)
N16 #4=-.5 (Y START)
N17 #5=.05 (Y INCREMENT)
N18 #6=20 (Y COUNT)
N20 #7=0.5 (Z SAFETY)
N21 #8=-.01 (Z PROBE)
N22 (END CONFIGURATION SECTION)
N24 (PROBEOPEN/home/operator/gcode/PROBE DATA/proberesults1.txt)
Please Log in or Create an account to join the conversation.
20 Jul 2017 13:24 #96142
by andypugh
Replied by andypugh on topic smartprobe - configuration questions
The file should be a set of XYZABCUVW coordinates for each probed position.
You might want to consider using (LOG, ....) instead of probing to format the data in way more useful to you.
linuxcnc.org/docs/html/gcode/overview.html#_probe_logging
You might want to consider using (LOG, ....) instead of probing to format the data in way more useful to you.
linuxcnc.org/docs/html/gcode/overview.html#_probe_logging
Please Log in or Create an account to join the conversation.
21 Jul 2017 14:47 #96229
by choppero
Replied by choppero on topic smartprobe - configuration questions
I'm sorry I don't understand (LOG,...) I tried LOGOPEN but no data was recorded
Please Log in or Create an account to join the conversation.
21 Jul 2017 23:37 #96253
by andypugh
Replied by andypugh on topic smartprobe - configuration questions
The parameters you put in the (LOG, ....) "magic comment" should be written to the LOGOPEN file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.115 seconds