Voraussetzung
-
Die Anwendung TIA Portal Openness ist mit dem TIA Portal verbunden.
Verbindung zum TIA Portal herstellen -
Ein Projekt ist geöffnet.
Siehe Öffnen eines Projekts -
Der PLC ist offline.
Anwendung
Sie können mit dem TIA Portal eine AML-Datei nach AR APC V1.1 mit fehlersicherer PLC mit fehlersicheren Attributen exportieren und importieren.
Attribute
Die folgende Tabelle zeigt die Liste der fehlersicheren Attribute von AML-Dateien für den CAx-Import und CAx-Export:
|
Attribute in Openness |
Handhabung |
Kommentar |
AR APC-Name in AML |
|---|---|---|---|
|
Failsafe_FSourceAddress |
Obligatorisch |
Export/Import nur, wenn das Geräteelement ein fehlersicherer PLC ist und dieses Attribut in TIA Portal unterstützt und nicht leer ist, andernfalls wird er übersprungen. |
Failsafe_FSourceAddress |
|
Failsafe_LowerBoundForFDestinationAddresses |
Obligatorisch |
Export/Import nur, wenn das Geräteelement ein fehlersicherer PLC ist und dieses Attribut in TIA Portal unterstützt und nicht leer ist, andernfalls wird er übersprungen. |
Failsafe_LowerBoundForFDestinationAddresses |
|
Failsafe_UpperBoundForFDestinationAddresses |
Obligatorisch |
Export/Import nur, wenn das Geräteelement ein fehlersicherer PLC ist und dieses Attribut in TIA Portal unterstützt und nicht leer ist, andernfalls wird er übersprungen. |
Failsafe_UpperBoundForFDestinationAddresses |
|
Failsafe_CentralFSourceAddress |
Optional |
Export/Import nur, wenn das Geräteelement ein fehlersicherer PLC ist und dieses Attribut in TIA Portal unterstützt und nicht leer ist, andernfalls wird er übersprungen. |
Failsafe_FSourceAddress |
|
Failsafe_FDestinationAddress |
Optional |
Export/Import nur, wenn das Geräteelement ein fehlersicherer PLC ist und dieses Attribut in TIA Portal unterstützt und nicht leer ist, andernfalls wird er übersprungen. |
Failsafe_FDestinationAddress |
Beispiel: Exportierte Konfiguration
Die folgende Konfiguration zeigt ein Geräteelement, bei dem die Attribute konfiguriert sind.
AML-Struktur der Exportdatei
Die folgenden Abbildungen zeigen die Struktur der exportierten AML-Datei.
|
<InternalElement ID="9c944d2c-e0ae-4f39-b35a-a63faaf35be7" Name="PLC_1"> <Attribute Name="TypeName" AttributeDataType="xs:string"> <Value>CPU 1511TF-1 PN</Value> </Attribute> <Attribute Name="DeviceItemType" AttributeDataType="xs:string"> <Value>CPU</Value> </Attribute> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>1</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>false</Value> </Attribute> <Attribute Name="TypeIdentifier" AttributeDataType="xs:string"> <Value>OrderNumber:6ES7 511-1UK01-0AB0</Value> </Attribute> <Attribute Name="InstallationDate" AttributeDataType="xs:dateTime"> <Value>2019-02-28T08:12:12.987Z</Value> </Attribute> <Attribute Name="Failsafe_FSourceAddress" AttributeDataType="xs:string"> <Value>1</Value> </Attribute> <Attribute Name="Failsafe_LowerBoundForFDestinationAddresses" AttributeDataType="xs:string"> <Value>1</Value> </Attribute> <Attribute Name="Failsafe_UpperBoundForFDestinationAddresses" AttributeDataType="xs:string"> <Value>99</Value> </Attribute> <Attribute Name="FirmwareVersion" AttributeDataType="xs:string"> <Value>V2.8</Value> </Attribute> <InternalElement ID="4f718e93-b541-4983-8f13-1f5b21c3e70c" Name="Default tag table"> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/TagTable"/> </InternalElement> <InternalElement ID="20e19f5b-8ace-4e0c-af0b-c710ae4817da" Name="CPU display_1"> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>3</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>true</Value> </Attribute> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/DeviceItem" /> </InternalElement> <InternalElement ID="5a24516f-17d6-4b2a-a4ac-efc1b577875d" Name="Card reader/writer_1"> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>4</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>true</Value> </Attribute> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/DeviceItem" /> </InternalElement> <InternalElement ID="0f746d71-035e-4e64-b0d7-51d0449cfd88" Name="OPC UA_1"> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>254</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>true</Value> </Attribute> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/DeviceItem" /> </InternalElement> <InternalElement ID="a0633104-a2ac-4680-bb99-81df50f5ec40" Name="PROFINET interface_1"> <Attribute Name="Label" AttributeDataType="xs:string"> <Value>X1</Value> </Attribute> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>32768</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>true</Value> </Attribute> <InternalElement ID="e3497176-dbba-4fec-9d3a-772ae13987c4" Name="E1"> <Attribute Name="Type" AttributeDataType="xs:string"> <Value>Ethernet</Value> </Attribute> <Attribute Name="NetworkAddress" AttributeDataType="xs:string"> <Value>192.168.0.1</Value> </Attribute> <Attribute Name="SubnetMask" AttributeDataType="xs:string"> <Value>255.255.255.0</Value> </Attribute> <Attribute Name="IpProtocolSelection" AttributeDataType="xs:string"> <Value>Project</Value> </Attribute> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/Node" /> </InternalElement> <InternalElement ID="3208384f-d5ba-4ccb-b8da-f08ec38ec681" Name="Port_1"> <Attribute Name="Label" AttributeDataType="xs:string"> <Value>P1R</Value> </Attribute> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>32769</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>true</Value> </Attribute> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/CommunicationPort" /> </InternalElement> <InternalElement ID="4a47c05e-9656-4e02-9b51-23b065b6fe47" Name="Port_2"> <Attribute Name="Label" AttributeDataType="xs:string"> <Value>P2R</Value> </Attribute> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>32770</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>true</Value> </Attribute> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/CommunicationPort" /> </InternalElement> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/CommunicationInterface" /> </InternalElement> <SupportedRoleClass RefRoleClassPath="AutomationProjectConfigurationRoleClassLib/DeviceItem" /> </InternalElement> <InternalElement ID="e3fdb611-4b68-4682-b154-ae43c74a24d3" Name="F-DI 16x24V DC_1"> <Attribute Name="TypeName" AttributeDataType="xs:string"> <Value>F-DI 16x24V DC</Value> </Attribute> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>2</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>false</Value> </Attribute> <Attribute Name="TypeIdentifier" AttributeDataType="xs:string"> <Value>OrderNumber:6ES7 526-1BH00-0AB0</Value> </Attribute> <Attribute Name="FirmwareVersion" AttributeDataType="xs:string"> <Value>V1.0</Value> </Attribute> <InternalElement ID="77c4fea0-baba-44e6-80f2-72b7b830a88a" Name="F-DI 16x24V DC_1"> <Attribute Name="PositionNumber" AttributeDataType="xs:int"> <Value>1</Value> </Attribute> <Attribute Name="BuiltIn" AttributeDataType="xs:boolean"> <Value>true</Value> </Attribute> <Attribute Name="Failsafe_FSourceAddress" AttributeDataType="xs:string"> <Value>1</Value> </Attribute> <Attribute Name="Failsafe_FDestinationAddress" AttributeDataType="xs:string"> <Value>655</Value> </Attribute> </InternalElement> </InternalElement> |
Erweiterte Rolle für Geräteelement
AR APC 1.2 empfiehlt die folgenden Änderungen für den CAx-Austausch im TIA Portal ab V17 aufwärts: jedes Geräteelement muss mit einer zusätzlichen Rolle ausgetauscht werden.
'AutomationProjectConfigurationProfiSafeRoleClassLib/DeviceItemProfiSafe' mit der vorhandenen Rolle 'AutomationProjectConfigurationRoleClassLib/DeviceItem', sofern von AR APC empfohlene fehlersichere Attribute unterstützt werden.
Das Geräteelement muss mit der zusätzlichen Rolle exportiert werden, sofern es erweiterte Attribute wie die folgenden unterstützt: Failsafe_FSourceAddress, Failsafe_LowerBoundForFDestinationAddresses, Failsafe_UpperBoundForFDestinationAddresses, Failsafe_CentralFSourceAddress, Failsafe_FDestinationAddress. Darüber hinaus muss es möglich sein, das Geräteelement mit oder ohne erweiterte Rolle zu importieren.
AML-Datei mit Geräteelement
Der nachfolgende Auszug aus der XML-Datei zeigt die AML-Datei mit dem "Geräteelement", das Module fehlersicherer Attribute mit erweiterter Rolle unterstützt.
|
|
Siehe auch