September 2011
58
V1.44
Copyright © 2011 Adept Systems, Inc. and Control Network Solutions Ltd All Rights Reserved.
3.3.3. Alarm SNVT
The monitoring application also has an Alarm2 SNVT type 164. This alarm is propagated
whenever a fault is detected or cleared. The fields used in the Alarm2 SNVT are as follows:
alarm_type
is set to 1 whenever a diagnostic detects a fault. alarm_type is set to 0 when all faults
have cleared.
description
is set to an ASCII text description of the associated fault state whether IP or LON or
both are cleared.
3.3.4. Status Report UNVT
The monitoring application has a status report UNVT that includes some extra information that
would not fit in the Status SNVT. The status report UNVT is scheduled for propagation
whenever one of its fields is updated. It will only be propagated if bound or polled. The c
structure for the UNVT is as follows:
typedef struct
{
unsigned char
Status;
char
reserved[3];
uint32
totalArbs;
uint32
totalFailuresIP;
uint32
totalFailuresLON;
uint32
totalFaultsIP;
uint32
totalFaultsLON;
uint32
secsSinceClear; // seconds
uint16
forwardRate; // packets per second
char
reserved[2];
} UNVTStatusType;
The fields are as follows:
Status
is an 8 bit number. The bit definitions are given in Table 1. It is the same information
reported in the Status SNVT reserved field.
totalArbs
is the total number of active state arbitrations since the last time the statistics were
cleared.
totalFailuresIP
is the total number monitoring packet failures detected by this device of the IP
interface since the statistics were cleared.
totalFailuresLON
is the total number of monitoring packet failures detected by this device of the
LON interface since the statistics were cleared.
totalFaultsIP
is the total number of diagnostic faults detected by this device of the IP interface
since the statistics were cleared.
totalFaultsLON
is the total number of diagnostic faults detected by this device of the LON