Skip to content

Instructions - Palletizing Control

1. Palletizing Start (PALON)

Description: Palletizing start determination. Controls which layer and which workpiece through variable modification.

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
STACKTYPEintPalletizing type, value range [0,1]
0: Palletizing
1: Depalletizing
_pCurrentLayersNumVariable objectCurrent layer count; int type variable or bound variable, global or local
When the variable value represents string type [-]: indicates not used
_pLayersNumVariable objectCurrent palletizing layer; int type variable or bound variable, global or local
When the variable value represents string type [-]: indicates not used
_pWorkpieceSumVariable objectCurrent total palletized count; int type variable or bound variable, global or local
When the variable value represents string type [-]: indicates not used
_stackSequenceintSingle layer palletizing/depalletizing sequence, value range [0,1]
0: Forward sequence
1: Reverse sequence
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
typeintPALON is 70 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "ID": 1,
  "STACKTYPE": 0,
  "_pCurrentLayersNum": {"data": 0.0, "secondvalue": 1, "value": 4, "varname": "GI[GI001]"},
  "_pLayersNum": {"data": 0.0, "secondvalue": 1, "value": 1, "varname": "I[I001]"},
  "_pWorkpieceSum": {"data": 0.0, "secondvalue": 0, "value": 1, "varname": "[-]"},
  "_stackSequence": 1,
  "logout": false,
  "type": 70,
  "userParamInt": 0,
  "userParamString": ""
}

2. Switch Gripper (PALGRIPPER)

Description: Selects gripper.

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
toolintGripper number, value range [1,4]
typeintPALGRIPPER is 71 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "ID": 17,
  "logout": false,
  "tool": 3,
  "type": 71,
  "userParamInt": 0,
  "userParamString": ""
}

3. Palletizing Entry Point (PLAENTER)

Description: Selects gripper, palletizing entry point.

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
ParaACCVariable objectAcceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaDECVariable objectDeceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaLINEVariable objectArch displacement distance; manually entered value or int type or double type variable or bound variable, global or local; value range [-5000,5000]
Used when interpolation method is Arch
ParaPLVariable objectSmoothing; int type variable or bound variable, global or local; value range [0,5]
ParaTIMEVariable objectPre-execution time; int type or double type variable or bound variable, global or local
ParaSTRAIGHTVariable objectArch straight line distance; manually entered value or int type or double type variable or bound variable, global or local; value range [0,5000]
ParaVVariable objectMotion speed; int type or double type variable or bound variable, global or local
When motion mode is joint: m_vUnit value is 2, speed unit is %; value range [1,100]
When motion mode is arc or linear: m_vUnit value is 1, speed unit is mm/s; value range [1,1000]
PostureintPosture, value range [0,2]
0: Off
1: Manual entry
Auto-calculated posture
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
moveTypestringMotion interpolation method
MovJ: Joint
MovL: Linear
MovC: Arc
MovArch: Arch
para_posture_Variable objectManually entered posture value; int type or double type variable or bound variable, global or local
typeintPLAENTER is 73 in the enum type list
offsetAxisintOffset axis, value range [0,2]
0: X axis
1: Y axis
2: Z axis
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless
xyOptintOptimize XY axis motion path, value range [0,1]
0: Off
1: On
zOptintOptimize Z axis motion path, value range [0,1]
0: Off
1: On
To optimize Z axis path, a fixed point must be inserted before palletizing

Example

json
{
  "ID": 1,
  "ParaACC": {"data": 0.0, "secondvalue": 0, "value": 4, "varname": "GI001"},
  "ParaDEC": {"data": 0.0, "secondvalue": 1, "value": 5, "varname": "GD[GI001]"},
  "ParaLINE": {"data": 0.0, "secondvalue": 0, "value": 5, "varname": "GD001"},
  "ParaPL": {"data": 0.0, "secondvalue": 1, "value": 1, "varname": "I[GI001]"},
  "ParaTIME": {"data": 0.0, "secondvalue": 1, "value": 5, "varname": "GD[GI001]"},
  "ParaSTRAIGHT": {"data": 0.0, "secondvalue": 1, "value": 5, "varname": "GD[I001]"},
  "ParaV": {"data": 300.0, "m_vUnit": 1, "secondvalue": 0, "value": 0, "varname": ""},
  "Posture": 1,
  "logout": false,
  "moveType": "MovC",
  "para_posture_": {"data": 0.0, "secondvalue": 0, "value": 4, "varname": "GI005"},
  "type": 73,
  "offsetAxis": 2,
  "userParamInt": 0,
  "userParamString": "",
  "xyOpt": 1,
  "zOpt": 1
}

