Magnetic lock systems are fairly simple to set up. This guide will take you through the basics of connecting the components together. It will give you a general idea of how the wiring should be completed, while leaving out details such as mounting the components to a door or wall. The purpose of the guide is to give the reader an understanding of how everything should be connected together, so the reader will know what to connect after mounting the lock components in the correct locations.
In order to complete a magnetic lock system installation, the following parts are needed:
Image |
Part |
Description |
![]() |
Magnetic Lock |
Includes electromagnetic locking mechanism and metal bar held in place by the electromagnet |
![]() |
Lock Power Supply |
Adapter that supplies power to the magnetic lock |
![]() |
Access Control Panel |
Includes numeric keypad and also acts as keycard sensor |
![]() |
Panel Power Supply |
Adapter that supplies power to the access control panel |
![]() |
Lock, Power, and Access Panel Interconnector |
Interconnector with 6-Pin plug, power supply sockets, and wires (Usually included with access control panel) |
![]() |
Keycards |
Cards used to open door from the outside to enter room |
![]() |
Exit Switch |
Switch used to open door from the inside to exit room |
![]() |
Wires |
Wires used to connect various electrical components |
In addition, you will also need the following tools to complete the installation:
Image |
Part |
Description |
![]() |
Flat-head Screwdriver |
Flat-head screwdriver for connecting components |
![]() |
Phillips-head Screwdriver |
Phillips-head screwdriver for connecting components |
Click Here to view a copy of the access control panel manual that we will use in this setup guide.
Click Here to view a copy of the manual for a different access control panel.
| Step 1: Examine Connectors. Examine the connector and the sockets for the access control panel. Note the 6-pin connections. Note that the manual that comes with the interconnector (usually the access control panel manual) specifics what wires are supposed to be connected to. Figure 3 is from page 12 of the manual in this example, under section B - fail safe lock type. | ||
![]() |
![]() |
|
| Figure 1: The access control panel connector has 5-pin and 6-pin sockets. | Figure 2: The interconnector has a 6-pin plug and two power supply sockets. | Figure 3: Diagram from the manual that shows where to connect wires. Larger diagram |
| Step 2: Join The 6-Pin Connectors. The 6-pin plug should be inserted into the 6-pin socket on the access control panel connector. | ||
![]() |
![]() |
|
| Figure 4: The 6-pin plug should be inserted into the 6-pin socket. | Figure 5: The 6-pins are now connected. | |
| Step 3: Remove Access Panel on Magnetic Lock. Unscrew the screw on the access panel on the magnetic lock. The inside of the panel shows a diagram detailing what the various terminal block connectors correspond to. | ||
![]() |
![]() |
|
| Figure 6: Unscrew the access panel on the magnetic lock using the Phillips-head screwdriver. | Figure 7: The inside of the access panel includes a diagram with labels. | |
| Step 4: Insert Interconnector Wires into Magnetic Lock. Refer to the interconnector manual (usually same manual as access control panel, since they are often packaged together) and note which wires should be connected to magnetic lock. For this walkthrough guide, the information is contained in the manual on page 12, section B (and it can also be seen in figure 3). Note that the manual often labels colored wires leaving the 6-pin plug. In this example, the manual labeled the blue wire leaving the 6-pin connector as the negative connector to the magnetic lock. The wire we actually use for the connection is the green one that extends past that blue wire and the power supply socket, as seen in figure 8. | ||
![]() |
![]() |
![]() |
| Figure 8 : After consulting the manual, note which wires will connect to the magnetic lock. | Figure 9: Note the hole on the side of the magnetic lock for wires to pass through. | Figure 10: Insert the wires into the hole in the side of the magnetic lock. |
| Step 5: Connect Wires To Terminal Blocks. Unscrew the screws on the terminal blocks that are labeled '+' and '-'. Then insert the wires from the interconnector into the terminal blocks. Be sure that the wires that you are inserting correspond to the terminal blocks (i.e. positive to positive, negative to negative). Then screw the terminal block screws back in place so that they firmly lock the wires into place. | ||
![]() |
![]() |
![]() |
| Figure 11: Loosen the screws on the terminal blocks corresponding to '+' and '-'. | Figure 12: Insert the '+' and '-' wires from the interconnector into their respective terminal blocks. | Figure 13: Tighten the terminal block screws so that the wires are locked into place. |
| Step 6: Connect Exit Block To Wire Pair. Loosen the screw mounts on the exit switch. Then insert a wire into each screw mount opening. Tighten the screw mounts so that the two wires are firmly held in place by the screws. | ||
![]() |
![]() |
![]() |
| Figure 14: Loosen the screw mounts. | Figure 15: Insert a wire into each screw mount opening. | Figure 16: Tighten the screw mounts to hold wires in place. |
| Step 7: Connect Wire Pair to Interconnecter. Examine the user manual and verify which wires should be connected to the exit switch. The information can be found on page 3 of this setup guide, and on page 12 of the manual under section B. Then connect a pair of wires at those locations. In this case, the wire connects to the brown wire corresponding to the negative connector from one of the power sockets. The other wire connects to the green wire coming out of the interconnector. | ||
![]() |
![]() |
![]() |
| Figure 17: Attach one wire to the '-' wire on the correct power socket. | Figure 18: Attach second wire to the correct location (in this case, green wire from interconnector) | Figure 19: Both ends of each of the wires should be connected to the correct locations now. |
| Step 8: Connect the Power. Plug a power adapter into each of the power sockets. Be sure to consult the manual to ensure that the power adapters that you are using are compatible with the magnetic lock and access control panel that you are using. | ||
![]() |
![]() |
|
| Figure 20: Plug power adapter plugs into the sockets | Figure 21: Adapter plugs are connected to power sockets. | |
| Step 9: Magnetic Lock is Enabled. The metal bar portion of the magnetic lock should be placed adjacent to the electromagnetic section. Then, plug each power adapter into an electrical outlet or surge protector. The magnetic lock should now be powered on, and the metal bar should be locked into place. | ||
![]() |
![]() |
|
| Figure 22: Place metal bar next to electromagnetic locking mechanism. | Figure 23: After power adapters are plugged in, metal bar should be firmly locked into place. | |
| Step 10: Add Keycard Access. Before keycards can be used to open the lock, they must be added into the system. Consult your access control panel manual to see how you should add keycard access. In this example, you first push the following on the keypad: ' *#4567# '. Then you press '1' to enter the mode to add access, or press '2' to enter the mode to remove access. Once you select either '1' or '2', you then place keycards next to the keypad sensor to perform the appropriate action. Keycards should be placed near the sensor one at a time. If the panel beeps once, the operation has been completed successfully. If it beeps multiple times, then the action has already been completed (i.e. access has already been granted to a keycard you are trying to give access to). Once you have added (or removed) all the cards that you wanted to, press '*' to exit out back to the normal mode of operation. The documentation for setup can be viewed on pages 4-10 of the manual for this example. | ||
![]() |
![]() |
![]() |
| Figure 24: The keycards need to be added to the system before they can open the lock. | Figure 25: Enter ' *#4567# ' on the keypad, followed by '1' (add access) or '2' (remove access). | Figure 26: Place card close to keypad to add to system. Press '*' to exit to normal mode. |
| Step 11: Test Opening Methods. Press the exit switch button in order to test that it has been wired correctly. If the wires have been correctly wired, then the magnetic lock should unlock for a brief period. Use a keycard added to the system by placing it next to the keypad sensor of the access control panel while the panel is normal operating mode (i.e. not in add or remove mode). If the keycard was correctly added to the system earlier, then the keypad should beep and the LED should flash green. The magnetic lock will also be unlocked for a brief period of time. | ||
![]() |
![]() |
|
| Figure 27: Press the exit switch button and confirm that the magnetic lock briefly deactivates. | Figure 28: Place an activated keycard next to the sensor to see if the lock briefly deactivates. | |
| Step 12: Lock Should Open. After using either of the methods mentioned in Step 11 (exit switch or keycard) to open the lock, verify that the metal bar can be moved away from the electromagnetic lock. The lock will be disabled for a brief period, and then reactivate. Be careful not to place anything fragile or important between the metal bar and electromagnetic locking mechanism; when the lock reactivates, anything in between the two parts can be crushed or damaged. | ||
![]() |
![]() |
|
| Figure 29: The locking mechanism should be briefly disabled after using the exit switch or keycard. | Figure 30: It should be possible to pull away the metal bar during the time that the lock is disabled. | |
Magnetic locks are a useful means of limiting access to certain locations. In this guide we showed what components and tools were needed, as well as what parts and wires to connect together. The method to add or remove keycard access was also covered in this guide. While this guide applies to many magnetic lock systems, you should consult the user's manual that comes with the components of your magnetic lock system to ensure the correct way to connect everything together. You should also make sure that the parts of your magnetic lock system are compatible before connecting them together (i.e. whether the power adapters are supplying the same voltage and current type that the magnetic lock and keypad require.
PI Manufacturing carries a wide variety of magnetic lock components, including locking components, access control panels, exit switches, and keycards. Let PI Manufacturing help you with your security needs.