Calculating the source and target of a cable is done according to the following rules:
- First the identifying hierarchy specifications from the structure identifier are taken into consideration.
- If both ends are terminals or plugs and the identifier is the same, the smaller number is the source.
X1 comes before X4, so X1 is the source.
X4 comes before X33, so X4 is the source. - If both ends are terminals or plugs and if the identifiers are different and both are not "X", then the source is the alphabetically first identifier.
A44 comes before B34, so A44 is the source.
- If both ends are terminals or plugs and if the identifiers are different and one of the identifiers is "X", then the "X" identifier is always the target.
For Y4 and X33, Y4 is the source and X33 is the target.
For A4 and X33, A4 is the source and X33 is the target. - If both ends are not terminals or plugs, the source is the alphabetically first identifier.
M34 comes before M4, so M34 is the source.
L4 comes before M34, so L4 is the source. - If only one end of the connection has terminals or plugs and the other does not, the end with the terminals or plugs is always the source. This rule applies regardless of the identifying hierarchy specifications (rule 1).
- If cables have multiple targets, the rules mentioned above are used on the first (graphical) cable connection.
- If the DT switches on only one end of the connection, the source and target of the cable are retained.
- If the DT switches on both ends simultaneously, the source and target are redefined according to the rules mentioned above.
Sorting of cable connections
Cable connections are sorted during the automatic assignment of the part connections. The sorting defines the sequence in which the cable connections are assigned:
- If the cable only has one source, the cable connections are sorted in accordance with their order in the schematic. If the source is a terminal strip, the cable connections are sorted in accordance with the terminal sorting.
- If the cable has several sources, the cable connections are first sorted in groups according to the sources. The rules for determining the source and target mentioned above are used to determine the source and target.
Exception: If the target is a plug and the source is not, and the Always sort cable connections according to plug sequence check box is selected in the Settings: Cable dialog, the sorting will be performed according to the order at the target.
See also