In any courier sorting hub, every parcel is more than a physical object moving along a conveyor; it is a mission. A parcel mission is the sum of all decisions, confirmations, and control actions that carry a single item from induction to the correct dispatch lane. The mission queue, often held in a warehouse control system (WCS) or a programmable logic controller (PLC) data structure, is the ordered set of these missions awaiting execution. Understanding how mission queues operate, and where their authority ends, is essential for maintenance engineers and controls teams who must diagnose flow interruptions without eroding safe, reliable sortation.
What Is a Parcel Mission Queue? #
A parcel mission queue is a logical record of parcels that have been identified but not yet fully resolved. Each queue entry typically contains a unique parcel identifier, its expected path, a target destination such as a chute or tugger route, and a set of timing or sequence constraints. The queue may reside in the WCS as a database table, in the PLC as an array of tags, or split across both. In well-designed systems, the WCS manages high-level routing decisions while the PLC controls the physical handoffs at merge points, diverters, and induction stations.
The queue is not a passive list. It is continuously mutated by event messages from scanners, photo eyes, and motor controllers. When a parcel is scanned, a mission is created. When a parcel passes a confirmation point, the mission is updated. When the parcel falls into a chute or is swept onto an outbound conveyor, the mission is retired. This lifecycle must be exactly synchronised with physical reality. Any mismatch between the queue and the actual parcel position results in ghost parcels, missed diversions, or jam recoveries.
Mission Lifecycle: From Induction to Dispatch #
Consider a typical parcel entering a hub. At the induction station, an operator or an automated singulator presents the parcel to a scanner. The WCS reads the barcode or dimension data, validates it against the sort plan, and creates a mission. From that moment, the mission queue is the authoritative reference for where the parcel should go and when it should arrive. The PLC may hold a short-term buffer of missions for tilt-tray cells or cross-belt carriers, but the WCS remains the system of record for the entire journey.
As the parcel moves, each fixed scanner and photo eye provides a heartbeat. The WCS compares expected timings with actual readings. If a parcel misses a scheduled checkpoint, the mission is flagged as late. If it arrives at a diverter before the mission is ready, the diverter may have to hold or the parcel is sent to a recirculation loop. The queue therefore functions as a predictive engine, not just a log. It tells the PLC which actions must happen in the next few seconds, and it tells the supervisory team which parcels are at risk of missing their trailer.
Core Components and Interface Contracts #
For a mission queue to work, three components must agree on the same set of rules: the WCS, the PLC, and the physical field devices. These agreements are called interface contracts. They are not theoretical documents; they are implemented in code and tag tables. A contract typically defines message formats, heartbeat intervals, timeout thresholds, and the exact meaning of each status transition. For example, a contract may state that a “mission created” message must be acknowledged by the PLC within 500 milliseconds, or the WCS will treat the parcel as un-routable and send it to a reject lane.
Another common contract element is the handshake at merges. When two conveyor lines combine, the PLC must ensure that no two parcels arrive at the merge point simultaneously. The WCS provides the sequence, but the PLC uses its own local sensors to enforce spacing. The mission queue must align with both levels. If the WCS predicts 1.2 seconds between parcels but the PLC sees a 0.8 second gap due to a speed variance, the queue must be updated to reflect the actual order. This is often called a “queue re-sequence” and can be a major source of confusion if not properly communicated.
WCS and PLC Responsibilities #
The WCS owns long-horizon decisions: which destination a parcel should be assigned to, which trailer, which outbound lane. The PLC owns short-horizon execution: when to fire a diverter, when to stop a belt, when to raise a tilt tray. The mission queue sits between them. The WCS writes missions into the queue; the PLC reads the active portion and converts it into physical actions. A clear boundary is necessary. The WCS should never directly command a motor contactor, and the PLC should never decide that a parcel can go to a different chute just because the original is full.
In practice, however, hubs often run in degraded modes. When a chute becomes full, the WCS must re-route parcels. This re-routing changes the mission destination, sometimes mid-flight. The PLC must then ignore its pre-loaded plan and accept the updated mission. This requires an interface that supports dynamic updates without causing duplicates. A duplicate occurs when the WCS sends a new mission for an already-existing parcel, or when the PLC holds an old mission and ignores the update. Duplicate missions are one of the most common and dangerous failures in courier hubs, because they can cause two parcels to be directed to the same physical cell.
Hub Boundaries and Routing Logic #
Every hub has boundaries. Some are physical, such as the edge of a conveyor network or the limits of a tilt-tray loop. Others are logical, such as the number of active missions the PLC can store, or the WCS’s authority to re-assign destinations after a parcel has passed a certain point. These boundaries must be explicit. A mission queue that has no defined boundaries is a source of unpredictable behaviour.
One critical boundary is the “point of no return.” This is the last physical position before a parcel enters a dedicated lane or chute. Beyond this point, a mission cannot be cancelled or re-routed. Good routing logic ensures that the WCS makes all final decisions before this boundary. If a decision is delayed until after the point of no return, the PLC must either send the parcel to a recirculation loop or to a manual exception area. The mission queue must contain a flag that indicates whether a parcel is still “soft” (re-routable) or “hard” (committed). Misinterpreting this flag is a common source of mis-sorts.
Destination Mapping and Chute Assignment #
Destination mapping is the translation of a parcel’s delivery address or postal code into a physical chute or outbound door. The WCS usually maintains a lookup table that maps sort plan output to destinations. This table can be updated in real time as trailers change or chutes become unavailable. The mission queue stores the resolved destination ID, not the raw address. For example, a parcel might have a zip code that maps to chute 47, but if chute 47 is full, the WCS may map it to chute 48 or to an overflow lane. The mission queue must reflect the currently assigned chute, not the nominal one.
Hub maintenance teams often see “destination mismatch” alarms. These occur when the physical diverter reads a parcel code that does not match the mission’s destination. This can happen when a parcel slides on a belt and crosses a photo eye in the wrong order, or when a scanner reads a neighboring parcel’s barcode. The mission queue will then hold a mission for a parcment that has already passed, while the actual parcel has no active mission. In such cases, the system may trigger a stop or a “ghost parcel” alarm. The correct response is to verify the physical parcel position and reconcile the queue, not to assume the scanner failed.
Observable Symptoms of Queue Dysfunction #
Mission queue problems seldom announce themselves as “queue error.” They manifest as operational symptoms. The following table lists common symptoms, their likely queue cause, and the first evidence to collect. This table is intended for diagnostic discussion, not as a definitive troubleshooting guide. Site-specific conditions always override general patterns.
| Symptom | Likely queue cause | First evidence to collect |
|———————–|——————————-|——————————-|
| Parcels sent to reject lane without cause | Mission missing or expired | Timestamp of parcel creation, scanner ID, mission status |
| Diverter fires but no parcel arrives | Mission held in PLC for too long | PLC sequence table, photo eye event log, diverter command timestamp |
| Parcel arrives at a chute with no mission | WCS retired mission too early | Chute photo eye event, WCS mission archive, conveyor speed profile |
| Two parcels assigned to same tray cell | Duplicate mission in queue | PLC tray map, scanner read times, queue ID comparison |
| Recirculation loop keeps receiving parcels | Point of no return boundary too early | WCS re-route log, physical distance from boundary to diverter |
| Queue length grows but no jam exists | WCS is not receiving PLC acknowledgements | Interface message counters, network latency, PLC scan time |
Each of these symptoms requires a careful look at both the logical queue and the physical track. A common trap is treating a queue problem as a mechanical issue, such as a misaligned sensor or a slipping belt. While mechanical failures do happen, a large proportion of intermittent mis-sorts originate from queue timing, not parts wear.
Evidence Collection and Diagnostic Approach #
When a mission queue problem occurs, the first goal is to capture a consistent snapshot of the system. This means simultaneous logs from the WCS, the PLC, and any independent data source such as a vision system or a separate scanner controller. Without a consistent timestamp reference, it is nearly impossible to correlate events across components. Many hubs maintain a network time protocol (NTP) server for this purpose, but even a simple common clock can be used if all logs are offset accordingly.
Collect these items in order:
- Mission creation records: parcel ID, time, induction lane, intended destination.
- Scanner events: every scan that successfully read a barcode, along with the scanner ID and time.
- Photo eye and diverter commands: each state change with a timestamp.
- PLC sequence table: the actual position of every carrier or slot, if applicable.
- WCS mission status log: every time a mission was created, updated, or retired.
Once the logs are collected, the diagnostic approach should follow the parcel’s physical journey, not the queue’s logical order. Physically trace a single parcel from induction to its end point. At every waypoint, compare the expected position from the mission queue with the actual position from sensors. The first point where they diverge is the root cause area. This is a simple but powerful method. It avoids the common mistake of debugging the WCS database for hours when the issue was a PLC timer running too fast.
Common Interpretation Errors #
Several errors repeatedly occur in hubs, leading to wasted downtime and even mis-sorts that are not resolved. The first is confusing a “late” mission with a “missing” mission. A late mission is still valid; the parcel is simply behind schedule. The PLC should wait for it, within reason. A missing mission means the WCS has no record of the parcel. Attempting to create a new mission for a late parcel can cause duplicates. Always check whether the original mission still exists before creating a new one.
A second error is assuming the PLC’s sequence table is always correct. The PLC determines parcel order based on sensor events. If a sensor is blocked by dust or a damaged package, the PLC will create an incorrect sequence. The WCS may then send missions that do not match the physical order. The correct response is to clear the sensor fault and re-align the PLC sequence, not to adjust the WCS routing. Re-aligning usually requires a manual “flush” of the affected segment, which must be done with site-specific procedures and full lockout compliance.
A third error is treating recirculation as a queue failure. Recirculation is sometimes a legitimate operating mode. When a destination chute is temporarily unavailable, the WCS may intentionally keep parcels on a loop. Operators who see parcels passing the same scanner twice might assume a mis-sort. Understanding the WCS’s recirculation policy is essential. The mission queue will contain a “hold” or “reroute” status for such parcels, not an error. Reading the status carefully prevents unnecessary emergency stops.
Maintenance Implications and Recovery Boundaries #
Mission queues have direct maintenance implications. Every sensor that feeds the queue must be clean, correctly aligned, and within its calibration tolerance. A shifted photo eye can cause a parcel to be counted twice or not at all, leading to queue build-up or early retirement. Regular preventative maintenance on scanners and photo eyes is not just a mechanical task; it is a control logic task. Dirty optics are one of the leading causes of mission misalignment.
Recovery from a queue failure always begins with stopping new inductions, not with clearing the queue. Once inductions stop, the system can flush the loop and reconcile the remaining parcels. Site procedures must define who has authority to initiate a queue reconciliation. This is often a controls engineer or a shift supervisor, not a line operator. The process typically involves verifying physical parcels in the loop, matching them to mission records, and manually retiring or re-creating missions as needed. This should never be done while conveyors are running at speed. Lockout requirements and OEM documentation take absolute priority.
The boundary between automated recovery and manual intervention is critical. Some queue mismatches can be automatically resolved by the PLC if the WCS sends a “mission cancel” command. Others require a full system restart. The decision boundary should be documented in site procedures. As a general principle, automated recovery is only safe when the physical parcel position is known with high confidence. If there is any ambiguity, manual intervention is required. Consultants and in-house teams should not attempt to invent recovery sequences that bypass safety devices or ignore OEM guidance.
Operating Context for Different Parcel Types #
Mission queues behave differently for different parcel categories. Small parcels on a linear sorter may have extremely short mission lifecycles, from creation to retirement in under two seconds. Large or irregular parcels may require longer settling times at induction and induce more sensor variability. Automated induction systems generate missions in bursts, while manual induction tends to be more sporadic. The queue capacity must be sized for the worst-case burst, not the average flow.
Courier hubs also process a mix of express and deferred parcels. Express parcels may have a priority flag that allows them to jump the queue. This prioritisation must be handled carefully in the PLC, because reordering missions affects the physical order at merges. A priority parcel that is inserted too aggressively can cause a wrap-around jam. The WCS must communicate the priority level explicitly, and the PLC must have a defined algorithm for inserting priority missions without violating spacing. If no such algorithm exists, priority missions should be sent to a dedicated induction lane rather than a mixed lane.
Key Takeaways #
- A parcel mission queue is a live logical model of every tracked item; it must always match physical reality, or sorting integrity is lost.
- The WCS owns destination decisions; the PLC owns execution. Interface contracts define how those two systems hand off missions.
- Hub boundaries, such as the point of no return, must be clearly defined in both software and physical layout.
- Diagnose queue issues by tracing one parcel physically and comparing log events at each waypoint, not by staring only at the WCS database.
- Common interpretation errors include treating late missions as missing, trusting PLC sequence tables without sensor verification, and misreading legitimate recirculation as a failure.
- Preventative maintenance on scanners and photo eyes is critical for queue health; a mechanical issue becomes a logic issue within seconds.
- Recovery boundaries are strict: stop induction, verify physical positions, and follow site procedures under full lockout and OEM direction.
- Never bypass safety devices or invent recovery sequences; the mission queue is a tool for safe, efficient sorting, not a workaround authority.
Practical Review Table #
| Review area | Evidence | Interpretation caution |
|---|---|---|
| Operating state | Mode, sequence step, mission and interlock status | Expected holds can resemble equipment faults. |
| Physical condition | Alignment, wear, contamination, obstruction and load condition | One visible defect may be a consequence rather than the cause. |
| Event history | Time-aligned alarms, input changes and recent interventions | Unaligned clocks can reverse the apparent event order. |
| Validation | Controlled test result under representative conditions | A single successful cycle does not establish long-term reliability. |
Apply this table to parcel mission queues: operating principles and hub boundaries using approved site procedures and documented evidence.