PART V | LESSON 18: CONTROL PHILOSOPHY MATERIAL HANDLING ACADEMY
DRIVING QUESTION Which layer of the system owns this decision?
THE MISDIRECTED SORT NOBODY OWNS

A running system starts sending a slice of its cartons to the wrong doors. Not all of them, just enough to matter. The controls contractor pulls up the PLC logic and swears it's clean: the divert fires exactly when it's told. The mechanical team watches the sorter all afternoon and shows you it firing right on time. The customer's IT says the WMS is sending correct routing, with the logs to prove it. Three teams, each certain the problem isn't theirs, and the misdirects keep going out the door.

None of them are lying. The reason it stays broken is that nobody has named which layer owns the problem, so it keeps getting handed to the wrong one. A carton going to the wrong door isn't one kind of failure. It's four or five different failures that look identical from the dock, and each one lives on a different layer of the system. Before you can fix a controls problem, you have to locate it in a stack of five layers. That's what this lesson gives you.

By the end of this lesson you can draw the five-layer controls topology from memory and say what each layer does and who owns it, tell a WCS from a WES by the decisions it makes and not just its name, and take any controls problem on a live system and say which layer owns it before you send it to a team.

The five-layer controls topology

Every controls conversation you'll have on a project runs on one mental model, and this is it. Five layers, stacked from the machine on the floor up to the business system in the back office. Instructions move down, status moves up. Get these five into your head and you can place any person, system, or problem exactly where it belongs. Here's the whole thing on one page.

The five-layer controls topology as a stack. From the bottom up: Layer 1 Machine Controls (the PLC), owned by the controls engineer or integrator; Layer 2 Middleware, owned by the software integrator or controls team; Layer 3 WCS/WES, owned by the WCS/WES vendor or integrator; Layer 4 WMS, owned by the WMS vendor or customer IT; Layer 5 ERP, owned by customer IT. A down arrow carries waves and routing instructions from the top toward the PLC; an up arrow carries reads, confirmations, and status from the PLC back toward the top. A gold bracket marks Layers 1 and 2 as where the solutions engineer lives.
The five-layer controls topology. Instructions move down, status moves up, and the solutions engineer's working knowledge is deepest at the bottom two layers.

Walk it from the ground up. The layer number is the order you'll draw it in for the rest of your career.

Now the part that matters for you specifically. You have to understand all five well enough to hold an intelligent conversation with every person on the project, from the PLC programmer to the WMS administrator to the customer's IT director. Nobody's an expert at all five, and you don't need to be. But your working knowledge runs deepest at Layers 1 and 2, where the conveyor you designed connects to the machine controls and the data-exchange interface. That's your home, and that's why the gold bracket on the diagram sits exactly there.

Two things live inside those bottom layers that this lesson names but doesn't open. What actually moves across that Layer 2 interface, and how fast it has to arrive, is the data-exchange conversation, the deep work of Lesson 22. The machine-execution detail inside Layer 1, the PLC logic, the drives, the driver cards, is Lesson 20. For now you're learning the five layers and who owns each. The depth inside each is the rest of Part V.

PRO TIP | MC

If you're walking into a controls problem on a live system, then before you dispatch anyone, draw the five layers on whatever's nearby and ask one question at each: is the read good, is the translation good, is the destination returned correct, is the wave current. Tradeoff: it feels slow when everyone in the room wants you to just go look at the sorter. Verify: the layer where your questions stop getting clean answers is the layer that owns the problem. You'll have saved a day of the wrong team looking in the wrong place.

WCS vs WES: the boundary made concrete

The two acronyms look like siblings and get used like synonyms. They aren't the same thing, and the difference isn't trivia. A WCS, a Warehouse Control System, gives supervisory control of the machines. It takes the routing intent handed down to it and turns it into sort decisions, lane assignments, and system status. That's its whole job: run the machines well and report what they're doing.

A WES, a Warehouse Execution System, is a WCS that also does order-side work. Order planning, batching, and the logic of how product should move to fill orders. The boundary between the two is order intelligence. A WCS routes what the WMS tells it to route. A WES decides some of the order sequencing itself, work that would otherwise live up in the WMS.

Make it concrete. "Divert carton 123 to lane 5" is a WCS decision either way, because that's supervisory machine control and both systems do it. "Group these forty orders into a batch and sequence them to balance the pick faces" is order intelligence. If the execution layer decides it, you've got a WES doing WES work. If the WMS decides it and hands the result down, you've got a plain WCS underneath. Same box on the floor, different line of responsibility.

Here's the trap in the naming. On plenty of projects the same vendor's same product ships as either one, depending on which modules the customer turned on. The letters on the box don't settle it. Ask what the system decides, not what it's called.

COMMON MISTAKE

Treating WCS and WES as interchangeable because the acronyms look alike. They're not the same layer of responsibility. A WES makes order-side decisions a WCS never touches. Spec a plain WCS into an operation that needed order execution and you've left a whole layer of decisions with no owner, and the customer finds out during the first peak.

Who decides what: the ownership matrix

