With class CNS_CP|4|3 and in particular the values from feature connection EclassSymbolMap, the symbolism of individual function groups can already be fully defined according to the IEC scheme (see http://wiki.eclass.eu/wiki/CAx_Funktionssymbole ).
The graphical symbol representation shown in this example applies for cases where the predefined IEC symbols are not sufficient or shall be fine-tuned/customized. Here, a complete custom symbol with the name "pcx_ps_002" is defined.
In order to link electrical connections with DXF symbols different steps are required.
The Connection EclassSymbolMap feature must be defined in class CNS_CP|4|3.
In the example, 8 electrical connections of ONE function are classified using CNS_CP|4|3, i.e. the definition of 8 pins can be found in Connection EclassSymbolMap (00001E001).
Link between physical connection and symbol connection
To create a link between the physical connection and the associated symbol connection, the values of class CNS_CP|4|3, feature Connection EclassSymbolMap must be identical to those of class CNSCAX|GFX|1, feature Function Identifier (CNS_FUNC_IDENT) and feature Position in Function (CNS_POSITION_IN_FUNCTION), which represents the last value from Connection EclassSymbolMap.
"Class variables [Class variables] " dialog box with "Function Identifier"/"Position in Function" and "Connection EclassSymbolMap"
Link between symbol connection and symbol display
In a further step, a link must be established between the symbol connection (CNSCAX|GFX|1 ) and the symbol representation (CNSCAX|GFX|SYMREP ) using the value of the characteristic Parent CLS_ID INST_ID. The last value of the string is the corresponding instance of CNSCAX|GFX|SYMREP.
Class "CNSCAX|GFX|1 " with characteristic "Parent CLS_ID INST_ID " and value "CNSCAX|GFX|SYMREP||<instance>"
In CNSCAX|GFX|SYMREP, the characteristic CNS_DOC_CNSURI refers to the identifier specified in PARTproject -> General tab -> General menu item under Additional export formats -> Dialog -> ID column (see above), using the following syntax:
ADDFILE://ID
In CNSCAX|GFX|SYMREP the characteristic CNS_DOC_NAME refers to the file name of the DXF file.
The CNSCAX|GFX|2 class contains the characteristics of text blocks.
The main difference between the symbol connection CNSCAX|GFX|1 and the text block CNSCAX|GFX|2 is the feature Function Identifier (CNS_FUNC_IDENT), which links the symbol connection with the IEC symbolism in CNS_CP|4|3. As text blocks do not have an internal structure where the sequence is important, the Function Identifier feature is not required here. The link to the corresponding symbol using CNSCAX|GFX|SYMREP||<instance name> is sufficient.