Four inputs the printer needs
A printer needs to know that a pack has arrived, how fast it is moving, how far the print head is from the surface, and what to print. Each input comes from a device that is not the printer, each device has a failure mode, and each failure produces a recognisable symptom.
Trigger sensors and their latency
The trigger is usually a photocell aimed at the pack path. It fires when the pack's leading edge interrupts the beam, and the print starts after a configured delay. The delay is measured in time or in distance, and the difference matters: a time delay produces a different position at a different line speed.
| Method | How | Behaviour at speed | Best for |
|---|---|---|---|
| Photocell, distance delay | Sensor plus encoder count | Position independent of speed | Most lines |
| Photocell, time delay | Sensor plus timer | Position shifts with speed | Constant-speed lines only |
| Encoder-only | Print period from encoder counts | Fixed spacing, not tied to packs | Continuous web, not discrete packs |
| Vision trigger | Camera finds a feature | Consistent relative to print | Pre-printed packs with registration |
The second row is the classic integration failure. A machine commissioned at one line speed with a timer delay prints in the right place, and every speed change moves the code. The symptom is a code that drifts forward or backward whenever the line is accelerated, and the fix is an encoder count rather than a delay adjustment.
Trigger reliability matters as much as trigger type. A photocell that sees the pack but not the gap, or one blinded by a reflective film, will fire twice or not at all, and the result is a doubled code or a missing one. Sensor selection by sensitivity and background suppression is part of the specification.
Encoders and speed compensation
An encoder converts the conveyor's movement into pulses. The printer counts pulses to space its dots, which makes the code the same length regardless of speed. Without an encoder, the printer estimates speed from its own timing and the code stretches or compresses as the line accelerates.
- Where the encoder is mounted matters: on a driven roller it reflects the belt, on an idler it reflects the belt, on a motor shaft it reflects the drive.
- Pulses per millimetre must match the belt's actual movement, including slip and belt stretch.
- Dirty or worn wheels produce missed pulses and therefore compressed or doubled characters.
- Direct drive and servo lines can often supply a signal that is more reliable than a wheel.
The third row is a slow-developing fault that looks like a printer problem. A worn encoder wheel produces a code whose characters gradually crowd together, and the plant replaces parts on the printer before anyone looks at the wheel.
Mounting and geometry
The print head has a correct distance from the surface, a correct angle and a finite print window. A bracket that vibrates or flexes moves the code, and a bracket that is mounted on a part of the machine that moves relative to the conveyor moves the code with it.
| Decision | Effect | Common error |
|---|---|---|
| Distance to surface | Print quality, focus, and strike risk | Set for one pack and assumed for all |
| Angle | Dot shape and legibility | Angled for a taper and left |
| Rigidity | Position stability | Bracket bolted to a vibrating guard |
| Adjustment range | Product range coverage | No vertical adjustment for a new pack |
| Cable routing | Reliability | Cables pulled tight around moving parts |
| Guard and access | Safety and maintenance | Guard removed to reach the head |
The first row is the one to check at every product change. A pack that is 3 mm taller or 2 mm deeper changes the print distance, and the code changes with it: larger, softer, or blurred. A mounting with a height scale, or a fixed datum, makes the change visible.
A coding head bolted to a guard flexes every time the guard is opened and flexes slightly with the line. The code moves, and the movement is blamed on the printer. Mounting to the main conveyor frame, with an adjustment stage, removes an entire class of fault.
Message data and the interface
The message is a template and a set of variable fields: date, time, batch, line, serial and possibly a 2D code. The fields can be entered locally, taken from a line controller or downloaded from an ERP or MES.
| Source | Advantage | Failure mode |
|---|---|---|
| Manual entry | Simple, no integration | Wrong data entered, no audit trail |
| Line controller | Batch-level automation | Stale data after a changeover |
| MES download | Traceability | Connection loss, wrong job selected |
| Scanner of a pre-printed code | Carries data from the pack | Misread or missing code |
The third row is the one that causes the incidents nobody forgets. A printer that keeps printing the previous batch's information after the connection drops produces codes that are internally consistent and wrong, and verification against a code that is also wrong does not catch it. A heartbeat and a failsafe, where a lost connection stops the printer, is worth more than any amount of data validation.
Closing the loop
-
Verify the trigger position at the top of the speed range
And at the bottom, for a timer-based trigger especially.
-
Verify the encoder against a measured length
Print a code and measure it against the belt movement.
-
Verify the print distance for each pack size
With a gauge, recorded per product.
-
Verify the message data at changeover
Against the batch record, not against the previous batch.
-
Verify the code with the verifier
At the position and reading distance the customer uses.
Those five checks, done at commissioning and after every change, remove most of the integration faults a plant meets in its first year. The verification that follows them is on code verification and vision inspection, and the symptoms are catalogued on coding and marking defects.
A coding system combines laser radiation, solvent-based inks that are flammable and hazardous, compressed air, electric drives and a running conveyor. Never look into a laser aperture or defeat a laser interlock, never open or purge a print head without the documented procedure and personal protective equipment, and never work on any part while the line is running. Work to your own risk assessment, safety data sheets, laser arrangements and lockout/tagout procedure rather than this cluster alone.
Specifying an integration
- Name the trigger type and the encoder source in the machine specification.
- Name the print distance, angle and adjustment range for the full product range.
- Name the data interface, the fields and the behaviour when the connection is lost.
- Require the mounting to be independent of removable guards.
- Require a commissioning record with the five verifications above.
Those five sentences in a purchase order prevent most of the integration faults that a plant otherwise spends a year diagnosing. They cost nothing at signature and an enormous amount later.
Explore the rest of the cluster
The code is placed, printed and read
The verifier is the only component that proves the other two did their jobs.
