examples/example.xml
changeset 56 7187e1c00975
parent 47 2b2f8d88e6d3
child 58 39cd981ff242
--- a/examples/example.xml	Wed Jul 25 10:06:29 2007 +0200
+++ b/examples/example.xml	Thu Jul 26 17:23:21 2007 +0200
@@ -862,6 +862,7 @@
   Control_State := TRUE;
 ELSE
   Control_State := FALSE;
+
   PumpSpeed := 10.0;
 END_IF;
           </ST>
@@ -873,11 +874,11 @@
     <configurations>
       <configuration name="ConfigTest">
         <resource name="ResourceTest">
-          <task interval="01:00:00.100000" name="Toto" priority="6">
+          <task interval="00:00:00.010000" name="Toto" priority="6">
             <pouInstance type="SFCTest" name="Program1"/>
           </task>
           <globalVars>
-            <variable name="Titi" address="M30">
+            <variable name="Titi" address="%MW30">
               <type>
                 <INT/>
               </type>
@@ -885,19 +886,18 @@
           </globalVars>
         </resource>
         <globalVars>
-          <variable name="Toto" address="M10">
+          <variable name="Toto" address="%MW10">
             <type>
               <INT/>
             </type>
           </variable>
-          <variable name="Tutu" address="M20">
+          <variable name="Tutu" address="%MX20">
             <type>
               <BOOL/>
             </type>
           </variable>
         </globalVars>
       </configuration>
-      <configuration name="ConfigTest2"/>
     </configurations>
   </instances>
 </project>