Published 1 December 2026 · 17 min read · Integration
An ANPR barrier project is not a camera project. The camera reads a plate and then hands off, and everything that happens after that hand-off decides whether the arm lifts. When a site reports that the camera reads plates perfectly and the barrier still does not open, the fault is almost never in the recognition: it sits in one of the three hops that follow, and each of them fails in a different way.
This page is about the actuation side of a plate-reading lane: what the camera can hand over, how the open command is wired, where the loop detectors fit, how long the whole chain takes, and how to find the break in about ten minutes. It assumes a fixed camera at a lane, a gate or a car park entry, and the interface set common across our range: two IO channels, two half-duplex RS-485 ports, an Ethernet port, and ONVIF Profile S for video.
A barrier opens in four hops, and each hop can fail alone
Four things happen between a vehicle arriving and an arm rising, and they belong to four different owners.
- Read. The camera triggers, captures and returns a plate string with a timestamp, a lane and a confidence. This is the only hop the camera owns.
- Decide. Something compares the plate against a list and answers yes or no. The camera can do this from its own list, a barrier controller can do it, or a parking platform can do it over the network.
- Signal. The answer becomes a physical command: a momentary contact across the controller open input, a serial message, or a network call.
- Actuate. The barrier controller drives the arm, and its own safety inputs decide whether it is allowed to.
The question to settle before any hardware is ordered is who owns hop two. It is the most common gap on a site that has a camera and a barrier but no working lane: the camera is set up to recognise, the barrier is set up to accept a contact, and nobody has configured the list that turns one into the other.
There is an ownership question inside hop four as well. A barrier controller will usually refuse to close while its safety loop is occupied, and refuse to open if it believes the arm is already up. Those interlocks are not obstacles to work around; they are the reason the lane is safe, and an integration that ignores them produces a lane that opens twice, closes on a vehicle, or locks out after the first car.
What the camera can actually hand over
The interface list on a datasheet is short, and what matters about each line is what it does and does not carry. The table below sets them side by side; two details in it deserve to be read from the wiring diagram rather than from a marketing page.
First, the IO channels are described on our units as open input or level signal input, which is a switch, not a power supply: it can close a circuit, it cannot feed a load. Whether that switch is a dry contact or an open-collector output changes the wiring, so confirm it against the diagram before connecting anything.
Second, the RS-485 ports are documented as non-isolated, which matters where the camera and the barrier controller sit in different buildings on different earths. A long run between two earths needs an isolation module, because a ground potential difference will find the port eventually.
| Interface | What it carries | What it is good for | What it cannot do |
|---|---|---|---|
| IO channel | A pulse or a level, no plate | Opening a barrier through its open input | No audit trail, and no per-plate rule unless the camera list is the decision |
| Level signal input | A state, such as arm up or loop occupied | Reading a controller state back into the camera | Depends on the controller exposing a clean signal |
| RS-485 | A string or a vendor protocol, depending on the firmware | Talking to a controller or access board that expects serial records | The port is a physical layer; the protocol has to come from the vendor |
| Ethernet, SDK or API | The full record: plate, time, lane, confidence | Platform-managed decisions and logs | Needs a network and a running service at the other end |
| ONVIF Profile S | Video stream only | Recording and live view in a VMS | Carries no plate string and no open command |
Interfaces on a plate-reading unit and what each one carries
The open command: one contact, wired once, tested first
On almost every vehicle barrier the open input is a dry contact input: the controller holds one terminal at its own internal voltage and expects something to connect it to common for a moment. That is exactly what an IO channel does, and it is also where three predictable mistakes appear.
Mistake one: assuming the camera can drive the controller input. The IO channel is a switch. If the controller input is voltage-sensing, the switch closes across it and the controller sees the closure. If something instead has to energise a relay coil, that coil is a load and needs its own supply, with the camera channel switching the coil and a flyback diode across it.
Mistake two: pulse width. The controller expects a closure of a certain minimum duration. A very short pulse is electrically invisible; a permanently closed contact is worse, because the controller may not re-arm until the contact opens. Set the channel to pulse mode, find the minimum in the controller documentation, and start in the hundreds of milliseconds rather than the tens.
Mistake three: the wrong common. Controllers often share a common between the open, close and stop inputs. Cross one of them and the lane behaves strangely rather than not at all: the arm opens when the close button is pressed, or the stop input holds the arm mid-travel.
The test that prevents all three is a wire and a screwdriver. Before the camera is connected, short the open input to common by hand and watch the arm. If the arm does not rise, the fault is in the barrier controller or its safety loops, and no amount of camera configuration will change that. Prove the barrier first, connect the camera second, then prove the camera output by watching the channel status change as a vehicle crosses. Three separate proofs, three separate conclusions.
RS-485: useful when the controller wants the plate
A barrier controller that already manages access lists may prefer to receive the plate string rather than a blind pulse, so that it can log the decision and apply its own rules. The two RS-485 ports on our units make that physically possible. Whether it works is a protocol question, not a wiring question.
Half-duplex means one device talks at a time on a pair of wires. If the camera pushes every record as it happens while the controller polls on its own schedule, the two transmissions collide and the controller receives fragments. Some integrations tolerate that because records repeat; many do not, and the symptom is a lane that works on a bench test and fails under traffic, when record frequency is highest.
Three things have to be agreed before the cable is pulled. The baud rate, up to 115200 on these ports, and the frame format, because a mismatch produces a link that looks alive and decodes to nothing. The direction of the conversation, meaning who initiates and who acknowledges. And the record format itself, which comes from the controller vendor: a datasheet that says RS-485 tells you the electrical interface, not the sentence structure.
If the controller vendor will not release a protocol document, the honest design is the relay rather than a reverse-engineered serial stream. A pulse opens the lane; the plate record goes to the platform for the audit. That combination is less elegant and far more maintainable, and it does not depend on a firmware behaviour that a future update can change.
Two loops, two jobs: the trigger is not the safety device
Most lanes have a loop cut into the road, and many sites assume the camera can replace it. It cannot, and the reason is a safety argument rather than a technical one.
An inductive loop in a car park lane usually does two jobs. The arming loop tells the system that a vehicle is present and ready to be read. The safety loop, often under the arm itself, tells the controller that the vehicle has cleared and the arm may close. The camera can substitute for the first: the units support line-crossing recognition from a ground sensor coil, and a virtual loop drawn on the image triggers a capture just as well. It cannot substitute for the second, because a virtual loop exists only while the camera is running, and a camera that reboots mid-passage is a camera telling the controller the lane is clear.
That failure mode is worth stating plainly: tie the safety function to the camera and a firmware restart becomes a barrier arm descending on a vehicle. Keep the safety loop as a physical device wired to the controller and let the camera do the reading.
Two field behaviours follow from the loop layout. A vehicle that stops with its wheels on the arming loop holds the lane in a present state, and some controllers will not accept a second trigger until it releases; a presence timeout on the controller stops a parked car from locking the lane for the rest of the day. And tailgating is a loop problem as much as a recognition problem: if two vehicles cross on one trigger, the camera returns one plate and the second vehicle either follows through or waits, depending on where the safety loop sits relative to the arm.
The latency budget decides where the stop line goes
Every hop adds delay, and the sum decides whether the driver experiences a lane that opens as they arrive or one that makes them stop, wait and creep forward.
The camera side of the budget is short: a frame, an inference on the neural engine, a record. The part people forget is everything after it. A local relay closes in milliseconds. A decision taken on a platform over a cellular link adds a round trip that varies, and a variable delay is worse than a longer fixed one, because the driver cannot learn the rhythm of the lane. Then the controller drives the arm, and arm travel is a mechanical property of that barrier which you should time with a stopwatch rather than assume.
Two design rules come out of that. On a cellular site, keep the decision local: the allow-list lives on the camera or in the controller, and the platform receives records for logging rather than for gating. On any site, place the read point so the plate is inside the read window while the vehicle is still approaching rather than after it has stopped at the arm: the 5 to 40 metre window is wide, and using the far end of it buys the whole chain several seconds of head start.
At a barrier the vehicle is slowing anyway, so the budget is generous and the risk is the opposite one: triggering too early, while the plate is small and the vehicle is still turning into the lane, and then opening for a vehicle that has not arrived yet. The read point that works in practice is the one where a driver waiting at the arm can see the plate in the frame on a live view, which is also the point where the geometry is easiest to verify.
One vehicle, one open: duplicates and the wrong-lane problem
A lane that opens twice for one car is annoying. A lane that opens for the car in the next lane is a security event, and both come from the same two causes.
The first is a recognition zone that spans more than one lane. A zone drawn across two lanes returns reads from both, but the lane label attached to each record becomes a guess, and a barrier acting on that label opens for whichever vehicle the platform thinks it saw. Draw one zone per lane and map each zone to its own lane identifier. The 5MP high-speed units are specified for two lanes, so two zones is also the ceiling per unit.
The second cause is the absence of a duplicate window. A vehicle that stops, creeps forward and stops again crosses a virtual loop twice, and without suppression the camera produces two records and the lane two commands. A window of ten to thirty seconds, sized to the dwell time at the arm, removes almost all of it. The same window is what keeps a legitimate re-entry an hour later from being swallowed.
Direction belongs in the same conversation. The camera reports the plate, the vehicle colour and the plate type; it does not decide whether a vehicle is entering or leaving. That comes from which lane and which zone fired, which is why the lane mapping has to be right before anti-passback rules are switched on. A parking platform enforcing entry and exit against an inverted lane map will refuse every second movement, and the fault will look like a list problem rather than a mapping one.
One more point worth writing down for whoever inherits the lane: the record and the open are two different events, and an audit that shows both is worth more than one that shows either. If the platform stores the plate and the arm command with the same timestamp and the same lane, then the first question on any future complaint, which vehicle opened this lane, already has an answer.
Power loss, and which way the arm should fail
A barrier has to choose what to do without power, and the choice belongs to the site owner rather than to the installer. An arm that rises on power loss lets traffic out and lets traffic in. An arm that stays down keeps the site closed and can trap a vehicle under it if the loss happens mid-passage. Neither is universally correct, and the answer usually comes from the security requirement and the site insurance rather than from the hardware.
What the installer controls is how much of the chain keeps running. A camera on PoE inherits the switch supply, so if the switch sits on an uninterruptible supply the camera keeps reading through a short outage and the records survive it. A camera on its own 12 V supply does not, and after the outage the two devices may come back in a different order: a controller that latches its last command and a camera that takes a minute to boot can leave an arm up with nothing watching it.
Reconnection behaviour is worth testing rather than assuming. Pull power to the camera for two minutes, restore it, and check three things: that the barrier returns to its normal state, that the camera clock is correct, and that the allow-list is still there. A controller that loses its list on a brownout is a silent failure, because the lane looks healthy until the first vehicle that should have been allowed is refused.
Reads the plate but the arm stays down: six checks in order
Work in this order. Each check eliminates one hop, and the first one that fails is the fault. The sequence runs from the most basic and cheapest proof to the most specific, which is the reverse of what people usually do: starting at the list, and spending an afternoon editing it when it was never the problem.
| Step | Check | What it proves |
|---|---|---|
| 1 | Short the controller open input to common by hand | Proves the barrier and its safety loops work without the camera |
| 2 | Watch the camera IO channel status while a vehicle crosses | Proves the camera fired an output, separately from whether it recognised |
| 3 | Compare the plate in the record with the plate in the list | Proves the decision, and catches a list loaded to the wrong lane |
| 4 | Measure the pulse width against the controller requirement | Catches a closure too short for the controller to register |
| 5 | Check the common reference and the interposing relay, if used | Catches a wiring error that produces partial or inverted behaviour |
| 6 | Check the lane and zone mapping | Catches an open command sent to the wrong lane |
Fault isolation from the barrier back to the camera
What to settle before the pole goes up
Six decisions, all of them cheap at design time and expensive afterwards.
- Who decides. Camera list, controller list, or platform. Name it on the drawing.
- Which interface carries the command. Contact, serial or network, and the pulse width if it is a contact.
- Who owns the safety loop. A physical device wired to the controller, not a region on an image.
- Where the read point sits relative to the stop line, so the latency budget has room.
- What fails when power goes, and who resets the lane afterwards.
- How long the open audit is kept, and where, because it is the only evidence of what happened.
If a site has a barrier and no lane yet, the useful starting point is the geometry and the interface rather than the pixel count: a 4MP unit aimed properly at a 5 to 40 metre window, with two zones mapped to two lanes, will run a car park lane as well as anything else. The GT-LPR40M-50 is the model we usually start barrier and access-control lanes with, and the 4G model with a built-in NVR covers sites with no network back to a platform. For the settings side of the same lane, the configuration guide covers the duplicate window, zone drawing and clock; for the mechanical side, the installation guide covers height, angle and trigger choice. Readers comparing hardware for the same lane will find the range on the ALPR camera page, and if you would rather describe the lane and have the interface list checked, the contact form takes a site description.
Related pages
- ANPR camera configuration: the settings to set before go-live
- ANPR camera installation: height, angle and trigger setup
- ANPR camera types by shutter, form factor and power
- ALPR camera systems and model comparison
- GT-LPR40M-50, 4MP unit for access-control lanes
- GT-4G-LPR50M-150, 4G model with built-in NVR
Installation questions we get asked
Can the camera open a barrier directly, without a controller?
Only where the barrier has an input that accepts a dry contact and nothing else is deciding. In that case the camera list acts as the decision and the IO channel provides the pulse. Most sites already have a controller, and it normally expects to own the decision, so the camera supplies the plate or the pulse and the controller keeps its interlocks.
How long should the open pulse be?
Long enough for the controller to register it, short enough that it stays a pulse rather than a held contact. Start in the hundreds of milliseconds, confirm the minimum from the controller documentation, and verify the result at the arm rather than at the terminal. A contact that stays closed can leave a controller unable to re-arm.
Why does the lane open twice for one vehicle?
Two records from one pass, usually because a virtual loop is crossed more than once as the vehicle stops and creeps forward, or because the recognition zone covers two lanes. Set a duplicate suppression window in the region of ten to thirty seconds and draw one zone per lane, then confirm the count in the platform rather than at the arm.
Can a virtual loop replace the loop in the road?
For triggering a read, yes. For the safety function that stops the arm closing on a vehicle, no. A virtual loop exists only while the camera is running, so tying the safety function to it means a camera restart can report an empty lane. Keep the safety loop as a physical device wired to the barrier controller.
The camera reads plates but the arm stays down. Where should I start?
At the barrier, by shorting its open input to common by hand. If the arm rises, the barrier and its safety loops are healthy and the fault sits between the camera and the input. If it does not rise, nothing changed on the camera will help. That single test separates the two halves of the chain in under a minute.
Does a cellular site need a different design for the barrier?
Yes. A decision taken over a cellular link adds a variable round trip, and any outage stops the lane. Put the allow-list on the camera or in the barrier controller so the lane keeps working when the link drops, and let the platform receive records for logging. Confirm the buffer behaviour during an outage instead of assuming that records backfill.
Send us the lane and the barrier controller
Send us the lane and the barrier controller: how many lanes, whether vehicles stop at the arm or roll through, the distance from pole to plate plane, what the controller accepts on its open input, and whether the site has mains power and a fixed line. Where an interface or a capacity depends on the unit, we will state the actual value rather than a range.
Or email goingtech@sz-going.cn · +86 755 8395 5458