The auto palletizing task for a robot should perform the following:
The cell task simulation has the flow as shown: The prerequisite for the command is that the cell should already be in place. Inputs for command:
This creates an internal/nominal task in the context of the robot along with tasks for the robot to pick, place and a task that consolidates these two tasks. Thus it is to be ensured that the components of the task like conveyor, sensor etc., are all under the same context. There is no specialized Palletizing Operation in the robot task. Robot motions are used in these tasks. The palletizing task utilizes position variables. There are two global arrays defined on the robot controller: Nesting Position and Offset Layer. Nesting Position is an array containing a list of tags of the pallet trajectory. The offset Layer contains the x, y, and z offset values of the nesting layer of the trajectory. The size for this array for a palletizing trajectory is a number of layers defined in the trajectory times 3 (because each layer has an x, y, and z offsets). These arrays are created for you. Palletizing Task for the robot contains two subtasks: Pick a task and Place task. Pick task
contains logic to pick the product work piece from the conveyor. Place task has the logic to
place the product on the pallet. These tasks are under two loops, the outer loop moves along
the layers while the inner loop is for the number of boxes per layer. There is a Nominal task
at the robot’s parent cell level to incorporate the conveyor simulation of the product and IO
Mapping of the 2D sensor to the robot. The IO mapping between sensor and robot is prerequisite
for this command. The palletizing cell contains the main task (Pallet Trajectory.1) which calls the robot’s
palletizing task (Pallet Trajectory.1_Palletizing). The palletizing task calls pick (Pallet
Trajectory.1_Pick) and place tasks (Pallet Trajectory.1_Place). Renaming the task in task
creation command renames the task under the Palletizing Cell (Pallet Trajectory.1). ![]() ![]() | |||||||||