ethercat_tests/wago_sanyo/plc.xml
changeset 2033 1c64b84c0609
child 2041 ce3727171207
equal deleted inserted replaced
2032:766078d83e22 2033:1c64b84c0609
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       
     3          xmlns="http://www.plcopen.org/xml/tc6.xsd"
       
     4          xmlns:xhtml="http://www.w3.org/1999/xhtml"
       
     5          xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd">
       
     6   <fileHeader companyName="Laurent BESSARD"
       
     7               productName="test_ethercat"
       
     8               productVersion="1.0"
       
     9               creationDateTime="2011-10-20T19:01:52"/>
       
    10   <contentHeader name="test_ethercat"
       
    11                  modificationDateTime="2012-02-15T00:53:41">
       
    12     <coordinateInfo>
       
    13       <fbd>
       
    14         <scaling x="0" y="0"/>
       
    15       </fbd>
       
    16       <ld>
       
    17         <scaling x="0" y="0"/>
       
    18       </ld>
       
    19       <sfc>
       
    20         <scaling x="0" y="0"/>
       
    21       </sfc>
       
    22     </coordinateInfo>
       
    23   </contentHeader>
       
    24   <types>
       
    25     <dataTypes/>
       
    26     <pous>
       
    27       <pou name="Prog" pouType="program">
       
    28         <interface>
       
    29           <localVars>
       
    30             <variable name="CLOCK" address="%QX0.0.0.2.28672.1">
       
    31               <type>
       
    32                 <BOOL/>
       
    33               </type>
       
    34             </variable>
       
    35             <variable name="LED" address="%QX0.0.0.2.28688.1">
       
    36               <type>
       
    37                 <BOOL/>
       
    38               </type>
       
    39               <initialValue>
       
    40                 <simpleValue value="TRUE"/>
       
    41               </initialValue>
       
    42             </variable>
       
    43             <variable name="ControlWord" address="%QW0.0.1.0.24640.0">
       
    44               <type>
       
    45                 <UINT/>
       
    46               </type>
       
    47             </variable>
       
    48             <variable name="StatusWord" address="%IW0.0.1.0.24641.0">
       
    49               <type>
       
    50                 <UINT/>
       
    51               </type>
       
    52             </variable>
       
    53             <variable name="ErrorCode" address="%IW0.0.1.0.24639.0">
       
    54               <type>
       
    55                 <UINT/>
       
    56               </type>
       
    57             </variable>
       
    58             <variable name="Mode" address="%IB0.0.1.0.24673.0">
       
    59               <type>
       
    60                 <SINT/>
       
    61               </type>
       
    62             </variable>
       
    63           </localVars>
       
    64         </interface>
       
    65         <body>
       
    66           <ST>
       
    67 <![CDATA[CLOCK := NOT CLOCK;]]>
       
    68           </ST>
       
    69         </body>
       
    70       </pou>
       
    71     </pous>
       
    72   </types>
       
    73   <instances>
       
    74     <configurations>
       
    75       <configuration name="conf">
       
    76         <resource name="res">
       
    77           <task name="main_task" interval="T#0.4ms" priority="0">
       
    78             <pouInstance name="main_instance" typeName="Prog"/>
       
    79           </task>
       
    80         </resource>
       
    81       </configuration>
       
    82     </configurations>
       
    83   </instances>
       
    84 </project>