4. Palletizing Auxiliary Point (PALSHIFT)

Description: Palletizing auxiliary point.

Height Rule Description:

  • When entry point height is lower than the fixed point, the entry point height will be aligned to the same height as the fixed point and auxiliary point (same straight line in side view, not same line in top view, XY axes unchanged)
  • When entry point height is between the fixed point and auxiliary point, the entry point height remains unchanged
  • When entry point height is above the fixed point and auxiliary point, the entry point height will be optimized to the same height as the fixed point
  • When both entry point and auxiliary point height are above the fixed point, the entry point height will be optimized to the same height as the auxiliary point

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
ParaACCVariable objectAcceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaDECVariable objectDeceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaLINEVariable objectArch displacement distance; manually entered value or int type or double type variable or bound variable, global or local; value range [-5000,5000]
Used when interpolation method is Arch
ParaPLVariable objectSmoothing; int type variable or bound variable, global or local; value range [0,5]
ParaSTRAIGHTVariable objectArch straight line distance; manually entered value or int type or double type variable or bound variable, global or local; value range [0,5000]
ParaTIMEVariable objectPre-execution time; int type or double type variable or bound variable, global or local
ParaVVariable objectMotion speed; int type or double type variable or bound variable, global or local
When motion mode is joint: m_vUnit value is 2, speed unit is %; value range [1,100]
When motion mode is arc or linear: m_vUnit value is 1, speed unit is mm/s; value range [1,1000]
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
moveTypestringMotion interpolation method
MovJ: Joint
MovL: Linear
MovC: Arc
MovArch: Arch
typeintPALSHIFT is 74 in the enum type list
offsetAxisintOffset axis, value range [0,2]
0: X axis
1: Y axis
2: Z axis
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "ID": 17,
  "ParaACC": {"data": 0.0, "secondvalue": 1, "value": 5, "varname": "GD[I001]"},
  "ParaDEC": {"data": 0.0, "secondvalue": 1, "value": 1, "varname": "I[I001]"},
  "ParaLINE": {"data": 0.0, "secondvalue": 0, "value": 5, "varname": "GD001"},
  "ParaPL": {"data": 0.0, "secondvalue": 0, "value": 1, "varname": "I001"},
  "ParaSTRAIGHT": {"data": 0.0, "secondvalue": 1, "value": 5, "varname": "GD[I001]"},
  "ParaTIME": {"data": 0.0, "secondvalue": 0, "value": 4, "varname": "GI006"},
  "ParaV": {"data": 0.0, "m_vUnit": 1, "secondvalue": 0, "value": 4, "varname": "GI001"},
  "logout": false,
  "moveType": "MovArch",
  "type": 74,
  "offsetAxis": 2,
  "userParamInt": 0,
  "userParamString": ""
}

5. Palletizing Approach Point (PALAPPRO)

