Tutorial
Manufacturing ops·8 minute read·MES integration

Production schedule printing workflows for manufacturers

From MES export to floor distribution — designing a printing workflow that gets the right work orders, traveler tickets, and schedule boards to the right stations at the right shift change.

A bearing manufacturer near Burgos runs four production lines on rotating two-shift coverage. Each shift change at 06:00 and 14:00 requires the supervisor to distribute updated production schedules, work orders for the next eight hours of run, quality check sheets, and any engineering change notices issued since the last shift. For years this was a manual process: the supervisor printed everything from a desktop printer, sorted into clipboards, and walked the floor. Each shift change consumed 35 minutes the supervisor did not have.

The replacement workflow integrates the manufacturing execution system (MES) directly with the floor's production-class MFP. Schedule changes generate output automatically, distribution happens at shift change without supervisor intervention, and the workflow scales with line count and product mix complexity. This tutorial documents how to build that workflow end-to-end.

What "production schedule printing" actually involves

Inputs

Production schedules from the MES, work orders from ERP, engineering change notices from PLM, quality check sheets from QMS, and the shift roster from HR. Each system maintains its own data, format, and update cadence.

Outputs

Printed work orders distributed by line and station, schedule boards posted at supervisor stations, traveler tickets attached to job batches, QC check sheets at inspection points, and consolidated shift handover summaries for supervisors.

Designing the integration chain

The clean architecture has three layers. Source systems (MES, ERP, PLM, QMS) export schedule data on a defined cadence — typically every 15 minutes during operating hours and once per hour overnight. A middleware layer consolidates the exports into a single normalised dataset and applies formatting rules: which fields appear on a work order, what stock to use, which station receives the output. The printing layer takes the formatted output and routes it to specific MFPs and specific paper trays.

Five workflow stages from MES export to floor distribution

Stage 1: MES schedule export

The MES exports the active production schedule on a recurring trigger — typically every 15 minutes between 05:00 and 22:00, hourly overnight. Export format is typically XML or JSON via a REST API, or CSV via SFTP for older systems. Each export contains: line ID, station ID, job number, part number, quantity, start time, end time, current state.

If the MES does not natively support export at the required cadence, a thin wrapper script queries the MES database every 15 minutes and writes the result to a watched folder. Avoid coupling directly to production database tables — use the MES vendor's API instead and accept the slight overhead.

Stage 2: Middleware normalisation

The middleware layer (typically a small Node.js or Python service running on a virtual machine on the manufacturing network) consumes the MES export and applies formatting templates. Each output type — work order, traveler ticket, QC sheet, schedule board — has a template that maps source data fields to the printed document layout.

Templates live in version control and changes follow a documented review process. Production-line operators discover and report template issues quickly, so iteration cycles matter. The middleware also handles deduplication: identical work orders generated by consecutive exports should not result in duplicate prints.

Stage 3: Print routing rules

Each output type routes to a specific MFP, tray, and finishing option. Work orders go to the supervisor's MFP in tray 2 (yellow paper for high-priority orders, white for standard). Traveler tickets go to the line-side MFP in tray 1. Schedule boards print on A3 to the supervisor MFP with stapling on. QC sheets print on perforated stock to the inspection station MFP.

The routing rules live in the middleware configuration and update when the floor layout changes. Adding a new line requires a configuration entry, not a code change.

Stage 4: Print job submission

The middleware submits print jobs to the target MFP via the device's IPP/IPPS print queue. Most modern production-class MFPs accept IPP submissions with embedded JDF (Job Definition Format) instructions that specify tray, finishing, copies, and other parameters per job. Older devices may require PCL or PostScript with vendor-specific finishing commands.

The middleware records every submission with timestamp, job content reference, target device, and status. This log becomes the audit trail for the manufacturing process and supports both quality investigations and operational reviews.

Stage 5: Distribution and confirmation

Printed documents accumulate at the target MFP. At shift change the incoming supervisor collects them and distributes to stations. For higher-automation environments, document holders at each station with bin sensors confirm the supervisor delivered documents within 10 minutes of shift change. The MES updates the schedule view to reflect that distribution has occurred.

For lights-out shifts where no supervisor is present at change, the workflow includes a step where documents print pre-distributed: each station's MFP-adjacent inbox receives that station's documents directly via a separate print job rather than centralised distribution.

Shift change integration

The cleanest workflows tie schedule printing to shift change events in the workforce management system. Documents print 15 minutes before shift end, are organised by the outgoing supervisor, and handed across at change with no gap in coverage.

Output type to paper stock mapping

Output typeStock & formatRouting
Standard work orderWhite 80gsm A4Supervisor MFP, tray 1
Priority work orderYellow 80gsm A4Supervisor MFP, tray 2
Traveler ticket (with batch)Card 160gsm A5Line MFP, tray bypass
QC inspection sheetPerforated 90gsm A4Inspection MFP, tray 1
Schedule board (A3)White 100gsm A3Supervisor MFP, tray 3, stapled
Engineering change noticePink 80gsm A4Supervisor MFP, tray 2
Shift handover summaryWhite 80gsm A4Supervisor MFP, tray 1, stapled set

Error handling and exception flows

Three exception flows need explicit handling. Network disruption between middleware and MFP — jobs queue locally and submit when connectivity restores. MFP offline at routing time — alternate device receives the job with a flag noting the primary was unavailable. Source system export failure — middleware uses the last successful export with a flag indicating staleness, and notifies the operations team. None of these conditions should silently lose output.

Schedule printing is the moment manufacturing operations becomes visible — a workflow that loses output to network blips or device offline conditions creates exactly the gaps shop floor supervisors cannot afford during shift change.

The MES vendor integration question

Some MES vendors offer first-party printing modules that bypass the middleware approach — the MES itself drives printing to networked devices. These integrations are clean when they work but lock the architecture to the MES vendor's capabilities. When the manufacturer changes MES (which happens at major plant overhauls or acquisitions), the printing integration must rebuild from scratch.

The middleware approach decouples printing from the MES, allowing the MES to change without disrupting floor printing operations. The trade-off is the middleware service requires maintenance — version updates, monitoring, occasional rule changes. Most manufacturers above 30 employees find the decoupling worth the maintenance burden.

Pilot deployment and measurement

Start the rollout with one production line. Run the new workflow alongside the existing manual process for two to four weeks, comparing output: are the right documents printing, are they reaching the right stations, are there gaps. Use this period to tune templates, routing rules, and timing. Once one line operates reliably without manual fallback, expand to remaining lines in sequence.

Measure improvement against three metrics: minutes of supervisor time per shift change (target reduction of 60 to 80 percent), percentage of stations with correct documents at shift start (target 100 percent), percentage of work orders delivered within 30 minutes of MES update (target 95 percent).

滚动至顶部