- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This one has really got me puzzled......
I have several parts on the bed, each a set distance away from one and other and i have manually probed G54 and used this as the reference for each of the other parts. The probing sequence moves to the next part, probes the Z,X & Y and then updates the correct offset number (G55,G56,G57etc).
The problem is that it appears the below routine is putting the difference from the actual start position after each move as opposed to the distance between G54 and the new probing position.
So i am expecting the first (S2=G55) probe to return the same location as G54. I am then expecting the second (S3=G56) to return a co ordinate that is at least 65.4mm away (for X anyway) from the co-ordinate stored in G55. Instead it gives me the distance from the move which is obviously nearly identical to that of G55.
I can't understand why? The correct offset is being changed but with a value that seems to be linked to the previous G1 move on the machine as opposed to just picking up the position within the machine without reference to this previous move.
(Z)
G54
G1 X0. Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9810 Z12.
G65 P9811 Z0. Q10. S2.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(Y)
G54
G1 X0. Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9812 Y49.8 Z22.7 Q10. R-12. S2.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(X)
G54
G1 X0. Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9812 X25.4 Z-5. Q10. R12. S2.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(Z)
G54
G1 X65.4 Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9810 Z12.
G65 P9811 Z0. Q10. S3.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(Y)
G54
G1 X65.4 Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9812 Y49.8 Z22.7 Q10. R-12. S3.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(X)
G54
G1 X65.4 Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9812 X25.4 Z-5. Q10. R12. S3.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(Z)
G54
G1 X130.8 Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9810 Z12.
G65 P9811 Z0. Q10. S4.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(Y)
G54
G1 X130.8 Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9812 Y49.8 Z22.7 Q10. R-12. S4.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833
(X)
G54
G1 X130.8 Y0. F5000.
G65 P9832
G0 Z91.7
G65 P9810 Z41.7 F1000.
G65 P9812 X25.4 Z-5. Q10. R12. S4.
G65 P9810 Z41.7
G0 Z91.7
G65 P9833Actual output as an example would be
X Y Z
G54 100 100 10
G55 100 100 10
G56 100 100 10
Expected output would be:
X Y Z
G54 100 100 10
G55 165.4 100 10
G56 230.8 100 10
I hope that makes some sense.
Running on a HAAS Super mini mill 2
Solved! Go to Solution.
