Sorting a container

Updated Dec 3, 2026
CAD Drawings

Sorting a container

Sort suspect boxes piece by piece into Good, Hold or Scrap, mark each defect on the part's drawing, and let DataMagik build the new containers in Plex when you close.

Open Shop Floor › Drawings and scrap › Sorting. Pick your station at the top, then scan the first box.

What you need

  • The CAD Drawings license and DataMagik Shop Floor. Scrap is booked through Shop Floor's Write Outbox.
  • The CAD Drawings Sort role. It gives CAD Drawings - View, CAD Drawings - Scrap (to sort and scrap) and CAD Drawings - Sort (to close a container). Without Sort, the screen says Closing needs CAD Drawings - Sort.
  • Your PIN. It is your DataMagik Mobile PIN, 4 to 8 digits. If you have none, the close dialog offers Set your PIN.
  • Your Plex user mapped in DataMagik. Plex records it on every split, merge and status change.
  • A scrap station, a scrap drawing for the part, and the Scrap sorting settings (below). The station's location must have its Scrap buttons on.
  • The Plex data sources for sorting granted and checked. See Plex data sources.

Set up sorting (CAD admin)

A CAD admin (CAD Drawings - Admin) opens Shop Floor › Setup › Drawings › Scrap sorting and sets:

  • Release status: set on the good container when sorting closes it.
  • Hold status: set on the container the Hold pieces go into.
  • Statuses allowed into sorting: a scanned box with any other status is refused.
  • Sorting status (optional): locks a box in Plex while a sort session holds it. Leave it at None to not lock.
  • Allow mixing lots, jobs or heats: when off, a container refuses a box of a different lot, job or heat.

Then press Save sorting settings. The same page holds the Scrap stations. Each station books scrap at one Plex workcenter, splits containers to its Sort location, and prints labels on its Label printer. A Container type override per location is used when a part's operation has no standard container type in Plex.

Start a session

  1. Under Start sorting, scan the first box into Scan the first box. Its part, operation, lot, job and heat set what this container takes.
  2. The Fill to card shows how many pieces the new container holds, and where that number came from:
    • approved container … · from Plex: the part's approved container type in Plex for that operation.
    • override type … · from the location's override: the operation has no standard pack in Plex, so the location's override type is used.
    • typed in · not from Plex: neither gives a number. Enter it under Pieces per container (not from Plex) and press Start.

A box is refused if its status is not allowed into sorting, it is not counted in pieces, Plex does not allow its status to be split or merged, or it is already in another open sort session.

Sort each piece

  1. Mark the piece Good, Hold or Scrap (or press G, H or S).
  2. Tap the drawing where each defect is. A Scrap piece needs at least one point. The defect with the most points becomes the Plex scrap reason.
  3. Press Finish piece, Enter or the foot pedal for the next piece.

Scrap is booked as you go. Each Scrap piece is taken off the box it came from in Plex as soon as you finish it, with its points in the Plex scrap note. Scrapped as you go · in Plex lists each one with its Plex key or where it is. Hold pieces wait under On hold · split off at close. The counts show Good, Hold, Scrap and Left in box.

When a box runs out

Scan the next box into Scan the next box. Its good pieces go into the same container. A box of another part or another operation is refused, and so is a different lot, job or heat unless mixing is allowed. If a box is empty before its count says so, press Box empty early. If it holds more, press Extra piece (up to 10 per box).

When the container is full, it is not closed for you: the close dialog opens, and more Good pieces are refused until you close it.

Close the container

Press Close container, enter Your PIN, and press Close and release. Closing is when Plex changes. In order, Plex:

  1. Splits the good pieces off the first box into a new container, at the station's sort location. If every piece left in that box is good, the box itself becomes the container.
  2. Merges each later box's good pieces into it.
  3. Sets the container type, only when the location's override type is used.
  4. Sets the good container to the Release status.
  5. Splits the Hold pieces off their boxes, merges them into one Hold container and sets it to the Hold status.
  6. Prints the labels of the good container and the Hold container on the station's label printer.

Plex has no undo for a split or merge. Before the first step, DataMagik checks each box's quantity in Plex against what it expects, and stops with nothing changed if they differ. It also waits until every scrap from the session has reached Plex.

The screen then shows Container closed, the steps under What Plex did, and Reprint for each label. Press Keep sorting to fill a new container from the boxes that still have pieces.

When a close stops

If a step fails, the screen shows The close stopped, the reason, and each step as done, skipped, failed or sent with no answer yet. Fix what the message says, then:

  • Retry the close (with your PIN). Steps already done are never sent again.
  • Check Plex again, when Plex made a split but its answer was lost. DataMagik finds the new container from its parent box.
  • Drop this close, only when nothing was sent yet.
  • Mark resolved by hand, for a CAD admin, when a step stays unknown. Say what you found and did in Plex. The session then ends, and nothing more is sent.

Pause, resume and end

  • Pause keeps the session. It is listed under Open sort sessions with Resume.
  • A session held at another station shows Take over. Use it only if the other person has stopped.
  • End session sends nothing more to Plex. Scrap already booked stays booked, and boxes set to the Sorting status go back to their earlier status. You cannot end a session while part of its close has been sent: finish the close first.

Messages and fixes: CAD Drawings troubleshooting. Scrap from one container without sorting: the scrap station.

Was this page helpful?