Back to the glossary
Glossary ยท Access Control

REX sensor: how a request to exit sensor works

A motion sensor, lever switch or push button on the inside of a controlled door. It tells the controller the door opened for someone leaving, so no alarm is raised; on a magnetic lock it also cuts power.

On a door with an electric strike and a lever, the REX unlocks nothing: the lever lets people out by hand, and the REX only keeps the controller from logging a forced door. On a magnetic lock it is part of the way out, which is why a push button goes beside it.

By Seneca SecurityUpdated November 8, 20269 min read

Definitions checked against the standards listed at the end.

What a REX sensor does at a controlled door

A controlled door has a door contact in its frame that tells the controller whenever the door is open, and each opening needs a reason. A valid card a moment earlier means someone came in. A signal from the request to exit device means someone is leaving. With neither, the controller records a forced door and raises an alarm. That is the first job of every REX sensor: it turns an opening the controller cannot explain into a logged exit.

The second job depends on the lock. An electric strike in the frame holds the latch, and the inside lever pulls that latch back by hand, powered or not, so on that door the REX only reports. A magnetic lock has no latch: an electromagnet on the header holds a steel plate on the door until its power is cut. On that door the REX switches the lock power off as the person walks up, backed by a second way out.

Fig 1What the REX does when someone leaves
The lock
The REX
Step

Swipe the drawing sideways to see both views.

SIDE VIEW PLAN, FROM ABOVE OUTSIDE INSIDE, SECURE SIDE CEILING 9 FT PATTERN ON THE FLOOR LEVER MAGNETIC LOCK REX SENSOR, 8 FT OUTSIDE INSIDE REX PATTERN MAGNETIC LOCK ON HEADER STRIKE IN FRAME READER PUSH TO EXIT CONTROLLER LOCK POWER
Step 1 of 4: Walks up

Someone inside walks toward the door to leave. The strike is locked against the outside, and nothing at the door needs power to stay that way.

Controller log for door 3A
No events yet
An example suite door, drawn at about 30 px to the foot, with the door swinging out in the direction people leave. The strike is fail-secure, the common choice, so it stays locked from outside without power. The release times are example settings; each door gets its own in the controller. Wires are drawn straight for clarity.

The exit request opens a short window: the controller holds off the forced door alarm long enough for the door to open, and still alarms if the door stays open past its held-open time. As typical controller settings, not requirements, a few seconds of release and about 30 seconds before a held-open alarm are common starting points, and each door gets its own. Our guide to securing every entry point of a commercial building shows how those door states fit together across a whole building.

REX PIR sensors: how a request to exit motion sensor sees you

Most REX devices over office doors are passive infrared sensors, which is what a REX PIR or PIR REX means. A PIR sensor sends out no beam. Behind its lens is an element that reads infrared energy, the heat every person gives off, through a set of narrow zones. When something warmer or cooler than the background moves from one zone into the next, the reading changes and the sensor closes its relay.

A request to exit motion sensor differs from an alarm motion detector in its pattern and outputs. Its lens watches a small area in front of one door: makers' data sheets show patterns up to about 8 by 10 ft from mounting heights of 7 to 15 ft. It usually has two relays with a latch time from half a second to about a minute, so one can report the exit while the other cuts the power of a magnetic lock. Many add a door contact input, a pattern that tilts about 14 degrees either way, and snap-in masks.

Where the pattern lands decides whether the sensor works. Too close to the door and it sees movement at the door itself; too far out and it fires for everyone who walks past. Try both, then raise the sensor and watch the range of good aim shrink.

Fig 2Aim the REX pattern: what it sees and what it should ignore
Mounted at
Try
4 degrees

Swipe the drawing sideways to see the whole room.

OUTSIDE INSIDE, SECURE SIDE 02 FT468101214161820 7 FT8 FT10 FT12 FT OBJECT AT THEDOOR GAP LEAVING WALKING PAST REX SENSOR
Someone at the door to leaveSeen
Someone walking past, 6 ft insideIgnored
An object at the door gap, from outsideFalse trigger

Wrong aim: the pattern reaches the door itself, so movement at the gap from outside can trigger it.

