Hello,
I have a question regarding B-axis correction (straightening) Macro below(I think it was originally written and presented by PROBE here on PM).
On the two lines "G31Z[#30]F20.", will the machine stop feeding right at that expected surface position, or will it travel beyond the expected position to search for a surface to contact? I'm guessing it will stop, and then what? Give an error? Should I just give a deeper number for the Z-axis variable that's passed in the Macro call, ensuring the probe will contact the surface? The only thing is these are large castings and can vary quite a bit.
The Macro call line would look like this: G65P7438X78.11Z24.8S1.
This horizontal machining center uses a Fanuc Series 15M control. The probing software is NOT renishaw inspection plus software, and it doesn't have a 4th axis correction macro cycle like renishaw's inspection plus Macro O9817, therefore I want to try this Macro. In Macro cycle O9817, there is a default overtravel distance of 10mm - the distance the probe travels beyond the expected position when it searches for a surface. I guess that brings up another question: How would this be written into this Macro?
Thanks for any help.
Regards,
Paul
#30=#26-#5023
G91
#1=#5023
G0X-[#24/2]
G1Z[#30+1.]F100.
#30=#26-#5023
G31Z[#30]F20.(Using skip signal G31 to feed the probe to hit the work surface)
#2=#5023
G0Z.75
#3004=2
G31Z[#2-#5023]F2.
#3=#5063
#3004=0
G0Z[#1-#5023]
X#24
()
G31Z[#30]F20.
#2=#5023
G0Z.75
#3004=2
G31Z[#2-#5023]F2.
#4=#5063
#3004=0
G0Z[#1-#5023]
#5=ATAN[[#4-#3]/[#24]]
G90
#[5204+[20*[#19]]]=#[5204+[20*[19]]]+#5
M99
I have a question regarding B-axis correction (straightening) Macro below(I think it was originally written and presented by PROBE here on PM).
On the two lines "G31Z[#30]F20.", will the machine stop feeding right at that expected surface position, or will it travel beyond the expected position to search for a surface to contact? I'm guessing it will stop, and then what? Give an error? Should I just give a deeper number for the Z-axis variable that's passed in the Macro call, ensuring the probe will contact the surface? The only thing is these are large castings and can vary quite a bit.
The Macro call line would look like this: G65P7438X78.11Z24.8S1.
This horizontal machining center uses a Fanuc Series 15M control. The probing software is NOT renishaw inspection plus software, and it doesn't have a 4th axis correction macro cycle like renishaw's inspection plus Macro O9817, therefore I want to try this Macro. In Macro cycle O9817, there is a default overtravel distance of 10mm - the distance the probe travels beyond the expected position when it searches for a surface. I guess that brings up another question: How would this be written into this Macro?
Thanks for any help.
Regards,
Paul
#30=#26-#5023
G91
#1=#5023
G0X-[#24/2]
G1Z[#30+1.]F100.
#30=#26-#5023
G31Z[#30]F20.(Using skip signal G31 to feed the probe to hit the work surface)
#2=#5023
G0Z.75
#3004=2
G31Z[#2-#5023]F2.
#3=#5063
#3004=0
G0Z[#1-#5023]
X#24
()
G31Z[#30]F20.
#2=#5023
G0Z.75
#3004=2
G31Z[#2-#5023]F2.
#4=#5063
#3004=0
G0Z[#1-#5023]
#5=ATAN[[#4-#3]/[#24]]
G90
#[5204+[20*[#19]]]=#[5204+[20*[19]]]+#5
M99