NetPing 2/PWR-220 v3/ETH IP PDU - a Socket with a Weekly Timer

  • Published In: Tutorial
  • Created Date: 2018-09-28
  • Hits: 1162

Configuring a weekly timer in NetPing 2/PWR-220 v3/ETH power distribution unit (PDU) allows automating a manual process of switching on and off and rebooting the equipment. This minimizes a labor cost of the servicing personnel, reduces a reaction time for events and excludes a human factor for the error. A NetPing 2/PWR-220 v3/ETH IP power distribution unit can be used in server rooms for controlling a power supply of the infrastructure as well as on the remote industrial objects that are difficult to access. In addition to the main purpose, there is a feature of connecting external sensors that can control different parameters of the environment. The device can support a specific temperature, control air conditioning systems, and notify of emergency situations. All these features allow avoiding emergencies in the operation and minimizing possible financial losses.

NetPing 2/PWR-220 v3/ETH IP PDU has the next benefits:

  • quick configuring of schedules for controlling a power supply to two independent sockets;
  • using filters that allow setting exceptions in the schedule for holidays or days when the change is necessary;
  • a stable operation of a timer and a device in the 24/7 365-days-a-year mode;
  • remote manual switching on and off the equipment using a web interface or an SNMP protocol;
  • using the «Watchdog» feature that allows rebooting the equipment that froze without the personnel.

Necessary Equipment

To implement a socket with a weekly timer, there is a need to have:

  • a device for remote power supply management NetPing 2/PWR-220 v3/ETH;
  • equipment which power supply needs to be managed and controlled, for example, Dual-Up modem. A modem must be powered through the 220V socket of a NetPing 2/PWR-220 v3/ETH power distribution unit;
  • PC with a browser to connect to a web interface of a NetPing device and configure it.

Configuring a Socket with a Weekly Timer

In this example, we are going to configure the operation of a Dual-Up modem that is going to be switched on for providing a session for a data exchange between a client and a server in specific time periods two times a day (08:00-12:00 and 16:00-17:00) three times a week (Monday, Wednesday, Friday). In addition, we will configure an exception day, when the modem will be switched off on Wednesday 31 December.

To configure a weekly schedule for NetPing 2/PWR-220 v3/ETH, there is a need to connect to a web interface of the device and get authorized

Homepage NetPing 2PWR-220 v3ETH

Go to the tab «RELAYS» that allow controlling outgoing channels (relays) of a power supply of a device for each channel separately and configure a socket for a weekly schedule:

NetPing 2PWR-220 v3ETH menu

Let's suppose that a modem is connected to a 220V socket (Channel 2). Therefore, a socket is configured for a Relay 2 in a next way:

  1. Fill in a description for the equipment that is connected to the Relay 2;
  2. Configure a parameter «Relays». Choose the operation mode «Schedule» from a drop-down list;
  3. Save configured settings.

NetPing 2PWR-220 v3ETH relay configuration

Go to the section «SCHEDULE 2» (as soon as a modem is powered by the second 220V socket), where the schedule for switching on/off external load is configured:

NetPing 2PWR-220 v3ETH menu

Let's create a condition when a modem is going to work twice a day only on Mondays, Wednesdays, and Fridays. The first time is from 08:00 to 12:00 while the second one is from 16:00 to 17:00. To do this, there is a need to fill in the table in a corresponding way in the settings area «WEEKLY SCHEDULE (FOR RELAY 2)» and save the configurations by clicking the button «Apply changes»:

Schedule for NetPing 2PWR-220 v3ETH

Checking a checkbox in the column «As prev.day» allows configuring a schedule of a previous day for a next day. This is made for speeding up the process of configuring a schedule for channels.

NetPing 2/PWR-220 v3/ETH IP power distribution unit has a feature of configuring any schedule for the operation of devices, for example, for holidays, or for required days. A specific schedule is configured in the area «HOLIDAY'S SUBSTITUTION»:

Holidays substitution for a socket of a NetPing 2PWR-220 v3ETH device

where:
Date – is a date of a holiday in the format dd.mm

Substitute – is a schedule that is going to be used on the specified date.  It is selected from a drop-down list (Mon, Tue, Wed, Thu, Fri, Sat, Sun, Aux1, Aux2, Aux3).

After configuring the changes, there is a need to save a configuration by clicking the button «Apply changes».

When configured in the described way, a NetPing 2/PWR-220 v3/ETH IP PDU is going to control the modem power supply using a specified schedule.  A status of a Relay 2 on the tab «RELAYS» shows this.

Let's examine in details a reaction of a device to the specified schedule in the time period from 15:59 to 17:00:

Controlling a socket according to the schedule NetPing 2PWR-220 v3ETH

A status of a 220V socket in different time periods is obvious from the picture. I.e. before starting the power supply to the modem (15:59) a status «Relay status» = 0. In the time period from 16:00 to 17:00 a power is supplied to the 220V socket and correspondingly, a modem works. A status «RElay status» = 1 corresponds to this. When it is 17:00, a power on the 220V socket is off – and a status is «Relay status» = 0.

Also, it is possible to check the operability of the setup configuration from the log of a device by going to the tab «LOG»:

NetPing 2PWR-220 v3ETH log

Note: when configuring a weekly schedule using a web interface, the number of switching on/off is limited to four in 24 hours. When necessary, if there is a need to control 220 V sockets more than four times in 24 hours, it is possible to use an SNMP protocol. How to do this? There is a need to write a Perl script which is going to include a command for switching sockets on and off by sending SNMP Trap to a device.

Afterward, configure a scheduler for executing a script as many times within 24 hours as you want.

An example of a Perl script is given below:

An example of a Perl script for controlling NetPing 2PWR-220 v3ETH sockets

Therefore, when using a device for remote controlling a power supply NetPing 2/PWR-220 v3/ETH, we get a stable, flexible, and easily configured system that can quickly cope with the assigned tasks.


comments powered by Disqus