Skip to content

Comments

Variables

Variable/bound variable JSON structure:

ParameterTypeDescription
datafloatNumeric data
secondvalueintWhether it is a bound variable, 0=no, 1=yes (format: GD[GI0002])
valueintData type, 0=numeric (fill data node), 7=string (fill varname node), 8=variable or bound variable (fill varname node)
varnamestringString type or variable name

Point Position

ParameterTypeDescription
ctypeintPoint type, 1=P, 2=E, 3=S, 4=R, 5=GP, 6=GE
keystringPoint name
notestringPoint annotation
dataarray21-element array, see description below
paraVarDataarray21-element parameter variable array, structure same as variable node

data array description (21 elements):

PositionDescription
1stCoordinate system: 0=Joint, 1=Rectangular, 2=Tool, 3=User
2ndUnit: 0=Degree, 1=Radian
3rdLeft/right hand (configuration): 0=Any, 1=Left, 2=Right
4thTool number
5thUser number
6th~7thReserved
8th~21stCoordinate values (7 internal axes + 7 external axes)

Note: Non-existent nodes default to 0 or ""