Skip to content

Instructions - Position Variable


User Coordinate Modify (USERFRAME_SET)

Description: Modifies or reads the value of a specific axis in the user coordinate system

Instruction Name: USERFRAME_SET | ID: 888

Parameter List

ParameterTypeValue RangeDescription
coordstringUX, UY, UZ, UA, UB, UC, UCUSTOM(UX, UY, UZ)User coordinate parameter. UX, UY, UZ, UA, UB, UC: read the value of a specific axis of the user coordinate system; UCUSTOM(UX, UY, UZ): custom, the selected user coordinate in parentheses
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
m_varNamestringint or double type variable, global or localVariable. When writing, manual int type can be entered; value range [-2000,2000]. When writing: directly enter the value to modify the coordinate axis value, or use variable assignment to modify the coordinate axis value. When reading: use variable to read the value of the selected coordinate axis
modeint[0,1]Modify mode. 0: read the value of a specific axis of user coordinate, 1: modify the value of a specific axis of user coordinate
typeint97User coordinate modify is 97 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning
varTypeint[0,4]Variable value type. 0: manual value, 1: INT, 2: DOUBLE, 3: GINT, 4: GDOUBLE

JSON Example

json
{
  "ID": 888,
  "coord": "UCUSTOM(UX,UY,UZ)",
  "logout": false,
  "m_varName": "I001",
  "mode": 1,
  "type": 97,
  "userParamInt": 0,
  "userParamString": "",
  "varType": 1
}

Tool Coordinate Modify (TOOLFRAME_SET)

Description: Modifies or reads the parameters of a specific axis of the tool

Instruction Name: TOOLFRAME_SET | ID: 55

Parameter List

ParameterTypeValue RangeDescription
coordstringTX, TY, TZ, TA, TB, TC, TCUSTOM(TZ, TA)Tool coordinate parameter. TX, TY, TZ, TA, TB, TC: read the value of a specific axis of the tool coordinate system; TCUSTOM(TZ, TA): custom, the selected tool coordinate in parentheses
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
m_newValuestring-(Not described in the documentation)
m_varNamestringint or double type variable, global or localVariable. When writing, manual int type can be entered; value range [-2000,2000]
modeint[0,1]Modify mode. 0: read the value of a specific axis of tool coordinate, 1: modify the value of a specific axis of tool coordinate
typeint98Tool coordinate modify is 98 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning
varTypeint[0,4]Variable value type. 0: manual value, 1: INT, 2: DOUBLE, 3: GINT, 4: GDOUBLE

JSON Example

json
{
  "ID": 55,
  "coord": "TCUSTOM(TZ,TA)",
  "logout": false,
  "m_newValue": "",
  "m_varName": "I001",
  "mode": 1,
  "type": 98,
  "userParamInt": 0,
  "userParamString": "",
  "varType": 1
}

Read Position (READPOS)

Description: Reads the value of a specific axis of a position variable into a floating-point variable

Instruction Name: READPOS | type: 92

Parameter List

ParameterTypeValue RangeDescription
axisint[1,13]Position variable axis. Values 1~7: axes 1~7, values 8~13: external axes O1~O6; only available axes can be selected based on current configuration
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidnamestringP,GP,E,GE variable namePosition variable name. When the string is empty, it means reading the robot's current position coordinates. P,GP,E,GE: stores the point into a variable, when reading, just select the target variable to read
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
typeint92Read position is 92 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning
varnamestringint type variable nameTarget variable name

JSON Example

json
{
  "axis": 1,
  "coord": "RF",
  "logout": false,
  "posidname": "GE$GI001",
  "posidtype": 1,
  "type": 92,
  "userParamInt": 0,
  "userParamString": "",
  "varname": "D001"
}

Position Add (POSADD)

Description: Adds a value to a specific variable axis of a position variable under different coordinate systems

Note:

  • When modifying target points, pay attention to over-limit issues and target position unreachable, coordinate conversion failure issues
  • Joint over-limit: For example, if the positive limit of robot axis 1 is 180°, and the coordinate of axis 1 at the target point is 150°, setting the parameter to assign 50° to variable axis 1 will cause a joint over-limit issue when running the instruction
  • Coordinate conversion failure: For example, if the target point is a joint point, and the selected variable coordinate system in the parameter settings is Cartesian coordinate system, assigning a value to the position variable axis of the target point and executing the position add instruction may cause a coordinate conversion failure during the calculation process

