Remote Monitoring Systems by Ethertek Circuits facebook twitter linkedin youtube



RMS-100 has 2 power relays for remote control of AC/DC powered equipment.


RMS-100 relays

RMS-100 has two power relays for remote control of AC/DC powered equipment. 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-100 relays web interface. In the picture below all relays are in the default "Normally Closed" position. By clicking on the relay 1 icon....

Web relays


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

Web relay 2


The relays can also be toggled with RMS-100 relay Scripts. Relay scripts are made up of simple commands that control the relays. Complex relay actions can be performed to control your equipment. For example; starting a generator.

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-100 relays can also be done by using telnet or ssh. Below is an example of using the rmsrelay command to toggle relay 1 on and off.

Control relays via Telnet.


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

Relay 3


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

Relay script 2


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 - 2010

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