PROFINET Asset Management
6.5
XML Based Asset Management
6.5.1
Creating the Asset Management XML File
Creating the asset management XML file:
1.
List all assets and their corresponding data on the non PROFINET network.
2.
Create an XML file that include one asset management record for each asset.
Repeat all the attributes after each other.
3.
When all attributes are listed, close the element by using a closing entry.
4.
Name the XML file asset_mgmt.
6.5.2
XML File Size Limitation
The size of the asset management file may not exceed 95 kb.
Up to 32 instances can be added.
In order to keep the file size small, consider the following:
•
Keep strings as short as possible.
•
Do not pad with empty spaces for strings.
•
Try to use as few spaces as possible for indentation in the file.
•
The number of white-space also affects the file size.
•
Avoid using optional name strings.
6.5.3
XML Attribute Name and Data Format
The order of the elements is significant for the XML schema to work with the Anybus Gateways.
If the XML schema is incorrect, the XML file will not work and no data will be recorded.
When creating the XML file, add the elements and their attributes in the same order as the
attribute names are listed in the table below.
Each element consists of a series of attributes and their various data.
Each attribute is described by one entry.
The supported attribute names are specified in the table.
Example 1: XML element including an attribute with the location record.
<AbccAttribute>
<Name Value="Location Type"/>
<Attribute Value="3"/>
<Data Value="1"/>
</AbccAttribute>
Anybus
®
Communicator
™
CAN PROFINET
®
IRT (2.32) User Manual
29 (42)
SCM-1202-035 1.2 en-US
Need help?
Do you have a question about the Anybus Communicator CAN PROFINET IRT 2.32 and is the answer not in the manual?