Für alle Elemente eines Konfigurators können Sie eine XML-Vorlagendatei exportieren. Die Vorlagendatei enthält alle Konfigurationsvariablen, die Sie im Project Builder zur Konfiguration des Elements benötigen. Wenn Sie die Konfigurationsvariablen in der XML-Vorlagendatei mit Werten füllen, können Sie sie zur Konfiguration im Project Builder importieren. Auf diese Weise wird der Konfigurationsprozess stark verkürzt.
Beispiel: XML-Vorlagendatei für den Konfigurator 'Sample project (step-by-step)'
<?xml version="1.0" encoding="utf-8"?>
<Configuration typical="Sample project (step-by-step)">
<ConfigurationVariables>
<!-- Name: 'OP_Power_supply_400V' | Type: Boolean -->
<ConfigurationVariable name="OP_Power_supply_400V"></ConfigurationVariable>
<!-- Name: 'OP_Measurement_transformer' | Type: Boolean -->
<ConfigurationVariable name="OP_Measurement_transformer"></ConfigurationVariable>
<!-- Name: 'SE_Light_power' | Type: Boolean -->
<ConfigurationVariable name="SE_Light_power"></ConfigurationVariable>
<!-- Name: 'SE_Receptacle_power' | Type: Integer | Selection Values: 0; 1; 2; 3 -->
<ConfigurationVariable name="SE_Receptacle_power"></ConfigurationVariable>
<!-- Name: 'OP_Power_supply_24V' | Type: Boolean -->
<ConfigurationVariable name="OP_Power_supply_24V"></ConfigurationVariable>
<!-- Name: 'SE_Light_control' | Type: Boolean -->
<ConfigurationVariable name="SE_Light_control"></ConfigurationVariable>
<!-- Name: 'SE_Receptacle_control' | Type: Integer | Selection Values: 0; 1; 2; 3 -->
<ConfigurationVariable name="SE_Receptacle_control"></ConfigurationVariable>
<!-- Name: 'OP_Transport_1' | Type: Boolean -->
<ConfigurationVariable name="OP_Transport_1"></ConfigurationVariable>
<!-- Name: 'OP_Positioning_1' | Type: Boolean -->
<ConfigurationVariable name="OP_Positioning_1"></ConfigurationVariable>
<!-- Name: 'OP_Transport_2' | Type: Boolean -->
<ConfigurationVariable name="OP_Transport_2"></ConfigurationVariable>
<!-- Name: 'OP_Positioning_2' | Type: Boolean -->
<ConfigurationVariable name="OP_Positioning_2"></ConfigurationVariable>
<!-- Name: 'OP_Positioning_3' | Type: Boolean -->
<ConfigurationVariable name="OP_Positioning_3"></ConfigurationVariable>
<!-- Name: 'OP_Grinding_right' | Type: Boolean -->
<ConfigurationVariable name="OP_Grinding_right"></ConfigurationVariable>
<!-- Name: 'OP_Grinding_left' | Type: Boolean -->
<ConfigurationVariable name="OP_Grinding_left"></ConfigurationVariable>
<!-- Name: 'OP_Transport_3' | Type: Boolean -->
<ConfigurationVariable name="OP_Transport_3"></ConfigurationVariable>
<!-- Name: 'OP_Machine_protection' | Type: Boolean -->
<ConfigurationVariable name="OP_Machine_protection"></ConfigurationVariable>
<!-- Name: 'OP_Switch_Panel' | Type: Boolean -->
<ConfigurationVariable name="OP_Switch_Panel"></ConfigurationVariable>
<!-- Name: 'OP_Machine_operation' | Type: Boolean -->
<ConfigurationVariable name="OP_Machine_operation"></ConfigurationVariable>
<!-- Name: 'OP_Panel_Enclosure' | Type: Boolean -->
<ConfigurationVariable name="OP_Panel_Enclosure"></ConfigurationVariable>
<!-- Name: 'OP_Panel_Control' | Type: Boolean -->
<ConfigurationVariable name="OP_Panel_Control"></ConfigurationVariable>
<!-- Name: 'OP_Infrastructure' | Type: Boolean -->
<ConfigurationVariable name="OP_Infrastructure"></ConfigurationVariable>
</ConfigurationVariables>
</Configuration>
Voraussetzungen
- Sie haben den Designer aufgerufen und das Makroprojekt geöffnet, das den Konfigurator enthält, für den Sie einen Export durchführen möchten.
- Sie haben den Konfigurator im Tabulator Konfiguratoren in der Seitenleiste ausgewählt.
XML-Vorlagendatei exportieren
- Klicken Sie in der Liste der Elemente auf die Schaltfläche, um für das entsprechende Element eine XML-Vorlagendatei zu exportieren.
- Der Systemdialog Datei Speichern erscheint.
- Speichern Sie die Datei im gewünschten Verzeichnis.
Hinweise
- Eine XML-Vorlagendatei enthält Kommentare zu Variablennamen, Variablentypen und vordefinierten Werten. Dadurch können Sie sofort erkennen, welche Werte Sie für eine bestimmtes Strukturelement eintragen können. Jeder Kommentar beginnt mit <!-- und endet mit -->.
- Der Export einer XML-Vorlagendatei steht Ihnen ab der Ausbaustufe Advanced zur Verfügung.