DIG_TEMPLATE table

 images\btn_mini.gif Notation 

Summary

This table contains properties specific to digital templates. They include bit maps for states and commands and alarm bits, single bits (enabled/disabled), consecutive alarms (enabled/disabled), etc. The state and command names are found in the DIG_STATE table and DIG_CMD table.

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 digital template resides

Area in Create Template dialog box

ENAME

CHAR (31)

The name of the digital template

Name in Create Template dialog box

CONNECT_OAN

INTEGER

The autonumber of the connected to object.

-

CONNECT_AREA

CHAR (31)

The name of the area where the connected to object resides.

-

CONNECT_ENAME

CHAR (31)

The name of the object you want to connect this object to.

For further information about connecting different object types, click here images\chiclet.gif.

Connect To on Data Management Definitions tab

SYMBOL

INTEGER

0 = Single bit display disabled

1 = Single bit display enabled (state bits are shown independently)

Displays in Single Bits group on Bit Map I/O tab

CONSEQALM

INTEGER

0 = Individual alarm numbers are used. The alarm numbers are found in the DIGITAL table.

1 = Consecutive alarm numbers are used. The first alarm number is found in the ATOM table.

Alarm numbers group on the Alarm In/Ack bit tab

SINGLEBITALM

INTEGER

0 = Single bits disabled

1 = Single bits used


NOTE:
There can only be several, unfinished alarms on the same object in the alarm list if Single bits are used.

Single Bits on the Alarm In/Ack bit tab

SINGLEBITSTATE

INTEGER

0 = Single bit states disabled

1 = Single bit states used

Single Bits on the Bit Map I/O tab.

SINGLEBITCMD

INTEGER

0 = Single bit commands disabled

1 = Single bit commands used

Single Bits on the Bit Map I/O tab.

MINACK

INTEGER

Bit mask for acknowledge bit to PC represented as integer (PLC acknowledge of reception of acknowledge bit from PC).

To PC bit map on Alarm In/Ack bit tab.

MOUTACK

INTEGER

Bit mask for acknowledge bit from PC represented as integer (operator acknowledgement).

From PC bit map on Alarm In/Ack bit tab.

MINALM

INTEGER

Bit mask for alarm indication bits to PC represented as integer

To PC bit map on the Alarm In/Ack bit tab.

MSTATE

INTEGER

Bit mask for states represented as integer.

To PC on Bit Map I/O tab

MCOMMAND

INTEGER

Bit mask for commands represented as integer

From PC on Bit Map I/O tab


 
See Also