Skip to main content
Version: v9

Advanced Palletizing

General​

The Advanced Palletizing Node helps process items arranged on a pallet with an arbitrary layout with a single Node.
With the repeated execution of this Node, it will move the Robot to every item on the defined pallet.
The items have to all be of the same size and shape.

Add it from the Patterns category of the Add Item menu (right-click the canvas). Unlike the Palletizing Node, the boxes don't have to stand in rows and columns. You place each box of a layout yourself, can turn boxes by 90°, sort them into groups that each approach the pallet their own way, and give each layer its own layout.

The Node on the canvas​

The Node's card shows the icon, then Advanced Palletizing, then your name for the Node. Until the setup is complete, the second row reads Not configured. The Node then lists "Incomplete or invalid" against Pallet size, Box dimensions, Grasping pose, Pallet position, Layouts, Layer stack, Speed settings or Approach pose.

Advanced Palletizing Node on the canvas with its ports wired to neighbouring NodesAdvanced Palletizing Node on the canvas with its ports wired to neighbouring Nodes

The Node has one input and up to five outputs, in this order:

PortWhat it does
InputStarts the Node.
Before Item ApproachRuns at the approach pose, before the move to the item.
At ItemRuns at the item. Use only Relative Movements here.
Process ItemRuns after the Robot has left the item.
Every N IterationsExists only while Branch every is ticked.
After CompletionRuns once the last item in the ITEMS range is done.

Select the Node to open it in place. Until the layers hold boxes, it shows only "Configure your Pallet to get started" and the Configure Pallet button. Once the layers hold boxes, the open Node shows these zones:

  • LAYER: one segment per layer, each with the name of its layout. Next to it the Node shows "<n> of <N> · bottom up" or "· top down".

  • ITEMS: the range of items to process. See Items to process.

  • BEHAVIOR:

    • Wait for external trigger (ⓘ)
    • Branch every with its number field (ⓘ)
    • Palletize top to bottom
    • Reverse approach trajectory (ⓘ)

    Each ⓘ opens the matching shared page in the Documentation drawer.

  • SPEED: Velocity and Accel., from 1 to 100 %. Both default to 100 %.

  • A one-line summary, "<L> layers, bottom to top · <B> boxes" (or "top to bottom"), followed by the names of the layouts in use.

  • Configure Pallet.

See the pages in Canvas for adding, connecting and selecting Nodes.

Palletizing setup​

Select the Node and press Configure Pallet to open the Advanced Palletizing panel beside it on the canvas. The panel's steps run across its top: Setup, Build and Layer. Work through them in that order. Each step shows a tick when it is complete, or a warning or error icon when something is missing. On the right, the 3D preview shows whatever you are working on. Open a card and the view turns to it. Close every Setup card to see the whole stack. Reset view brings the camera back, and you can drag the divider to resize the preview.

Advanced Palletizing panel on the Setup step with the Pallet card openAdvanced Palletizing panel on the Setup step with the Pallet card open

The Node's speed is not part of the configuration: set the velocity and acceleration on the Node itself, under SPEED.

Setup​

Setup is a stack of six numbered cards. Open a card to fill it in.

  1. Pallet: pick a Pallet type: EUR Pallet (800 × 1200 mm), US Pallet (1016 × 1219 mm) or Asia Pallet (1100 × 1100 mm). Or pick Custom and enter Width and Length. These two fields can only be edited for Custom. A new Node starts as Custom, 500 × 1000 mm. The width must be less than or equal to the length. Otherwise the message "Width must be less than or equal to length" shows.
  2. Box: enter the Height, Width and Length of one box, in whole millimetres ("Enter a valid integer"). The default is 100 mm each. All boxes on the pallet have the same size. Width must be less than or equal to length, with the same message. Changing the width or length moves the grasping pose back to the centre of the box.
  3. Grasping Pose: mark the point on the box the gripper holds. See Grasping Pose. The card's ⓘ opens Grasping Pose.
  4. Pallet Position: teach corners A, B and D to place the pallet. See Pallet Position.
  5. Pallet Approach Pose: optional. The switch Approach the pallet from a fixed pose stores the Robot's current joint angles as the pose. The Robot passes through it before and after every item. Use it to keep palletizing movements clear of collisions and singularities. The card then says "The Pallet Approach Pose will be accessed with a PTP movement". It offers the joint angles, velocity and acceleration, and Apply current Pose, Move to Target and Save as Variable.
  6. Pallet Variables: optional. Bind Variables to the item, layer, height and Box Group. See Pallet Variables. The card's ⓘ opens the Pallet Variables page.

