Command 1202: Adjusts the specified coordinate to the specified point

Offsets the specified coordinate value and sets it to the coordinate of specified axes.

Specifies one axis.

Command Syntax

bit Name Description
Parameter 1 15 pointNumber Specifies the point number.
14
1
0
bit Name Description
Parameter 2 15 toolOffset

Specifies whether to offset in tool offset or not.

0: Normal

1: Tool offset

14 reserved Specify “0”
3
2 coordinate 1 specification

Specifies the first coordinate axis.

0: X axis

1: Y axis

2: Z axis

3: U axis

4: V axis

5: W axis

1
0
bit Name Description
Parameter 3 15

coordinate1

High-order side

Specifies the coordinate value (real number) as the value × 1000 converted to a 32-bit integer.

X, Y, Z = mm

U, V, W = deg

High-order side 16 bit.

14
1
0
bit Name Description
Parameter 4 15

coordinate1

Low-order side

Specifies the coordinate value (real number) as the value × 1000 converted to a 32-bit integer.

X, Y, Z = mm

U, V, W = deg

Low-order side 16 bit.

14
1
0

Response Syntax

Refer to the following.

Response Codes

Description

Offsets the specified coordinate value and sets it to the coordinate of specified axes.

Setting value should be specified as fixed-point data which validates to three decimal places.

Also, if the setting value is a negative number, specify the value in 32-bit two’s complement.

When tool offset is selected in the 15th bit of Parameter 2, offsetting will be done by tool coordinate system.

Example

When offsetting 20 mm in X-axis direction for P1.

Command Response
04B2H 0000H 0000H 4E20H 04B2H 0000H 0000H

When offsetting −100.003 mm in Y-axis direction for P1 by tool offset.

Command Response
04B2H 8001H FFFEH 795DH 04B2H 0000H 0000H

* Select tool offset in the 15th bit of Parameter 2.