Last modified by writer on 2023/02/09 17:31

Hide last authors
writer 16.1 1 (% style="color:#a0be2d" %)//**G10 L2 P- <axes R->  **//
knetyaga 2.1 2
writer 16.1 3 * //P// – coordinate system (0-9);
4 * //R// – angle of rotation around the Z axis).
knetyaga 2.1 5
writer 16.1 6 The (% style="color:#a0be2d" %)//**G10 L2 **//(%%)command changes the offset of the specified coordinate system to a value specified by the axis parameters. The offset is counted from the machine zero set in the base search process. An offset replaces the current offset valid for the specified coordinate system. The offset on axes that are not specified will not be changed.
knetyaga 2.1 7
writer 16.1 8 Use parameters P0 to P9 to indicate which coordinate system to change.
9
10 (% class="wrapped" %)
11 |=(% style="text-align: center;" %)**Parameter P**|=(% style="text-align: center;" %)**Coordinate system**|=(% style="text-align: center;" %)**G-code**
12 |(% style="text-align:center" %)0|(% style="text-align:center" %)Current|(% style="text-align:center" %)-
writer 14.1 13 |(% style="text-align:center" %)1|(% style="text-align:center" %)1|(% style="text-align:center" %)//**[[G54>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
14 |(% style="text-align:center" %)2|(% style="text-align:center" %)2|(% style="text-align:center" %)//**[[G55>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
15 |(% style="text-align:center" %)3|(% style="text-align:center" %)3|(% style="text-align:center" %)//**[[G56>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
16 |(% style="text-align:center" %)4|(% style="text-align:center" %)4|(% style="text-align:center" %)//**[[G57>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
17 |(% style="text-align:center" %)5|(% style="text-align:center" %)5|(% style="text-align:center" %)//**[[G58>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
18 |(% style="text-align:center" %)6|(% style="text-align:center" %)6|(% style="text-align:center" %)//**[[G59>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
19 |(% style="text-align:center" %)7|(% style="text-align:center" %)7|(% style="text-align:center" %)//**[[G59.1>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
20 |(% style="text-align:center" %)8|(% style="text-align:center" %)8|(% style="text-align:center" %)//**[[G59.2>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
21 |(% style="text-align:center" %)9|(% style="text-align:center" %)9|(% style="text-align:center" %)//**[[G59.3>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат||shape="rect" style="color: rgb(160,190,45);"]]**//
knetyaga 2.1 22
writer 16.1 23 Optionally, you can use the R parameter to specify the rotation of the XY axes around the Z axis. The direction of rotation is counterclockwise relative to the positive direction of the Z axis.
knetyaga 2.1 24
writer 16.1 25 The incremental positioning mode [[(% style="color:#a0be2d" %)//**G91**//>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G90-G99.G90, G91\: Задание режима абсолютныхотносительных координат.WebHome]](%%) does not affect the (% style="color:#a0be2d" %)//**G10 L2 **//(%%)command.
knetyaga 2.1 26
writer 16.1 27 {{warning title="**Important notes:**"}}
28 * the (% style="color:#a0be2d" %)//**G10 L2 Pn**//(%%) command does not change the current coordinate system, to select a coordinate system, use the commands [[(% style="color:#a0be2d" %)//**G54-G59.3**//>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G54-G59\.3: Выбор системы координат]](%%);
29 * if offset [[(% style="color:#a0be2d" %)//**G92**//>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G90-G99.G92\: Смещение начала координат.WebHome]](%%) has been set, it will continue to operate after command (% style="color:#a0be2d" %)//**G10 L2**//(%%);
30 * the coordinate system for which the offset is set by the (% style="color:#a0be2d" %)//**G10 L2**//(%%) command can be active or inactive at the time the command is executed. If the coordinate system is active, the new offset will take effect immediately.
writer 13.1 31 {{/warning}}
knetyaga 2.1 32
writer 16.1 33 {{error title="**It is an error if:**"}}
34 * parameter P is not an integer in the range from 0 to 9.
writer 8.1 35 {{/error}}
knetyaga 2.1 36
writer 16.1 37 {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G10 L2 **//(%%)//example line~~://"}}
writer 15.1 38 G10 L2 P1 X3.5 Y17.2
39 {{/code}}
knetyaga 2.1 40
writer 16.1 41 In this example, the origin for the first coordinate system is set to X = 3.5 and Y = 17.2. Since only the X and Y axes are indicated, the origin is shifted along these axes, other coordinates are not changed.
knetyaga 2.1 42
writer 16.1 43 {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G10 L2 **//(%%)//example line~~://"}}
44 G10 L2 P1 X0 Y0 Z0 (zero offsets in X, Y & Z in coordinate system 1)
writer 15.1 45 {{/code}}
knetyaga 2.1 46
writer 16.1 47 In the above example, the XYZ coordinates of the origin of system 1 are set to zero.