Suche nach Zugriff auf Variablen (Platzhalter) in verknüpften Symbolen
Hallo!
Wir entwickeln momentan in zenon (7.10) eine neue Symbolbibliothek für unsere Firma.
Die Symbole werden aus verschiedenen Ebene zusammen gesetzt:
Symbolebene 1:
[INDENT]Grafische Grundsymbole ohne Animationen[/INDENT]
Symbolebene 2:
[INDENT]Verlinkte Symbole aus Symbolebene 1 werden mit Animationen versehen. Variablen werden durch symbolische Namen definiert, die später im Bild per Verknüpfungsregel durch die Anlagenvariablen ersetzt werden.[/INDENT]
Symbolebene 3:
[INDENT]Aus mehreren verlinkten Symbolen der Ebene 2 werden die letztendlich im Bild zu verwendenden Symbole erstellt.[/INDENT]
Wird nun ein Symbol aus der Ebene 3 in ein Bild verlinkt erfolgt im Editor automatisch die Anzeige des Dialogs zur Bearbeitung der Verküpfungsregel. In diesem Dialog werden alle Quellen, aus den unterschiedlichen Symbolen und Symbolebenen aus denen das ins Bild verlinkte Symbol besteht, angezeigt.
Nun die Frage: Wie komme ich per C# an die Quellen der im Symbol verlinkten Symbole heran?
Wir benötigen diese Quellen um die Verknüpfungsregel des Symbole automatisch generieren zu lassen und um dem Anwender eine komfortable Möglichkeit zu erstellen wie er den String der Verknüpfungsregel bearbeiten kann.
Im XML-Export des Symbols aus Ebene 3 sind keine Quellen wie zum Beispiel:
[INDENT]
< keine Variable verknüpft >
TA_V
TA_V
[/INDENT]
zu finden?!
Kann mir jemand auf die Sprünge helfen?
Der Editor findet ja die Quellen des Symbols und listet sie im Dialog auf.
Danke und Gruß,
H.-P.
This is a migrated post! Originally posted on 26.03.2015 by user hp. Please be aware that information can be outdated.
Disclaimer
This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.
The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.
Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.
Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.
COPA-DATA reserves the right to change this document from time to time at own discretion.
Ing. Punzenberger COPA-DATA GmbH
Karolingerstraße 7b · 5020 Salzburg · Austria
www.copadata.com