Description: The palletizing approach point is the transition point between the auxiliary point and the workpiece point, and is also the position reached by the approach method.

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
ParaACCVariable objectAcceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaDECVariable objectDeceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaLINEVariable objectArch displacement distance; manually entered value or int type or double type variable or bound variable, global or local; value range [-5000,5000]
Used when interpolation method is Arch
ParaPLVariable objectSmoothing; int type variable or bound variable, global or local; value range [0,5]
ParaSTRAIGHTVariable objectArch straight line distance; manually entered value or int type or double type variable or bound variable, global or local; value range [0,5000]
ParaTIMEVariable objectPre-execution time; int type or double type variable or bound variable, global or local
ParaVVariable objectMotion speed; int type or double type variable or bound variable, global or local
When motion mode is joint: m_vUnit value is 2, speed unit is %; value range [1,100]
When motion mode is arc or linear: m_vUnit value is 1, speed unit is mm/s; value range [1,1000]
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
moveTypestringMotion interpolation method
MovJ: Joint
MovL: Linear
MovC: Arc
MovArch: Arch
offsetAxisintOffset axis, value range [0,2]
0: X axis
1: Y axis
2: Z axis
typeintPALAPPRO is 76 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "ID": 16,
  "ParaACC": {"data": 0.0, "secondvalue": 1, "value": 2, "varname": "D[I001]"},
  "ParaDEC": {"data": 0.0, "secondvalue": 1, "value": 4, "varname": "GI[GI001]"},
  "ParaLINE": {"data": 0.0, "secondvalue": 0, "value": 5, "varname": "GD001"},
  "ParaPL": {"data": 0.0, "secondvalue": 0, "value": 4, "varname": "GI001"},
  "ParaSTRAIGHT": {"data": 0.0, "secondvalue": 1, "value": 5, "varname": "GD[I001]"},
  "ParaTIME": {"data": 0.0, "secondvalue": 0, "value": 5, "varname": "GD001"},
  "ParaV": {"data": 0.0, "m_vUnit": 1, "secondvalue": 0, "value": 1, "varname": "I001"},
  "moveType": "MovL",
  "type": 76,
  "offsetAxis": 2,
  "userParamInt": 0,
  "userParamString": ""
}

6. Palletizing Workpiece Point (PALREAL)

Description: The position where the palletizing workpiece is located.

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
ParaACCVariable objectAcceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaDECVariable objectDeceleration; int type or double type variable or bound variable, global or local; value range [1,100]
ParaLINEVariable objectArch displacement distance; manually entered value or int type or double type variable or bound variable, global or local; value range [-5000,5000]
Used when interpolation method is Arch
ParaPLVariable objectSmoothing; int type variable or bound variable, global or local; value range [0,5]
ParaSTRAIGHTVariable objectArch straight line distance; manually entered value or int type or double type variable or bound variable, global or local; value range [0,5000]
ParaTIMEVariable objectPre-execution time; int type or double type variable or bound variable, global or local
ParaVVariable objectMotion speed; int type or double type variable or bound variable, global or local
When motion mode is joint: m_vUnit value is 2, speed unit is %; value range [1,100]
When motion mode is arc or linear: m_vUnit value is 1, speed unit is mm/s; value range [1,1000]
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
moveTypestringMotion interpolation method
MovJ: Joint
MovL: Linear
MovC: Arc
MovArch: Arch
offsetAxisintOffset axis, value range [0,2]
0: X axis
1: Y axis
2: Z axis
typeintPALREAL is 75 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "ID": 16,
  "ParaACC": {"data": 0.0, "secondvalue": 1, "value": 4, "varname": "GI[I001]"},
  "ParaDEC": {"data": 0.0, "secondvalue": 0, "value": 5, "varname": "GD001"},
  "ParaLINE": {"data": 0.0, "secondvalue": 0, "value": 5, "varname": "GD001"},
  "ParaPL": {"data": 0.0, "secondvalue": 0, "value": 1, "varname": "I001"},
  "ParaSTRAIGHT": {"data": 0.0, "secondvalue": 1, "value": 5, "varname": "GD[I001]"},
  "ParaTIME": {"data": 0.0, "secondvalue": 0, "value": 2, "varname": "D001"},
  "ParaV": {"data": 0.0, "m_vUnit": 1, "secondvalue": 0, "value": 4, "varname": "GI001"},
  "logout": false,
  "moveType": "MovArch",
  "offsetAxis": 2,
  "type": 75,
  "userParamInt": 0,
  "userParamString": ""
}

7. Palletizing Reset (PALCLEAR)

Description: Data initialization after palletizing starts.

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
typeintPALCLEAR is 77 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "ID": 16,
  "logout": false,
  "type": 77,
  "userParamInt": 0,
  "userParamString": ""
}

8. Palletizing End Check (PALOFF)