Grasping Pose​

The grasping pose is the point on the box the gripper takes hold of. Set it as an X and Y position on the top face of the box; the 3D preview shows the gripper on the box as you type. Under each field the allowed range shows as "0–<longer side> mm" for X and "0–<shorter side> mm" for Y. A value that lies outside the box is refused with Must be on the box. Both values must be greater than 0 ("Value must be positive").

  • Box coordinates: X and Y are measured from one corner of the box, not from the Robot. The X-axis always runs along the longer side of the box and the Y-axis along the shorter side, whichever way round the length and width were entered. Both start at zero in the corner.
  • Why there is no Z: the gripper is assumed to meet the top surface of the box, so the height of the grasping pose is the box height. It follows the box dimensions on its own and is not set here.
  • Center: Center puts the grasping pose in the middle of the top face, which is the right answer for most boxes. Move it off center when the box is unevenly loaded, or when something on the lid is in the way. Changing the box's width or length moves the grasping pose back to the centre.

Pallet Position​

Teaching the pallet position tells the Robot where the pallet stands relative to its base coordinate system. You teach three corners with a real box in the gripper; the fourth corner, C, is derived and never taught. Above the corners, the card shows a small map and the step still to do: "Start with corner A", then "Now corner B, along the long edge", then "Last one: corner D, across the short edge", and finally "All three corners are taught".

Pallet Position card while teaching corner BPallet Position card while teaching corner B

  1. Pose A — origin corner. Stand a box in the corner the pallet starts from, jog the gripper onto it, then press Apply current Pose under Pose A. The pallet in the preview follows the gripper, so you can line it up before you commit.
  2. Pose B — length direction (longer side). Move the box to the far end of the long side and jog onto it. This turns the pallet in the preview to match the real one.
  3. Pose D — width direction (shorter side). The highlighted box in the preview is already where D belongs, because A and B decided it. Put the box there, jog onto it and apply to confirm.
  4. When all three corners are taught, press Compute in the Pallet Transform card to finish the step. Any corner can still be reopened and retaught first.

Each corner card (Pose A "Origin corner", Pose B "Length direction (longer side)", Pose D "Width direction (shorter side)") has pose fields, Apply current Pose, Move to Target and Save as Variable. B and D are stored relative to A, as positions only. Each card's status reads Not taught, a tick (A), or the taught length in mm (B, D).

Grasp every box at the same point you set as the Grasping Pose: the computation takes the box dimensions, the grasping pose and Poses A, B and D into account. If a taught length is much longer or shorter than the pallet and box dimensions suggest, its status turns into a warning. The tooltip reads "Warning: this length is about <d>mm off from the expected <e>mm based on pallet and box dimensions. This may cause computation issues."

palletizing instructions

Clockwise rule. Teach A → B → D clockwise, seen from above. If you don't, the preview shows "⚠ Teach A→B→D clockwise". If the taught lengths don't fit the pallet and box size, the long edge is labelled "⚠ Spans do not match" instead of "AB — long edge".

Compute. In the Pallet Transform card, press Compute. It is enabled once A, B and D are taught and valid, and the position is not locked. If computing for the first time fails, the snackbar says "Failed to compute pallet transformation. Please check the Poses and try again." Computing locks the position.

Locked position. A locked position shows Pallet Position is Locked, "Unlock to edit Poses A, B, and D.", and Unlock for Editing. Once a position has been computed, Compute asks first. The Confirm Recomputation dialog has Do not compute and Compute pallet Pose. Only recompute when the pallet was moved or a taught pose was wrong, not when you only palletize a new box:

  • If the pallet was relocated, reteach all three poses with the current box.
  • If it was only shifted without turning, teaching Pose A with the current box is enough.
  • For small corrections, use Offset instead: it nudges the pallet without reteaching a corner.