Instruction Name: POSADD | type: 93

Parameter List

ParameterTypeValue RangeDescription
axisint[1,13]Position variable axis. Values 1~7: axes 1~7, values 8~13: external axes O1~O6; only available axes can be selected based on current configuration
caltypeint[0,2]Operation type. 0: ADDTYPE position add; 1: SUBTYPE position subtract; 2: SETTYPE position set
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
datatypeint[0,4]Variable value type. 0: manual value, 1: INT, 2: DOUBLE, 3: GINT, 4: GDOUBLE
desDatastringManual value or int/double type variable, global or localPosition variable. Value range [-50000, 50000]
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
positionIdstringP or GP or E or GEPosition variable to be modified
typeint93Position add is 93 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "axis": 5,
  "caltype": 0,
  "coord": "RF",
  "datatype": 1,
  "desData": "GI001",
  "logout": false,
  "posidtype": 0,
  "positionId": "GP0001",
  "type": 93,
  "userParamInt": 0,
  "userParamString": ""
}

Position Subtract (POSSUB)

Description: Subtracts a value from a specific variable axis of a position variable under different coordinate systems

Note:

  • When modifying target points, pay attention to over-limit issues and target position unreachable, coordinate conversion failure issues
  • Joint over-limit: For example, if the negative limit of robot axis 2 is -50°, and the coordinate of axis 2 at the target point is 30°, setting the parameter to assign 100° to variable axis 2 will cause a joint over-limit issue when running the instruction
  • Coordinate conversion failure: For example, if the target point is a joint point, and the selected variable coordinate system in the parameter settings is Cartesian coordinate system, assigning a value to the position variable axis of the target point and executing the position subtract instruction may cause a coordinate conversion failure during the calculation process

Instruction Name: POSSUB | type: 93

Parameter List

ParameterTypeValue RangeDescription
axisint[1,13]Position variable axis. Values 1~7: axes 1~7, values 8~13: external axes O1~O6; only available axes can be selected based on current configuration
caltypeint[0,2]Operation type. 0: ADDTYPE position add; 1: SUBTYPE position subtract; 2: SETTYPE position set
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
datatypeint[0,4]Variable value type. 0: manual value, 1: INT, 2: DOUBLE, 3: GINT, 4: GDOUBLE
desDatastringManual value or int/double type variable, global or localPosition variable. Value range [-50000, 50000]
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
positionIdstringP or GP or E or GEPosition variable to be modified
typeint93Position subtract is 93 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "axis": 3,
  "caltype": 1,
  "coord": "RF",
  "datatype": 0,
  "desData": "666",
  "logout": false,
  "posidtype": 0,
  "positionId": "GP0001",
  "type": 93,
  "userParamInt": 0,
  "userParamString": ""
}

Position Set (POSSET)

Description: Directly modifies the point coordinate value of a specific variable axis of a position variable under different coordinate systems

Note:

  • When modifying target points, pay attention to over-limit issues and target position unreachable, coordinate conversion failure issues
  • Joint over-limit: For example, if the positive limit of robot axis 3 is 100°, and setting the parameter to assign 120° to variable axis 2 will cause a joint over-limit issue when running the instruction
  • Coordinate conversion failure: For example, if the target point is a joint point, and the selected variable coordinate system in the parameter settings is Cartesian coordinate system, assigning a value to the position variable axis of the target point and executing the position set instruction may cause a coordinate conversion failure during the calculation process

Instruction Name: POSSET | type: 93

Parameter List

