Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Instrukcja Użytkownika Strona 65

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 170
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 64
Publication ENET-UM527E-EN-P - October 2006
Use Data Views to Access Controller Data 65
Example: Data View XML
with Tag Values
This is an example XML markup for a data view named alltypes
loaded with current tag values. The data view contains one tag for
each of the supported data types. The tags are in the controller
residing in slot 1.
<?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">
<value xsi:type="cip:dt_BOOL">TRUE</value>
</tag>
<tag name="test_tag_sint" valueType="cip:dt_SINT" path="1,1" display="Decimal"
access="write">
<value xsi:type="cip:dt_SINT">123</value>
</tag>
<tag name="test_tag_int" valueType="cip:dt_INT" path="1,1" display="Decimal"
access="write">
<value xsi:type="cip:dt_INT">28416</value>
</tag>
<tag name="test_tag_dint" valueType="cip:dt_DINT" path="1,1" display="Decimal"
access="write">
<value xsi:type="cip:dt_DINT">1459879936</value>
</tag>
<tag name="test_tag_real" valueType="cip:dt_REAL" path="1,1" display="Decimal"
access="write">
<value
xsi:type="cip:dt_REAL">-247882776235710380000000000000000000.000000</value>
</tag>
<tag name="test_tag_string" valueType="cip:dt_STRINGI" path="1,1"
display="String" access="write">
<value xsi:type="cip:dt_STRINGI">aazz</value>
</tag>
</view>
Przeglądanie stron 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 169 170

Komentarze do niniejszej Instrukcji

Brak uwag