<< Prev        Next >>

ID : 7757

MC_PalletTargetPosition

Specify the pallet conditions, stack count and the target position number to retrieve the desired position.

Graphic expression FB category
Ver.5.5 Ver.5.35
Non motion

Input and Output Variable

Variable name Data type Valid range Default Omission (*)
AxesGroup eRC_AxesGroup No
Robot Group
Specify a robot variable (structured type data : eRC_AxesGroup) of user-defined type.

Input Variable

Variable name Data type Valid range Default Omission (*)
Execute Boolean
  • TRUE : Start
  • FALSE : -
FALSE No
Execution start
When the variable is changed from FALSE to TRUE, this FB is executed.
VerticalSplit Integer 1 or larger 1 No
Vertical division
Specify the number of divisions on the P1 to P3 direction (N).
HorizontalSplit Integer 1 or larger 1 No
Horizontal division
Specify the number of divisions on the P1 to P2 direction (M).
PalletHeights Real - 0 No
Height of one stack
Specify the height of one stack. The position of the height of pallet is calculated by [Height of one stack]*([Stack count]-1). If pallets are piled up successively, enter a positive value. If pallets successively diminish in number, enter a negative value.
PalletCornersP1No Integer 0 or larger 0 No
Pallet 4-corner position P1
Specify the first position in the four corners.
PalletCornersP2No Integer 0 or larger 0 No
Pallet 4-corner position P2
Specify the second position in the four corners.
PalletCornersP3No Integer 0 or larger 0 No
Pallet 4-corner position P3
Specify the third position in the four corners.
PalletCornersP4No Integer 0 or larger 0 No
Pallet 4-corner position P4
Specify the fourth position in the four corners.
PalletTargetPosNo Integer 1 - ([Vertical division]*[Horizontal division]) 1 No
Pallet target position number
Specify the target position number that is counted from the first position of the stack.
StackedNo Integer 1 or larger 1 Yes
Stack count
Specify the stack count from the first stack.

(*) : For some Variable, entries can be omitted.

  • Yes : Entry can be omitted.
  • No : Entry required always.

Output Variable

Variable name Data type / Description
Done Boolean
Execution completion confirmation
TRUE : This FB execution is completed.
FALSE : This FB execution is not completed.
Busy Boolean
Processing status of this FB
TRUE : Being executed.
FALSE : Not being executed.
Error Boolean
Error presence
TRUE : This FB ended abnormally.
FALSE : This FB ended successfully.
ErrorID Word
Error location
2800 (hexadecimal) : The error occurred in the PLC program.
2801 (hexadecimal) : The error occurred in the robot controller.
ErrorIDEx DWord
Error Code
This is a number to identify the error description.
For details, refer to "Error code list".
PalletTargetPosition eRC_Position
Target position of the pallet

Function Description

Specify the pallet conditions, stack count and the target position number to retrieve the desired position.
Pallet conditions to specify are; P1-P3 division (N), P1-P2 division (M), stack height, and pallet four corners (P1 to P4).
Pallet position numbers are assigned from P1 to P2 and after P2, subsequent numbers are assigned from P1 plus 1 to P3 horizontally as indicated in the figure.

Attention

-

ID : 7757

<< Prev        Next >>