tests/first_steps/plc.xml
changeset 2514 756d02cf78db
parent 2346 ac16bad593cf
child 2534 47ca468ebcbe
equal deleted inserted replaced
2513:1ee326651a74 2514:756d02cf78db
     1 <?xml version='1.0' encoding='utf-8'?>
     1 <?xml version='1.0' encoding='utf-8'?>
     2 <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">
     2 <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">
     3   <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="1" creationDateTime="2016-10-24T18:09:22"/>
     3   <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="1" creationDateTime="2016-10-24T18:09:22"/>
     4   <contentHeader name="First Steps" modificationDateTime="2018-09-26T12:52:51">
     4   <contentHeader name="First Steps" modificationDateTime="2019-02-13T10:30:06">
     5     <coordinateInfo>
     5     <coordinateInfo>
     6       <fbd>
     6       <fbd>
     7         <scaling x="0" y="0"/>
     7         <scaling x="0" y="0"/>
     8       </fbd>
     8       </fbd>
     9       <ld>
     9       <ld>
   674             <variable name="Cnt">
   674             <variable name="Cnt">
   675               <type>
   675               <type>
   676                 <INT/>
   676                 <INT/>
   677               </type>
   677               </type>
   678             </variable>
   678             </variable>
       
   679             <variable name="R2">
       
   680               <type>
       
   681                 <BOOL/>
       
   682               </type>
       
   683             </variable>
   679           </localVars>
   684           </localVars>
   680           <externalVars constant="true">
   685           <externalVars constant="true">
   681             <variable name="ResetCounterValue">
   686             <variable name="ResetCounterValue">
   682               <type>
   687               <type>
   683                 <INT/>
   688                 <INT/>
   806               </connectionPointOut>
   811               </connectionPointOut>
   807               <connectionPointOutAction formalParameter="">
   812               <connectionPointOutAction formalParameter="">
   808                 <relPosition x="85" y="15"/>
   813                 <relPosition x="85" y="15"/>
   809               </connectionPointOutAction>
   814               </connectionPointOutAction>
   810             </step>
   815             </step>
   811             <actionBlock localId="8" height="52" width="164" executionOrderId="0">
   816             <actionBlock localId="8" height="63" width="148" executionOrderId="0">
   812               <position x="154" y="191"/>
   817               <position x="154" y="191"/>
   813               <connectionPointIn>
   818               <connectionPointIn>
   814                 <relPosition x="0" y="15"/>
   819                 <relPosition x="0" y="15"/>
   815                 <connection refLocalId="7">
   820                 <connection refLocalId="7">
   816                   <position x="154" y="206"/>
   821                   <position x="154" y="206"/>
   820               <action localId="0">
   825               <action localId="0">
   821                 <relPosition x="0" y="0"/>
   826                 <relPosition x="0" y="0"/>
   822                 <inline>
   827                 <inline>
   823                   <ST>
   828                   <ST>
   824                     <xhtml:p><![CDATA[Cnt := Cnt + 1;]]></xhtml:p>
   829                     <xhtml:p><![CDATA[Cnt := Cnt + 1;]]></xhtml:p>
       
   830                   </ST>
       
   831                 </inline>
       
   832               </action>
       
   833               <action localId="0" qualifier="S">
       
   834                 <relPosition x="0" y="0"/>
       
   835                 <inline>
       
   836                   <ST>
       
   837                     <xhtml:p><![CDATA[ R2 := True;]]></xhtml:p>
   825                   </ST>
   838                   </ST>
   826                 </inline>
   839                 </inline>
   827               </action>
   840               </action>
   828               <action localId="0">
   841               <action localId="0">
   829                 <relPosition x="0" y="0"/>
   842                 <relPosition x="0" y="0"/>
   833                   </ST>
   846                   </ST>
   834                 </inline>
   847                 </inline>
   835               </action>
   848               </action>
   836             </actionBlock>
   849             </actionBlock>
   837             <selectionConvergence localId="10" height="1" width="431">
   850             <selectionConvergence localId="10" height="1" width="431">
   838               <position x="70" y="273"/>
   851               <position x="70" y="657"/>
   839               <connectionPointIn>
   852               <connectionPointIn>
   840                 <relPosition x="0" y="0"/>
   853                 <relPosition x="0" y="0"/>
   841                 <connection refLocalId="13">
   854                 <connection refLocalId="13">
   842                   <position x="70" y="273"/>
   855                   <position x="70" y="657"/>
   843                   <position x="70" y="244"/>
   856                   <position x="70" y="244"/>
   844                 </connection>
   857                 </connection>
   845               </connectionPointIn>
   858               </connectionPointIn>
   846               <connectionPointIn>
   859               <connectionPointIn>
   847                 <relPosition x="431" y="0"/>
   860                 <relPosition x="431" y="0"/>
   848                 <connection refLocalId="14">
   861                 <connection refLocalId="14">
   849                   <position x="501" y="273"/>
   862                   <position x="501" y="657"/>
   850                   <position x="501" y="250"/>
   863                   <position x="501" y="250"/>
   851                 </connection>
   864                 </connection>
   852               </connectionPointIn>
   865               </connectionPointIn>
   853               <connectionPointOut>
   866               <connectionPointOut>
   854                 <relPosition x="216" y="1"/>
   867                 <relPosition x="216" y="1"/>
   855               </connectionPointOut>
   868               </connectionPointOut>
   856             </selectionConvergence>
   869             </selectionConvergence>
   857             <jumpStep localId="12" targetName="Start" height="13" width="12">
   870             <jumpStep localId="12" targetName="Start" height="13" width="12">
   858               <position x="280" y="317"/>
   871               <position x="280" y="701"/>
   859               <connectionPointIn>
   872               <connectionPointIn>
   860                 <relPosition x="6" y="0"/>
   873                 <relPosition x="6" y="0"/>
   861                 <connection refLocalId="10">
   874                 <connection refLocalId="10">
   862                   <position x="286" y="317"/>
   875                   <position x="286" y="701"/>
   863                   <position x="286" y="274"/>
   876                   <position x="286" y="658"/>
   864                 </connection>
   877                 </connection>
   865               </connectionPointIn>
   878               </connectionPointIn>
   866             </jumpStep>
   879             </jumpStep>
   867             <transition localId="13" height="2" width="20" executionOrderId="0">
   880             <transition localId="13" height="2" width="20" executionOrderId="0">
   868               <position x="60" y="242"/>
   881               <position x="60" y="242"/>
   869               <connectionPointIn>
   882               <connectionPointIn>
   870                 <relPosition x="10" y="0"/>
   883                 <relPosition x="10" y="0"/>
   871                 <connection refLocalId="7">
   884                 <connection refLocalId="7">
   872                   <position x="70" y="242"/>
   885                   <position x="70" y="242"/>
   873                   <position x="70" y="215"/>
   886                   <position x="70" y="221"/>
   874                 </connection>
   887                 </connection>
   875               </connectionPointIn>
   888               </connectionPointIn>
   876               <connectionPointOut>
   889               <connectionPointOut>
   877                 <relPosition x="10" y="2"/>
   890                 <relPosition x="10" y="2"/>
   878               </connectionPointOut>
   891               </connectionPointOut>
   968                 <BOOL/>
   981                 <BOOL/>
   969               </type>
   982               </type>
   970             </variable>
   983             </variable>
   971           </inputVars>
   984           </inputVars>
   972           <outputVars>
   985           <outputVars>
       
   986             <variable name="Reset0">
       
   987               <type>
       
   988                 <BOOL/>
       
   989               </type>
       
   990             </variable>
   973             <variable name="Out">
   991             <variable name="Out">
   974               <type>
   992               <type>
   975                 <INT/>
   993                 <INT/>
   976               </type>
   994               </type>
   977             </variable>
   995             </variable>