Power Relays, a closer look!


Super RMS has 4 power relays for remote control of AC/DC powered equipment.


Super RMS has four power relays for remote control of AC/DC powered equipment. Each relay has a manual override switch 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 SRMS relays web interface. In the picture below all relays are in the default "Normally Closed" position. By clicking on the relay 4 icon....



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



The relays can also be toggled with SRMS 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 4 on, wait 2 seconds, then toggle relay 4 off again.



Control of the SRMS relays can also be done by using telnet or ssh. Below is an example of logging into the SRMS unit on the command line and toggling relay 4 on and off.



Below is an example of reading the status of Relay 1 using the command line interface. Note the relay1 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.



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



C language programmers may want to write their own custom relay handling routines. Below are two example C functions that use common ioctl's to turn relay 4 on and off.



  /* EtherTek Circuits 2001 - 2007 */

  /******************
  * Relay4 ON Function *
  ******************/
  void relay4on(void)
  {
  int fd;

  if ((fd = open("/dev/gpiog", O_RDWR)) < 0)
   {
   printf("\nError Opening Port G\n");
   exit(1);
   }
  else
   {
   ioctl(fd, _IO(GPIO_IOCTYPE, IO_SETBITS), 0x00100000);
   close(fd);
   printf("Relay 4 On\n");
   }
  }
  
  /*******************
  * Relay4 OFF Function *
  *******************/
  void relay4off(void)
  {
  int fd;

  if ((fd = open("/dev/gpiog", O_RDWR)) < 0)
   {
   printf("\nError Opening Port G\n");
   exit(1);
   }
  else
   {
   ioctl(fd, _IO(GPIO_IOCTYPE, IO_CLRBITS), 0x00100000);
   close(fd);
   printf("Relay 4 Off\n");
   }
  }



The electrical ratings for the smaller relays can be found here.
The electrical ratings for the larger relay can be found here.
The electrical ratings for the 12 position barrier strip can be found here.