Offset. The Offset card ("Nudge the pallet without reteaching a corner.") takes X, Y and Z in mm. Press Apply Offset to apply them. It works only after the position has been computed ("Cannot apply an offset, because the pallet pose has not been computed yet"), and it stays available while the position is locked. A typed but unapplied offset shows Not applied. With all values zero, the snackbar says "Computation was skipped because all offset values are zero". Applying the offset moves Pose A by the same amount.

Linking corners to Variables. Each corner can take a Cartesian Pose Variable (Select Cartesian Pose). While one is linked, Apply current Pose is disabled. When a linked Variable changes and the position is unlocked, the Node recomputes it on its own. When the position is locked, the Pose Variable Changed dialog offers Ignore or Unlock & Recompute.

Build: the layout builder​

A layout is the arrangement of boxes on one layer. Build opens your first layout. Its name is in Layout Name. The Layouts menu beside it lists every layout: pick one to open it, duplicate or delete it from its row, or choose Add Layout. Delete is disabled while there is only one layout. Deleting a layout that layers use asks first ("Delete Layout": "This Layout is used in <n> Layer(s)…"). New layouts are named "Layout <n>", and copies "Copy of <name>".

Until the pallet position is computed, the preview says "The pallet has no position yet" and offers Teach Pallet Position.

A new layout first asks "Choose how this layout starts." It offers two ways:

  • Start from an existing layout, which defaults to the newest other layout: Mirror left to right interlocks the new layer with the one below it, Mirror front to back interlocks it the other way round, and Copy exactly repeats the same arrangement with nothing flipped.
  • Start empty: place the boxes yourself, or fill the pallet with a pattern.

You edit a layout directly on the pallet in the 3D preview:

  • Place a box: click on an empty spot of the pallet. If something is selected, the click deselects it first, and the next click places. The box goes to the nearest grid point (when Snap to Boxes is on) and stays on the pallet. Where the box would overlap another, nothing is placed, unless Allow Box overlap is on.
  • Select boxes: click a box. Shift-click or Ctrl/Cmd-click adds a box to the selection or removes it. Clicking a group in the Group card selects all its boxes.
  • Move boxes: drag a selected box; the whole selection moves with it.
  • Edit the selection from the toolbar above it: assign a Group, Rotate 90°, number or un-number the boxes (see Palletizing order), or Delete. Delete or Backspace removes the selection and Esc clears it.

The keys work while the 3D view has focus, so click it first.

Layout builder with three boxes selected and the box toolbar above themLayout builder with three boxes selected and the box toolbar above them

The layout's settings sit next to the preview:

  • Patterns fill the pallet with a repeating arrangement. Choose it in Pattern: All Vertical (no rotation) or All Horizontal (rotated 90°). Manual means you place the boxes yourself, and Clear pallet removes every box. Picking a pattern replaces every box in the layout.
  • Order sets the sequence the Robot places the boxes in. See Palletizing order.
  • Group: boxes in a group share an approach trajectory. Every box starts in the default group. Add a group with the plus button. New groups are named Group B, Group C, … (every box starts in the Default Group). Each row shows its box count. Open a group (›) to set its Group Name and its Item Approach Trajectory. Delete a group with its trash icon; its boxes go back to the default group. The Default Group can't be deleted. A warning icon marks a group whose trajectory is not valid.

Displays (the layers button in the corner of the 3D view, shown while a layout is open) holds two lists.

  • Placing:
    • Grid in mm, a field plus a 0–400 mm slider. The default is derived from the pallet and box sizes, at least 20 mm.
    • Snap to Boxes: placement snaps to the grid. On by default.
    • Allow Box overlap: off by default.
    • Overlay: ghosts another layout under this one. With only one layout it says "Create a second layout first".
  • Show on boxes: Coordinate Axes, Grasping Point, Order Numbers, MM Coordinates, Group Color, Robot, and Accessibility mode, which adds Group Symbol. Axes, grasping point, order numbers and group colour are on by default. Accessibility mode adds a symbol to each group, so groups can be told apart without color.

Palletizing order​