ParameterTypeValue RangeDescription
axisint[1,13]Position variable axis. Values 1~7: axes 1~7, values 8~13: external axes O1~O6; only available axes can be selected based on current configuration
caltypeint[0,2]Operation type. 0: ADDTYPE position add; 1: SUBTYPE position subtract; 2: SETTYPE position set
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
datatypeint[0,4]Variable value type. 0: manual value, 1: INT, 2: DOUBLE, 3: GINT, 4: GDOUBLE
desDatastringManual value or int/double type variable, global or localPosition variable. Value range [-50000, 50000]
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
positionIdstringP or GP or E or GEPosition variable to be modified
typeint93Position set is 93 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "axis": 6,
  "caltype": 2,
  "coord": "RF",
  "datatype": 0,
  "desData": "666",
  "logout": false,
  "posidtype": 0,
  "positionId": "GP0001",
  "type": 93,
  "userParamInt": 0,
  "userParamString": ""
}

Copy Position (COPYPOS)

Description: Copies point data from one position variable to another position variable

Note: Supports up to 5 connected external axes. When copying external axis points, only O1, O2, O3, O4, O5 axes are supported. If O6, O7 axes are selected in the parameter settings, O6, O7 axes will not take effect when executing the copy position instruction

Instruction Name: COPYPOS | type: 118

Parameter List

ParameterTypeValue RangeDescription
cpaxlesint[]Array, each element represents the corresponding axis numberSelect the coordinate axis data to copy
cpaxletypeint[0,1]Indicates whether all coordinate axis data is copied. 0: all coordinate axis data is copied, "cpaxles" node does not exist; 1: depends on what is selected in the "cpaxles" node
cpdposnamestringP or E, local or globalTarget position variable name
cpdpostypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
cpposnamestringP,GP,E,GE variable nameSource position variable name. When the string is empty, it means reading the robot's current position coordinates
cppostypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
typeint118Copy position is 118 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "cpaxles": [2, 4, 6],
  "cpaxletype": 1,
  "cpdposname": "GE$GI001",
  "cpdpostype": 1,
  "cpposname": "P$GI001",
  "cppostype": 1,
  "logout": false,
  "type": 118,
  "userParamInt": 0,
  "userParamString": ""
}

Position Add All (POSADDALL)

Description: Adds values to several variable axes of a position variable under different coordinate systems

Note: When modifying target points, pay attention to over-limit issues and target position unreachable, coordinate conversion failure issues

Instruction Name: POSADDALL | type: 140

Parameter List

ParameterTypeValue RangeDescription
calDatastring[]14 elements, each element is the increment value for each axisAxis increment values. Can be manual or int or double variable type, global or local
caltypeint[0,2]Position all-operation type. 0: position add all, 1: position subtract all, 2: position set all
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
datatypeint[]14 elements, corresponds to the "calData" nodeWhether axis value changes. 1: this axis has changes; 2: this axis has no changes
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidnamestringP,GP,E,GEPosition variable name. Position variable to be modified
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
typeint140Position add all is 140 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "calData": ["I002", "I034", "I056", "I069", "GI012", "GI023", "[-]", "GI047", "[-]", "[-]", "[-]", "[-]", "[-]", "[-]"],
  "caltype": 0,
  "coord": "UF",
  "datatype": [1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2],
  "logout": false,
  "posidname": "GE$GI001",
  "posidtype": 1,
  "type": 140,
  "userParamInt": 0,
  "userParamString": ""
}

Position Subtract All (POSSUBALL)

Description: Subtracts values from several variable axes of a position variable under different coordinate systems

Note: When modifying target points, pay attention to over-limit issues and target position unreachable, coordinate conversion failure issues

Instruction Name: POSSUBALL | type: 140

Parameter List

ParameterTypeValue RangeDescription
calDatastring[]14 elements, each element is the increment value for each axisAxis increment values (negative values for subtraction). Can be manual or int or double variable type, global or local
caltypeint[0,2]Position all-operation type. 0: position add all, 1: position subtract all, 2: position set all
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
datatypeint[]14 elements, corresponds to the "calData" nodeWhether axis value changes. 1: this axis has changes; 2: this axis has no changes
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidnamestringP,GP,E,GEPosition variable name. Position variable to be modified
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
typeint140Position subtract all is 140 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "calData": ["I002", "I034", "I056", "I069", "GI012", "GI023", "[-]", "GI047", "[-]", "[-]", "[-]", "[-]", "[-]", "[-]"],
  "caltype": 1,
  "coord": "UF",
  "datatype": [1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2],
  "logout": false,
  "posidname": "GE$GI001",
  "posidtype": 1,
  "type": 140,
  "userParamInt": 0,
  "userParamString": ""
}