Description: Determines whether palletizing has finished.

Parameter Description

Parameter NameTypeDescription
IDintPalletizing process number, value range [1,99]
_pPalOffvarNameVariable objectEnd check variable; bool type variable or bound variable, global or local
true: finished
false: not finished
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
typeintPALOFF is 78 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "ID": 17,
  "_pPalOffvarName": {"data": 0.0, "secondvalue": 1, "value": 6, "varname": "GB[I001]"},
  "logout": false,
  "type": 78,
  "userParamInt": 0,
  "userParamString": ""
}

9. Get Workpiece Position (PAL_POS)

Description: Gets the position of a specified workpiece.

Parameter Description

Parameter NameTypeDescription
PalPOS_pointTypeintGet point type, value range [0,2]
0: Entry point
1: Auxiliary point
2: Workpiece point
_pLayNumVariable objectLayer where the workpiece is located; manually entered value or int type variable or bound variable
_pSerialNumVariable objectWorkpiece serial number; manually entered value or int type variable or bound variable
_pTecNUMVariable objectPalletizing process number; manually entered value or int type variable or bound variable; value range [1,99]
getPointPosPosintVariable type bound to m_getPointPosname node, value range [1,2]
1: Fixed position variable name, e.g.: P0001, G001
2: Non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
m_getPointPosnamestringVariable name bound to the node
toolintTool number
typeintPAL_POS is 221 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless

Example

json
{
  "PalPOS_pointType": 2,
  "_pLayNum": {"data": 0.0, "secondvalue": 1, "value": 1, "varname": "I[I001]"},
  "_pSerialNum": {"data": 0.0, "secondvalue": 1, "value": 1, "varname": "I[GI001]"},
  "_pTecNUM": {"data": 0.0, "secondvalue": 0, "value": 1, "varname": "I001"},
  "getPointPosPos": 2,
  "logout": false,
  "m_getPointPosname": "GP$GI001",
  "tool": 0,
  "type": 221,
  "userParamInt": 0,
  "userParamString": ""
}

10. Simple Palletizing (PALSIMPLESET)

Description: Simple palletizing.

Parameter Description

Parameter NameTypeDescription
_pTecNUMVariable objectProcess number for storing palletizing parameters; manually entered value or int type, variable or bound variable, global or local; value range [1,99]
logoutboolWhether to comment out
true: the instruction will not execute in the job file
false: not commented out, executable
m_numVariableTypeint arrayWhether row count, column count, layer count are bound variables; value range [0,1]
0: Manually entered value or variable
1: Bound variable
m_pointVariableTypeint arrayVariable type, value range [1,3]
Currently only positions 2-7 are used
Position 1: None
Position 2: Start workpiece point
Position 3: Column end point
Position 4: Row end point
Position 5: Height end point
Position 6: Auxiliary point
Position 7: Entry point
1: Fixed position variable name, e.g.: P0001, G001
2: Non-fixed position variable name, e.g.: P$I001, P$GI001, G$I001, G$GI001
3: Not used
pointVariableNamestring arrayPoint variable name array
Position 2: Start workpiece point
Position 3: Column end
Position 4: Row end
Position 5: Height end
Position 6: Auxiliary point
Position 7: Entry point
Currently only positions 2-7 are used
typeintSimple Palletizing is 222 in the enum type list
userParamIntintCustomer-defined for secondary development, currently meaningless
userParamStringstringCustomer-defined for secondary development, currently meaningless
variableDatastring arrayBound variable data

Example

json
{
  "_pTecNUM": {"data": 0.0, "secondvalue": 0, "value": 1, "varname": "I001"},
  "logout": false,
  "m_numVariableType": [0, 1, 0],
  "m_pointVariableType": [0, 1, 1, 2, 2, 2, 2, 0, 0, 0],
  "pointVariableName": ["[-]", "GP0001", "GP0002", "GP$I001", "P$I001", "GP$I003", "P$GI003", "[-]", "[-]", "[-]"],
  "type": 222,
  "userParamInt": 0,
  "userParamString": "",
  "variableData": ["GI003", "GI[I004]", "GI005"]
}