Near edge: 4 minus 12 degrees points back at the wall, so the pattern reaches the door face. Far edge: 0.25 ft + 8 ft x tan(4 plus 12 degrees) = 2.5 ft. Right aim at 8 ft: about 11 to 24 degrees.

Three kinds of REX device, and what each one detects
PIR motion sensorDetects a warm body moving in its pattern. Hands free, but only as good as its aim.
Push buttonDetects a deliberate press. On a magnetic lock it cuts the lock power directly.
Switch in the lever or exit barDetects the handle or bar actually being used, so it almost never fires by mistake.
A simplified model: the pattern is drawn as a wedge 24 degrees deep, the sensor 3 in off the wall, a person 5 ft 6 in tall standing 1.5 ft from the door, a walker passing 6 ft out. Real patterns are shaped by the lens and its masks, so the final aim is set on site with the maker's walk test.

On a real door the aim is set with the maker's walk test: the sensor's light should come on as a person reaches for the door, and stay off as people pass and while someone moves just outside the closed door. Where heavy traffic passes beside a door, masking the sensor or using a lever switch often works better than aiming.

Types of REX devices

A REX device is anything on the inside of a controlled door that tells the controller someone is leaving. Three kinds are common.

  • PIR motion sensor. Above the door or on the ceiling in front of it. Hands free and easy to retrofit, but it acts on movement, not intent, so it needs a careful aim.
  • Push button. A button on the wall beside the door, often marked PUSH TO EXIT, often with a timer that holds the release. On a magnetic lock it cuts the lock power directly, so it works even when the controller does not.
  • Switch in the lever or exit device. An electrified mortise lock or panic bar can carry a switch that closes when the lever turns or the bar is pushed. It fires only when someone actually operates the door, so it almost never triggers by mistake. It needs that hardware and a wire path into the door, usually a power transfer hinge.

A door with a magnetic lock usually gets a motion sensor and a push button: two separate ways to release it.

REX on an electric strike vs a magnetic lock

On an electric strike with a lever, the REX has nothing to unlock: a fail-secure strike, the usual kind, stays locked against the outside without power, and people inside still leave by the lever. The REX is there for the log. Our page on the electric strike vs magnetic lock shows what each lock does when power fails or the fire alarm sounds.

On a magnetic lock, the REX is part of the way out. A magnetic lock needs a free way out from inside at all times. In practice that means three things: the REX cuts the lock power through its own relay as someone walks up, a push button beside the door cuts it too, and the fire alarm releases the lock where the building's requirements call for it. A REX wired only into the controller is not enough on a magnetic lock, because a controller that is offline would then hold the door shut.

On most egress doors with a magnetic lock, that means a sensor on the inside and a manual release beside the door, marked for exit, that cuts the lock power directly, without the controller. Some doors work the other way: a switch in the lever or panic bar cuts the power when the door is used. Which devices a given door needs, and how they tie to the fire alarm, depends on the building and its requirements; we check what applies on the site visit and say so before work is scheduled. This is general information, not legal advice. We pick the lock for each door around its use and the building's fire and life safety requirements.

Where REX sensors are used in NYC and NJ buildings

  • Suite entries off an elevator lobby. Often a glass door in an aluminum frame with a magnetic lock on the header, a motion sensor above the door inside and a push button on the wall beside it.
  • Office corridor and back of house doors. Usually a strike and a lever. The REX, a motion sensor or a switch in the lever, keeps the log clean.
  • Residential lobby doors. An intercom or reader releases a strike, and where the door has a contact, a REX keeps residents leaving from showing up as forced doors.
  • Double doors. Without a center post, the gap between the leaves sits right in the pattern of a sensor mounted over the middle, so the sensor is offset or moved to the ceiling, or each leaf gets a switch in its exit device.
  • Older buildings. A transom or low ceiling can leave no room above the frame, so the sensor goes on the ceiling. Radiators near the door are kept out of the pattern, because a PIR reads moving heat.

Exit-only doors, such as many stair exits, usually get a contact and an alarm, not a reader and a REX. Our guide to commercial access control installation walks through every part of a controlled door, and our access control installation page covers the buildings we work in.

