Skip to content

Loaded Pallets

Choose the representation by what your model needs to handle: the whole pallet or each carton.

TaskUseHow the content behaves
Transport a pallet with a quantity or article mixStandardPallet with MUData and LoadStackOne MU carries a data document; LoadStack draws the cartons from that document
Unload or depalletize cartons individuallyEuropalletLoadedIndividual carton MUs ride on the pallet and can be handled separately

StandardPallet is in the DiscreteEventSimulation project library as library/StandardPallet.glb. It starts with four textured cartons and has capacity for 12, arranged in three layers of four. The drawn cartons have no separate MU identity, sensors or gripping behaviour. See LoadStack for its settings and rendering limits.

Its library location does not imply DES runtime support. MU data is currently inactive in a DES run, including writers and readers. Use continuous simulation for the data workflow below.

  1. Place StandardPallet, or use it as the MU template copied by a Source.
  2. Select its load-unit node and open MUData → Data in the Inspector.
  3. Edit the Fields or JSON view and click Apply Data. A single article uses {"sku":"A","qty":4}. For a mixed pallet, use:
{
"sku": "MIX",
"qty": 4,
"items": [
{ "sku": "A", "qty": 3 },
{ "sku": "B", "qty": 1 }
]
}

These are start values for the next part created or after a simulation reset. Live values in the Inspector are read-only. An items array, including an empty array, overrides the top-level quantity and article key. Change the list when changing a mixed load. LoadStack draws in list order and clips at MaxCount without reducing the stored quantity. See Data format.

Change content during continuous simulation

Section titled “Change content during continuous simulation”

A MUDataWriter at a station writes a path on the pallet detected by its sensor. Set Field to qty for a single article. For a mixed load, write items[0].qty to change one entry, or write the items list as JSON. A Constant can supply the new quantity or list; signal values can come from the PLC. See MU data and barcodes for sensor selection, triggers, value types and JSON limits.

Scripts can update the pallet’s document through its MU data API. With mu referring to the pallet MU:

mu.data.set("qty", 8);

For a mixed pallet, update the list instead:

mu.data.set("items", [
{ sku: "A", qty: 3 },
{ sku: "B", qty: 5 }
]);

Accepted data changes update the drawing on the next frame, also while paused. Simulation reset restores start data. See MU data scripting for the supported API.