![HMS Anybus Communicator CAN PROFINET IRT 2.32 Скачать руководство пользователя страница 31](http://html1.mh-extra.com/html/hms/anybus-communicator-can-profinet-irt-2-32/anybus-communicator-can-profinet-irt-2-32_user-manual_2141723031.webp)
29 (42)
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
SCM-1202-035 1.2 en-US
Содержание Anybus Communicator CAN PROFINET IRT 2.32
Страница 40: ...This page intentionally left blank ...
Страница 43: ...This page intentionally left blank ...