Here's the payoff. Once the five layers are in your head, you can take any decision on the system and say which layer owns it. That's the skill this whole lesson is building toward, because locating a decision is the first move in fixing anything that goes wrong with it. Start with these.

The decisionLayer that owns it
Release this wave to the floorWMS, Layer 4
Sequence these orders into batchesWES if present, else WMS, Layer 3 or 4
Divert this carton to lane 5WCS decides, Layer 3; PLC executes, Layer 1
Stop this zone, it's jammedPLC, local logic, Layer 1
Which carrier does this order shipOriginates in ERP, Layer 5; carried by WMS, Layer 4
Format the machine's read so the WMS can use itMiddleware, Layer 2

The rule under all of it: when something breaks, your first move isn't to guess at a fix. It's to name the layer that owns the decision that went wrong. Go back to the misdirect from the top of this lesson. A carton at the wrong door could be a bad read at Layer 1, a bad translation at Layer 2, a wrong destination returned at Layer 3, or a stale wave at Layer 4. Four different layers, four different owners, one identical symptom. You don't fix it until you've located it.

There's a companion skill to this one: the method for deciding who should own a brand-new decision point you're designing from scratch. That's a different move, and it's the work of Lesson 22. Here you're locating decisions that already exist in the stack, not designing new ones.

STOP AND THINK

Here are three things that just happened on a live system. A carton went to the wrong door. A whole wave never released. A zone stopped and won't restart. For each one, name the layer you'd question first and the layer you'd question last. If two of your answers land on the same layer, ask yourself whether you're actually locating the problem or just guessing the machine because the symptom is mechanical.

WHYA controls problem sent to the wrong team doesn't get resolved, it bounces. Naming the layer that owns the failed decision is the first step to fixing anything, and it's a skill the customer's own teams often lack.
WHENThe moment a live system misbehaves, before you dispatch anyone. Also in design review, when you're deciding which team owns which interface.
WHEREAcross every controls conversation on the project, from the PLC programmer to the WMS administrator to the customer's IT director.
NOT WHENDon't start at the machine just because the symptom is mechanical. A carton at the wrong door looks like a divert problem and is just as often a bad read, a bad translation, or a wrong destination returned from three layers up. Locate the decision before you touch the steel.
FAILURE IF IGNOREDThe misdirects keep shipping while three teams point at each other, because nobody named the layer that owns the decision that went wrong. Weeks go by. The fix was always small. Finding it was the hard part, and it stayed hard because nobody located it.
FIELD INSIGHT | MICHAEL COLLINS

You don't have to be an expert at every layer. Nobody is. But you have to understand all five well enough to talk intelligently to every person on the project, from the PLC programmer to the WMS administrator to the customer's IT director. And when something breaks, the first question is never what's wrong. It's which layer owns this. A machine problem that's really a data problem, sent to the machine team, just wastes a day and comes back. Locate it first. That habit alone will make you the person they call when the system's down and nobody knows why.

Michael Collins
RIVERSIDE PROJECT

Back to Riverside. Remember Ray, the IT Systems Administrator you met in discovery. He's the owner of Layers 4 and 5, the WMS and the ERP behind it. Here's how he described the WMS in that first meeting:

"We run a standard WMS. It manages all picking, inventory, and order release. When an order wave goes out the WMS knows which carrier each carton is going to. That information is tied to the barcode on each carton."

Now place every piece of Riverside on the five layers. The EZLogic accumulation logic and the zone controllers sit at Layer 1. The PLC that fires the divert is Layer 1. The middleware that carries the scan up and the routing back down is Layer 2. The decision of which door a barcode is going to is a Layer 3 WCS decision. The WMS that ties carrier to barcode, the one Ray runs, is Layer 4. The ERP behind it is Layer 5.

Draw the five-layer stack in your Riverside note and write each component on its layer, with the owner named next to it. Then flag the one open item still sitting on this architecture: the WMS response-time number Ray gave you, half a second, which he flagged himself as unconfirmed. It lives at the boundary between Layer 2 and Layer 3, and this controls architecture can't be finalized until Ray confirms it. Don't run the math on it yet. Just mark it, date it, and keep it where you'll find it again. This is the first page of the controls architecture summary you'll build across Part V.

FOREST THROUGH THE TREES

This is Lesson 18, the front door of Part V, and the whole part hangs on the diagram you just learned. Sensing, machine controls, power and networks, the data handshake, recovery: every lesson from here on is depth inside one of these five layers. When you're deep in the timing of a divert or the payload of a message and you've lost the thread, come back to the stack and ask the question that started this lesson: which layer owns this decision? Locate it first, and everything else is detail once you know where you're standing.

CHECKPOINT
  1. A sorter on a live system is sending a share of its cartons to the wrong doors. Using the five-layer topology, walk through how you'd isolate which layer owns the problem, and name one question you'd ask at each layer to rule it in or out.
  2. A customer is being sold a system and the integrator's quote lists a WCS. The customer's operation needs order batching and pick sequencing decided by the execution layer, not by their aging WMS. What's the one question you'd ask to find out whether the quoted system actually covers that, and why does the answer change what the customer is really buying?