Report variables for user defined attributes

<< Click to Display Table of Contents >>

Navigation:  Report Generator > User defined attributes >

Report variables for user defined attributes

Previous pageReturn to chapter overviewNext page

Report variables may be needed for user defined fields for any of the following types of reports:

 

Device and ordering lists, that is reports based on any of the TARGET database files *E.DBF, *L.DBF or *2.DBF.

 

Wire, cable or cable core lists, that is reports based on any of the TARGET database files *A.DBF or *I.DBF.

 

Terminal lists, that is reports based on any of the TARGET database files *B.DBF or *X.DBF.

 

To cover all needs mentioned above, up to five report variables may need to be defined for each user defined field in *G.DBF. It concerns the following five cases:

 

1.Devices directly associated with the symbol in for example device lists, and the terminals that are the base of terminal lists (PAR1, position 2 = ” ”).

 

2.Devices connected on the “from side” in wire lists, cable or cable core lists, and devices connected on the internal side in terminal lists (PAR1, position 2 = ”V”).

 

3.Devices connected on the “to side” in wire lists, cable lists or cable core lists, and devices connected on the external side in terminal lists (PAR1, position 2 = ”N”).

 

4.Cable symbols for cable cores in cable core lists, and cable symbols for cable cores on the internal side in terminal lists (PAR1, position 2 = ”1”).

 

5.Cable symbols for cable cores on the external side in terminal lists (PAR1, position 2 = ”2”)

 

In the example below, all variants have been defined for both fields described in the example concerning USERATT.INI in the sub-topic named Transfer data from user defined attributes to *G.DBF above.

 

Use

Database

Variable

Field name

PAR1 pos 2

Explanation

B, E, L, 2

XXXXXXXX

!REF

REFERENCE


Attribute REFERENCE for symbol corresponding to current device

A, B

AB

!2REF

REFERENCE

V

Attribute REFERENCE for symbol connected on internal/from side

A, B

AB

!1REF

REFERENCE

N

Attribute REFERENCE for symbol connected on external/to side

A, B

AB

!2KREF

REFERENCE

1

Attribute REFERENCE for cable symbol on internal/from side

B

B

!1KREF

REFERENCE

2

Attribute REFERENCE for cable symbol on external side

 

B, E, L, 2

XXXXXXXX

!MARK1

MARK1U


Attribute MARK1 for symbol corresponding to current device

A, B

AB

!2MARK1

MARK1U

V

Attribute MARK1 for symbol connected on internal/from side

A, B

AB

!1MARK1

MARK1U

N

Attribute MARK1 for symbol connected on external/to side

A, B

AB

!2KMARK1

MARK1U

1

Attribute MARK1 for cable symbol on internal/from side

B

B

!1KMARK1

MARK1U

2

Attribute MARK1 for cable symbol on external side