Position Set All (POSSETALL)

Description: Directly modifies several variable axes of a position variable to specified values under different coordinate systems

Note: When modifying target points, pay attention to over-limit issues and target position unreachable, coordinate conversion failure issues

Instruction Name: POSSETALL | type: 140

Parameter List

ParameterTypeValue RangeDescription
calDatastring[]14 elements, each element is the target value for each axisAxis target values. Can be manual or int or double variable type, global or local
caltypeint[0,2]Position all-operation type. 0: position add all, 1: position subtract all, 2: position set all
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
datatypeint[]14 elements, corresponds to the "calData" nodeWhether axis value changes. 1: this axis has changes; 2: this axis has no changes
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidnamestringP,GP,E,GEPosition variable name. Position variable to be modified
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
typeint140Position set all is 140 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "calData": ["I002", "I034", "I056", "I069", "GI012", "GI023", "[-]", "GI047", "[-]", "[-]", "[-]", "[-]", "[-]", "[-]"],
  "caltype": 2,
  "coord": "UF",
  "datatype": [1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2],
  "logout": false,
  "posidname": "GE$GI001",
  "posidtype": 1,
  "type": 140,
  "userParamInt": 0,
  "userParamString": ""
}

Trajectory Offset (TOFFSETON / TOFFSETOFF)

Trajectory Offset Start

Description:

  • This instruction can perform real-time offset of the robot's motion trajectory
  • The motion trajectory after the trajectory offset end instruction is no longer offset
  • The first instruction of the program cannot use the offset instruction

Instruction Name: TOFFSETON | type: 141

Parameter List

ParameterTypeValue RangeDescription
calDatastring[]7 elements, value range [-50000, 50000]Axis increment values. Each element is the increment value for each axis; can be manual or int or double variable type, global or local
coordstringRF, BF, TF, UFPosition variable coordinate system. RF: joint coordinate, BF: Cartesian coordinate, TF: tool coordinate, UF: user coordinate
datatypeint[]7 elements, corresponds to the "calData" nodeWhether axis value changes. 1: this axis has changes; 2: this axis has no changes
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
toolint[-1,999]Tool. -1: not used; 0: current; 1-999: corresponding tool
typeint141Trajectory offset start is 141 in the enumeration sequence type
userint[-1,999]User. -1: not used; 0: current; 1-999: corresponding user
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "calData": ["I001", "I002", "I003", "I004", "I005", "I006", "I007"],
  "coord": "TF",
  "datatype": [1, 1, 1, 1, 1, 1, 1],
  "logout": false,
  "tool": 666,
  "type": 141,
  "user": -1,
  "userParamInt": 0,
  "userParamString": ""
}

Trajectory Offset End

Instruction Name: TOFFSETOFF | type: 142

Parameter List

ParameterTypeValue RangeDescription
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
typeint142Trajectory offset end is 142 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "logout": false,
  "type": 142,
  "userParamInt": 0,
  "userParamString": ""
}

Read Position Information (READPOSMSG)

Description: Reads the tool number, user coordinate number, coordinate system, posture angle/radian, and configuration information of the target position into an integer variable

Instruction Name: READPOSMSG | type: 175

Parameter List

ParameterTypeValue RangeDescription
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
messageint[0,4]Information read value. 0: tool number; 1: user coordinate number; 2: coordinate system; 3: posture angle/radian; 4: configuration
positionIdstring-Position variable ID
typeint175Read position information is 175 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning
varNamestringint type variable nameTarget variable name
varTypeint-Variable type

message Parameter Detailed Description

ValueDescription
0Tool number: reads the tool number of the target variable
1User coordinate number: reads the user coordinate number of the target variable
2Coordinate system ["0" joint coordinate, "1" Cartesian coordinate, "2" tool coordinate, "3" user coordinate]
3Posture angle/radian: reads the posture value of the posture axis of the target position
4Configuration: reads the configuration value of the target point

JSON Example

json
{
  "logout": false,
  "message": 4,
  "positionId": "GP0001",
  "type": 175,
  "userParamInt": 0,
  "userParamString": "",
  "varName": "I001",
  "varType": 0
}

