SorterOS: Operate
Bins and profiles
ExplanationWhich bin each category goes in, what Hive and the machine each call things, how to keep a profile's bins when you switch profiles, and what happens when a bin is full.
AI-generated first draft. Written from the SorterOS source, not from using it on a machine. SorterOS changes quickly. This page describes what each feature does, but a button's name, or where it is, may have changed since this page was written.
A profile never says which bin a category goes in. The machine decides that, and you can change it on the Bins page.
The same thing, different names
Hive and the machine use different names for the same things. One piece goes this way:
Rule in Hive → category on the machine → bin on the tower
| In Hive | On the machine | What it is |
|---|---|---|
| Profile, with versions (v1, v2, ...) | Profile, on the Profiles page. You activate it. | All the sorting instructions. |
| Rule. A rule for a whole set is a kit. | Category | A group of pieces that go in the same bin. |
| Everything else, with Where the rest go set to All together | Discard bin | The pieces no rule takes, all dropped in the bucket under the tower. It is not a real bin. |
| Everything else, with Where the rest go set to BrickLink categories, Rebrickable categories or Color | One category per group: for example one for Plate and one for Tile, or one for each colour | The pieces no rule takes, split into groups. Each group gets a bin, the same as a rule. |
| Not in Hive | Bin, in a section, on a Layer | A place on the tower that catches pieces. |
| Not in Hive | Bin layout | Which categories each bin takes, saved for one profile. |
Hive's profile summary also counts rules as categories, and Build your first sorting profile calls them boxes. All three are the same thing.
A category on the machine is not a BrickLink category, unless your Everything else sorts by BrickLink category.
Layers, sections and bins
The bins sit in a grid around the tower:
- A layer is one level of the tower, all the way round: Layer 1, Layer 2, and so on. Each layer has its own door.
- A section is a column going up the tower. Section 1 is in the same place on every layer.
- A bin is where a layer and a section meet. A half-size layer has 2 bins in each section, a third-size layer has 3.
Bin numbers start again at 1 on every layer. So a bin is named by its layer and its number, for example Layer 3, bin 4. Seen from outside the tower, the numbers count up from right to left: the bins of a third-size section read 3, 2, 1 from left to right.
The chute turns to point at a section, and the layer whose door is closed catches the piece.
The Bins page
The page shows each layer, its sections, and their bins. Each bin shows its number, its categories, and the pieces in it. A bin with no category says Unassigned.
- You can turn off a layer, or one section of a layer. It then gets no pieces.
- Sections across all layers turns a whole column off on every layer at once, or points the chute at it so you can find it.
- A layer in Not-in-inventory mode only takes pieces that are not in your active BrickLink inventory (
.bsx). To give that job to one bin instead, open the bin's … menu and choose Use for not in inventory. Such a bin shows a Not in inventory badge and takes those pieces whatever their category; Back to normal sorting in the same menu undoes it. - Pieces in the profile's Everything else do not go in a bin. They drop into the Discard bin, the bucket under the tower.
- A piece longer than 10 studs (80 mm) drops into the Discard bin. A smaller piece can still be too big for some bins: see How big a piece each layer takes.
The 3D page
The 3D page draws your machine with every bin where it really is on the tower. Each bin shows its number, its categories, and the last 4 pieces that went in. A bin you cannot use is faded: its layer or section is off, or the chute cannot reach it.
Use it to:
- Find a bin on the machine. The Bins page gives a bin's number. The 3D page shows you which bin on the tower that is, before you empty it.
- See what a bin takes. Click a bin to see its categories, its layer, its section and its number.
- Check the chute lines up with a bin. Pause the machine, click the bin, and press Point the chute here. The chute must be homed first.
- See which layer catches the next piece. The Machine panel shows where the chute points and which layer's door is closed. The layer with the closed door catches the next piece.
- See the chute and the doors. Turn on See inside to look through the frame and the bins.
The page tells you how to turn, zoom and move the view.
Homing the chute
The chute aims at a bin by counting from its home. It never homes again by itself while it sorts, however long it runs.
- After a stall the chute no longer knows where it is. The machine stops and shows Chute needs homing. Press Home chute on that card.
- To home it yourself, pause the machine first, then press Home the chute at the top of the Bins page.
- If pieces start landing in the wrong bin, pause the machine and home the chute before you try anything else. If that does not fix it, see Chute calibration.
How a category gets a bin
When you activate a profile. A profile from Hive starts with every bin unassigned. A profile you uploaded on the Profiles page asks you to choose:
- Reset the bins: every bin starts unassigned.
- Pre-assign from the rules: the first rule's category goes in the first bin of Layer 1, the second rule's in the next bin, and so on.
When the first piece arrives. A category with no bin gets the first unassigned bin.
By hand. On the Bins page, open a bin and choose Assign categories. If the category was in another bin, it moves to this one.
Auto-assign. The categories with the most pieces in the last 7 days get the biggest bins. This replaces the current assignments. A profile you have not sorted with yet has no pieces to count, so Auto-assign cannot help there.
You can only assign categories from the active profile. You cannot set up the bins of a profile the machine is not running.
A category can have more than one bin. The machine then puts each piece in one of them at random.
A bin can have more than one category if Allow multiple categories per bin is on.
How big a piece each layer takes
The funnels on a layer set the biggest piece its bins can take:
- Third-size layer (18 bins): up to 6 studs (48 mm).
- Half-size layer (12 bins): up to 8 studs (64 mm).
Give a category whose pieces can be bigger than 6 studs a bin on a half-size layer. Do not count on the machine to stop a big piece going into a third-size bin.
The machine looks up the size of every part it identifies. A piece longer than 10 studs (80 mm) always goes to the Discard bin. A piece between 8 and 10 studs is still sent to its bin, and can get stuck even in a half-size funnel.
Switch profiles and keep your bins
Activating a different profile removes every bin's categories and sets every bin's count to zero. Save the bins before you switch, and you can bring them back later.
Save the bins
- Go to the Bins page.
- In Bin layout, press Save as new.
- Type a name, for example the profile's name, and save.
The saved layout belongs to the active profile. It keeps each bin's categories and the layer settings.
If the bins change after you save, for example during a sort run, Bin layout shows Unsaved. Press Save changes to save the bins as they are now.
Bring the bins back
- Activate the profile.
- Go to the Bins page.
- In Bin layout, choose the layout you saved for this profile.
- Press Switch.
The machine restarts its software. This takes a few seconds. You can only choose a layout that belongs to the active profile.
After you activate a different profile, Bin layout still shows the old profile's layout, marked Unsaved. Do not press Save changes then. It replaces the old profile's saved bins with the new profile's bins. For the new profile, press Save as new.
Update a profile to a newer version
A newer version of the same profile can keep its bins. A rule you edit or move in Hive is still the same rule, so its category keeps its bin.
- To keep the bins, run the older version, then press Update on the Profiles page. Update appears when Hive has a newer version. The bins keep their categories and their counts.
- If you choose the version on the profile's card instead, the bins are reset, the same as switching profiles. Then bring back the layout you saved. A saved layout works for every version of its profile.
- A new rule's category gets a bin when its first piece arrives. You can also assign it a bin by hand.
- A rule you deleted leaves its category in its bin, and no other category gets that bin. Empty the bin, then open its ⋯ menu and choose Reset this bin and clear its assignment.
- A rule you delete and then make again is a new rule.
When a bin is full
A bin is full when it reaches its layer's Bin limit. Set the limit in Settings, Storage layers. It is the same for every bin on that layer. With no limit, a bin is never full. The machine counts pieces. It does not see how full the bin really is.
When a category's bin is full, the next piece goes to:
- Another bin with that category that is not full.
- If there is none, the first unassigned bin. That bin now also has the category.
- If there is none, and Allow multiple categories per bin is on: the bin with the fewest categories that is not full.
- If there is none: the Discard bin. Sorting continues.
After step 2, the category has two bins. When you empty the first bin, its pieces go into both bins at random.
To make the machine stop at step 4 instead, go to Settings, Incidents, and set No bin for this piece to Manual.
See which bins are full. On the Bins page, each bin on a layer with a limit has a bar and a count, for example 46 / 50. The bar turns amber at 85% and red when the bin is full. The machine gives no other warning.
Empty a bin
- Take the pieces out of the bin.
- On the Bins page, open the bin's ⋯ menu and choose Empty this bin.
The count goes back to zero, and the bin keeps its categories. If you skip step 2, a full bin stays full, because the machine cannot see that the bin is empty.
To empty more bins at once, use Empty the layer or Empty all bins.
Reset this bin and clear its assignment, Reset the layer and Reset all bins also remove the categories. Use them when you want those bins assigned again from the start.
Before you empty the bins, you can keep a record of what was in them with Snapshots or Export CSV on the Bins page. Exporting what the machine sorted explains both.