Comments
Variables
Variable/bound variable JSON structure:
| Parameter | Type | Description |
|---|---|---|
| data | float | Numeric data |
| secondvalue | int | Whether it is a bound variable, 0=no, 1=yes (format: GD[GI0002]) |
| value | int | Data type, 0=numeric (fill data node), 7=string (fill varname node), 8=variable or bound variable (fill varname node) |
| varname | string | String type or variable name |
Point Position
| Parameter | Type | Description |
|---|---|---|
| ctype | int | Point type, 1=P, 2=E, 3=S, 4=R, 5=GP, 6=GE |
| key | string | Point name |
| note | string | Point annotation |
| data | array | 21-element array, see description below |
| paraVarData | array | 21-element parameter variable array, structure same as variable node |
data array description (21 elements):
| Position | Description |
|---|---|
| 1st | Coordinate system: 0=Joint, 1=Rectangular, 2=Tool, 3=User |
| 2nd | Unit: 0=Degree, 1=Radian |
| 3rd | Left/right hand (configuration): 0=Any, 1=Left, 2=Right |
| 4th | Tool number |
| 5th | User number |
| 6th~7th | Reserved |
| 8th~21st | Coordinate values (7 internal axes + 7 external axes) |
Note: Non-existent nodes default to 0 or ""