User Tools

Site Tools


restart

Monitor/Restart

Monitor/Restart mode is used to monitor a target device. If the data flow for serial or ping response for ethernet stops for a specified time then the switchable power or relay pin will be set or pulsed or the ip100 will be reset (i.e. equivalent to a power cycle). Any (or all) of these actions can be selected.

 Monitor/Restart

The serial and ethernet monitors are enabled separately using two check boxes. Both can be enabled at once if needed.

If a Digital I/O pin (SW Power, Relay) is set then it will be unset when data flow resumes. If a pin is pulsed it will be for a specified duration. The pulse value will be the complement of the specified base value. Typically these digital I/O pins are then used to cycle the power on the target device.

The Device > Digital I/O dialog can be used to manually control the pins in addition to having them automatically set by the Monitor/Restart feature. Both manual and automatic methods can be used at once. The dialog can also be used to inspect the pin values for troubleshooting purposes.

Serial

Serial data flow is monitored by reading data from a serial port on the target device. The target device can be another device or this ip100.

Port An input serial port number in the range 0 to 4. If the port is not used by another mode then it is used to read data from an external device. Otherwise the data flow for the mode is monitored.
Timeout Timeout in seconds.
SW Power Digital I/O pin to set or pulse.
Relay Digital I/O pin to set or pulse.
Reset Reboot the ip100. Equivalent to cycling the ip100 power.

Example #1: Serial Monitor/Restart

In the diagram, the monitor IP100 has been configured to read COM2. Another device has one of its serial output ports connected to COM2 and some other endpoint. In this example, the ports are RS-485 but could have been RS-232. The target device power supply is controlled by the monitor device switchable power (SW Power). When the target device stops writing to its serial port (possibly because it has hung) the target device detects that and cycles the power. The target device restarts.

 Serial Monitor/Restart

Example #2: Serial Monitor/Restart Self Reset

In any of the IP Mux examples the serial connection to the PLC can be monitored. The monitor/restart port must be the same as the serial port specified in the IP Mux parameters. If no response is received from the PLC in Timeout seconds then the actions occur. The SW Power or Relay can be used to cycle the PLC power and/or the IP100 can be reset.

Ethernet

Ethernet connectivity is monitored by periodically pinging the target device.

The configuration parameters are:

IP Address Of the device to be pinged.
Timeout Timeout in seconds.
Tries Number of pings to be sent to the target device. A total of 'tries' pings will be sent, then after 'interval' seconds, another set of 'tries' pings will be sent. This will continue as long as the ethernet enable flag is set.
Interval Time interval between ping groups, in seconds. Must be less than Timeout.
SW Power Digital I/O pin to set or pulse.
Relay Digital I/O pin to set or pulse.
Reset Reboot the ip100. Equivalent to cycling the ip100 power.

Example #3: Ethernet Monitor/Restart

In the diagram, the monitor IP100 has been configured to ping the target device. The target device power supply is controlled by the monitor device switchable power (SW Power). When the target device stops responding to the ping requests (possibly because it has hung) the IP100 detects that and cycles the power. The target device restarts.

 Ethernet Monitor/Restart

.

restart.txt · Last modified: 2023/08/29 11:25 by byee