tests/linux/test_master_DS401GUI/plc.xml
changeset 177 8b3faaf3715e
parent 170 acc6a61c493c
equal deleted inserted replaced
176:d8cacbf276b5 177:8b3faaf3715e
     9               productVersion="1"
     9               productVersion="1"
    10               productRelease="1"
    10               productRelease="1"
    11               creationDateTime="2007-07-07 11:58:26"
    11               creationDateTime="2007-07-07 11:58:26"
    12               contentDescription="This tests as most as possible IEC standard library"/>
    12               contentDescription="This tests as most as possible IEC standard library"/>
    13   <contentHeader name="STD_TEST"
    13   <contentHeader name="STD_TEST"
    14                  modificationDateTime="2008-06-24 17:46:11">
    14                  modificationDateTime="2008-06-27 09:15:13">
    15     <coordinateInfo>
    15     <coordinateInfo>
    16       <fbd>
    16       <fbd>
    17         <scaling x="5" y="5"/>
    17         <scaling x="5" y="5"/>
    18       </fbd>
    18       </fbd>
    19       <ld>
    19       <ld>
  1888             <variable name="TEST_ARRAY">
  1888             <variable name="TEST_ARRAY">
  1889               <type>
  1889               <type>
  1890                 <derived name="MYTYPE3"/>
  1890                 <derived name="MYTYPE3"/>
  1891               </type>
  1891               </type>
  1892             </variable>
  1892             </variable>
       
  1893             <variable name="GO">
       
  1894               <type>
       
  1895                 <BOOL/>
       
  1896               </type>
       
  1897             </variable>
  1893           </localVars>
  1898           </localVars>
  1894         </interface>
  1899         </interface>
  1895         <actions>
  1900         <actions>
  1896           <action name="COUNT1">
  1901           <action name="COUNT1">
  1897             <body>
  1902             <body>
  1956               <connectionPointOutAction formalParameter="">
  1961               <connectionPointOutAction formalParameter="">
  1957                 <relPosition x="55" y="15"/>
  1962                 <relPosition x="55" y="15"/>
  1958               </connectionPointOutAction>
  1963               </connectionPointOutAction>
  1959             </step>
  1964             </step>
  1960             <jumpStep localId="5" height="13" width="20" targetName="Start">
  1965             <jumpStep localId="5" height="13" width="20" targetName="Start">
  1961               <position x="205" y="630"/>
  1966               <position x="205" y="730"/>
  1962               <connectionPointIn>
  1967               <connectionPointIn>
  1963                 <relPosition x="10" y="0"/>
  1968                 <relPosition x="10" y="0"/>
  1964                 <connection refLocalId="12">
  1969                 <connection refLocalId="48">
  1965                   <position x="215" y="630"/>
  1970                   <position x="215" y="730"/>
  1966                   <position x="215" y="601"/>
  1971                   <position x="215" y="700"/>
  1967                 </connection>
  1972                 </connection>
  1968               </connectionPointIn>
  1973               </connectionPointIn>
  1969             </jumpStep>
  1974             </jumpStep>
  1970             <transition localId="8" height="2" width="20">
  1975             <transition localId="8" height="2" width="20">
  1971               <position x="560" y="565"/>
  1976               <position x="560" y="565"/>
  2212               </connectionPointIn>
  2217               </connectionPointIn>
  2213               <action>
  2218               <action>
  2214                 <reference name="COUNT2"/>
  2219                 <reference name="COUNT2"/>
  2215               </action>
  2220               </action>
  2216             </actionBlock>
  2221             </actionBlock>
  2217             <actionBlock localId="32" height="30" width="235">
  2222             <actionBlock localId="32" height="30" width="350">
  2218               <position x="200" y="170"/>
  2223               <position x="200" y="170"/>
  2219               <connectionPointIn>
  2224               <connectionPointIn>
  2220                 <relPosition x="0" y="15"/>
  2225                 <relPosition x="0" y="15"/>
  2221                 <connection refLocalId="1">
  2226                 <connection refLocalId="1">
  2222                   <position x="200" y="185"/>
  2227                   <position x="200" y="185"/>
  2224                 </connection>
  2229                 </connection>
  2225               </connectionPointIn>
  2230               </connectionPointIn>
  2226               <action>
  2231               <action>
  2227                 <inline>
  2232                 <inline>
  2228                   <ST>
  2233                   <ST>
  2229 <![CDATA[OUT1 := 0;OUT2 := 0;]]>
  2234 <![CDATA[OUT1 := 0;OUT2 := 0;GO := FALSE;]]>
  2230                   </ST>
  2235                   </ST>
  2231                 </inline>
  2236                 </inline>
  2232               </action>
  2237               </action>
  2233             </actionBlock>
  2238             </actionBlock>
  2234             <transition localId="33" height="2" width="20">
  2239             <transition localId="33" height="2" width="20">
  2418               <content>
  2423               <content>
  2419 <![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions.
  2424 <![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions.
  2420 It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]>
  2425 It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]>
  2421               </content>
  2426               </content>
  2422             </comment>
  2427             </comment>
       
  2428             <step localId="47" height="35" width="110" name="TIMED_WAIT">
       
  2429               <position x="160" y="630"/>
       
  2430               <connectionPointIn>
       
  2431                 <relPosition x="55" y="0"/>
       
  2432                 <connection refLocalId="12">
       
  2433                   <position x="215" y="630"/>
       
  2434                   <position x="215" y="601"/>
       
  2435                 </connection>
       
  2436               </connectionPointIn>
       
  2437               <connectionPointOut formalParameter="">
       
  2438                 <relPosition x="55" y="35"/>
       
  2439               </connectionPointOut>
       
  2440               <connectionPointOutAction formalParameter="">
       
  2441                 <relPosition x="110" y="15"/>
       
  2442               </connectionPointOutAction>
       
  2443             </step>
       
  2444             <transition localId="48" height="5" width="20">
       
  2445               <position x="205" y="695"/>
       
  2446               <connectionPointIn>
       
  2447                 <relPosition x="10" y="0"/>
       
  2448                 <connection refLocalId="47">
       
  2449                   <position x="215" y="695"/>
       
  2450                   <position x="215" y="665"/>
       
  2451                 </connection>
       
  2452               </connectionPointIn>
       
  2453               <connectionPointOut>
       
  2454                 <relPosition x="10" y="5"/>
       
  2455               </connectionPointOut>
       
  2456               <condition>
       
  2457                 <inline name="">
       
  2458                   <ST>
       
  2459 <![CDATA[GO]]>
       
  2460                   </ST>
       
  2461                 </inline>
       
  2462               </condition>
       
  2463             </transition>
       
  2464             <actionBlock localId="49" height="40" width="170">
       
  2465               <position x="330" y="630"/>
       
  2466               <connectionPointIn>
       
  2467                 <relPosition x="0" y="15"/>
       
  2468                 <connection refLocalId="47">
       
  2469                   <position x="330" y="645"/>
       
  2470                   <position x="270" y="645"/>
       
  2471                 </connection>
       
  2472               </connectionPointIn>
       
  2473               <action qualifier="D" duration="T#2s">
       
  2474                 <inline>
       
  2475                   <ST>
       
  2476 <![CDATA[GO := TRUE;]]>
       
  2477                   </ST>
       
  2478                 </inline>
       
  2479               </action>
       
  2480             </actionBlock>
  2423           </SFC>
  2481           </SFC>
  2424         </body>
  2482         </body>
  2425       </pou>
  2483       </pou>
  2426     </pous>
  2484     </pous>
  2427   </types>
  2485   </types>