Command 1201: Adjusts two coordinates to the specified point

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

Specifies two axes.

Command Syntax

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

Specify whether to offset in tool offset or not.

0: Normal

1: Tool offset

14 reserved Specify “0”
7
6 coordinate 2 specification

Specifies the second coordinate axis.

0: X axis

1: Y axis

2: Z axis

3: U axis

4: V axis

5: W axis

5
4
3 reserved Specify “0”
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
bit Name Description
Parameter 5 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 6 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 and -100.003 mm in Y-axis direction for P1.

Specify X axis direction to Coordinate 1 and Y axis to Coordinate 2.

Command Response
04B1H 0010H 0000H 4E20H FFFEH 795DH 04B1H 0000H 0000H

When offsetting 20 mm in X-axis direction and -100.003 mm in Y-axis direction by tool offset.

Specify X axis direction to Coordinate 1 and Y axis to Coordinate 2.

Command Response
04B1H 8010H 0000H 4E20H FFFEH 795DH 04B1H 0000H 0000H

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