tests/first_steps/plc.xml
changeset 2514 756d02cf78db
parent 2346 ac16bad593cf
child 2534 47ca468ebcbe
--- a/tests/first_steps/plc.xml	Thu Feb 21 10:58:37 2019 +0300
+++ b/tests/first_steps/plc.xml	Thu Feb 21 11:25:03 2019 +0300
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='utf-8'?>
 <project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201">
   <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="1" creationDateTime="2016-10-24T18:09:22"/>
-  <contentHeader name="First Steps" modificationDateTime="2018-09-26T12:52:51">
+  <contentHeader name="First Steps" modificationDateTime="2019-02-13T10:30:06">
     <coordinateInfo>
       <fbd>
         <scaling x="0" y="0"/>
@@ -676,6 +676,11 @@
                 <INT/>
               </type>
             </variable>
+            <variable name="R2">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
           </localVars>
           <externalVars constant="true">
             <variable name="ResetCounterValue">
@@ -808,7 +813,7 @@
                 <relPosition x="85" y="15"/>
               </connectionPointOutAction>
             </step>
-            <actionBlock localId="8" height="52" width="164" executionOrderId="0">
+            <actionBlock localId="8" height="63" width="148" executionOrderId="0">
               <position x="154" y="191"/>
               <connectionPointIn>
                 <relPosition x="0" y="15"/>
@@ -825,6 +830,14 @@
                   </ST>
                 </inline>
               </action>
+              <action localId="0" qualifier="S">
+                <relPosition x="0" y="0"/>
+                <inline>
+                  <ST>
+                    <xhtml:p><![CDATA[ R2 := True;]]></xhtml:p>
+                  </ST>
+                </inline>
+              </action>
               <action localId="0">
                 <relPosition x="0" y="0"/>
                 <inline>
@@ -835,18 +848,18 @@
               </action>
             </actionBlock>
             <selectionConvergence localId="10" height="1" width="431">
-              <position x="70" y="273"/>
+              <position x="70" y="657"/>
               <connectionPointIn>
                 <relPosition x="0" y="0"/>
                 <connection refLocalId="13">
-                  <position x="70" y="273"/>
+                  <position x="70" y="657"/>
                   <position x="70" y="244"/>
                 </connection>
               </connectionPointIn>
               <connectionPointIn>
                 <relPosition x="431" y="0"/>
                 <connection refLocalId="14">
-                  <position x="501" y="273"/>
+                  <position x="501" y="657"/>
                   <position x="501" y="250"/>
                 </connection>
               </connectionPointIn>
@@ -855,12 +868,12 @@
               </connectionPointOut>
             </selectionConvergence>
             <jumpStep localId="12" targetName="Start" height="13" width="12">
-              <position x="280" y="317"/>
+              <position x="280" y="701"/>
               <connectionPointIn>
                 <relPosition x="6" y="0"/>
                 <connection refLocalId="10">
-                  <position x="286" y="317"/>
-                  <position x="286" y="274"/>
+                  <position x="286" y="701"/>
+                  <position x="286" y="658"/>
                 </connection>
               </connectionPointIn>
             </jumpStep>
@@ -870,7 +883,7 @@
                 <relPosition x="10" y="0"/>
                 <connection refLocalId="7">
                   <position x="70" y="242"/>
-                  <position x="70" y="215"/>
+                  <position x="70" y="221"/>
                 </connection>
               </connectionPointIn>
               <connectionPointOut>
@@ -970,6 +983,11 @@
             </variable>
           </inputVars>
           <outputVars>
+            <variable name="Reset0">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
             <variable name="Out">
               <type>
                 <INT/>