Skip to main content

HwgMonitor

The HWGMONITOR I/O Server supports the following monitoring devices from HW group:

  • Damocles
  • Poseidon
  • STE, STE2 and STE2 R2
  • WLD

HSYCO Configuration

Add an HWGMONITOR I/O Server in the I/O Servers section of the Settings and set its parameters:

Communication

  • IP Address: host name or IP address of the device
  • IP Port: TCP/IP port to use, leave blank to use default port 80.

High Availability

  • Shutdown when inactive: defaults to true (these devices accept multiple connection and could be accessed by two HSYCO servers simultaneously).

Options

IDDefaultValuesDescription
pollinterval1000n ≥ 0the data polling interval, in milliseconds

Monitoring Devices Configuration

This I/O Server uses the XML format and HTTP requests to constantly poll the devices for the current status.

All HWg monitoring devices allow you to assign custom names to each sensor connected to a device. The name is important, as it is used by HSYCO as the id to retrieve the sensor’s data. You should configure these names, using the configuration interface of the device.

Refer to the device manual for detailed configuration information.

Datapoints

The I/O Server generates asynchronous events based on the status of the devices input pins. The output data points can be written to control the output pins.

IDValueR/WDescription
model<model_id>Rthe device model, as returned in the <model> tag of the XML response
<sensor_name><value>Rthe value returned for input <sensor_name>, as returned in the <value> tag of the XML response
0Wset digital output to off
1Wset digital output to on
<sensor_name>.cnt<value>Rthe counter value returned for input <sensor_name>, as returned in the <cnt> tag of the XML response (for Damocles devices)
<sensor_name>.units<units>Rthe units string returned for input <sensor_name>, as returned in the <units> tag of the XML response
readallWforces the driver to poll the device to read the current status. This command could be used to occasionally refresh the status at a faster rate that the preset poll interval
<output_id>0Wset output <output_id> to off
1Wset output <output_id> to on
note

Note that outputs can now be controlled using the name-based data point, as well as the output ID.

You can retrieve the output IDs looking at the values.xml page (for example http://<damocles ip address>/values.xml). The output section should have an <ID> XML entry.

In the example below, the ID of out1 is 151:

<Entry>
<ID>151</ID>
<Name>out1</Name>
<NameOff>OFF</NameOff>
<NameOn>ON</NameOn>
<Mode>0</Mode>
<Value>1</Value>
<Init>0</Init>
<CondInputID>0</CondInputID>
<Trigger>0.0</Trigger>
</Entry>

Release Notes

3.9.0

  • improved compatibility with series 2 monitoring devices (e.g. Damocles2)

3.8.0

  • adds support for STE2 R2

3.6.0

  • outputs can now be controlled using the name-based data point, as well as the output ID

3.4.0

  • new poll interval option
  • new command read=all to read the device status

3.0.1

  • fixed a bug that could block the update of the systemtopo.txt file at start-up

2.8.4

  • support for the HWg Damocles line of products, with input lines counters

2.8.0

  • initial support

HWg is a registered trademark of HW group s.r.o.