COUNTER table

 images\btn_mini.gif Notation 

Summary

This table contains all the counter-specific properties, incl. counter limit and preset value for counter objects.

Important: It is not possible to insert a new record in this table. Create a new record in the CONF table which will supply the OAN, AREA and ENAME fields. Then you can enter the remaining properties in this table.

Field name

SQL type

Description

GUI name

OAN

INTEGER

The object’s autonumber; a unique identifier assigned to each objects, which cannot be altered or reused (read only).

-

AREA

CHAR (31)

The name of the area in which the counter object or template resides

Area in Definition of Object and Create Template dialog boxs

ENAME

CHAR (31)

The name of the counter object or template

Name in Definition of Object or Create Template dialog boxs

UNIT

INTEGER

Index into the BaseUnits table located in the configuration’s .mdb-file.

Unit box on Counter tab.

MAX_VAL

DOUBLE

The maximum value of the measuring range for this object.

Maximum value on Analog tab.

CURRENTCOUNT

DOUBLE

Initial counter value

Current count on Counter tab

HIGHALARM

DOUBLE

Counter limit. When the current count exceeds this limit, an alarm will occur.

Limit on Counter tab

PRESETVALUE

DOUBLE

The preset value that the operator can insert by issuing the Preset command

Preset on Counter tab


 
See Also