What to ask for when a REX is installed

  1. Which REX device goes on each door, and why that one?
  2. On each magnetic lock, does the REX cut the lock power directly, and where is the push button?
  3. What release time and held-open time will each door use?
  4. Does the sensor restart its timer while someone keeps moving in the pattern, and is that right for this door?
  5. Does every controlled door have a door contact, so the REX has an alarm to hold off?
  6. Was each sensor walk-tested from inside and from outside, and are the settings written into the handover?
  7. What does each door do when power is lost, and how long does the lock power supply battery carry it?

Common REX mistakes

  • A pattern that reaches the door. The sensor can then react to movement at the door from the outside. On a magnetic lock that unlocks the door.
  • A pattern that reaches the corridor. People walking past release the lock or hold off the alarm, and the log fills with exits nobody made.
  • A long, restarting timer near a waiting area. Anyone moving near the door keeps a magnetic lock released for as long as they stay.
  • A magnetic lock released only through the controller. The sensor and the button should cut the lock power themselves.
  • No door contact. Without one, the REX has nothing to hold off, and the controller cannot report a forced or propped door.
  • A sensor over heat. A radiator, heater or supply vent in the pattern can fire a PIR with nobody there.

If a door will not release, or alarms every time someone leaves, our access control repair for doors that will not unlock covers the usual faults.

REX sensor FAQ

What does REX stand for in access control?

REX stands for request to exit. A REX device is anything on the inside of a controlled door that tells the controller someone is leaving: a PIR motion sensor, a push button, or a switch in the lever or panic bar. The controller then logs the next opening as an exit instead of a forced door.

What is a REX PIR sensor?

It is a passive infrared motion sensor made for request to exit. It mounts above the door or on the ceiling on the inside, watches a small pattern in front of the door and closes its relays when a person moves into it. Typical models mount 7 to 15 ft up and hold their relays from half a second to about a minute.

Does a REX sensor unlock the door?

On a magnetic lock, yes: its relay cuts the lock power, and a push button beside the door is a second way to do the same. On an electric strike with a lever, no: the lever opens the door by hand, and the REX only tells the controller that the opening is an exit.

Why does my door alarm say door forced when people leave?

The controller saw the door open with no card and no exit request. Usually the REX pattern starts too far from the door, so people reach the lever first, or its relay time ends before the door opens, or it is not wired to the controller. A walk test with the event log open shows which.

What is the role of a REX sensor in a secure vestibule?

In a vestibule with two controlled doors, the REX inside each door tells the controller that an opening is someone leaving, so it is logged as an exit, not a forced door. Where the doors are interlocked so only one opens at a time, the exit request is one of the signals the interlock acts on. How people get out in an emergency is set by the building's requirements before the vestibule is built.

The REX is one of four parts at every controlled door: the credential and reader outside, the lock in the frame or on the header, and the controller that decides.

Access Control

Electric Strike vs Magnetic Lock

A strike in the frame frees the latch of the door when powered; a magnetic lock on the header holds the door until its power is cut. A magnetic lock needs a free way out from inside at all times.

Full definition of Electric Strike vs Magnetic Lock
Access Control

Access Control

A system that decides who may open which door, and when. A credential is shown to a reader, a controller checks it against the rules, releases an electric lock for a few seconds and logs the event.

Full definition of Access Control
Access Control

Keypad vs Key Card vs Fob

Three ways to present a credential at a door. A PIN can be learned by anyone watching. Cards and fobs are the same chip in two shapes: 125 kHz prox can be copied, encrypted 13.56 MHz smart credentials resist it.

Full definition of Keypad vs Key Card vs Fob

Sources and standards

  • UL 294Access control system units: the safety and performance standard for access control equipment, including electric locks and their release devices.
  • Request to exit PIR sensor data sheets and installation guidesSeveral makers: mounting heights of 7 to 15 ft, patterns up to about 8 by 10 ft, relay latch times from 0.5 to 64 seconds, two Form C relays rated 2 A at 30 V, pattern adjustment of about 14 degrees either way, masking kits, and the warning about double doors without a center post.
  • Geometry of Figure 2Pattern edges on the floor = mounting height x tan(aim minus half the pattern depth) and mounting height x tan(aim plus half the pattern depth), with a pattern 24 degrees deep. A point is inside the pattern when its angle from straight down, seen from the sensor, is within 12 degrees of the aim.

Have a building to plan?

We walk the building, then send a written scope. Same-day quotes when we can. Licensed and insured.

Back to the glossary