The palletizing order is the sequence in which the Robot places items on the pallet, or removes them. Make sure the order cannot cause collisions between boxes. Each layout has its own order, set on its Order card:

  • Auto Order numbers the boxes by their position, By Rows or By Columns, and renumbers them whenever the layout changes. Auto Order is on by default, numbering By Columns. Under Auto Order the toolbar has no order buttons.
  • Manual Order leaves the sequence to you. Click a box on the pallet, then number it from the toolbar above it with Assign order. Boxes are numbered in the order you selected them, after the current highest number. Remove order takes the number off the selection and closes the gap it leaves, and Clear all removes every number. Assign order is available while the selection holds an unnumbered box, and Remove order while it holds a numbered one. Switching to Manual Order removes every number. A layout counts as complete, and the Build step as done, only when each box has a number.

Layer 1 is always the bottom layer. Whether the Node processes the pallet from bottom to top or from top to bottom is set with Palletize top to bottom. Item numbers continue across layers in the order the Node runs them: Layer 1 first, or the top layer first when Palletize top to bottom is ticked.

Layer​

Set the number of Layers of your pallet and select a layout for each layer. If you have two or more layouts, turn on Alternating to cycle through them automatically. Layer 1 is the bottommost layer on the pallet, whether you palletize or depalletize.

Layer step with four layers and two layouts alternatingLayer step with four layers and two layouts alternating

  • Layers takes a whole number of at least 1 ("Cannot be lower than 1"). The default is 2.
  • Each layer row shows its layout's thumbnail, or Select Layout with a warning. Click it to choose from the Select Layout dialog, which also offers New Layout.
  • The pencil (Edit Layout) opens that layout in Build. The bin removes the layer.
  • With a single layout, changing the number of layers gives every layer that layout.
  • Alternating appears once there are two layouts. You then pick the layout of Layer 1 only, and the layers above take the layouts in turn.

Palletizing processing​

For each item in the ITEMS range:

  1. If Before Item Approach is connected: the Robot moves to the Pallet Approach Pose (if it is switched on), then runs that branch. If the output is not connected, the approach pose is blended into the approach movement.
  2. The Robot moves to the item along its group's Item Approach Trajectory, or straight to it.
  3. At Item runs, which can be used, for example, to pick the item.
    Note: only Relative Movements should be done at this output.
  4. If Reverse approach trajectory is ticked, the Robot moves back out along the trajectory.
  5. If the approach pose is on, the Robot returns to it.
  6. Process Item runs. This output might be useful to place the previously picked item somewhere else.
  7. Every N Iterations runs while Branch every is ticked. See Branch every.

Then After Completion runs to continue the Flow.

pallet execution

The Approach Movement boxes in the diagram only happen with a Pallet Approach Pose.

While it runs​

The Node shows the chips "Item <n>" and "Layer <l> / <L>". It also grows a panel with "Layer <l> · item <i>" "of <k>", "<layout> · <d> of <t> placed", and a bar per layer.

Movement to Item​

If the Pallet Approach Pose is defined, the movement starts from the approach pose, otherwise from the current Robot Pose. The Robot moves along the Item Approach Trajectory (if defined for the box group) to the item Position on the pallet.

Item Approach Trajectory​

Each Box Group can have its own Item Approach Trajectory, defined by relative movements toward the item Position. This allows different boxes to be approached in different ways depending on their group.

Set it in Build: open the group in the Group card. The group's screen holds Group Name and the list of relative movements.

item approach trajectory

  • Movement 1: x,y,z = 0,100,0
  • Movement 2: x,y,z = 100,0,0

The relative movements are used to calculate the Cartesian waypoints (cyan 1, 2). The blending radii defined by the movements act on the computed waypoint accordingly. For example, the Blending Radius of the first movement acts on the first computed waypoint, i.e. the movement from the Approach Pose to 1 and the movement from 1 to 2 is blended with that Blending Radius.

Items to process​

Open the Node and drag the two handles of ITEMS to process only part of the pallet. The row reads "<from> – <to> of <total>".

Items are numbered from 1 in palletizing order across all layers, starting at Layer 1, or at the top layer with Palletize top to bottom. When the number of boxes changes, the range goes back to the whole pallet.

The LAYER row above lists the layers and their layouts. To palletize one layer, set ITEMS to that layer's numbers.

The ITEMS and LAYER zones of the open Node with the range set to 3 – 43The ITEMS and LAYER zones of the open Node with the range set to 3 – 43

Palletize top to bottom​

