Wiki source code of G81: Цикл сверления
Last modified by writer on 2023/09/12 15:31
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% style="color:#a0be2d" %)//**G81 (X- Y- Z-) or (U- V- W-) R- L-**// | ||
| 2 | |||
| 3 | The (% style="color:#a0be2d" %)//**G81**//(%%) cycle is designed for drilling. | ||
| 4 | |||
| 5 | The cycle includes the following actions: | ||
| 6 | |||
| 7 | 1. Preliminary movement described in the section "[[Canned Cycles>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G80-G89\: Постоянные циклы.WebHome]]". | ||
| 8 | 1. Move the Z axis with the current feedrate to Z position. | ||
| 9 | 1. The Z axis moves quickly to the return height along Z. | ||
| 10 | |||
| 11 | ====== Example 1 ====== | ||
| 12 | |||
| 13 | Suppose the current position (X1, Y2, Z3) and the following line of G-code is executed: | ||
| 14 | |||
| 15 | (% style="color:#a0be2d" %)//**G90 G98 G81 X4 Y5 Z1.5 R2.8**// | ||
| 16 | |||
| 17 | In the example, when the command is executed, the absolute positioning mode ((% style="color:#a0be2d" %)//**G90**//(%%)) and the mode of returning to the initial height in Z ((% style="color:#a0be2d" %)//**G98**//(%%)) are valid. | ||
| 18 | |||
| 19 | The following movements will take place: | ||
| 20 | |||
| 21 | 1. Quick movement in the XY plane to the point (X4, Y5). | ||
| 22 | 1. Fast movement along the Z axis to a point (Z2.8). | ||
| 23 | 1. Moving along the Z axis at a given feedrate in (Z1.5). | ||
| 24 | 1. Fast movement along the Z axis in (Z3). | ||
| 25 | |||
| 26 | [[Command (% style="color:#a0be2d" %)//**G81**//(%%). Example 1>>image:image2019-6-4_14-4-45.png||alt="Команда (% style=" data-xwiki-image-style-alignment="center"]] | ||
| 27 | |||
| 28 | ====== Example 2 ====== | ||
| 29 | |||
| 30 | Suppose the current position (X1, Y2, Z3) and the following line of G-code is executed: | ||
| 31 | |||
| 32 | (% style="color:#a0be2d" %)//**G91 G98 G81 X4 Y5 Z-0.6 R1.8 L3**// | ||
| 33 | |||
| 34 | In the example, when executing the command, the incremental positioning mode ((% style="color:#a0be2d" %)//**G91**//(%%)) and the mode of returning to the initial height in Z ((% style="color:#a0be2d" %)//**G98**//(%%)) are effective. The machine performs a drilling cycle three times. The initial position in X is 5 (= 1 + 4), the initial position in Y is 7 (= 2 + 5), the return height in Z is 4.8 (= 1.8 + 3), the target position in Z is 4.2 (= 4.8-0.6 ) The initial position in Z is 3. | ||
| 35 | |||
| 36 | During the preliminary movement, a quick movement along the Z axis to the position (X1, Y2, Z4.8) is made, since the initial height in Z is less than the return height. | ||
| 37 | |||
| 38 | The first iteration of the loop consists of 3 movements: | ||
| 39 | |||
| 40 | 1. Fast movement in the XY plane in (X5, Y7). | ||
| 41 | 1. Moving along the Z axis at a given feedrate in (Z4.2). | ||
| 42 | 1. Fast movement along the Z axis in (X5, Y7, Z4.8). | ||
| 43 | |||
| 44 | The second iteration of the loop consists of 3 movements: | ||
| 45 | |||
| 46 | 1. Fast movement in the XY plane in (X9, Y12, Z4.8). | ||
| 47 | 1. Movement along the Z axis with a given feedrate in (X9, Y12, Z4.2). | ||
| 48 | 1. Fast movement along the Z axis in (X9, Y12, Z4.8). | ||
| 49 | |||
| 50 | The third iteration of the cycle consists of 3 movements: | ||
| 51 | |||
| 52 | 1. Fast movement in the XY plane in (X13, Y17, Z4.8). | ||
| 53 | 1. Movement along the Z axis with a given feedrate in (X13, Y17, Z4.2). | ||
| 54 | 1. Fast movement along the Z axis in (X13, Y17, Z4.8). | ||
| 55 | |||
| 56 | [[Command (% style="color:#a0be2d" %)//**G81**//(%%). Example 2>>image:image2019-6-4_14-6-45.png||alt="Команда G81. Пример 2" data-xwiki-image-style-alignment="center"]] | ||
| 57 | |||
| 58 | ====== Example 3 ====== | ||
| 59 | |||
| 60 | Suppose that the current position (X0, Y0, Z0) instead of (X1, Y2, Z3), and a line of G-code is executed: | ||
| 61 | |||
| 62 | (% style="color:#a0be2d" %)//**G90 G98 G81 X4 Y5 Z1.5 R2.8**// | ||
| 63 | |||
| 64 | Since the initial height in Z is less than the value of the parameter R, during the preliminary movement, the initial movement in Z will be performed. |