Position Stretch (POS_STRETCH)

Description: Stretches or shortens the trajectory length and arc trajectory shape by setting the offset of the start and end points

Instruction Name: POS_STRETCH | type: 177

Parameter List

ParameterTypeValue RangeDescription
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
position1IdstringP, GPStart point of the stretch trajectory
position1OutIdstringP, GPOutput start point position, the offset start point position
position2IdstringP, GPMiddle point of the arc trajectory
position2OutIdstringP, GPStores the offset end point into the selected position variable
position3IdstringP, GPEnd point of the stretch trajectory
stretchL1double[-10000,10000]Sets the offset to change the start point of the trajectory
stretchL2double[-10000,10000]Sets the offset to change the end point of the trajectory
stretchTypeint[0,1]Stretch type. 0: linear; 1: curve
typeint177Position stretch is 177 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

JSON Example

json
{
  "logout": false,
  "position1Id": "GP0001",
  "position1OutId": "GP0006",
  "position2Id": "GP0002",
  "position2OutId": "GP0007",
  "position3Id": "GP0003",
  "stretchL1": 4.0,
  "stretchL2": 5.0,
  "stretchType": 1,
  "type": 177,
  "userParamInt": 0,
  "userParamString": ""
}

Set Position Information (SETPOSMSG)

Description: Stretches or shortens the trajectory length and arc trajectory shape by setting the offset of the start and end points

Instruction Name: SETPOSMSG | type: 207

Parameter List

ParameterTypeValue RangeDescription
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posDatastring[]5 elementsPosition data array. Element 1: coordinate system (0-3); Element 2: posture (0-angle/1-radian); Element 3: configuration parameter (0-8); Element 4: tool number (0-999); Element 5: user number (0-999)
posDataTypeint[]5 elementsIndicates whether each element of the "posData" node is used. 1: used; 2: not used
posidnamestringP, GP, E, GEPosition variable
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
typeint207Set position information is 207 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning

posData Array Element Description

IndexContentValue RangeDescription
0Coordinate system[0,3]"0" joint coordinate, "1" Cartesian coordinate, "2" tool coordinate, "3" user coordinate
1Posture[0,1]0: angle; 1: radian
2Configuration parameter[0,8]Set the configuration parameter of the target position
3Tool number[0,999]Set the tool number of the target position. "0" means no tool
4User number[0,999]Set the user number of the target position. "0" means no user

JSON Example

json
{
  "logout": false,
  "posData": ["GI002", "GI003", "I004", "GI005", "GI006"],
  "posDataType": [1, 1, 1, 1, 1],
  "posidname": "GP$GI001",
  "posidtype": 1,
  "type": 207,
  "userParamInt": 0,
  "userParamString": ""
}

Calculate Target Configuration (SOLVE_CONFIGURATION)

Description: When the robot moves from point A (current actual position) to point B, it can calculate how many configurations the robot can use to go from A to B

Instruction Name: SOLVE_CONFIGURATION | type: 232

Parameter List

ParameterTypeValue RangeDescription
logoutbooltrue/falseWhether commented out. true: this instruction will not be executed in the job file; false: not commented, executable
posidtypeint[0,1]Position variable name identifier. 0: fixed position variable name, e.g.: P001, G001; 1: non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
positionIdstringP, GP, E, GETarget point. Selectable position variable type
typeint232Calculate target configuration is 232 in the enumeration sequence type
userParamIntint-Customer custom in secondary development, currently no meaning
userParamStringstring-Customer custom in secondary development, currently no meaning
varNameobjectINT or GINT variableFirst configuration value variable. Stores the calculated configuration values into the selected target variable, saved sequentially starting from the selected first variable
varNumberobjectINT or GINT variableConfiguration value count. Stores the calculated number of configuration values into the selected target variable

JSON Example

json
{
  "logout": false,
  "posidtype": 0,
  "positionId": "GP0001",
  "type": 232,
  "userParamInt": 0,
  "userParamString": "",
  "varName": {"data": 0.0, "secondvalue": 0, "value": 1, "varname": "I002"},
  "varNumber": {"data": 0.0, "secondvalue": 0, "value": 1, "varname": "I001"}
}