RMS-200v2 has 3 power relays for remote control of AC/DC powered equipment.


RMS-200v2 relays

RMS-200v2 has three power relays for remote control of AC/DC powered equipment. When used in conjunction with the on board voltmeters, a voltage monitoring relay can be created. Each power relay gives you direct hardware control of fans, lights, computers, cameras, modems, radios, etc. No more long drives to reset a fussy piece of equipment. The power relays can be used to start or stop a generator.

Each relay has a manual override button that can toggle the relay; useful for on-site testing. Each relay also has a jumper shunt connector that allows the relay to be engaged manually for hands free testing.

Control of each relay can be done with a web browser. The picture below shows a portion of the RMS-200v2 relays web interface. In the picture below all relays are in the default "Normally Closed" position. By clicking on the relay 1 icon....


RMS-200v2 Web relays


The relay will be toggled to the "Normally Open" position as shown below.


RMS-200v2-Web relay energized


The relays can also be toggled with RMS-200v2 relay Scripts. Relay scripts are made up of simple commands that control the relays. Complex relay actions can be performed to control your AC/DC powered equipment. When used in conjunction with the on board voltmeters, a powerful voltage monitoring relay can be created.


Below is a screen shot of making a relay script to toggle relay 1 on, wait 2 seconds, then toggle relay 1 off again.


Relay script


Each relay can have a name and its actions defined. Below is a screenshot of a relay script that turns a pump on for 30 minutes and then turns it off again.

Relay names


Control of the RMS-200v2 relays can also be done by using the serial console or ssh. Below is an example of using the rmsrelay command to toggle relay 1 on and off.


Relays on the command line


Below is an example of reading the status of Relay 1 on the command line with the cat command. Note the relay1, relay2, and relay3 file will contain a "1" when the relay is in the "Normally Closed" position, and will contain a "0" when in the "Normally Open" position.


Read relay


An example of running a relay script on the command line using the rmsscript program. The example below runs relay Script 1.


Execute relay script on the command line


PHP programmers may want to write their own programs to control the relays. Below are two example PHP functions that use the PHP system command to turn relay 1 on and off.




  <?php

  # EtherTek Circuits 2001 - 2022

  #***********************
  #* Relay 1 ON Function        *
  #***********************
  function relay1on()
  {
  system("/bin/rmsrelay 1 on");
  }
  
  
  #************************
  #* Relay 1 OFF Function         *
  #************************
  function relay1off()
  {
  system("/bin/rmsrelay 1 off");
  }
  
  ?>
  


Need more Relays? Add our USB Relay Add-on Board.


USB Relay Board



Our Story

EtherTek Circuits started its business in 2001. Ever since we have provided remote monitoring and control solutions for Remote Tower Sites, the Oil & Gas industry, Telemetry systems for Agriculture, Municipalities, Mines, Solar Farms, Hydro Plants, and the Military.

Our Contacts

19131 33rd Avenue,
Surrey, B.C. V3Z-1A1 CANADA

+1 (604) 576-8333