Ero sivun ”G02 Engl” versioiden välillä
(Ak: Uusi sivu: Category: G code right '' 'G02: clockwise circular interpolation' '' <br /> '' 'G03: counterclockwise circular interpolation' '' <br /> <br /> '' 'G1...) |
|||
Rivi 12: | Rivi 12: | ||
The choice of interpolation plane determines in which plane the arc is machined. At the same time, it determines which two coordinate axes out of three (XYZ) determine the end point of the arc. The third coordinate results in a helix, if given. | The choice of interpolation plane determines in which plane the arc is machined. At the same time, it determines which two coordinate axes out of three (XYZ) determine the end point of the arc. The third coordinate results in a helix, if given. | ||
+ | |||
+ | '' 'G02 (G03) X_ Y_ Z_ {I_ J_ K_} | {R_} | F_ '' '<br /> | ||
+ | <br /> | ||
+ | X_ Y_ Z_: Coordinates of the end point of the arc (in the interpolation plane). <br /> | ||
+ | I_ J_ K_: Distance of the center of the arc from the starting point (in the interpolation plane - only 2 out of three are given). The distance is given relative to the starting point. <br /> | ||
+ | R_: Alternatively, the radius of the circle (in which case no arguments to IJK are given). <br /> | ||
+ | |||
+ | Circular interpolation is intended for milling curved shapes and takes place at the current feed rate. The G-code representation allows the arc to be interpolated only in the planes defined by the three basic axes of the machine. In an arbitrary plane, a circle cannot be interpolated. The level is selected before the function with codes G17 .. G19 and they are modal to each other. <br /> | ||
+ | <br /> | ||
+ | The arc is defined by the endpoints and the center of the circle. The center point should be the same distance from both endpoints or the controller will stop in error. <br /> | ||
+ | The starting point of the circle is the point where the tool is when the function starts. The end point is defined by XYZ coordinates (taking into account the current interpolation level). <br /> | ||
+ | There are two options for determining the center of a circle, either the auxiliary coordinates I, J, K, or the radius R. The auxiliary coordinates are relative such that the distance of the center from the origin is X + I, Y + J, Z + K (2 out of three considering the interpolation plane). | ||
+ | <br clear=all> | ||
+ | |||
+ | [[File: G02G03_2.PNG | top | right]] | ||
+ | The interpolation instruction allows all three coordinates in the endpoint definition. In this case, the arc of the circle is interpolated in the selected plane, and a linear movement takes place in the direction of the third axis from the initial position to the given final coordinate. In this way, helixes, i.e. helical cylindrical dips, can be machined. | ||
+ | The Lota Fanuc controller works in such a way that if no endpoint is given at all, the function interpolates a full circle around the given centerpoint. This makes it particularly easy to machine circles and helical circular dips by giving a third coordinate in the normal direction of the interpolation plane from the end point. | ||
+ | <br /> | ||
+ | <br clear=all> | ||
+ | ---- | ||
+ | {| style = "text-align: center; background-color: #ffffcc; width: 100%;" | ||
+ | | colspan = "3" | | ||
+ | | - | ||
+ | | style = "text-align: center; width: 33%; | | ||
+ | [[G01 | <big> Previous </big>]] | ||
+ | | style = "text-align: center; | | ||
+ | [[G code | <big> Back to G code list </big>]] | ||
+ | | style = "text-align: center; width: 33%; | | ||
+ | [[G04 | <big> Next </big>]] | ||
+ | |} |
Versio 12. helmikuuta 2021 kello 20.57
'G02: clockwise circular interpolation'
'G03: counterclockwise circular interpolation'
'G17: Interpolation level XY'
'G18: Interpolation level ZX'
'G19: Interpolation level YZ'
Syntax:
'G17 | G18 | G19 '
The choice of interpolation plane determines in which plane the arc is machined. At the same time, it determines which two coordinate axes out of three (XYZ) determine the end point of the arc. The third coordinate results in a helix, if given.
'G02 (G03) X_ Y_ Z_ {I_ J_ K_} | {R_} | F_ '
X_ Y_ Z_: Coordinates of the end point of the arc (in the interpolation plane).
I_ J_ K_: Distance of the center of the arc from the starting point (in the interpolation plane - only 2 out of three are given). The distance is given relative to the starting point.
R_: Alternatively, the radius of the circle (in which case no arguments to IJK are given).
Circular interpolation is intended for milling curved shapes and takes place at the current feed rate. The G-code representation allows the arc to be interpolated only in the planes defined by the three basic axes of the machine. In an arbitrary plane, a circle cannot be interpolated. The level is selected before the function with codes G17 .. G19 and they are modal to each other.
The arc is defined by the endpoints and the center of the circle. The center point should be the same distance from both endpoints or the controller will stop in error.
The starting point of the circle is the point where the tool is when the function starts. The end point is defined by XYZ coordinates (taking into account the current interpolation level).
There are two options for determining the center of a circle, either the auxiliary coordinates I, J, K, or the radius R. The auxiliary coordinates are relative such that the distance of the center from the origin is X + I, Y + J, Z + K (2 out of three considering the interpolation plane).
The interpolation instruction allows all three coordinates in the endpoint definition. In this case, the arc of the circle is interpolated in the selected plane, and a linear movement takes place in the direction of the third axis from the initial position to the given final coordinate. In this way, helixes, i.e. helical cylindrical dips, can be machined.
The Lota Fanuc controller works in such a way that if no endpoint is given at all, the function interpolates a full circle around the given centerpoint. This makes it particularly easy to machine circles and helical circular dips by giving a third coordinate in the normal direction of the interpolation plane from the end point.
- |