beautypg.com

1 polled monitoring, 2 deadband-absolute monitoring, 3 deadband-percent monitoring – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual

Page 339

background image

Micro-PWC CONFIGURATION GUIDE

@aGlance/IT Server Interface 319

The argument monitor_type is a server-specific argument to the aag_monitor method; the argument is
supplied by the @aGlance/IT client software. Identifying strings defined in the @aGlance/IT server for
Micro-PWC are shown in

Table 11-5

.

If the monitor_type argument is specified by a client and is not one of the strings defined in

Table 11-5

, the

request will fail. Errors are returned to the client via the AAG_INVARG status.

11.5.2.1 Polled Monitoring

Polled monitoring updates the client application at the poll interval. This is the default monitor type, and is
performed if no argument is supplied for the monitor_type argument.

11.5.2.2 Deadband-Absolute Monitoring

Deadband-absolute monitoring used when the client is to be updated only when certain conditions exist.
This type of monitoring uses the monitor_args array, a server specific argument list. Each floating point or
integer value represented by a tag.attribute combination is associated with a deadband value (D), based
on the last value updated (U). A current value (C) is within the deadband if the following inequalities are
true:

((C>=(U-D))&&(C<=(U+D)))

The client application will be updated if:

For floating point and integer values, any value falls outside the deadband
- or -

For string and Boolean values, if any value does not compare exactly to the update value
- or -

If any status change occurred

The argument list of the monitor_args array must contain at least one element or the client request will fail.
Errors are returned to the client via the AAG_INVCOUNT status.

11.5.2.3 Deadband-Percent Monitoring

Deadband-percent monitoring differs from deadband-absolute monitoring only in that the deadband value
is a percentage of the magnitude of the last stored value. The percentage is expressed as a floating point
value with the range 0<=D<=1.

The deadband condition in this case is:

((C>=U-(U*D))&&(C<=U+(U*D)))

The argument list of the monitor_args array must contain at least one element or the client request will fail.
Errors are returned to the client via the AAG_INVCOUNT status.

Alternatively, the deadband condition can be stated as:

Table 11-5. Supported Monitor Type Identifier Strings

Monitor Type

Identifying String

Polled

MON_POLL (default)

Deadband-absolute

MON_DEAD_ABS

Deadband-percent

MON_DEAD_PCT