Programmable Relays Solve Complex Applications

By: John Grocke, Published on Aug 05, 2013

Many times integrators are presented with complex applications, such as machine interface, mantraps, lighting control, or complex timing scenarios, that cannot be easily accomplished with standard access control functions or IP camera inputs and outputs. Often these problems are solved with great difficulty, using a box full of "ice cube" relays, timers and counters with a nest of wiring or an expensive and complex programmable logic controller (PLC). A simpler and more economical solution is to use a programmable relay, as pictured below:

What is a programmable relay?

A programmable relay is an economical, compact, expandable intelligent logic CPU that can replace many relays, timers and counters and is well-suited for small automation projects. Most programmable relay main CPU modules include:

  • 8 inputs and 4 relay outputs
  • Programming keys
  • Built-in DIN-rail mount
  • Port for USB or RS-232 cable and additional memory module.
  • An optional LCD display for displaying status and programming.
  • Connection port for additional I/O modules for increased capacity.  

Examples of commonly available commercial off-the-shelf programmable relays are IDEC's SmartRelay, Siemens' LOGO! and Omron's Zen. Programmable relay starter kits including a CPU/base relay unit with LCD screen, programming software and USB cable can be purchased online for about $200, making them a cost-effective solution for complex problems. These programmable relays are quite compact and will fit inside most control cabinets or larger junction boxes, as shown below:

Programming Software

The relay's CPU can be programmed through control keys on the CPU (which can be cumbersome) or by an included Windows software package and RS-232 or USB cable. The programming software requires only a basic knowledge of electronic logic with no special programming skills necessary. The user simply drags logical blocks or functions into a ladder diagram or a free-from style layout and links the blocks as if making a physical connection. Once the design is complete, a simulation mode allows testing and modifying the program's functionality on-screen before downloading it to the relay's CPU. Trial versions of the programming software are available online from IDEC and Siemens, for experimentation before purchasing. (Note: They do not support Windows 8 yet) 

Applications Demonstrated

Using IDEC's WindLGC programming software, here are a few examples of complex applications that were accomplished by using an economical programmable relay.

The first example is a simple 3-door Mantrap controller:

Here's a slightly more complicated design for interlocking cameras with directional tripwire analytics for verifying that two cameras detect motion within a given time before generating an alarm.

Here's another design to incorporate a traffic light at a one-way intersection at the entrance to a parking garage.

Recommendations & Limitations

Keep in mind:

  • Relays come in different AC and DC voltages, be sure to order the proper voltage for your application. We recommend using 12VDC or 24VDC models. 
  • The inputs of the programmable relay are voltage sensitive, no voltage detected is "off" and higher than certain voltage detected is "on".  A power supply will be required to power the relay and to provide the voltage to switch through the camera's onboard output or access control system relay. Verify that the output relay in the camera or access control panel is rated for the required "on" voltage.
  • Some IP cameras do not have relay contacts, only 5V outputs. 5V is not enough to generate an "on" condition for a 12VDC programmable relay, a 5VDC to 12VDC converter is necessary in this case or a 5V relay board will work.
  • Only a limited number of I/O expansion modules can be connected to the main relay CPU, maxing out at about 24 inputs and 20 outputs, depending on the manufacturer.
  • IDEC and Siemens programming software programs do not support Windows 8 yet. It will need to be run on a Windows 7 machine or with a Win7 emulator. We contacted IDEC's product manager to inquire but have not received a response.
Comments (15) : Members only. Login. or Join.

Related Reports

Door Operators Access Control Tutorial on Apr 17, 2019
Doors equipped with door operators, specialty devices that automate opening and closing, tend to be quite complex. The mechanisms needed to...
Selecting Access Control Readers Tutorial on Nov 09, 2017
Given the variety of types available, specifying access control readers can be a daunting process. However, focusing on a few key elements will...
Cybersecurity for IP Video Surveillance Guide on May 18, 2018
Keeping surveillance networks secure can be a daunting task, but there are several methods that can greatly reduce risk, especially when used in...
IP Camera Cable Termination Guide on Sep 06, 2018
Terminating cables properly is critical to network performance, but it can be a tricky task with multiple steps. Fortunately, this task is easy to...
Video Analytics Integration Guide on Aug 16, 2018
Video analytics is hot again (at least conceptually) but integrating video analytics with VMSes can be challenging. This is especially significant...
VMS Server Sizing on May 25, 2018
Specifying the right sized PC/server for VMS software is one of the most important yet difficult decisions in IP video surveillance. In the past...
Cable Firestopping Installation Guide on Mar 06, 2019
Installing cables through firewalls is a critical installation issue. Failing to properly seal a penetration can cause smoke and fire to spread,...
Remote Network Access for Video Surveillance Guide on Feb 21, 2018
Remotely accessing surveillance systems is key in 2020, with more and more users relying on mobile apps as their main way of operating the system....
Assa Aperio Wireless Access Reader R100 Tested on Aug 23, 2018
Wireless access control is frequently promoted by manufacturers as a way to cut installation costs. Perhaps the biggest proponent of this is mega...
Access Controller Software Guide on Dec 11, 2017
Properly configuring access controllers software is key to a professional access system. These devices have fundamental settings that must be...

Most Recent Industry Reports

Startup Duranc Presents AI VSaaS on Jul 06, 2020
Duranc presented its system at the May 2020 IPVM Startups show. A 30-minute video from Duranc including IPVM Q&A Background on the...
Low Voltage Nation Wants to "Help You Carve Out A Fulfilling Career" Interviewed on Jul 06, 2020
It is difficult to make your way in this industry as there is little formal schooling. However, one person, Blake Urmos, the Founder of Low Voltage...
The Next Hot Fever Detection Trend - $100 Wall-Mounted Units on Jul 06, 2020
The first wave of the booming fever detecting market was $10,000+ cameras, now interest for ~$2,000 tablets is high and the next big thing may be...
Cisco Meraki Unlocks IP Cameras With RTSP Tested on Jul 06, 2020
Meraki opened up its cameras to 3rd party NVRs/VMSes by offering RTSP streaming because of "the need to solve a business problem". We tested...
Verkada: "IPVM Should Never Be Your Source of News" on Jul 02, 2020
Verkada was unhappy with IPVM's recent coverage declaring that reading IPVM is 'not a good look' and that 'IPVM should never be your source of...
Vintra Presents FulcrumAI Face Recognition on Jul 02, 2020
Vintra presented its FulcrumAI face recognition and mask detection offering at the May 2020 IPVM Startups show. Inside this report: A...
Uniview Wrist Temperature Reader Tested on Jul 02, 2020
Uniview is promoting measuring wrist temperatures whereas most others are just offering forehead or inner canthus measurements. But how well does...
Dahua USA Admits Thermal Solutions "Qualify As Medical Devices" on Jul 02, 2020
Dahua USA has issued a press release admitting a controversial point in the industry but an obvious one to the US FDA, that the thermal temperature...
Access Control Online Show - July 2020 - With 40+ Manufacturers - Register Now on Jul 01, 2020
IPVM is excited to announce our July 2020 Access Control Show. With 40+ companies presenting across 4 days, this is a unique opportunity to hear...