Command 1222: Acquires the coordinate of the specified point
Acquires the coordinate of the specified point.
Command Syntax
| bit | Name | Description | |
|---|---|---|---|
| Parameter 1 | 15 | pointNumber | Specifies the point number. |
| 14 | |||
| | | |||
| 1 | |||
| 0 |
| bit | Name | Description | |
|---|---|---|---|
| Parameter 2 | 15 | axisSelection | Select the axis to acquire the coordinate. 0: X axis 1: Y axis 2: Z axis 3: U axis 4: V axis 5: W axis |
| 14 | |||
| | | |||
| 1 | |||
| 0 |
Response Syntax
| bit | Name | Description | |
|---|---|---|---|
| Response 1 | 15 | coordinate 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 | |
|---|---|---|---|
| Response 2 | 15 | coordinate 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 |
Description
Acquires the coordinate of the specified point.
The value will be returned as fixed-point data which validates to three decimal places.
Also, if the setting value is a negative number, the value is returned in 32-bit two’s complement.
Example
When acquring the Y axis when P1 is X: 0.000 Y: 495.336 Z: 246.281 U: 90.000
| Command | Response |
| 04C6H 0001H | 04C6H 0007H 8EE8H |