Example: data view xml with tag errors – Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual
Page 66

Publication ENET-UM527E-EN-P - October 2006
66 Use Data Views to Access Controller Data
Example: Data View XML
with Tag Errors
This example a data view named alltypes with error messages for tags
that could not be retrieved.
<?xml version="1.0"?>
<?xml-stylesheet href="/dataview/dataview.xsl" type="text/xsl"?>
<view
xmlns="http://www.rockwellautomation.com/technologies/data_access/data_views/1.0/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.rockwellautomation.com/technologies/data_access/data_
views/1.0/ /schema/dataview.xsd"
xmlns:cip="http://www.rockwellautomation.com/technologies/data_access/data_types/1.0
/" name="alltypes" description="">
<tag name="test_tag_bool" valueType="cip:dt_BOOL" path="1,1" display="String"
access="write" error="Couldn't read tag!">
<value xsi:nil="true"/>
</tag>
<tag name="test_tag_sint" valueType="cip:dt_SINT" path="1,1" display="Decimal"
access="write" error="Couldn't read tag!">
<value xsi:nil="true"/>
</tag>
<tag name="test_tag_int" valueType="cip:dt_INT" path="1,1" display="Decimal"
access="write" error="Couldn't read tag!">
<value xsi:nil="true"/>
</tag>
<tag name="test_tag_dint" valueType="cip:dt_DINT" path="1,1" display="Decimal"
access="write" error="Couldn't read tag!">
<value xsi:nil="true"/>
</tag>
<tag name="test_tag_real" valueType="cip:dt_REAL" path="1,1" display="Decimal"
access="write" error="Couldn't read tag!">
<value xsi:nil="true"/>
</tag>
<tag name="test_tag_string" valueType="cip:dt_STRINGI" path="1,1"
display="String" access="write" error="Couldn't read tag!">
<value xsi:nil="true"/>
</tag>
</view>