Rockwell-automation 1768-EWEB EtherNet/IP Web Server Module User Manua Manuale Utente Pagina 65

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 170
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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>
Vedere la pagina 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 169 170

Commenti su questo manuale

Nessun commento