Installation, Commissioning and Maintenance, lesson 6 of 10
Power-up and programming
Every wire is landed and every device is on the wall. The next ten minutes decide whether the system comes to life or a controller dies with a small pop. This lesson gives you an order for switching on that finds mistakes one at a time, and an order for programming that does not have to be redone.
Switch on a cabinet
Pick a way of powering up, then play or step through. One lock cable has a hidden short.
The everyday picture
After a plumber finishes a new bathroom, nobody opens the main valve fully and walks away. The valve is cracked open a little. One tap is tried, then the next. Someone looks under each joint for a drip. If a joint leaks, it is the one that was just put under pressure, and the puddle is small.
Open everything at once and a leak is still found. It is found by the ceiling below, and it could be any of twenty joints.
Electricity behaves the same way, except that the leak is a short circuit and the flood is a burnt component. The method is identical: bring the system up in small stages, and look after each one.
Before any power
The cheapest faults to find are the ones found with the power off. Go round with your eyes and the meter from lesson 2.
- Look. Every wire in a terminal, no bare copper showing, no offcuts or loose strands lying on a board, no pinched cable in the cabinet door.
- Check the voltage settings. Many supplies have a switch or jumper for 12 or 24 volts. Many locks do too. A 12-volt device on a 24-volt output is destroyed in seconds. Read the labels on both ends and compare.
- Check polarity. Direct current has a positive and a negative side. Follow each power pair from the supply's plus and minus to the device's. Reversed power is a classic way to end a reader.
- Check for shorts. With every output disconnected at the supply, set the meter to ohms and measure across each field cable's power pair. A reading near zero means the two wires touch somewhere. A lock will show its coil, often a few tens of ohms. Compare it with what the data sheet's current figure implies.
- Start with every load disconnected. Pull the output fuses, or unplug the terminal blocks, and leave the battery leads off.
One more precaution concerns you. Electronic boards can be damaged by static from your body, which you may not even feel. Touch the grounded metal of the cabinet before handling a board, and hold boards by the edges.
Power-up in stages
| Stage | What you connect | What you check before going on |
|---|---|---|
| 1 | Mains to the power supply, nothing else | Output voltage matches the data sheet. The supply's own light shows normal. |
| 2 | The controller | It starts, its status light settles, the voltage has not moved |
| 3 | Readers, one cable at a time | Each reader lights and beeps on power-up. Voltage at the reader is within its range. |
| 4 | Lock outputs, one at a time | The fuse holds. The voltage barely dips. The lock is in the state you expect. |
| 5 | The battery, last | Then switch the mains off for a minute. Everything keeps running, and the trouble signal reports the mains failure. |
The point of stages is that each new fault has only one possible home. If the voltage collapses the moment you connect lock 3, the problem is on lock 3's output. You do not need to be clever. You only need to have changed one thing.
A note on the number you will read at stage 1. A supply that charges batteries often puts out a little more than its nominal voltage: a 12-volt unit may read between 13 and 14 volts, and a 24-volt unit about twice that. This is normal. The data sheet gives the exact figure. A reading well below nominal with nothing connected is not normal.
The battery goes on last because a battery is a power source with no off switch. Connected early, it would feed a short circuit with a very large current, and it would hide a dead mains supply by quietly running everything itself.
Check yourself
You connect the fourth lock output and the supply voltage drops from 24 to 9 volts. Where is the fault?
Put the steps in order
Six steps, shuffled
Click the step that should come next. A wrong choice tells you why.
Programming in a sensible order
Programming is telling the equipment what it is connected to and how it should behave. It is easy to start in the wrong place: adding people before the doors exist, or building schedules on a controller whose clock is wrong. Work from the bottom up.
- Update the firmware. Firmware is the software inside a device. Bring every controller, reader and camera to the version approved for the job before you configure anything. Updating later can reset settings, and mixed versions cause faults that are hard to pin down.
- Change the default passwords. Every device leaves the factory with a password that is printed in its manual. Replace it now, record the new one in the place agreed with the customer, and never leave a default in service. Lesson 8 covers where those records go.
- Set the network address and the clock. Use the addresses the IT department gave you. Set the time zone and point the device at a time source. Every event the system records is only as useful as its timestamp.
- Name everything as the drawings do. "Door 14, Stockroom" in the software, on the label and on the plan. Default names such as "Reader 3" are useless at two in the morning.
- Configure each door or device. For a door: which reader, which lock output, which inputs, and the timings in the table below.
- Build schedules and access levels, as "Access levels, schedules and holidays" in Access Control described.
- Add a few test people first. Prove the doors with your test cards before importing hundreds of real names.
- Save a backup of the configuration somewhere other than the device itself, and note the date.
| Door setting | What it means | Common starting point | If it is wrong |
|---|---|---|---|
| Unlock time | How long the lock stays released after a valid card | About 5 seconds | Too short and people cannot get through. Too long and a second person follows. |
| Extended unlock time | A longer time for people flagged as needing it | Two or three times the normal time | A person using a wheelchair cannot reach the door before it relocks |
| Held-open time | How long the door may stay open before an alarm | About 30 seconds | Too short floods the operator with alarms, which are then ignored |
| Lock output mode | Whether the relay gives or removes power to unlock | Set by the lock type | The door behaves backwards: locked when it should be open |
| Input type | Whether a switch is closed or open when at rest, and whether it has resistors | Set by the wiring | A permanent alarm, or an input that never reports |
These starting points are habits of the trade, not rules. A heavy gate, a long corridor or a busy lobby each need their own figures. Set them, then stand at the door and watch real people use it.
Program one door completely and test it before copying its settings to the rest. A mistake found on door 1 is one fix. The same mistake copied to forty doors is forty.
Three examples
Simple: a single door
A one-door controller is fed by Power over Ethernet. The technician checks the lock's voltage setting against the controller's lock output, then plugs in the network cable with the lock unplugged. The controller starts. The reader lights. Only then is the lock connected. The whole sequence takes three minutes, and at each step there was one new thing to watch.
Medium: the reader that never lit
On an eight-door cabinet, readers are connected one at a time. The fifth stays dark. Because the first four work, the supply and the controller are cleared at once. The meter shows 12 volts at the controller's terminals and minus 12 at the reader: the red and black wires were swapped at a junction in the ceiling.
This reader survived, because its maker protected it against reversed power. Not all do. Had all eight been connected and powered together, one dark reader among other first-day problems might have been written off as faulty and replaced, with the swapped joint still waiting above the ceiling for the new one.
Advanced: programming that had to be done twice
A technician programs sixty doors over two days, then updates the controllers' firmware as the last task before handover. The update changes how one setting is stored, and every door's held-open time returns to the factory value. Nobody notices until the first night, when sixty doors that used to tolerate a slow walker each raise an alarm.
Two habits would have prevented it. Firmware first, configuration second. And a saved backup after programming, compared against the system after any update. The second habit also turns a failed controller from a day of retyping into a ten-minute restore.
From the field
- Keep one hand on the fuse or switch for the first few seconds after connecting anything, and watch the meter, not the device.
- Use your nose. Hot electronics have a smell. If you notice it, power off first and investigate second.
- Replace a blown fuse once. If the second one blows, stop. Never fit a bigger fuse to make a problem go away.
- Write the measured voltage on the commissioning sheet at each stage. Those figures are the baseline for every later service visit.
- Tell the people on site before you energize locks. A door that suddenly locks, or suddenly releases, surprises whoever is next to it.
Common mistakes
- Connecting everything, then switching on and hoping.
- Connecting the battery first.
- Leaving a supply set to 24 volts for 12-volt devices.
- Programming before updating firmware.
- Leaving default passwords "until the end".
- Skipping the clock and time zone.
- Copying an untested door's settings to every door.
- Finishing without a backup.
Summary
- Find what you can with the power off: look, check voltage settings and polarity, measure for shorts.
- Power up in stages: supply alone, controller, readers, locks one at a time, battery last.
- Change one thing, then look. A new fault then has one possible home.
- Program from the bottom up: firmware, passwords, network and clock, names, doors, schedules, people.
- Prove one door fully before copying it, and save a backup at the end.
Exercises
Answer each one yourself first, then open the answer.
Exercise 1. Why is the battery connected after the mains supply has been checked, and not before?
Show answer
Exercise 2. With all outputs disconnected, you measure 0.3 ohms across the power pair of the cable to Door 7's lock. What does that tell you, and what do you do?
Show answer
Exercise 3. Put these in order: add cardholders, set the clock, update firmware, configure doors.
Show answer
Exercise 4 (think, don't memorize). A colleague says staged power-up is a waste of time: "If something is wrong, the fuse blows. That is what fuses are for." How do you answer?