Skip to content

Material Flow

Material flow in a twin uses a few components that work together:

  1. A Source creates a part called an MU (movable unit) and drops it onto the conveyor below.
  2. A Transport Surface carries the part at the speed of its drive.
  3. A Sensor along the way switches its signal while a part is inside it.
  4. A Transport Stopper or a Zone stops the part, or a gripper takes it.
  5. A Sink removes the part at the end.

The Laser Welding Assembly Station and the Layout Planner Demo use all of them.

A Transport Surface carries parts across the node’s geometry at the speed of a Drive on the same node or a node above it. The drive turns the belt instead of moving its own node.

SettingWhat it does
TransportDirectionThe direction parts travel in
RadialCarries parts around the drive axis instead of along it, for turntables
Accumulate / MinGapParts queue up behind each other without overlapping; MinGap keeps a gap in mm
VerticalReachHow far above its top in mm the surface still takes over a part; 0 uses the default of 100 mm. A horizontal, straight surface also sets the part down. A part released higher stays in mid-air, where Drop Detection can report it
DriveReferenceThe drive to use when it is not on this node or above it, for example a conveyor on a lift
AnimateSurface / TextureScaleMoves the belt texture so the conveyor visibly runs
TextureScrollAxisTexture direction the print runs in: Auto follows the transport direction, U or V forces it
TextureTilingU / TextureTilingVRepeats the print more often along U or V (Unity texture zoom)
TextureOffsetU / TextureOffsetVShifts the print; a reset returns to this position
ScrollMaterialNameOnly the material with this name runs; empty = every textured material of the surface
StaticFaceAxisFaces facing along this axis keep a still print, for example the end faces of a foil roll. See Bag Forming

The main conveyor Belt_Main of the Laser Welding Assembly Station: a Drive (LinearX, 200 mm/s), the Transport Surface with Accumulate switched on, and a Simple behaviour whose Forward and Backward slots are linked to PLC signals

A Source creates parts by copying a node. By default, it copies its own node. Give this node the part geometry. The original node is hidden while its copies run.

Use ThisObjectAsMU to select another node to copy. The MU component marks a node as a part template.

SettingWhat it does
AutomaticGeneration / GenerateIfDistanceCreates the next part once the last one has moved this far (mm) away
Interval / StartIntervalCreates a part every few seconds instead, after a start delay. 0 switches it off
LimitNumber / MaxNumberMUsStops after a number of parts
PlaceOnTransportSurfaceDrops new parts onto the conveyor below the source
DestinationAttaches each new part to this node: it starts at the source and then moves with the node, for example an axis
MassMass of each part in kg, for physics
CollisionRoleForMUsThe collision role every new part gets

Signals: SourceGenerate creates one part on a rising edge; SourceGenerateOnDistance switches automatic generation on and off.

A Sink removes parts that reach it. It acts on its footprint seen from above, at any height, and does not remove parts held by a gripper. DeleteOnlyTag limits it to parts with a given tag.

A Sensor reports whether a part is inside it. By default it detects parts only. For distance readings, see Ray Sensors. In UseRaycast mode the ray also hits machine colliders on the layers the sensor accepts, so a light barrier can be blocked by machine geometry. A part that LimitSensorToTag rejects does not block the ray.

SettingWhat it does
UseRaycast / RayCastLengthDetects along a ray (a light barrier) instead of inside the node’s bounds; length in mm
LimitSensorToTagDetects only parts with this tag or name
ShowGizmoDraws the detection area. Detection keeps working when it is hidden

Signals: SensorOccupied is true while a part is detected. SensorNotOccupied is true while no part is detected. A sensor node without geometry needs a Box Collider to give it a size.

A light-barrier sensor: UseRaycast with a 300 mm ray along Z, SensorOccupied linked to a PLC input

A Transport Stopper stops parts where they touch its box on an accumulating conveyor. Move it out of the way to release the parts, using a drive such as a cylinder. It does not stop the conveyor itself. Center and Size set the box in mm.

A Zone is a box on a node that moves with it. It combines three effects:

  • Detect — reports whether a part is inside. SignalOccupied writes the result to a signal.
  • Block — stops conveyed parts at the box, like a stopper. SingleRelease lets exactly one part through each time the stopper is lowered.
  • Hold — takes parts inside the box off the conveyor and carries them with the node, for example on a lift.

Activation sets when the effects apply: Always, while a signal is set (Signal), or while a drive is within a position window (Axis, with AxisFrom and AxisTo). The box handles in the 3D view resize the zone; Shift snaps to 5 mm.

An AGV is a vehicle that drives along the path network. It starts on the path named by PathId at StartPosition (mm) and drives at TargetSpeed (mm/s); with UseAcceleration it brakes and accelerates realistically and keeps its distance to the vehicle ahead. AllowReverse lets it back into a stub, for example to pick up a pallet. Vehicles take part in both the continuous simulation and DES.

Active takes a vehicle out of service. When it is off, the vehicle gets no orders, holds no zones, is no obstacle for the others and is hidden in the 3D view. The setting takes effect at the next Reset, not while the simulation runs, so the run starts cleanly with the fleet you chose. Switch it on again and reset to bring the vehicle back to its start position.

  • Drives — the drives behind conveyors and stoppers
  • Gripping — picking parts off a conveyor
  • Signals and Logic — sequences that wait for sensors and zones
  • Physics — parts that fall, slide and stack