Tick Palletize top to bottom under BEHAVIOR on the Node to work the pallet from the top layer down (depalletizing). Leave it unticked to build it from Layer 1 up. Item numbers and the summary line ("…, top to bottom · …") follow the choice.

Reverse approach trajectory​

With Reverse approach trajectory turned on (Reverse Approach Trajectory on the RobVision Picking Node), the Robot leaves each item the way it came: along the Item Approach Trajectory, backwards. It does this after the At Item output and before the Process Item output. Without an Item Approach Trajectory there is nothing to reverse.

Wait for external trigger​

Wait for external trigger ticked on an Advanced Palletizing Node, with a Loop wired to its InputWait for external trigger ticked on an Advanced Palletizing Node, with a Loop wired to its Input

When Wait for external trigger is ticked, the Node processes one item each time a branch reaches its Input. It then hands control back to that branch instead of moving on to the next item by itself. The next trigger processes the next item. After the last item in the ITEMS range, the Node runs After Completion.

This is useful for pairing two pattern Nodes. For example, a Stack / Row Node picks items, and a second Stack / Row, Grid or Palletizing Node on its Process Item output, with Wait for external trigger ticked, places them one by one on another stack, grid or pallet.

trigger externally

Branch every​

The output of Branch every is called Every N Iterations.

Branch every ticked at 5, with the Every N Iterations port wired to a Cartesian MovementBranch every ticked at 5, with the Every N Iterations port wired to a Cartesian Movement

When Branch every is ticked, the Node gets an extra output, Every N Iterations, between Process Item and After Completion. Enter N in the field next to the checkbox. It starts at 2 and can't be more than the number of items in the ITEMS range. After every Nth item, once Process Item is done, the Node runs what is connected to Every N Iterations.

For example, a soldering application needs fresh solder after every 10th item. Tick Branch every, enter 10, and connect the Nodes that fetch solder to Every N Iterations.

Untick Branch every to remove the output again. Its connections are removed with it, and Undo brings them back.

Pallet Variables​

The Pallet Variables card is the last card of the configuration panel that Configure Pallet opens (card 5 on Palletizing, card 6 of the Setup step on Advanced Palletizing). Every Variable on it is optional: bind one when you want to read the palletizing progress elsewhere in your Flow, or steer it from outside. Select an existing Variable of the right type from the drop-down, or create one first in the Variables menu.

Each drop-down lists only Variables of the matching type that the Node can write to. Constants, read-only Variables and inputs are not offered. Clear a field with its ×. Rows the Node writes are marked Read-only.

VariableTypeWritten byWhat it holds
Next ItemIntegeryouThe item the Node processes next.
Current LayerIntegerthe NodeThe layer being worked on.
Current Pallet HeightFloatthe NodeThe height of the current layer.
Current Box GroupStringthe NodeThe name of the Box Group the current item belongs to. Advanced Palletizing only.

Next Item​

This Variable tracks the next item to be processed in the palletizing operation. When it is bound, the Node always processes the item whose number matches the Variable's current value. The value is the item number, counted from 1 in palletizing order (the numbers the Node shows). You have to change the Variable yourself in every iteration, for example with a Variable Node.

To finish the Node, set the Variable to a number outside the Node's ITEMS range. The Node then runs its After Completion branch.

The Pallet Variables card of an Advanced Palletizing Node with all four VariablesThe Pallet Variables card of an Advanced Palletizing Node with all four Variables

Current Layer​

This Variable indicates the layer currently being worked on, as the layer number counted from 1 (Layer 1 is the bottom layer). The Node computes the layer and writes it into the Variable, so you can use it throughout the Flow — for example in a Condition Node. Only read it: do not overwrite it yourself.

Current Pallet Height​

This Variable holds the Z height in mm, in the Robot's base coordinate system, at which the current layer is gripped. That is Pose A's Z plus the height of one layer for each layer below. On Advanced Palletizing, a layer is one box high. On Palletizing, a layer is the length of the A → E offset divided by the number of layers minus one. The Node computes the height and writes it into the Variable. Use it throughout your Flow, for instance in a Pose Expression that places an interlayer with a Cartesian Movement Node. Only read it: do not overwrite it yourself.

Current Box Group​

Offered by the Advanced Palletizing Node only. This Variable tells you which Box Group the currently active item is assigned to: it holds the name of the item's Box Group, for example "Group B".