RCA, Rounded Corp AssociationRCA, Rounded Corp Association

The automated store and the ERP: who tells the robot what

An automated store is only as good as the conversation between the robot and the system that owns the stock. Here is that conversation, step by step.

In short

  1. The ERP or warehouse system decides what is needed and which tote holds it; the robot's controller decides how to move it.
  2. Each job reports every step back, and the stock moves in the books only when the robot reports the job done.
  3. A failed job stays visible with its reason, holds the next jobs until someone looks, and is retried as a new job.
Rounded CorpPublished 7 min read

An automated storage and retrieval system (AS/RS) works with the ERP through a short exchange of messages: the ERP, or a warehouse system beside it, decides what is needed and which tote holds it, and sends the robot a job; the robot's controller moves the tote and reports each step back; the stock is booked when the controller reports the job done. A failed job is shown with its reason, and nothing is booked for it.

The examples come from Tallyforge, one of our working demos: an ERP for a small maker of electric cargo bikes, with an automated small-parts store. It is a fictional rebuild of a system we delivered: the company, its parts and every order are invented. The store's robot is simulated too: a program plays the robot controller's side of the messages, so the jobs, their statuses and the bookings are recorded as they would be with a robot.

Two layers, two questions

The system that owns the stock answers "what". Which part does the station need, how much, and which tote should it come from? In Tallyforge that is the ERP itself; in a larger warehouse it is often a warehouse management system (WMS). The layer closest to the machine answers "how". Which shuttle goes, along which aisle, to which slot, and in what order? That is the robot's controller, sometimes with a warehouse control system (WCS) between it and the WMS.

Keeping the two apart is the first design decision. The ERP never sends motor commands, and the controller never decides which lot of stock to use. Each can then be changed without rewriting the other.

Tallyforge's store is small enough to describe in a sentence: two aisles of eight columns and six levels, 96 slots, a shuttle in each aisle, large totes on the two lower levels and small totes above. Totes leave the store at a pick point and enter it at a load point, both in front of the shelves.

A request becomes a job for one named tote

The work starts at a station. When an operator requests material for an order, the ERP takes the oldest stock first, container by container. A container in a store slot becomes a robot request and a retrieval job for that tote; a container anywhere else becomes a transfer for the warehouse tablet.

Three rules in that step prevent most confusion later:

  • The tote is named when the request is made. The request records the tote the ERP planned, and the robot fetches exactly that one. If the tote became busy or lost the part in the meantime, the retrieval is refused rather than quietly taking another tote.
  • Nothing is promised twice. A request leaves alone the stock that open transfers have already claimed, and plans no tote the robot is busy with.
  • The request is checked against what the order may use. Stock reserved for other orders is not available to this one. A request for more is refused with the quantity that is free.

A tote also goes back only where it fits: a returning tote is stored in a free slot of its own size.

Every step reported, every move booked

The ERP stores each job before it sends it, and the job moves through stated steps: pending, initiated (the coordinates sent), active (the robot is executing it), then completed or failed. Every step is written to the job's activity trail, and a heartbeat from the controller every five seconds tells the ERP the robot is still there.

Only when the controller reports the job done does the ERP book the move: the tote is recorded at its destination, and for a station's request the quantity goes from the tote into the station's work-in-progress container. The movement writes a line to the same transfer log as every other stock movement, so a count question about a part in the store has the same answer trail as one about a bin in the main warehouse. What stays in the tote stays with it at the line; a later request for that part counts it as already there.

When the robot fails

A store that fails quietly is worse than no store. In Tallyforge, a job fails when the controller refuses it or the robot reports an error. Three things then happen:

  1. The request reads Failed, with the reason. The station's request shows "Robot job failed", and the robot's own message waits one click away for whoever has to fix it.
  2. The processing pauses. No new job starts until a person has looked and resumed it. A fault in one aisle stops that aisle's shuttle where it is, and its next jobs wait.
  3. A retry is a new job. Staff queue the failed job again: the robot gets a new job for the same tote and request, and the failed job stays as it failed, with its activity trail. The history shows what went wrong, not only that it was fixed.

That is also the answer to "who is responsible for a failed pick". The ERP never assumes the tote arrived. The stock stays where the books had it until the robot says otherwise.

Offline is a state the screens say

When the robot cannot be reached, jobs are stored and wait in the queue, and a request that needs the robot at once is refused with the reason. A station that asks for material from the store is told that the robot is offline, not left waiting for a tote that will not come. The control and automation side of that path, the controller and its messages, is where most integration work sits; the stock rules are the ERP's.

For the warehouse around the store, from picking to one inventory across sites, see logistics and distribution. The station side of the same demo is in an ERP the shop floor actually uses.

Try it on a working demo

Tallyforge is one of five working demos on our track record page. Request the guest login there and open Tallyforge on a desktop. Open the sales order SO-00019, create manufacturing orders for its short lines, release the Courier 2 order, start it on the FINAL-2 station screen and request its material to the pick point. On the warehouse tablet, "From the automated store" shows the robot fetching the totes; under Automation, the store opens in 3D with the shuttles at work. The robot requests list keeps a retrieval that failed in the past weeks, with its reason. Every company and number in it is fictional, and it starts fresh every night.

Questions about AS/RS integration

How does an automated storage and retrieval system connect to the ERP?

The ERP, or a warehouse system, sends the robot's controller a job for a named tote; the controller moves it and reports each step; the ERP books the stock movement when the job is reported done. A heartbeat tells the ERP the controller is still reachable.

What is the difference between a WMS and a WCS?

A warehouse management system (WMS) manages stock, orders and tasks: what moves and why. A warehouse control system (WCS) sits closer to the equipment and directs it: which machine moves what, and when. Some plants run the store's controller straight from the ERP, without either.

What happens when a robot job fails?

The job and its request should read as failed with the robot's reason, nothing should be booked, and new jobs should wait until a person has looked. A retry should be a new job, so the failed one stays in the history.

The audit exists for this

Two to four weeks, fixed price, vendor-neutral.

Which system owns the stock, what the store's controller can report, and where a failed job is seen today. It can conclude that the store needs better rules around it, not a new one.