Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
authoretisserant
Wed, 25 Jun 2008 17:11:47 +0200
changeset 170 acc6a61c493c
parent 169 8e87b69286c0
child 171 d02b27b6c36a
Moved DS401 Slave Gui based demo to test_master_DS401GUI. test_master is now a pure simple master, supposed to work with test_slave.
tests/linux/test_master/beremiz.xml
tests/linux/test_master/plc.xml
tests/linux/test_master_DS401GUI/.cvsignore
tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/baseplugin.xml
tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/eds/DS401_Slave_Gui.eds
tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/eds/PEAK MicroMod.eds
tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/master.od
tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/nodelist.cpj
tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/plugin.xml
tests/linux/test_master_DS401GUI/CANopen@canfestival/baseplugin.xml
tests/linux/test_master_DS401GUI/CANopen@canfestival/plugin.xml
tests/linux/test_master_DS401GUI/beremiz.xml
tests/linux/test_master_DS401GUI/methods.py
tests/linux/test_master_DS401GUI/plc.xml
tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/baseplugin.xml
tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/plugin.xml
tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/slave.od
tests/linux/test_slave/plc.xml
--- a/tests/linux/test_master/beremiz.xml	Wed Jun 25 17:09:24 2008 +0200
+++ b/tests/linux/test_master/beremiz.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<BeremizRoot CFLAGS="-g" Linker="g++" LDFLAGS="-g">
+<BeremizRoot CFLAGS="-g" Linker="g++" LDFLAGS="">
   <TargetType>
     <Linux Nice="0"/>
   </TargetType>
--- a/tests/linux/test_master/plc.xml	Wed Jun 25 17:09:24 2008 +0200
+++ b/tests/linux/test_master/plc.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -3,878 +3,87 @@
          xmlns="http://www.plcopen.org/xml/tc6.xsd"
          xmlns:xhtml="http://www.w3.org/1999/xhtml"
          xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd">
-  <fileHeader companyName="LOLITECH"
-              companyURL="www.lolitech.com"
-              productName="BREMIZ"
+  <fileHeader companyName="lolitech"
+              productName="beremiz"
               productVersion="1"
-              productRelease="1"
-              creationDateTime="2007-07-07 11:58:26"
-              contentDescription="This tests as most as possible IEC standard library"/>
-  <contentHeader name="STD_TEST"
-                 modificationDateTime="2008-06-24 17:46:11">
+              creationDateTime="2008-06-24 18:44:00"/>
+  <contentHeader name="test_slave"
+                 modificationDateTime="2008-06-25 16:42:30"
+                 language="en-US">
     <coordinateInfo>
       <fbd>
-        <scaling x="5" y="5"/>
+        <scaling x="0" y="0"/>
       </fbd>
       <ld>
-        <scaling x="5" y="5"/>
+        <scaling x="0" y="0"/>
       </ld>
       <sfc>
-        <scaling x="5" y="5"/>
+        <scaling x="0" y="0"/>
       </sfc>
     </coordinateInfo>
   </contentHeader>
   <types>
-    <dataTypes>
-      <dataType name="MYTYPE">
-        <baseType>
-          <subrangeSigned>
-            <range lower="0" upper="1000"/>
-            <baseType>
-              <INT/>
-            </baseType>
-          </subrangeSigned>
-        </baseType>
-      </dataType>
-      <dataType name="MYTYPE2">
-        <baseType>
-          <enum>
-            <values>
-              <value name="OPEN"/>
-              <value name="CLOSED"/>
-            </values>
-          </enum>
-        </baseType>
-        <initialValue>
-          <simpleValue value="CLOSED"/>
-        </initialValue>
-      </dataType>
-      <dataType name="MYTYPE3">
-        <baseType>
-          <array>
-            <dimension lower="1" upper="8"/>
-            <dimension lower="1" upper="8"/>
-            <baseType>
-              <derived name="MYTYPE5"/>
-            </baseType>
-          </array>
-        </baseType>
-        <initialValue>
-          <arrayValue>
-            <value repetitionValue="32">
-              <simpleValue value="0"/>
-            </value>
-            <value repetitionValue="30">
-              <simpleValue value="1"/>
-            </value>
-          </arrayValue>
-        </initialValue>
-      </dataType>
-      <dataType name="MYTYPE4">
-        <baseType>
-          <subrangeUnsigned>
-            <range lower="1" upper="100"/>
-            <baseType>
-              <UINT/>
-            </baseType>
-          </subrangeUnsigned>
-        </baseType>
-      </dataType>
-      <dataType name="MYTYPE5">
-        <baseType>
-          <derived name="MYTYPE4"/>
-        </baseType>
-        <initialValue>
-          <simpleValue value="10"/>
-        </initialValue>
-      </dataType>
-    </dataTypes>
+    <dataTypes/>
     <pous>
-      <pou name="MAIN_TEST" pouType="program">
+      <pou name="test_main" pouType="program">
         <interface>
           <localVars>
-            <variable name="DigitalOut" address="%QB0.0.16.25088.1">
-              <type>
-                <BYTE/>
-              </type>
-            </variable>
-            <variable name="DigitalIn" address="%IB0.0.32.24576.1">
-              <type>
-                <BYTE/>
-              </type>
-            </variable>
-            <variable name="AnalogOut1" address="%QW0.0.16.25617.1">
-              <type>
-                <derived name="MYTYPE"/>
-              </type>
-            </variable>
-            <variable name="AnalogOut2" address="%QW0.0.16.25617.2">
-              <type>
-                <derived name="MYTYPE"/>
-              </type>
-            </variable>
-            <variable name="AnalogOut3" address="%QW0.0.16.25617.3">
+            <variable name="PLC_OUT" address="%QW0.0.3.8193.0">
               <type>
                 <INT/>
               </type>
             </variable>
-            <variable name="AnalogOut4" address="%QW0.0.16.25617.4">
+            <variable name="PLC_IN" address="%IW0.0.3.8192.0">
               <type>
                 <INT/>
               </type>
             </variable>
-            <variable name="AnalogIn1" address="%IW0.0.32.25601.1">
-              <type>
-                <INT/>
-              </type>
-            </variable>
-            <variable name="AnalogIn2" address="%IW0.0.32.25601.2">
-              <type>
-                <INT/>
-              </type>
-            </variable>
-            <variable name="DeviceType" address="%ID0.0.4096.0">
-              <type>
-                <UDINT/>
-              </type>
-            </variable>
-          </localVars>
-          <localVars>
-            <variable name="Test">
-              <type>
-                <derived name="Bitwise_Block"/>
-              </type>
-            </variable>
-            <variable name="Test2">
-              <type>
-                <derived name="Test_SFC"/>
-              </type>
-            </variable>
-            <variable name="t1">
-              <type>
-                <derived name="TOF"/>
-              </type>
-            </variable>
-            <variable name="latch">
-              <type>
-                <derived name="RS"/>
-              </type>
-            </variable>
-            <variable name="t2">
-              <type>
-                <derived name="TOF"/>
-              </type>
-            </variable>
           </localVars>
         </interface>
         <body>
           <FBD>
-            <comment localId="26" height="80" width="475">
-              <position x="25" y="5"/>
-              <content>
-<![CDATA[Main program]]>
-              </content>
-            </comment>
-            <inVariable localId="34" height="30" width="95">
-              <position x="40" y="535"/>
-              <connectionPointOut>
-                <relPosition x="95" y="15"/>
-              </connectionPointOut>
-              <expression>DigitalIn</expression>
-            </inVariable>
-            <outVariable localId="36" height="30" width="100">
-              <position x="915" y="450"/>
+            <outVariable localId="1" height="29" width="80">
+              <position x="362" y="140"/>
               <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="39">
-                  <position x="915" y="465"/>
-                  <position x="885" y="465"/>
-                  <position x="885" y="465"/>
-                  <position x="925" y="465"/>
-                  <position x="925" y="465"/>
-                  <position x="865" y="465"/>
+                <relPosition x="0" y="14"/>
+                <connection refLocalId="4" formalParameter="OUT">
+                  <position x="362" y="154"/>
+                  <position x="330" y="154"/>
+                  <position x="330" y="153"/>
+                  <position x="299" y="153"/>
                 </connection>
               </connectionPointIn>
-              <expression>DigitalOut</expression>
+              <expression>PLC_OUT</expression>
             </outVariable>
-            <block localId="37" width="107" height="60" typeName="GETBIT">
-              <position x="195" y="520"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="34">
-                      <position x="195" y="550"/>
-                      <position x="135" y="550"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="38">
-                      <position x="195" y="570"/>
-                      <position x="165" y="570"/>
-                      <position x="165" y="585"/>
-                      <position x="105" y="585"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="107" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="38" height="30" width="65">
-              <position x="40" y="570"/>
+            <inVariable localId="2" height="29" width="20">
+              <position x="100" y="115"/>
               <connectionPointOut>
-                <relPosition x="65" y="15"/>
+                <relPosition x="20" y="14"/>
               </connectionPointOut>
-              <expression>UINT#0</expression>
+              <expression>1</expression>
             </inVariable>
-            <block localId="39" width="120" height="80" typeName="SETBIT">
-              <position x="745" y="435"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="95">
-                      <position x="745" y="465"/>
-                      <position x="695" y="465"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="INPUT_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="52" formalParameter="OUT_AND">
-                      <position x="745" y="485"/>
-                      <position x="569" y="485"/>
-                      <position x="569" y="550"/>
-                      <position x="513" y="550"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="70"/>
-                    <connection refLocalId="96">
-                      <position x="745" y="505"/>
-                      <position x="690" y="505"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="40" height="30" width="100">
-              <position x="25" y="155"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>DigitalOut</expression>
-            </inVariable>
-            <block localId="42" width="120" height="85" typeName="SETBIT">
-              <position x="745" y="530"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="94">
-                      <position x="745" y="560"/>
-                      <position x="690" y="560"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="INPUT_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="52" formalParameter="OUT_OR">
-                      <position x="745" y="580"/>
-                      <position x="513" y="580"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="70"/>
-                    <connection refLocalId="93">
-                      <position x="745" y="600"/>
-                      <position x="690" y="600"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <outVariable localId="43" height="30" width="100">
-              <position x="910" y="545"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="42">
-                  <position x="910" y="560"/>
-                  <position x="865" y="560"/>
-                </connection>
-              </connectionPointIn>
-              <expression>DigitalOut</expression>
-            </outVariable>
-            <block localId="44" width="115" height="60" typeName="GETBIT">
-              <position x="195" y="595"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="97">
-                      <position x="195" y="625"/>
-                      <position x="135" y="625"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="45">
-                      <position x="195" y="645"/>
-                      <position x="154" y="645"/>
-                      <position x="154" y="660"/>
-                      <position x="105" y="660"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="115" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="45" height="30" width="65">
-              <position x="40" y="645"/>
-              <connectionPointOut>
-                <relPosition x="65" y="15"/>
-              </connectionPointOut>
-              <expression>UINT#1</expression>
-            </inVariable>
-            <block localId="46" width="120" height="80" typeName="SETBIT">
-              <position x="745" y="630"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="92">
-                      <position x="745" y="660"/>
-                      <position x="690" y="660"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="INPUT_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="52" formalParameter="OUT_XOR">
-                      <position x="745" y="680"/>
-                      <position x="555" y="680"/>
-                      <position x="555" y="610"/>
-                      <position x="513" y="610"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="70"/>
-                    <connection refLocalId="49">
-                      <position x="745" y="700"/>
-                      <position x="690" y="700"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <outVariable localId="47" height="30" width="105">
-              <position x="910" y="645"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="46">
-                  <position x="910" y="660"/>
-                  <position x="865" y="660"/>
-                </connection>
-              </connectionPointIn>
-              <expression>DigitalOut</expression>
-            </outVariable>
-            <inVariable localId="49" height="30" width="65">
-              <position x="625" y="685"/>
-              <connectionPointOut>
-                <relPosition x="65" y="15"/>
-              </connectionPointOut>
-              <expression>UINT#2</expression>
-            </inVariable>
-            <block localId="50" width="120" height="80" typeName="SETBIT">
-              <position x="745" y="725"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="91">
-                      <position x="745" y="755"/>
-                      <position x="690" y="755"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="INPUT_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="52" formalParameter="OUT_SR">
-                      <position x="745" y="775"/>
-                      <position x="525" y="775"/>
-                      <position x="525" y="640"/>
-                      <position x="513" y="640"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="70"/>
-                    <connection refLocalId="53">
-                      <position x="745" y="795"/>
-                      <position x="692" y="795"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <outVariable localId="51" height="30" width="100">
-              <position x="910" y="740"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="50">
-                  <position x="910" y="755"/>
-                  <position x="865" y="755"/>
-                </connection>
-              </connectionPointIn>
-              <expression>DigitalOut</expression>
-            </outVariable>
-            <block localId="52" width="127" height="141" typeName="Bitwise_Block" instanceName="Test">
-              <position x="386" y="515"/>
+            <block localId="4" width="75" height="60" typeName="ADD">
+              <position x="224" y="123"/>
               <inputVariables>
                 <variable formalParameter="IN1">
                   <connectionPointIn>
-                    <relPosition x="0" y="35"/>
-                    <connection refLocalId="37">
-                      <position x="386" y="550"/>
-                      <position x="302" y="550"/>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="2">
+                      <position x="224" y="153"/>
+                      <position x="183" y="153"/>
+                      <position x="183" y="129"/>
+                      <position x="120" y="129"/>
                     </connection>
                   </connectionPointIn>
                 </variable>
                 <variable formalParameter="IN2">
                   <connectionPointIn>
-                    <relPosition x="0" y="65"/>
-                    <connection refLocalId="44">
-                      <position x="386" y="580"/>
-                      <position x="365" y="580"/>
-                      <position x="365" y="625"/>
-                      <position x="310" y="625"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT_AND">
-                  <connectionPointOut>
-                    <relPosition x="127" y="35"/>
-                  </connectionPointOut>
-                </variable>
-                <variable formalParameter="OUT_OR">
-                  <connectionPointOut>
-                    <relPosition x="127" y="65"/>
-                  </connectionPointOut>
-                </variable>
-                <variable formalParameter="OUT_XOR">
-                  <connectionPointOut>
-                    <relPosition x="127" y="95"/>
-                  </connectionPointOut>
-                </variable>
-                <variable formalParameter="OUT_SR">
-                  <connectionPointOut>
-                    <relPosition x="127" y="125"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="53" height="30" width="67">
-              <position x="625" y="780"/>
-              <connectionPointOut>
-                <relPosition x="67" y="15"/>
-              </connectionPointOut>
-              <expression>UINT#3</expression>
-            </inVariable>
-            <inVariable localId="59" height="30" width="100">
-              <position x="45" y="910"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>AnalogOut1</expression>
-            </inVariable>
-            <outVariable localId="60" height="30" width="100">
-              <position x="910" y="840"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="69" formalParameter="OUT1">
-                  <position x="910" y="855"/>
-                  <position x="610" y="855"/>
-                </connection>
-              </connectionPointIn>
-              <expression>AnalogOut1</expression>
-            </outVariable>
-            <inVariable localId="64" height="30" width="95">
-              <position x="45" y="980"/>
-              <connectionPointOut>
-                <relPosition x="95" y="15"/>
-              </connectionPointOut>
-              <expression>AnalogIn1</expression>
-            </inVariable>
-            <block localId="69" width="160" height="230" typeName="Test_SFC" instanceName="Test2">
-              <position x="450" y="820"/>
-              <inputVariables>
-                <variable formalParameter="CNT1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="35"/>
-                    <connection refLocalId="37">
-                      <position x="450" y="855"/>
-                      <position x="340" y="855"/>
-                      <position x="340" y="550"/>
-                      <position x="302" y="550"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="CNT2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="70"/>
-                    <connection refLocalId="44">
-                      <position x="450" y="890"/>
-                      <position x="365" y="890"/>
-                      <position x="365" y="625"/>
-                      <position x="310" y="625"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="IN1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="105"/>
-                    <connection refLocalId="59">
-                      <position x="450" y="925"/>
-                      <position x="145" y="925"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="IN2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="140"/>
-                    <connection refLocalId="71">
-                      <position x="450" y="960"/>
-                      <position x="145" y="960"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="UPPER1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="175"/>
-                    <connection refLocalId="64">
-                      <position x="450" y="995"/>
-                      <position x="140" y="995"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="UPPER2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="210"/>
-                    <connection refLocalId="72">
-                      <position x="450" y="1030"/>
-                      <position x="140" y="1030"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT1">
-                  <connectionPointOut>
-                    <relPosition x="160" y="35"/>
-                  </connectionPointOut>
-                </variable>
-                <variable formalParameter="OUT2">
-                  <connectionPointOut>
-                    <relPosition x="160" y="70"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <outVariable localId="70" height="30" width="100">
-              <position x="910" y="875"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="69" formalParameter="OUT2">
-                  <position x="910" y="890"/>
-                  <position x="610" y="890"/>
-                </connection>
-              </connectionPointIn>
-              <expression>AnalogOut2</expression>
-            </outVariable>
-            <inVariable localId="71" height="30" width="100">
-              <position x="45" y="945"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>AnalogOut2</expression>
-            </inVariable>
-            <inVariable localId="72" height="35" width="95">
-              <position x="45" y="1015"/>
-              <connectionPointOut>
-                <relPosition x="95" y="15"/>
-              </connectionPointOut>
-              <expression>AnalogIn2</expression>
-            </inVariable>
-            <block localId="73" width="120" height="80" typeName="SETBIT">
-              <position x="745" y="140"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="40">
-                      <position x="745" y="170"/>
-                      <position x="125" y="170"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="INPUT_BIT">
-                  <connectionPointIn>
                     <relPosition x="0" y="50"/>
-                    <connection refLocalId="77" formalParameter="Q">
-                      <position x="745" y="190"/>
-                      <position x="526" y="190"/>
-                      <position x="526" y="220"/>
-                      <position x="507" y="220"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="70"/>
-                    <connection refLocalId="74">
-                      <position x="745" y="210"/>
-                      <position x="540" y="210"/>
-                      <position x="540" y="295"/>
-                      <position x="95" y="295"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="74" height="30" width="65">
-              <position x="30" y="280"/>
-              <connectionPointOut>
-                <relPosition x="65" y="15"/>
-              </connectionPointOut>
-              <expression>UINT#7</expression>
-            </inVariable>
-            <block localId="75" width="120" height="60" typeName="GETBIT">
-              <position x="170" y="190"/>
-              <inputVariables>
-                <variable formalParameter="INPUT_BYTE">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="40">
-                      <position x="170" y="220"/>
-                      <position x="150" y="220"/>
-                      <position x="150" y="170"/>
-                      <position x="125" y="170"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="NUM_BIT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="74">
-                      <position x="170" y="240"/>
-                      <position x="151" y="240"/>
-                      <position x="151" y="295"/>
-                      <position x="95" y="295"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <outVariable localId="76" height="30" width="100">
-              <position x="910" y="155"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="73">
-                  <position x="910" y="170"/>
-                  <position x="865" y="170"/>
-                </connection>
-              </connectionPointIn>
-              <expression>DigitalOut</expression>
-            </outVariable>
-            <block localId="77" width="57" height="60" typeName="TP" instanceName="t1">
-              <position x="450" y="190"/>
-              <inputVariables>
-                <variable formalParameter="IN" negated="true">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="85" formalParameter="Q">
-                      <position x="450" y="220"/>
-                      <position x="400" y="220"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="PT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="80">
-                      <position x="450" y="240"/>
-                      <position x="420" y="240"/>
-                      <position x="420" y="270"/>
-                      <position x="220" y="270"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="Q">
-                  <connectionPointOut>
-                    <relPosition x="57" y="30"/>
-                  </connectionPointOut>
-                </variable>
-                <variable formalParameter="ET">
-                  <connectionPointOut>
-                    <relPosition x="57" y="50"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="80" height="27" width="50">
-              <position x="170" y="255"/>
-              <connectionPointOut>
-                <relPosition x="50" y="15"/>
-              </connectionPointOut>
-              <expression>T#1s</expression>
-            </inVariable>
-            <block localId="85" width="60" height="60" typeName="TOF" instanceName="t2">
-              <position x="340" y="190"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="75">
-                      <position x="340" y="220"/>
-                      <position x="290" y="220"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="PT">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="80">
-                      <position x="340" y="240"/>
-                      <position x="296" y="240"/>
-                      <position x="296" y="270"/>
-                      <position x="220" y="270"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="Q">
-                  <connectionPointOut>
-                    <relPosition x="60" y="30"/>
-                  </connectionPointOut>
-                </variable>
-                <variable formalParameter="ET">
-                  <connectionPointOut>
-                    <relPosition x="60" y="50"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <outVariable localId="86" height="30" width="100">
-              <position x="910" y="330"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="90" formalParameter="OUT">
-                  <position x="910" y="345"/>
-                  <position x="865" y="345"/>
-                </connection>
-              </connectionPointIn>
-              <expression>AnalogOut3</expression>
-            </outVariable>
-            <block localId="87" width="120" height="40" typeName="TIME_TO_REAL">
-              <position x="455" y="315"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="77" formalParameter="ET">
-                      <position x="455" y="345"/>
-                      <position x="445" y="345"/>
-                      <position x="445" y="275"/>
-                      <position x="517" y="275"/>
-                      <position x="517" y="240"/>
-                      <position x="507" y="240"/>
+                    <connection refLocalId="5">
+                      <position x="224" y="173"/>
+                      <position x="199" y="173"/>
+                      <position x="199" y="201"/>
+                      <position x="174" y="201"/>
                     </connection>
                   </connectionPointIn>
                 </variable>
@@ -883,1554 +92,29 @@
               <outputVariables>
                 <variable formalParameter="OUT">
                   <connectionPointOut>
-                    <relPosition x="120" y="30"/>
+                    <relPosition x="75" y="30"/>
                   </connectionPointOut>
                 </variable>
               </outputVariables>
             </block>
-            <block localId="88" width="80" height="60" typeName="MUL">
-              <position x="630" y="315"/>
-              <inputVariables>
-                <variable formalParameter="IN1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="87" formalParameter="OUT">
-                      <position x="630" y="345"/>
-                      <position x="575" y="345"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="IN2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="89">
-                      <position x="630" y="365"/>
-                      <position x="607" y="365"/>
-                      <position x="607" y="400"/>
-                      <position x="585" y="400"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="80" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="89" height="35" width="120">
-              <position x="465" y="385"/>
+            <inVariable localId="5" height="29" width="70">
+              <position x="104" y="187"/>
               <connectionPointOut>
-                <relPosition x="120" y="15"/>
+                <relPosition x="70" y="14"/>
               </connectionPointOut>
-              <expression>REAL#10000.0</expression>
+              <expression>PLC_IN</expression>
             </inVariable>
-            <block localId="90" width="120" height="40" typeName="REAL_TO_INT">
-              <position x="745" y="315"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="88" formalParameter="OUT">
-                      <position x="745" y="345"/>
-                      <position x="710" y="345"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="91" height="30" width="100">
-              <position x="590" y="740"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>DigitalOut</expression>
-            </inVariable>
-            <inVariable localId="92" height="30" width="100">
-              <position x="590" y="645"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>DigitalOut</expression>
-            </inVariable>
-            <inVariable localId="93" height="30" width="65">
-              <position x="625" y="585"/>
-              <connectionPointOut>
-                <relPosition x="65" y="15"/>
-              </connectionPointOut>
-              <expression>UINT#1</expression>
-            </inVariable>
-            <inVariable localId="94" height="30" width="100">
-              <position x="590" y="545"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>DigitalOut</expression>
-            </inVariable>
-            <inVariable localId="95" height="30" width="100">
-              <position x="595" y="450"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>DigitalOut</expression>
-            </inVariable>
-            <inVariable localId="96" height="30" width="95">
-              <position x="595" y="490"/>
-              <connectionPointOut>
-                <relPosition x="95" y="15"/>
-              </connectionPointOut>
-              <expression>UINT#0</expression>
-            </inVariable>
-            <inVariable localId="97" height="30" width="95">
-              <position x="40" y="610"/>
-              <connectionPointOut>
-                <relPosition x="95" y="15"/>
-              </connectionPointOut>
-              <expression>DigitalIn</expression>
-            </inVariable>
-            <comment localId="100" height="40" width="400">
-              <position x="25" y="100"/>
-              <content>
-<![CDATA[A simple blinking output (2s period)]]>
-              </content>
-            </comment>
-            <comment localId="102" height="40" width="430">
-              <position x="580" y="255"/>
-              <content>
-<![CDATA[Output value of TP block as analog output #3]]>
-              </content>
-            </comment>
-            <comment localId="103" height="65" width="420">
-              <position x="25" y="425"/>
-              <content>
-<![CDATA[Map input and output of bitwise_block test to bits of DigitalIn and Digital out]]>
-              </content>
-            </comment>
-            <comment localId="104" height="85" width="285">
-              <position x="40" y="805"/>
-              <content>
-<![CDATA[Map AnalogIN #1 #2 and AnalogOUT #1 #2 to SFC test interface]]>
-              </content>
-            </comment>
-            <inVariable localId="105" height="30" width="115">
-              <position x="640" y="965"/>
-              <connectionPointOut>
-                <relPosition x="115" y="15"/>
-              </connectionPointOut>
-              <expression>DeviceType</expression>
-            </inVariable>
-            <outVariable localId="106" height="30" width="115">
-              <position x="1000" y="965"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="107" formalParameter="OUT">
-                  <position x="1000" y="980"/>
-                  <position x="945" y="980"/>
-                </connection>
-              </connectionPointIn>
-              <expression>AnalogOut4</expression>
-            </outVariable>
-            <block localId="107" width="130" height="40" typeName="UDINT_TO_INT">
-              <position x="815" y="950"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="105">
-                      <position x="815" y="980"/>
-                      <position x="755" y="980"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="130" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
           </FBD>
         </body>
       </pou>
-      <pou name="GETBIT" pouType="function">
-        <interface>
-          <returnType>
-            <BOOL/>
-          </returnType>
-          <inputVars>
-            <variable name="INPUT_BYTE">
-              <type>
-                <BYTE/>
-              </type>
-            </variable>
-            <variable name="NUM_BIT">
-              <type>
-                <USINT/>
-              </type>
-            </variable>
-          </inputVars>
-        </interface>
-        <body>
-          <FBD>
-            <block localId="1" width="70" height="60" typeName="SHR">
-              <position x="175" y="110"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="2">
-                      <position x="175" y="140"/>
-                      <position x="135" y="140"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="N">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="3">
-                      <position x="175" y="160"/>
-                      <position x="140" y="160"/>
-                      <position x="140" y="180"/>
-                      <position x="105" y="180"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="70" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="2" height="30" width="105">
-              <position x="30" y="125"/>
-              <connectionPointOut>
-                <relPosition x="105" y="15"/>
-              </connectionPointOut>
-              <expression>INPUT_BYTE</expression>
-            </inVariable>
-            <inVariable localId="3" height="30" width="75">
-              <position x="30" y="165"/>
-              <connectionPointOut>
-                <relPosition x="75" y="15"/>
-              </connectionPointOut>
-              <expression>NUM_BIT</expression>
-            </inVariable>
-            <outVariable localId="4" height="30" width="65">
-              <position x="555" y="125"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="7" formalParameter="OUT">
-                  <position x="555" y="140"/>
-                  <position x="515" y="140"/>
-                </connection>
-              </connectionPointIn>
-              <expression>GETBIT</expression>
-            </outVariable>
-            <block localId="5" width="85" height="60" typeName="AND">
-              <position x="275" y="110"/>
-              <inputVariables>
-                <variable formalParameter="IN1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="1" formalParameter="OUT">
-                      <position x="275" y="140"/>
-                      <position x="245" y="140"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="IN2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="6">
-                      <position x="275" y="160"/>
-                      <position x="255" y="160"/>
-                      <position x="255" y="195"/>
-                      <position x="240" y="195"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="85" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="6" height="30" width="65">
-              <position x="175" y="180"/>
-              <connectionPointOut>
-                <relPosition x="65" y="15"/>
-              </connectionPointOut>
-              <expression>BYTE#1</expression>
-            </inVariable>
-            <block localId="7" width="120" height="40" typeName="BYTE_TO_BOOL">
-              <position x="395" y="110"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="5" formalParameter="OUT">
-                      <position x="395" y="140"/>
-                      <position x="360" y="140"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <comment localId="8" height="70" width="545">
-              <position x="30" y="20"/>
-              <content>
-<![CDATA[Function that return NUM_BIT'th bit value of INPUT_BYTE]]>
-              </content>
-            </comment>
-          </FBD>
-        </body>
-      </pou>
-      <pou name="SETBIT" pouType="function">
-        <interface>
-          <returnType>
-            <BYTE/>
-          </returnType>
-          <inputVars>
-            <variable name="INPUT_BYTE">
-              <type>
-                <BYTE/>
-              </type>
-            </variable>
-            <variable name="INPUT_BIT">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-            <variable name="NUM_BIT">
-              <type>
-                <USINT/>
-              </type>
-            </variable>
-          </inputVars>
-        </interface>
-        <body>
-          <FBD>
-            <inVariable localId="1" height="30" width="100">
-              <position x="40" y="255"/>
-              <connectionPointOut>
-                <relPosition x="100" y="15"/>
-              </connectionPointOut>
-              <expression>INPUT_BYTE</expression>
-            </inVariable>
-            <inVariable localId="2" height="30" width="95">
-              <position x="40" y="125"/>
-              <connectionPointOut>
-                <relPosition x="95" y="15"/>
-              </connectionPointOut>
-              <expression>INPUT_BIT</expression>
-            </inVariable>
-            <block localId="3" width="120" height="45" typeName="BOOL_TO_BYTE">
-              <position x="165" y="110"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="2">
-                      <position x="165" y="140"/>
-                      <position x="135" y="140"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="120" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <block localId="4" width="70" height="60" typeName="SHL">
-              <position x="335" y="110"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="3" formalParameter="OUT">
-                      <position x="335" y="140"/>
-                      <position x="285" y="140"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="N">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="5">
-                      <position x="335" y="160"/>
-                      <position x="130" y="160"/>
-                      <position x="130" y="230"/>
-                      <position x="115" y="230"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="70" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="5" height="30" width="75">
-              <position x="40" y="215"/>
-              <connectionPointOut>
-                <relPosition x="75" y="15"/>
-              </connectionPointOut>
-              <expression>NUM_BIT</expression>
-            </inVariable>
-            <block localId="7" width="70" height="60" typeName="SHL">
-              <position x="235" y="180"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="8">
-                      <position x="235" y="210"/>
-                      <position x="215" y="210"/>
-                      <position x="220" y="210"/>
-                      <position x="220" y="210"/>
-                      <position x="220" y="210"/>
-                      <position x="210" y="210"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="N">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="5">
-                      <position x="235" y="230"/>
-                      <position x="115" y="230"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="70" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="8" height="30" width="65">
-              <position x="145" y="195"/>
-              <connectionPointOut>
-                <relPosition x="65" y="15"/>
-              </connectionPointOut>
-              <expression>BYTE#1</expression>
-            </inVariable>
-            <block localId="9" width="70" height="40" typeName="NOT">
-              <position x="335" y="180"/>
-              <inputVariables>
-                <variable formalParameter="IN">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="7" formalParameter="OUT">
-                      <position x="335" y="210"/>
-                      <position x="305" y="210"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="70" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <block localId="10" width="80" height="60" typeName="AND">
-              <position x="440" y="180"/>
-              <inputVariables>
-                <variable formalParameter="IN1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="9" formalParameter="OUT">
-                      <position x="440" y="210"/>
-                      <position x="405" y="210"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="IN2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="1">
-                      <position x="440" y="230"/>
-                      <position x="320" y="230"/>
-                      <position x="320" y="270"/>
-                      <position x="140" y="270"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="80" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <block localId="11" width="80" height="60" typeName="OR">
-              <position x="565" y="110"/>
-              <inputVariables>
-                <variable formalParameter="IN1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="30"/>
-                    <connection refLocalId="4" formalParameter="OUT">
-                      <position x="565" y="140"/>
-                      <position x="405" y="140"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="IN2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="50"/>
-                    <connection refLocalId="10" formalParameter="OUT">
-                      <position x="565" y="160"/>
-                      <position x="545" y="160"/>
-                      <position x="545" y="210"/>
-                      <position x="520" y="210"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="80" y="30"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <outVariable localId="12" height="30" width="70">
-              <position x="695" y="125"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="11" formalParameter="OUT">
-                  <position x="695" y="140"/>
-                  <position x="645" y="140"/>
-                </connection>
-              </connectionPointIn>
-              <expression>SETBIT</expression>
-            </outVariable>
-            <comment localId="13" height="75" width="435">
-              <position x="35" y="15"/>
-              <content>
-<![CDATA[Function that return INPUT_BYTE with NUM_BIT'th  bit set to INPUT_BIT value]]>
-              </content>
-            </comment>
-          </FBD>
-        </body>
-      </pou>
-      <pou name="Bitwise_Block" pouType="functionBlock">
-        <interface>
-          <inputVars>
-            <variable name="IN1">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-            <variable name="IN2">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-          </inputVars>
-          <outputVars>
-            <variable name="OUT_AND">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-            <variable name="OUT_OR">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-            <variable name="OUT_XOR">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-            <variable name="OUT_SR">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-          </outputVars>
-          <localVars>
-            <variable name="SR1">
-              <type>
-                <derived name="SR"/>
-              </type>
-            </variable>
-          </localVars>
-        </interface>
-        <body>
-          <LD>
-            <leftPowerRail localId="1" height="80" width="3">
-              <position x="40" y="180"/>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="20"/>
-              </connectionPointOut>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="55"/>
-              </connectionPointOut>
-            </leftPowerRail>
-            <contact localId="2" height="15" width="25">
-              <position x="90" y="190"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="1">
-                  <position x="90" y="200"/>
-                  <position x="43" y="200"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN1</variable>
-            </contact>
-            <contact localId="3" height="20" width="25">
-              <position x="90" y="225"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="1">
-                  <position x="90" y="235"/>
-                  <position x="43" y="235"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN2</variable>
-            </contact>
-            <coil localId="4" height="20" width="25">
-              <position x="225" y="190"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="2">
-                  <position x="225" y="200"/>
-                  <position x="115" y="200"/>
-                </connection>
-                <connection refLocalId="3">
-                  <position x="225" y="200"/>
-                  <position x="189" y="200"/>
-                  <position x="189" y="235"/>
-                  <position x="115" y="235"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>OUT_OR</variable>
-            </coil>
-            <rightPowerRail localId="5" height="40" width="3">
-              <position x="350" y="180"/>
-              <connectionPointIn>
-                <relPosition x="0" y="20"/>
-                <connection refLocalId="4">
-                  <position x="350" y="200"/>
-                  <position x="250" y="200"/>
-                </connection>
-              </connectionPointIn>
-            </rightPowerRail>
-            <leftPowerRail localId="6" height="40" width="3">
-              <position x="40" y="315"/>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="20"/>
-              </connectionPointOut>
-            </leftPowerRail>
-            <contact localId="7" height="20" width="25">
-              <position x="100" y="325"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="6">
-                  <position x="100" y="335"/>
-                  <position x="43" y="335"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN1</variable>
-            </contact>
-            <contact localId="8" height="20" width="25">
-              <position x="185" y="325"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="7">
-                  <position x="185" y="335"/>
-                  <position x="125" y="335"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN2</variable>
-            </contact>
-            <coil localId="9" height="20" width="25">
-              <position x="275" y="325"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="8">
-                  <position x="275" y="335"/>
-                  <position x="210" y="335"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>OUT_AND</variable>
-            </coil>
-            <rightPowerRail localId="10" height="40" width="3">
-              <position x="350" y="315"/>
-              <connectionPointIn>
-                <relPosition x="0" y="20"/>
-                <connection refLocalId="9">
-                  <position x="350" y="335"/>
-                  <position x="300" y="335"/>
-                </connection>
-              </connectionPointIn>
-            </rightPowerRail>
-            <leftPowerRail localId="11" height="80" width="3">
-              <position x="40" y="415"/>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="20"/>
-              </connectionPointOut>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="60"/>
-              </connectionPointOut>
-            </leftPowerRail>
-            <contact localId="12" height="20" width="25">
-              <position x="100" y="425"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="11">
-                  <position x="100" y="435"/>
-                  <position x="43" y="435"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN1</variable>
-            </contact>
-            <contact localId="13" height="20" width="25" negated="true">
-              <position x="100" y="465"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="11">
-                  <position x="100" y="475"/>
-                  <position x="43" y="475"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN1</variable>
-            </contact>
-            <contact localId="14" height="20" width="25" negated="true">
-              <position x="190" y="425"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="12">
-                  <position x="190" y="435"/>
-                  <position x="125" y="435"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN2</variable>
-            </contact>
-            <contact localId="15" height="20" width="25">
-              <position x="190" y="465"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="13">
-                  <position x="190" y="475"/>
-                  <position x="125" y="475"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN2</variable>
-            </contact>
-            <coil localId="16" height="20" width="30">
-              <position x="295" y="425"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="14">
-                  <position x="295" y="435"/>
-                  <position x="215" y="435"/>
-                </connection>
-                <connection refLocalId="15">
-                  <position x="295" y="435"/>
-                  <position x="270" y="435"/>
-                  <position x="270" y="475"/>
-                  <position x="215" y="475"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="30" y="10"/>
-              </connectionPointOut>
-              <variable>OUT_XOR</variable>
-            </coil>
-            <rightPowerRail localId="17" height="40" width="3">
-              <position x="350" y="415"/>
-              <connectionPointIn>
-                <relPosition x="0" y="20"/>
-                <connection refLocalId="16">
-                  <position x="350" y="435"/>
-                  <position x="325" y="435"/>
-                </connection>
-              </connectionPointIn>
-            </rightPowerRail>
-            <leftPowerRail localId="18" height="80" width="3">
-              <position x="40" y="550"/>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="20"/>
-              </connectionPointOut>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="60"/>
-              </connectionPointOut>
-            </leftPowerRail>
-            <contact localId="19" height="20" width="25">
-              <position x="100" y="560"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="18">
-                  <position x="100" y="570"/>
-                  <position x="43" y="570"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN1</variable>
-            </contact>
-            <contact localId="21" height="20" width="25">
-              <position x="100" y="600"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="18">
-                  <position x="100" y="610"/>
-                  <position x="43" y="610"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>IN2</variable>
-            </contact>
-            <block localId="22" width="60" height="100" typeName="SR" instanceName="SR1">
-              <position x="170" y="530"/>
-              <inputVariables>
-                <variable formalParameter="S1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="40"/>
-                    <connection refLocalId="19">
-                      <position x="170" y="570"/>
-                      <position x="125" y="570"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="R">
-                  <connectionPointIn>
-                    <relPosition x="0" y="80"/>
-                    <connection refLocalId="21">
-                      <position x="170" y="610"/>
-                      <position x="125" y="610"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="Q1">
-                  <connectionPointOut>
-                    <relPosition x="60" y="40"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <coil localId="24" height="20" width="25">
-              <position x="295" y="560"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="22" formalParameter="Q1">
-                  <position x="295" y="570"/>
-                  <position x="230" y="570"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>OUT_SR</variable>
-            </coil>
-            <rightPowerRail localId="25" height="40" width="3">
-              <position x="350" y="550"/>
-              <connectionPointIn>
-                <relPosition x="0" y="20"/>
-                <connection refLocalId="24">
-                  <position x="350" y="570"/>
-                  <position x="320" y="570"/>
-                </connection>
-              </connectionPointIn>
-            </rightPowerRail>
-            <comment localId="26" height="85" width="385">
-              <position x="25" y="35"/>
-              <content>
-<![CDATA[A LD function block that embeds some FB and check basic LD]]>
-              </content>
-            </comment>
-          </LD>
-        </body>
-      </pou>
-      <pou name="Test_SFC" pouType="functionBlock">
-        <interface>
-          <inputVars>
-            <variable name="CNT1">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-            <variable name="CNT2">
-              <type>
-                <BOOL/>
-              </type>
-            </variable>
-            <variable name="IN1">
-              <type>
-                <derived name="MYTYPE"/>
-              </type>
-            </variable>
-            <variable name="IN2">
-              <type>
-                <derived name="MYTYPE"/>
-              </type>
-            </variable>
-            <variable name="UPPER1">
-              <type>
-                <INT/>
-              </type>
-            </variable>
-            <variable name="UPPER2">
-              <type>
-                <INT/>
-              </type>
-            </variable>
-          </inputVars>
-          <outputVars>
-            <variable name="OUT1">
-              <type>
-                <derived name="MYTYPE"/>
-              </type>
-            </variable>
-            <variable name="OUT2">
-              <type>
-                <derived name="MYTYPE"/>
-              </type>
-            </variable>
-          </outputVars>
-          <localVars>
-            <variable name="TEST_ENUM">
-              <type>
-                <derived name="MYTYPE2"/>
-              </type>
-            </variable>
-            <variable name="TEST_ARRAY">
-              <type>
-                <derived name="MYTYPE3"/>
-              </type>
-            </variable>
-          </localVars>
-        </interface>
-        <actions>
-          <action name="COUNT1">
-            <body>
-              <ST>
-<![CDATA[
-OUT1 := IN1 + 1;
-TEST_ENUM := OPEN;
-]]>
-              </ST>
-            </body>
-          </action>
-          <action name="COUNT2">
-            <body>
-              <ST>
-<![CDATA[
-OUT2 := IN2 + 1;
-TEST_ARRAY[0,0] := TEST_ARRAY[0,1] + 50;
-]]>
-              </ST>
-            </body>
-          </action>
-        </actions>
-        <transitions>
-          <transition name="REACH_UPPER1">
-            <body>
-              <ST>
-<![CDATA[:= OUT1 >= UPPER1;]]>
-              </ST>
-            </body>
-          </transition>
-          <transition name="REACH_UPPER2">
-            <body>
-              <ST>
-<![CDATA[:= OUT2 >= UPPER2;]]>
-              </ST>
-            </body>
-          </transition>
-        </transitions>
-        <body>
-          <SFC>
-            <step localId="1" height="31" width="55" name="Start" initialStep="true">
-              <position x="125" y="170"/>
-              <connectionPointOut formalParameter="">
-                <relPosition x="25" y="31"/>
-              </connectionPointOut>
-              <connectionPointOutAction formalParameter="">
-                <relPosition x="55" y="15"/>
-              </connectionPointOutAction>
-            </step>
-            <step localId="4" height="30" width="55" name="Step3">
-              <position x="440" y="370"/>
-              <connectionPointIn>
-                <relPosition x="25" y="0"/>
-                <connection refLocalId="22">
-                  <position x="465" y="370"/>
-                  <position x="465" y="348"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="25" y="30"/>
-              </connectionPointOut>
-              <connectionPointOutAction formalParameter="">
-                <relPosition x="55" y="15"/>
-              </connectionPointOutAction>
-            </step>
-            <jumpStep localId="5" height="13" width="20" targetName="Start">
-              <position x="205" y="630"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="12">
-                  <position x="215" y="630"/>
-                  <position x="215" y="601"/>
-                </connection>
-              </connectionPointIn>
-            </jumpStep>
-            <transition localId="8" height="2" width="20">
-              <position x="560" y="565"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="25">
-                  <position x="570" y="565"/>
-                  <position x="570" y="523"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="2"/>
-              </connectionPointOut>
-              <condition>
-                <inline name="">
-                  <ST>
-<![CDATA[TRUE]]>
-                  </ST>
-                </inline>
-              </condition>
-            </transition>
-            <actionBlock localId="9" height="30" width="84">
-              <position x="325" y="375"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="13">
-                  <position x="325" y="390"/>
-                  <position x="300" y="390"/>
-                </connection>
-              </connectionPointIn>
-              <action>
-                <reference name="COUNT1"/>
-              </action>
-            </actionBlock>
-            <actionBlock localId="10" height="30" width="105">
-              <position x="520" y="370"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="4">
-                  <position x="520" y="385"/>
-                  <position x="495" y="385"/>
-                </connection>
-              </connectionPointIn>
-              <action>
-                <reference name="COUNT1"/>
-              </action>
-            </actionBlock>
-            <selectionDivergence localId="11" height="1" width="530">
-              <position x="45" y="230"/>
-              <connectionPointIn>
-                <relPosition x="105" y="0"/>
-                <connection refLocalId="1">
-                  <position x="150" y="230"/>
-                  <position x="150" y="201"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="0" y="1"/>
-              </connectionPointOut>
-              <connectionPointOut formalParameter="">
-                <relPosition x="225" y="1"/>
-              </connectionPointOut>
-              <connectionPointOut formalParameter="">
-                <relPosition x="530" y="1"/>
-              </connectionPointOut>
-            </selectionDivergence>
-            <selectionConvergence localId="12" height="1" width="525">
-              <position x="45" y="600"/>
-              <connectionPointIn>
-                <relPosition x="0" y="0"/>
-                <connection refLocalId="38">
-                  <position x="45" y="600"/>
-                  <position x="45" y="472"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointIn>
-                <relPosition x="225" y="0"/>
-                <connection refLocalId="15">
-                  <position x="270" y="600"/>
-                  <position x="270" y="472"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointIn>
-                <relPosition x="525" y="0"/>
-                <connection refLocalId="8">
-                  <position x="570" y="600"/>
-                  <position x="570" y="567"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="170" y="1"/>
-              </connectionPointOut>
-            </selectionConvergence>
-            <step localId="13" height="30" width="55" name="Step1">
-              <position x="245" y="375"/>
-              <connectionPointIn>
-                <relPosition x="25" y="0"/>
-                <connection refLocalId="44">
-                  <position x="270" y="375"/>
-                  <position x="270" y="280"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="25" y="30"/>
-              </connectionPointOut>
-              <connectionPointOutAction formalParameter="">
-                <relPosition x="55" y="15"/>
-              </connectionPointOutAction>
-            </step>
-            <transition localId="15" height="2" width="20">
-              <position x="260" y="470"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="13">
-                  <position x="270" y="470"/>
-                  <position x="270" y="405"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="2"/>
-              </connectionPointOut>
-              <condition>
-                <reference name="REACH_UPPER1"/>
-              </condition>
-            </transition>
-            <simultaneousDivergence localId="22" height="3" width="210">
-              <position x="465" y="345"/>
-              <connectionPointIn>
-                <relPosition x="110" y="0"/>
-                <connection refLocalId="45">
-                  <position x="575" y="345"/>
-                  <position x="575" y="280"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="0" y="3"/>
-              </connectionPointOut>
-              <connectionPointOut formalParameter="">
-                <relPosition x="210" y="3"/>
-              </connectionPointOut>
-            </simultaneousDivergence>
-            <transition localId="23" height="2" width="20">
-              <position x="455" y="430"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="4">
-                  <position x="465" y="430"/>
-                  <position x="465" y="400"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="2"/>
-              </connectionPointOut>
-              <condition>
-                <reference name="REACH_UPPER1"/>
-              </condition>
-            </transition>
-            <step localId="24" height="27" width="55" name="WAIT1">
-              <position x="440" y="465"/>
-              <connectionPointIn>
-                <relPosition x="25" y="0"/>
-                <connection refLocalId="23">
-                  <position x="465" y="465"/>
-                  <position x="465" y="432"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="25" y="27"/>
-              </connectionPointOut>
-            </step>
-            <simultaneousConvergence localId="25" height="3" width="210">
-              <position x="465" y="520"/>
-              <connectionPointIn>
-                <relPosition x="0" y="0"/>
-                <connection refLocalId="24">
-                  <position x="465" y="520"/>
-                  <position x="465" y="492"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointIn>
-                <relPosition x="210" y="0"/>
-                <connection refLocalId="29">
-                  <position x="675" y="520"/>
-                  <position x="675" y="492"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="105" y="3"/>
-              </connectionPointOut>
-            </simultaneousConvergence>
-            <step localId="26" height="30" width="55" name="Step4">
-              <position x="650" y="370"/>
-              <connectionPointIn>
-                <relPosition x="25" y="0"/>
-                <connection refLocalId="22">
-                  <position x="675" y="370"/>
-                  <position x="675" y="348"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="25" y="30"/>
-              </connectionPointOut>
-              <connectionPointOutAction formalParameter="">
-                <relPosition x="55" y="15"/>
-              </connectionPointOutAction>
-            </step>
-            <transition localId="28" height="2" width="20">
-              <position x="665" y="430"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="26">
-                  <position x="675" y="430"/>
-                  <position x="675" y="400"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="2"/>
-              </connectionPointOut>
-              <condition>
-                <reference name="REACH_UPPER2"/>
-              </condition>
-            </transition>
-            <step localId="29" height="27" width="55" name="WAIT2">
-              <position x="650" y="465"/>
-              <connectionPointIn>
-                <relPosition x="25" y="0"/>
-                <connection refLocalId="28">
-                  <position x="675" y="465"/>
-                  <position x="675" y="432"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="25" y="27"/>
-              </connectionPointOut>
-            </step>
-            <actionBlock localId="31" height="30" width="100">
-              <position x="730" y="370"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="26">
-                  <position x="730" y="385"/>
-                  <position x="705" y="385"/>
-                </connection>
-              </connectionPointIn>
-              <action>
-                <reference name="COUNT2"/>
-              </action>
-            </actionBlock>
-            <actionBlock localId="32" height="30" width="235">
-              <position x="200" y="170"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="1">
-                  <position x="200" y="185"/>
-                  <position x="180" y="185"/>
-                </connection>
-              </connectionPointIn>
-              <action>
-                <inline>
-                  <ST>
-<![CDATA[OUT1 := 0;OUT2 := 0;]]>
-                  </ST>
-                </inline>
-              </action>
-            </actionBlock>
-            <transition localId="33" height="2" width="20">
-              <position x="35" y="325"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="11">
-                  <position x="45" y="325"/>
-                  <position x="45" y="231"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="2"/>
-              </connectionPointOut>
-              <condition>
-                <inline name="">
-                  <ST>
-<![CDATA[CNT2 AND NOT CNT1]]>
-                  </ST>
-                </inline>
-              </condition>
-            </transition>
-            <block localId="34" width="80" height="90" typeName="AND">
-              <position x="435" y="240"/>
-              <inputVariables>
-                <variable formalParameter="IN1">
-                  <connectionPointIn>
-                    <relPosition x="0" y="35"/>
-                    <connection refLocalId="35">
-                      <position x="435" y="275"/>
-                      <position x="410" y="275"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-                <variable formalParameter="IN2">
-                  <connectionPointIn>
-                    <relPosition x="0" y="70"/>
-                    <connection refLocalId="39">
-                      <position x="435" y="310"/>
-                      <position x="410" y="310"/>
-                    </connection>
-                  </connectionPointIn>
-                </variable>
-              </inputVariables>
-              <inOutVariables/>
-              <outputVariables>
-                <variable formalParameter="OUT">
-                  <connectionPointOut>
-                    <relPosition x="80" y="35"/>
-                  </connectionPointOut>
-                </variable>
-              </outputVariables>
-            </block>
-            <inVariable localId="35" height="30" width="50">
-              <position x="360" y="260"/>
-              <connectionPointOut>
-                <relPosition x="50" y="15"/>
-              </connectionPointOut>
-              <expression>CNT1</expression>
-            </inVariable>
-            <step localId="36" height="27" width="60" name="Step2">
-              <position x="15" y="375"/>
-              <connectionPointIn>
-                <relPosition x="30" y="0"/>
-                <connection refLocalId="33">
-                  <position x="45" y="375"/>
-                  <position x="45" y="327"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut formalParameter="">
-                <relPosition x="30" y="27"/>
-              </connectionPointOut>
-              <connectionPointOutAction formalParameter="">
-                <relPosition x="60" y="15"/>
-              </connectionPointOutAction>
-            </step>
-            <actionBlock localId="37" height="30" width="84">
-              <position x="100" y="375"/>
-              <connectionPointIn>
-                <relPosition x="0" y="15"/>
-                <connection refLocalId="36">
-                  <position x="100" y="390"/>
-                  <position x="75" y="390"/>
-                </connection>
-              </connectionPointIn>
-              <action>
-                <reference name="COUNT2"/>
-              </action>
-            </actionBlock>
-            <transition localId="38" height="2" width="20">
-              <position x="35" y="470"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="36">
-                  <position x="45" y="470"/>
-                  <position x="45" y="402"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="2"/>
-              </connectionPointOut>
-              <condition>
-                <reference name="REACH_UPPER2"/>
-              </condition>
-            </transition>
-            <inVariable localId="39" height="30" width="50">
-              <position x="360" y="295"/>
-              <connectionPointOut>
-                <relPosition x="50" y="15"/>
-              </connectionPointOut>
-              <expression>CNT2</expression>
-            </inVariable>
-            <leftPowerRail localId="40" height="40" width="3">
-              <position x="70" y="255"/>
-              <connectionPointOut formalParameter="">
-                <relPosition x="3" y="20"/>
-              </connectionPointOut>
-            </leftPowerRail>
-            <contact localId="41" height="20" width="25">
-              <position x="110" y="265"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="40">
-                  <position x="110" y="275"/>
-                  <position x="73" y="275"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>CNT1</variable>
-            </contact>
-            <contact localId="42" height="20" width="25" negated="true">
-              <position x="190" y="265"/>
-              <connectionPointIn>
-                <relPosition x="0" y="10"/>
-                <connection refLocalId="41">
-                  <position x="190" y="275"/>
-                  <position x="135" y="275"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="25" y="10"/>
-              </connectionPointOut>
-              <variable>CNT2</variable>
-            </contact>
-            <transition localId="44" height="10" width="20">
-              <position x="260" y="270"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="11">
-                  <position x="270" y="270"/>
-                  <position x="270" y="231"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="10"/>
-              </connectionPointOut>
-              <condition>
-                <connection refLocalId="42">
-                  <position x="260" y="275"/>
-                  <position x="215" y="275"/>
-                </connection>
-              </condition>
-            </transition>
-            <transition localId="45" height="10" width="20">
-              <position x="565" y="270"/>
-              <connectionPointIn>
-                <relPosition x="10" y="0"/>
-                <connection refLocalId="11">
-                  <position x="575" y="270"/>
-                  <position x="575" y="231"/>
-                </connection>
-              </connectionPointIn>
-              <connectionPointOut>
-                <relPosition x="10" y="10"/>
-              </connectionPointOut>
-              <condition>
-                <connection refLocalId="34" formalParameter="OUT">
-                  <position x="565" y="275"/>
-                  <position x="515" y="275"/>
-                </connection>
-              </condition>
-            </transition>
-            <comment localId="46" height="120" width="785">
-              <position x="15" y="25"/>
-              <content>
-<![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions.
-It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]>
-              </content>
-            </comment>
-          </SFC>
-        </body>
-      </pou>
     </pous>
   </types>
   <instances>
     <configurations>
-      <configuration name="STD_CONF">
-        <resource name="STD_RESSOURCE">
-          <task name="STD_TASK" interval="00:00:00.100000" priority="0">
-            <pouInstance name="MAIN_INSTANCE" type="MAIN_TEST"/>
+      <configuration name="conf">
+        <resource name="res">
+          <task name="tache" interval="00:00:00.100000" priority="0">
+            <pouInstance name="toto" type="test_main"/>
           </task>
         </resource>
       </configuration>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/.cvsignore	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,1 @@
+build
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/baseplugin.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BaseParams Name="Master" IEC_Channel="0"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/eds/DS401_Slave_Gui.eds	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,1142 @@
+[FileInfo]
+FileName=DS401_Slave_Gui.eds
+FileVersion=1
+FileRevision=1
+EDSVersion=4.0
+Description=
+CreationTime=05:58PM
+CreationDate=10-02-2007
+CreatedBy=CANFestival
+ModificationTime=05:58PM
+ModificationDate=10-02-2007
+ModifiedBy=CANFestival
+
+[DeviceInfo]
+VendorName=CANFestival
+VendorNumber=0x00000175
+ProductName=ObjDict
+ProductNumber=0x00100000
+RevisionNumber=0x00010001
+BaudRate_10=1
+BaudRate_20=1
+BaudRate_50=1
+BaudRate_125=1
+BaudRate_250=1
+BaudRate_500=1
+BaudRate_800=1
+BaudRate_1000=1
+SimpleBootUpMaster=0
+SimpleBootUpSlave=1
+Granularity=8
+DynamicChannelsSupported=0
+CompactPDO=0
+GroupMessaging=0
+NrOfRXPDO=2
+NrOfTXPDO=3
+LSS_Supported=0
+
+[DummyUsage]
+Dummy0001=0
+Dummy0002=1
+Dummy0003=1
+Dummy0004=1
+Dummy0005=1
+Dummy0006=1
+Dummy0007=1
+
+[Comments]
+Lines=0
+
+[MandatoryObjects]
+SupportedObjects=3
+1=0x1000
+2=0x1001
+3=0x1018
+
+[1000]
+ParameterName=Device Type
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=983441
+PDOMapping=0
+
+[1001]
+ParameterName=Error Register
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[1018]
+ParameterName=Identity
+ObjectType=0x8
+SubNumber=4
+
+[1018sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=3
+PDOMapping=0
+
+[1018sub1]
+ParameterName=Vendor ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=373
+PDOMapping=0
+
+[1018sub2]
+ParameterName=Product Code
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=1048576
+PDOMapping=0
+
+[1018sub3]
+ParameterName=Revision Number
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=65537
+PDOMapping=0
+
+[OptionalObjects]
+SupportedObjects=35
+1=0x1002
+2=0x1005
+3=0x1008
+4=0x1009
+5=0x100A
+6=0x100C
+7=0x100D
+8=0x1010
+9=0x1011
+10=0x1016
+11=0x1017
+12=0x1020
+13=0x1200
+14=0x1400
+15=0x1401
+16=0x1600
+17=0x1601
+18=0x1800
+19=0x1801
+20=0x1802
+21=0x1A00
+22=0x1A01
+23=0x1A02
+24=0x6000
+25=0x6002
+26=0x6200
+27=0x6202
+28=0x6206
+29=0x6207
+30=0x6401
+31=0x6411
+32=0x6423
+33=0x6426
+34=0x6443
+35=0x6444
+
+[1002]
+ParameterName=Manufacturer Status Register
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[1005]
+ParameterName=SYNC COB ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=128
+PDOMapping=0
+
+[1008]
+ParameterName=Manufacturer Device Name
+ObjectType=0x7
+DataType=0x0009
+AccessType=ro
+DefaultValue=0
+PDOMapping=0
+
+[1009]
+ParameterName=Manufacturer Hardware Version
+ObjectType=0x7
+DataType=0x0009
+AccessType=ro
+DefaultValue=0
+PDOMapping=0
+
+[100A]
+ParameterName=Manufacturer Software Version
+ObjectType=0x7
+DataType=0x0009
+AccessType=ro
+DefaultValue=0
+PDOMapping=0
+
+[100C]
+ParameterName=Guard Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[100D]
+ParameterName=Life Time Factor
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1010]
+ParameterName=Store parameters
+ObjectType=0x8
+SubNumber=2
+
+[1010sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[1010sub1]
+ParameterName=Save All Parameters
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1011]
+ParameterName=Restore Default Parameters
+ObjectType=0x8
+SubNumber=2
+
+[1011sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[1011sub1]
+ParameterName=Restore All Default Parameters
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1016]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x9
+SubNumber=4
+
+[1016sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=3
+PDOMapping=0
+
+[1016sub1]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1016sub2]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1016sub3]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1017]
+ParameterName=Producer Heartbeat Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1020]
+ParameterName=Verify Configuration
+ObjectType=0x8
+SubNumber=3
+
+[1020sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+
+[1020sub1]
+ParameterName=Configuration Date
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=0
+PDOMapping=0
+
+[1020sub2]
+ParameterName=Configuration Time
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=0
+PDOMapping=0
+
+[1200]
+ParameterName=Server SDO Parameter
+ObjectType=0x8
+SubNumber=3
+
+[1200sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+
+[1200sub1]
+ParameterName=COB ID Client to Server (Receive SDO)
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=$NODEID+0x600
+PDOMapping=0
+
+[1200sub2]
+ParameterName=COB ID Server to Client (Transmit SDO)
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=$NODEID+0x580
+PDOMapping=0
+
+[1400]
+ParameterName=Receive PDO 1 Parameter
+ObjectType=0x8
+SubNumber=3
+
+[1400sub0]
+ParameterName=Highest SubIndex Supported
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+
+[1400sub1]
+ParameterName=COB ID used by PDO
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x200
+PDOMapping=0
+
+[1400sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1401]
+ParameterName=Receive PDO 2 Parameter
+ObjectType=0x8
+SubNumber=3
+
+[1401sub0]
+ParameterName=Highest SubIndex Supported
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+
+[1401sub1]
+ParameterName=COB ID used by PDO
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x300
+PDOMapping=0
+
+[1401sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1600]
+ParameterName=Receive PDO 1 Mapping
+ObjectType=0x9
+SubNumber=2
+
+[1600sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1600sub1]
+ParameterName=PDO 1 Mapping for an application object 1
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1644167432
+PDOMapping=0
+
+[1601]
+ParameterName=Receive PDO 2 Mapping
+ObjectType=0x9
+SubNumber=5
+
+[1601sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=4
+PDOMapping=0
+
+[1601sub1]
+ParameterName=PDO 2 Mapping for an application object 1
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1678835984
+PDOMapping=0
+
+[1601sub2]
+ParameterName=PDO 2 Mapping for an application object 2
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1678836240
+PDOMapping=0
+
+[1601sub3]
+ParameterName=PDO 2 Mapping for an application object 3
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1678836496
+PDOMapping=0
+
+[1601sub4]
+ParameterName=PDO 2 Mapping for an application object 4
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1678836752
+PDOMapping=0
+
+[1800]
+ParameterName=Transmit PDO 1 Parameter
+ObjectType=0x8
+SubNumber=5
+
+[1800sub0]
+ParameterName=Highest SubIndex Supported
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=5
+PDOMapping=0
+
+[1800sub1]
+ParameterName=COB ID used by PDO
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x180
+PDOMapping=0
+
+[1800sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1800sub3]
+ParameterName=Inhibit Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1800sub5]
+ParameterName=Event Timer
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1801]
+ParameterName=Transmit PDO 2 Parameter
+ObjectType=0x8
+SubNumber=5
+
+[1801sub0]
+ParameterName=Highest SubIndex Supported
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=5
+PDOMapping=0
+
+[1801sub1]
+ParameterName=COB ID used by PDO
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x280
+PDOMapping=0
+
+[1801sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1801sub3]
+ParameterName=Inhibit Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1801sub5]
+ParameterName=Event Timer
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1802]
+ParameterName=Transmit PDO 3 Parameter
+ObjectType=0x8
+SubNumber=5
+
+[1802sub0]
+ParameterName=Highest SubIndex Supported
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=5
+PDOMapping=0
+
+[1802sub1]
+ParameterName=COB ID used by PDO
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x380
+PDOMapping=0
+
+[1802sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1802sub3]
+ParameterName=Inhibit Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1802sub5]
+ParameterName=Event Timer
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1A00]
+ParameterName=Transmit PDO 1 Mapping
+ObjectType=0x9
+SubNumber=2
+
+[1A00sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1A00sub1]
+ParameterName=PDO 1 Mapping for a process data variable 1
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1610613000
+PDOMapping=0
+
+[1A01]
+ParameterName=Transmit PDO 2 Mapping
+ObjectType=0x9
+SubNumber=5
+
+[1A01sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=4
+PDOMapping=0
+
+[1A01sub1]
+ParameterName=PDO 2 Mapping for a process data variable 1
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677787408
+PDOMapping=0
+
+[1A01sub2]
+ParameterName=PDO 2 Mapping for a process data variable 2
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677787664
+PDOMapping=0
+
+[1A01sub3]
+ParameterName=PDO 2 Mapping for a process data variable 3
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677787920
+PDOMapping=0
+
+[1A01sub4]
+ParameterName=PDO 2 Mapping for a process data variable 4
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677788176
+PDOMapping=0
+
+[1A02]
+ParameterName=Transmit PDO 3 Mapping
+ObjectType=0x9
+SubNumber=5
+
+[1A02sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=4
+PDOMapping=0
+
+[1A02sub1]
+ParameterName=PDO 3 Mapping for a process data variable 1
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677788432
+PDOMapping=0
+
+[1A02sub2]
+ParameterName=PDO 3 Mapping for a process data variable 2
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677788688
+PDOMapping=0
+
+[1A02sub3]
+ParameterName=PDO 3 Mapping for a process data variable 3
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677788944
+PDOMapping=0
+
+[1A02sub4]
+ParameterName=PDO 3 Mapping for a process data variable 4
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=1677789200
+PDOMapping=0
+
+[6000]
+ParameterName=Read Inputs 8 Bit
+ObjectType=0x9
+SubNumber=2
+
+[6000sub0]
+ParameterName=Number of Input 8 bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6000sub1]
+ParameterName=Read Inputs 0x1 to 0x8
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6002]
+ParameterName=Polarity Input 8 Bit
+ObjectType=0x9
+SubNumber=2
+
+[6002sub0]
+ParameterName=Number of Input 8 bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6002sub1]
+ParameterName=Polarity Input 0x1 to 0x8
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6200]
+ParameterName=Write Outputs 8 Bit
+ObjectType=0x9
+SubNumber=2
+
+[6200sub0]
+ParameterName=Number of Output 8 Bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6200sub1]
+ParameterName=Write Outputs 0x1 to 0x8
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6202]
+ParameterName=Change Polarity Outputs 8 Bit
+ObjectType=0x9
+SubNumber=2
+
+[6202sub0]
+ParameterName=Number of Output 8 Bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6202sub1]
+ParameterName=Change Polarity Outputs 0x1 to 0x8
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6206]
+ParameterName=Error Mode Outputs 8 Bit
+ObjectType=0x9
+SubNumber=2
+
+[6206sub0]
+ParameterName=Number of Output 8 Bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6206sub1]
+ParameterName=Error Mode Outputs 0x1 to 0x8
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6207]
+ParameterName=Error Value Outputs 8 Bit
+ObjectType=0x9
+SubNumber=2
+
+[6207sub0]
+ParameterName=Number of Output 8 Bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6207sub1]
+ParameterName=Error Value Outputs 0x1 to 0x8
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6401]
+ParameterName=Read Analogue Input 16 Bit
+ObjectType=0x9
+SubNumber=9
+
+[6401sub0]
+ParameterName=Number of Analogue Input 16 Bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=8
+PDOMapping=0
+
+[6401sub1]
+ParameterName=Analogue Input 1
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6401sub2]
+ParameterName=Analogue Input 2
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6401sub3]
+ParameterName=Analogue Input 3
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6401sub4]
+ParameterName=Analogue Input 4
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6401sub5]
+ParameterName=Analogue Input 5
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6401sub6]
+ParameterName=Analogue Input 6
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6401sub7]
+ParameterName=Analogue Input 7
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6401sub8]
+ParameterName=Analogue Input 8
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+DefaultValue=0
+PDOMapping=1
+
+[6411]
+ParameterName=Write Analogue Output 16 Bit
+ObjectType=0x9
+SubNumber=5
+
+[6411sub0]
+ParameterName=Number of Analogue Input 16 Bit
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=4
+PDOMapping=0
+
+[6411sub1]
+ParameterName=Analogue Output 1
+ObjectType=0x7
+DataType=0x0003
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6411sub2]
+ParameterName=Analogue Output 2
+ObjectType=0x7
+DataType=0x0003
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6411sub3]
+ParameterName=Analogue Output 3
+ObjectType=0x7
+DataType=0x0003
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6411sub4]
+ParameterName=Analogue Output 4
+ObjectType=0x7
+DataType=0x0003
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6423]
+ParameterName=Analogue Input Global Interrupt Enable
+ObjectType=0x7
+DataType=0x0001
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426]
+ParameterName=Analogue Input Interrupt Delta Unsigned
+ObjectType=0x9
+SubNumber=9
+
+[6426sub0]
+ParameterName=Number of Analogue Inputs
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=8
+PDOMapping=0
+
+[6426sub1]
+ParameterName=Analogue Input 1
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426sub2]
+ParameterName=Analogue Input 2
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426sub3]
+ParameterName=Analogue Input 3
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426sub4]
+ParameterName=Analogue Input 4
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426sub5]
+ParameterName=Analogue Input 5
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426sub6]
+ParameterName=Analogue Input 6
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426sub7]
+ParameterName=Analogue Input 7
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6426sub8]
+ParameterName=Analogue Input 8
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6443]
+ParameterName=Analogue Output Error Mode
+ObjectType=0x9
+SubNumber=5
+
+[6443sub0]
+ParameterName=Number of Analogue Outputs
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=4
+PDOMapping=0
+
+[6443sub1]
+ParameterName=Error Mode Analogue Output 1
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6443sub2]
+ParameterName=Error Mode Analogue Output 2
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6443sub3]
+ParameterName=Error Mode Analogue Output 3
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6443sub4]
+ParameterName=Error Mode Analogue Output 4
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6444]
+ParameterName=Analogue Output Error Value Integer
+ObjectType=0x9
+SubNumber=5
+
+[6444sub0]
+ParameterName=Number of Analogue Outputs
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=4
+PDOMapping=0
+
+[6444sub1]
+ParameterName=Analogue Output 1
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6444sub2]
+ParameterName=Analogue Output 2
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6444sub3]
+ParameterName=Analogue Output 3
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[6444sub4]
+ParameterName=Analogue Output 4
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=1
+
+[ManufacturerObjects]
+SupportedObjects=0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/eds/PEAK MicroMod.eds	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,1289 @@
+[FileInfo]
+CreatedBy=ESAcademy
+ModifiedBy=ESAcademy
+Description=PEAK MicroMod CANopenIA Generic
+CreationTime=09:41PM
+CreationDate=05-05-2003
+ModificationTime=05:05PM
+ModificationDate=03-23-2005
+FileName=C:\CANopenCT\Tests\PEAK MicroMod.eds
+FileVersion=1
+FileRevision=1
+EDSVersion=4
+
+[DeviceInfo]
+VendorName=PEAK System Technik
+VendorNumber=0x00000175
+ProductName=PEAK MicroMod CANopenIA Generic
+ProductNumber=0x00100000
+RevisionNumber=0x00010001
+OrderCode=na
+BaudRate_10=0
+BaudRate_20=0
+BaudRate_50=1
+BaudRate_125=1
+BaudRate_250=1
+BaudRate_500=1
+BaudRate_800=1
+BaudRate_1000=1
+SimpleBootUpMaster=0
+SimpleBootUpSlave=1
+Granularity=0
+DynamicChannelsSupported=0
+CompactPDO=0
+GroupMessaging=0
+NrOfRXPDO=4
+NrOfTXPDO=4
+LSS_Supported=0
+
+[DummyUsage]
+Dummy0001=0
+Dummy0002=0
+Dummy0003=0
+Dummy0004=0
+Dummy0005=1
+Dummy0006=1
+Dummy0007=1
+
+[Comments]
+Lines=0
+
+[MandatoryObjects]
+SupportedObjects=3
+1=0x1000
+2=0x1001
+3=0x1018
+
+[1000]
+ParameterName=Device Type
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=0x000F0191
+PDOMapping=0
+
+[1001]
+ParameterName=Error Register
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=0
+PDOMapping=0
+
+[1018]
+ParameterName=Identity Object
+ObjectType=0x9
+SubNumber=4
+
+[1018sub0]
+ParameterName=number of entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=3
+PDOMapping=0
+
+[1018sub1]
+ParameterName=Vendor ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=0x00000175
+PDOMapping=0
+
+[1018sub2]
+ParameterName=Product Code
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=0x00100000
+PDOMapping=0
+
+[1018sub3]
+ParameterName=Revision number
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+DefaultValue=0x00010001
+PDOMapping=0
+
+[OptionalObjects]
+SupportedObjects=41
+1=0x1002
+2=0x1005
+3=0x1008
+4=0x1009
+5=0x100A
+6=0x100C
+7=0x100D
+8=0x1010
+9=0x1011
+10=0x1016
+11=0x1017
+12=0x1020
+13=0x1400
+14=0x1401
+15=0x1402
+16=0x1403
+17=0x1600
+18=0x1601
+19=0x1602
+20=0x1603
+21=0x1800
+22=0x1801
+23=0x1802
+24=0x1803
+25=0x1A00
+26=0x1A01
+27=0x1A02
+28=0x1A03
+29=0x1F50
+30=0x6000
+31=0x6002
+32=0x6200
+33=0x6202
+34=0x6206
+35=0x6207
+36=0x6401
+37=0x6411
+38=0x6423
+39=0x6426
+40=0x6443
+41=0x6444
+
+[1002]
+ParameterName=PEAK Status Register
+ObjectType=0x7
+DataType=0x0007
+AccessType=ro
+PDOMapping=0
+
+[1005]
+ParameterName=COB-ID SYNC
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x00000080
+PDOMapping=0
+
+[1008]
+ParameterName=Manufacturer Device Name
+ObjectType=0x7
+DataType=0x0009
+AccessType=const
+PDOMapping=0
+
+[1009]
+ParameterName=Manufacturer Hardware Version
+ObjectType=0x7
+DataType=0x0009
+AccessType=const
+PDOMapping=0
+
+[100a]
+ParameterName=Manufacturer Software Version
+ObjectType=0x7
+DataType=0x0009
+AccessType=const
+PDOMapping=0
+
+[100c]
+ParameterName=Guard Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[100d]
+ParameterName=Life Time Factor
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0x00
+PDOMapping=0
+
+[1010]
+ParameterName=Store Parameter Field
+ObjectType=0x8
+SubNumber=2
+
+[1010sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[1010sub1]
+ParameterName=Save all Parameters
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+PDOMapping=0
+
+[1011]
+ParameterName=Restore Default Parameters
+ObjectType=0x8
+SubNumber=2
+
+[1011sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[1011sub1]
+ParameterName=Restore all Default Parameters
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+PDOMapping=0
+
+[1016]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x8
+SubNumber=4
+
+[1016sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=3
+PDOMapping=0
+LowLimit=0x1
+
+[1016sub1]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1016sub2]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1016sub3]
+ParameterName=Consumer Heartbeat Time
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1017]
+ParameterName=Producer Heartbeat Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1020]
+ParameterName=Verify Configuration
+ObjectType=0x8
+SubNumber=3
+
+[1020sub0]
+ParameterName=Number of entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+
+[1020sub1]
+ParameterName=Configuration date
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+PDOMapping=0
+
+[1020sub2]
+ParameterName=Configuration time
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+PDOMapping=0
+
+[1400]
+ParameterName=Receive PDO Communication Parameter
+ObjectType=0x9
+SubNumber=3
+
+[1400sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+
+[1400sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x200
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1400sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1401]
+ParameterName=Receive PDO Communication Parameter
+ObjectType=0x9
+SubNumber=3
+
+[1401sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+
+[1401sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x300
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1401sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1402]
+ParameterName=Receive PDO Communication Parameter
+ObjectType=0x9
+SubNumber=3
+
+[1402sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+LowLimit=0x02
+HighLimit=0x05
+
+[1402sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x80000400
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1402sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1403]
+ParameterName=Receive PDO Communication Parameter
+ObjectType=0x9
+SubNumber=3
+
+[1403sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=2
+PDOMapping=0
+LowLimit=0x02
+HighLimit=0x05
+
+[1403sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x80000500
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1403sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1600]
+ParameterName=Receive PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=2
+
+[1600sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1600sub1]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x62000108
+PDOMapping=0
+
+[1601]
+ParameterName=Receive PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=5
+
+[1601sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=4
+PDOMapping=0
+
+[1601sub1]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64110110
+PDOMapping=0
+
+[1601sub2]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64110210
+PDOMapping=0
+
+[1601sub3]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64110310
+PDOMapping=0
+
+[1601sub4]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64110410
+PDOMapping=0
+
+[1602]
+ParameterName=Receive PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=1
+
+[1602sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1603]
+ParameterName=Receive PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=1
+
+[1603sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1800]
+ParameterName=Transmit PDO Communication Parameter
+ObjectType=0x9
+SubNumber=5
+
+[1800sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=5
+PDOMapping=0
+LowLimit=0x02
+HighLimit=0x05
+
+[1800sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x180
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1800sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1800sub3]
+ParameterName=Inhibit Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0x0000
+PDOMapping=0
+
+[1800sub5]
+ParameterName=Event Timer
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1801]
+ParameterName=Transmit PDO Communication Parameter
+ObjectType=0x9
+SubNumber=5
+
+[1801sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=5
+PDOMapping=0
+LowLimit=0x02
+HighLimit=0x05
+
+[1801sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x280
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1801sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1801sub3]
+ParameterName=Inhibit Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0x0000
+PDOMapping=0
+
+[1801sub5]
+ParameterName=Event Timer
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1802]
+ParameterName=Transmit PDO Communication Parameter
+ObjectType=0x9
+SubNumber=5
+
+[1802sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=5
+PDOMapping=0
+LowLimit=0x02
+HighLimit=0x05
+
+[1802sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x380
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1802sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1802sub3]
+ParameterName=Inhibit Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0x0000
+PDOMapping=0
+
+[1802sub5]
+ParameterName=Event Timer
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1803]
+ParameterName=Transmit PDO Communication Parameter
+ObjectType=0x9
+SubNumber=5
+
+[1803sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=5
+PDOMapping=0
+LowLimit=0x02
+HighLimit=0x05
+
+[1803sub1]
+ParameterName=COB-ID
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=$NODEID+0x80000480
+PDOMapping=0
+LowLimit=0x00000001
+HighLimit=0xFFFFFFFF
+
+[1803sub2]
+ParameterName=Transmission Type
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=255
+PDOMapping=0
+
+[1803sub3]
+ParameterName=Inhibit Time
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0x0000
+PDOMapping=0
+
+[1803sub5]
+ParameterName=Event Timer
+ObjectType=0x7
+DataType=0x0006
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1a00]
+ParameterName=Transmit PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=2
+
+[1a00sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=1
+PDOMapping=0
+
+[1a00sub1]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x60000108
+PDOMapping=0
+
+[1a01]
+ParameterName=Transmit PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=5
+
+[1a01sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=4
+PDOMapping=0
+
+[1a01sub1]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010110
+PDOMapping=0
+
+[1a01sub2]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010210
+PDOMapping=0
+
+[1a01sub3]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010310
+PDOMapping=0
+
+[1a01sub4]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010410
+PDOMapping=0
+
+[1a02]
+ParameterName=Transmit PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=5
+
+[1a02sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=4
+PDOMapping=0
+
+[1a02sub1]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010510
+PDOMapping=0
+
+[1a02sub2]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010610
+PDOMapping=0
+
+[1a02sub3]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010710
+PDOMapping=0
+
+[1a02sub4]
+ParameterName=PDO Mapping Entry
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0x64010810
+PDOMapping=0
+
+[1a03]
+ParameterName=Transmit PDO Mapping Parameter
+ObjectType=0x9
+SubNumber=1
+
+[1a03sub0]
+ParameterName=Number of Entries
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[1f50]
+ParameterName=Download Program Data
+ObjectType=0x8
+SubNumber=2
+
+[1f50sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=3
+PDOMapping=0
+
+[1f50sub3]
+ParameterName=Download Program Data - HW Settings
+ObjectType=0x7
+DataType=0x000F
+AccessType=rw
+PDOMapping=0
+
+[6000]
+ParameterName=Read Digital Input 8-bit
+ObjectType=0x8
+SubNumber=2
+
+[6000sub0]
+ParameterName=Number of Elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6000sub1]
+ParameterName=DigInput8_1
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+PDOMapping=1
+
+[6002]
+ParameterName=Polarity Digital Input
+ObjectType=0x8
+SubNumber=2
+
+[6002sub0]
+ParameterName=Number of Elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6002sub1]
+ParameterName=Polarity8_1
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6200]
+ParameterName=Write Digital Output 8-bit
+ObjectType=0x8
+SubNumber=2
+
+[6200sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6200sub1]
+ParameterName=DigOutput8_1
+ObjectType=0x7
+DataType=0x0005
+AccessType=rww
+PDOMapping=1
+
+[6202]
+ParameterName=Polarity Digital Output
+ObjectType=0x8
+SubNumber=2
+
+[6202sub0]
+ParameterName=Number of Elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6202sub1]
+ParameterName=Polarity8_1
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6206]
+ParameterName=Error Mode Digital Output
+ObjectType=0x8
+SubNumber=2
+
+[6206sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6206sub1]
+ParameterName=Error Mode 1
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6207]
+ParameterName=Error Value Digital Output
+ObjectType=0x8
+SubNumber=2
+
+[6207sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=1
+PDOMapping=0
+
+[6207sub1]
+ParameterName=Error Value 1
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6401]
+ParameterName=Read Analog Input 16-bit
+ObjectType=0x8
+SubNumber=9
+
+[6401sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=8
+PDOMapping=0
+
+[6401sub1]
+ParameterName=AnalogInput16_1
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6401sub2]
+ParameterName=AnalogInput16_2
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6401sub3]
+ParameterName=AnalogInput16_3
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6401sub4]
+ParameterName=AnalogInput16_4
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6401sub5]
+ParameterName=AnalogInput16_5
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6401sub6]
+ParameterName=AnalogInput16_6
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6401sub7]
+ParameterName=AnalogInput16_7
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6401sub8]
+ParameterName=AnalogInput16_8
+ObjectType=0x7
+DataType=0x0003
+AccessType=ro
+PDOMapping=1
+
+[6411]
+ParameterName=Write Analog Output 16-bit
+ObjectType=0x8
+SubNumber=5
+
+[6411sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=4
+PDOMapping=0
+
+[6411sub1]
+ParameterName=AnalogOutput16_1
+ObjectType=0x7
+DataType=0x0003
+AccessType=rww
+PDOMapping=1
+
+[6411sub2]
+ParameterName=AnalogOutput16_2
+ObjectType=0x7
+DataType=0x0003
+AccessType=rww
+PDOMapping=1
+
+[6411sub3]
+ParameterName=AnalogOutput16_3
+ObjectType=0x7
+DataType=0x0003
+AccessType=rww
+PDOMapping=1
+
+[6411sub4]
+ParameterName=AnalogOutput16_4
+ObjectType=0x7
+DataType=0x0003
+AccessType=rww
+PDOMapping=1
+
+[6423]
+ParameterName=Analog Input Global Interrupt
+ObjectType=0x7
+DataType=0x0001
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426]
+ParameterName=Analog Input Interrupt Delta
+ObjectType=0x8
+SubNumber=9
+
+[6426sub0]
+ParameterName=NrOfObjects
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=8
+PDOMapping=0
+
+[6426sub1]
+ParameterName=Analog Input Delta 1
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426sub2]
+ParameterName=Analog Input Delta 2
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426sub3]
+ParameterName=Analog Input Delta 3
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426sub4]
+ParameterName=Analog Input Delta 4
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426sub5]
+ParameterName=Analog Input Delta 5
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426sub6]
+ParameterName=Analog Input Delta 6
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426sub7]
+ParameterName=Analog Input Delta 7
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6426sub8]
+ParameterName=Analog Input Delta 8
+ObjectType=0x7
+DataType=0x0007
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6443]
+ParameterName=Error Mode Analog Output
+ObjectType=0x8
+SubNumber=5
+
+[6443sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=4
+PDOMapping=0
+
+[6443sub1]
+ParameterName=Error Mode 1
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6443sub2]
+ParameterName=Error Mode 2
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6443sub3]
+ParameterName=Error Mode 3
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6443sub4]
+ParameterName=Error Mode 4
+ObjectType=0x7
+DataType=0x0005
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6444]
+ParameterName=Error Value Analog Output
+ObjectType=0x8
+SubNumber=5
+
+[6444sub0]
+ParameterName=Number of elements
+ObjectType=0x7
+DataType=0x0005
+AccessType=ro
+DefaultValue=4
+PDOMapping=0
+
+[6444sub1]
+ParameterName=Error Value 1
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6444sub2]
+ParameterName=Error Value 2
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6444sub3]
+ParameterName=Error Value 3
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[6444sub4]
+ParameterName=Error Value 4
+ObjectType=0x7
+DataType=0x0004
+AccessType=rw
+DefaultValue=0
+PDOMapping=0
+
+[ManufacturerObjects]
+SupportedObjects=0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/master.od	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,224 @@
+<?xml version="1.0"?>
+<!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
+<PyObject module="node" class="Node" id="165751532">
+<attr name="Profile" type="dict" id="165760508" >
+</attr>
+<attr name="Description" type="string" value="" />
+<attr name="Dictionary" type="dict" id="165760236" >
+  <entry>
+    <key type="numeric" value="4096" />
+    <val type="numeric" value="302" />
+  </entry>
+  <entry>
+    <key type="numeric" value="4097" />
+    <val type="numeric" value="0" />
+  </entry>
+  <entry>
+    <key type="numeric" value="4120" />
+    <val type="list" id="165751756" >
+      <item type="numeric" value="0" />
+      <item type="numeric" value="0" />
+      <item type="numeric" value="0" />
+      <item type="numeric" value="0" />
+    </val>
+  </entry>
+</attr>
+<attr name="SpecificMenu" type="list" id="165751500" >
+</attr>
+<attr name="ParamsDictionary" type="dict" id="172966748" >
+</attr>
+<attr name="UserMapping" type="dict" id="165759556" >
+</attr>
+<attr name="DS302" type="dict" id="164383844" >
+  <entry>
+    <key type="numeric" value="7968" />
+    <val type="dict" id="163170204" >
+      <entry>
+        <key type="string" value="need" />
+        <val type="False" value="" />
+      </entry>
+      <entry>
+        <key type="string" value="values" />
+        <val type="list" id="165751852" >
+          <item type="dict" id="165765300" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="ro" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="5" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Number of Entries" />
+            </entry>
+          </item>
+          <item type="dict" id="165759692" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="rw" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="15" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Store DCF for node %d[(sub)]" />
+            </entry>
+            <entry>
+              <key type="string" value="nbmax" />
+              <val type="numeric" value="127" />
+            </entry>
+          </item>
+        </val>
+      </entry>
+      <entry>
+        <key type="string" value="name" />
+        <val type="string" value="Store DCF" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="7" />
+      </entry>
+    </val>
+  </entry>
+  <entry>
+    <key type="numeric" value="7969" />
+    <val type="dict" id="165760100" >
+      <entry>
+        <key type="string" value="need" />
+        <val type="False" value="" />
+      </entry>
+      <entry>
+        <key type="string" value="values" />
+        <val type="list" id="165751724" >
+          <item type="dict" id="165765572" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="ro" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="5" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Number of Entries" />
+            </entry>
+          </item>
+          <item type="dict" id="165765844" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="rw" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="2" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Storage Format for Node %d[(sub)]" />
+            </entry>
+            <entry>
+              <key type="string" value="nbmax" />
+              <val type="numeric" value="127" />
+            </entry>
+          </item>
+        </val>
+      </entry>
+      <entry>
+        <key type="string" value="name" />
+        <val type="string" value="Storage Format" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="7" />
+      </entry>
+    </val>
+  </entry>
+  <entry>
+    <key type="numeric" value="7970" />
+    <val type="dict" id="165765980" >
+      <entry>
+        <key type="string" value="need" />
+        <val type="False" value="" />
+      </entry>
+      <entry>
+        <key type="string" value="values" />
+        <val type="list" id="165752012" >
+          <item type="dict" id="165760644" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="ro" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="5" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Number of Entries" />
+            </entry>
+          </item>
+          <item type="dict" id="165766252" >
+            <entry>
+              <key type="string" value="access" />
+              <val type="string" value="rw" />
+            </entry>
+            <entry>
+              <key type="string" value="pdo" />
+              <val type="False" value="" />
+            </entry>
+            <entry>
+              <key type="string" value="type" />
+              <val type="numeric" value="15" />
+            </entry>
+            <entry>
+              <key type="string" value="name" />
+              <val type="string" value="Concise DCF for Node %d[(sub)]" />
+            </entry>
+            <entry>
+              <key type="string" value="nbmax" />
+              <val type="numeric" value="127" />
+            </entry>
+          </item>
+        </val>
+      </entry>
+      <entry>
+        <key type="string" value="name" />
+        <val type="string" value="Concise DCF" />
+      </entry>
+      <entry>
+        <key type="string" value="struct" />
+        <val type="numeric" value="7" />
+      </entry>
+    </val>
+  </entry>
+</attr>
+<attr name="ProfileName" type="string" value="None" />
+<attr name="Type" type="string" value="master" />
+<attr name="ID" type="numeric" value="0" />
+<attr name="Name" type="string" value="MasterNode" />
+</PyObject>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/nodelist.cpj	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,10 @@
+[TOPOLOGY]
+NetName=None
+Nodes=0x02
+Node16Present=0x01
+Node16Name=DS401_Slave_GUI
+Node16DCFName=DS401_Slave_Gui.eds
+Node32Present=0x01
+Node32Name=GUI2
+Node32DCFName=DS401_Slave_Gui.eds
+EDSBaseName=eds
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/Master@CanOpenNode/plugin.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CanFestivalNode CAN_Device="vcan0" CAN_Baudrate="125K" NodeId="1"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/baseplugin.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BaseParams Name="CANopen" IEC_Channel="0"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/CANopen@canfestival/plugin.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CanFestivalInstance CAN_Driver="../CanFestival-3/drivers/can_socket/libcanfestival_can_socket.so"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/beremiz.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<BeremizRoot CFLAGS="-g" Linker="g++" LDFLAGS="-g">
+  <TargetType>
+    <Linux Nice="0"/>
+  </TargetType>
+  <Connection>
+    <Local/>
+  </Connection>
+</BeremizRoot>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/methods.py	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,66 @@
+logger.write_error("Welcome to the Beremiz Demo\n\n")            
+logger.write("This demo provides a PLC working with the CANopen plugin\n")
+logger.write("""Some external programs are also provided:\n
+- a CAN TCP server to simulate the CANopen network
+- a virtual slave node to simulate input block
+- a virtual slave node to simulate output block
+""")
+logger.write("\nInfo: For this demo, %s plugin has some special methods to run external programs.\nThese methods are defined in methods.py\n" % (PlugName or "Root"))
+#open_pdf(os.path.join(os.path.split(__file__)[0], "doc", "manual_beremiz.pdf"), pagenum=21)
+
+if wx.Platform == '__WXMSW__':
+    self.listLaunchProg = [
+        {'name' : 'Can Tcp Server',
+         'command' : 'can_tcp_win32_server.exe',
+         'keyword' : 'Accepts',
+         'pid' : None,
+         'no_gui' : True},
+        {'name' : 'DS401 Slave Gui NodeId 32',
+         'command' : 'DS401_Slave_Gui.exe -sI -l can_tcp_win32.dll -b 127.0.0.1 -i 20 -B 125K',
+         'keyword' : '[OK]',
+         'pid' : None,
+         'no_gui' : False},
+        {'name' : 'DS401 Slave Gui NodeId 16',
+         'command' : 'DS401_Slave_Gui.exe -sO -l can_tcp_win32.dll -b 127.0.0.1 -i 10 -B 125K',
+         'keyword' : '[OK]',
+         'pid' : None,
+         'no_gui' : False}
+    ]
+else:
+    self.listLaunchProg = [
+        {'name' : 'DS401 Slave Gui NodeId 32',
+         'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sI -l ../CanFestival-3/drivers/can_socket/libcanfestival_can_socket.so -b vcan0 -i 20 -B 125K',
+         'keyword' : '[OK]',
+         'pid' : None,
+         'no_gui' : False},
+        {'name' : 'DS401 Slave Gui NodeId 16',
+         'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sO -l ../CanFestival-3/drivers/can_socket/libcanfestival_can_socket.so -b vcan0 -i 10 -B 125K',
+         'keyword' : '[OK]',
+         'pid' : None,
+         'no_gui' : False}
+    ]
+
+
+def my_methods(self): 
+    def _Run(logger):        
+        # External programs list 
+        # Launch them and get their pid
+        for prog in self.listLaunchProg:
+            logger.write("Starting %s\n" % prog['name'])
+            prog['pid'] = ProcessLogger(logger, prog['command'], no_gui=prog['no_gui'])
+            prog['pid'].spin(
+            		 timeout=200,
+                     keyword = prog['keyword'],
+                     kill_it = False)
+        
+        PluginsRoot._Run(self,logger)
+
+    def _Stop(logger):
+        PluginsRoot._Stop(self,logger)
+        for prog in self.listLaunchProg:
+            logger.write("Stopping %s\n" % prog['name'])
+            prog['pid'].kill()
+    
+    return _Run, _Stop
+   
+self._Run, self._Stop = my_methods(self)
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/linux/test_master_DS401GUI/plc.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -0,0 +1,2439 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xmlns="http://www.plcopen.org/xml/tc6.xsd"
+         xmlns:xhtml="http://www.w3.org/1999/xhtml"
+         xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd">
+  <fileHeader companyName="LOLITECH"
+              companyURL="www.lolitech.com"
+              productName="BREMIZ"
+              productVersion="1"
+              productRelease="1"
+              creationDateTime="2007-07-07 11:58:26"
+              contentDescription="This tests as most as possible IEC standard library"/>
+  <contentHeader name="STD_TEST"
+                 modificationDateTime="2008-06-24 17:46:11">
+    <coordinateInfo>
+      <fbd>
+        <scaling x="5" y="5"/>
+      </fbd>
+      <ld>
+        <scaling x="5" y="5"/>
+      </ld>
+      <sfc>
+        <scaling x="5" y="5"/>
+      </sfc>
+    </coordinateInfo>
+  </contentHeader>
+  <types>
+    <dataTypes>
+      <dataType name="MYTYPE">
+        <baseType>
+          <subrangeSigned>
+            <range lower="0" upper="1000"/>
+            <baseType>
+              <INT/>
+            </baseType>
+          </subrangeSigned>
+        </baseType>
+      </dataType>
+      <dataType name="MYTYPE2">
+        <baseType>
+          <enum>
+            <values>
+              <value name="OPEN"/>
+              <value name="CLOSED"/>
+            </values>
+          </enum>
+        </baseType>
+        <initialValue>
+          <simpleValue value="CLOSED"/>
+        </initialValue>
+      </dataType>
+      <dataType name="MYTYPE3">
+        <baseType>
+          <array>
+            <dimension lower="1" upper="8"/>
+            <dimension lower="1" upper="8"/>
+            <baseType>
+              <derived name="MYTYPE5"/>
+            </baseType>
+          </array>
+        </baseType>
+        <initialValue>
+          <arrayValue>
+            <value repetitionValue="32">
+              <simpleValue value="0"/>
+            </value>
+            <value repetitionValue="30">
+              <simpleValue value="1"/>
+            </value>
+          </arrayValue>
+        </initialValue>
+      </dataType>
+      <dataType name="MYTYPE4">
+        <baseType>
+          <subrangeUnsigned>
+            <range lower="1" upper="100"/>
+            <baseType>
+              <UINT/>
+            </baseType>
+          </subrangeUnsigned>
+        </baseType>
+      </dataType>
+      <dataType name="MYTYPE5">
+        <baseType>
+          <derived name="MYTYPE4"/>
+        </baseType>
+        <initialValue>
+          <simpleValue value="10"/>
+        </initialValue>
+      </dataType>
+    </dataTypes>
+    <pous>
+      <pou name="MAIN_TEST" pouType="program">
+        <interface>
+          <localVars>
+            <variable name="DigitalOut" address="%QB0.0.16.25088.1">
+              <type>
+                <BYTE/>
+              </type>
+            </variable>
+            <variable name="DigitalIn" address="%IB0.0.32.24576.1">
+              <type>
+                <BYTE/>
+              </type>
+            </variable>
+            <variable name="AnalogOut1" address="%QW0.0.16.25617.1">
+              <type>
+                <derived name="MYTYPE"/>
+              </type>
+            </variable>
+            <variable name="AnalogOut2" address="%QW0.0.16.25617.2">
+              <type>
+                <derived name="MYTYPE"/>
+              </type>
+            </variable>
+            <variable name="AnalogOut3" address="%QW0.0.16.25617.3">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+            <variable name="AnalogOut4" address="%QW0.0.16.25617.4">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+            <variable name="AnalogIn1" address="%IW0.0.32.25601.1">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+            <variable name="AnalogIn2" address="%IW0.0.32.25601.2">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+            <variable name="DeviceType" address="%ID0.0.4096.0">
+              <type>
+                <UDINT/>
+              </type>
+            </variable>
+          </localVars>
+          <localVars>
+            <variable name="Test">
+              <type>
+                <derived name="Bitwise_Block"/>
+              </type>
+            </variable>
+            <variable name="Test2">
+              <type>
+                <derived name="Test_SFC"/>
+              </type>
+            </variable>
+            <variable name="t1">
+              <type>
+                <derived name="TOF"/>
+              </type>
+            </variable>
+            <variable name="latch">
+              <type>
+                <derived name="RS"/>
+              </type>
+            </variable>
+            <variable name="t2">
+              <type>
+                <derived name="TOF"/>
+              </type>
+            </variable>
+          </localVars>
+        </interface>
+        <body>
+          <FBD>
+            <comment localId="26" height="80" width="475">
+              <position x="25" y="5"/>
+              <content>
+<![CDATA[Main program]]>
+              </content>
+            </comment>
+            <inVariable localId="34" height="30" width="95">
+              <position x="40" y="535"/>
+              <connectionPointOut>
+                <relPosition x="95" y="15"/>
+              </connectionPointOut>
+              <expression>DigitalIn</expression>
+            </inVariable>
+            <outVariable localId="36" height="30" width="100">
+              <position x="915" y="450"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="39">
+                  <position x="915" y="465"/>
+                  <position x="885" y="465"/>
+                  <position x="885" y="465"/>
+                  <position x="925" y="465"/>
+                  <position x="925" y="465"/>
+                  <position x="865" y="465"/>
+                </connection>
+              </connectionPointIn>
+              <expression>DigitalOut</expression>
+            </outVariable>
+            <block localId="37" width="107" height="60" typeName="GETBIT">
+              <position x="195" y="520"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="34">
+                      <position x="195" y="550"/>
+                      <position x="135" y="550"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="38">
+                      <position x="195" y="570"/>
+                      <position x="165" y="570"/>
+                      <position x="165" y="585"/>
+                      <position x="105" y="585"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="107" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="38" height="30" width="65">
+              <position x="40" y="570"/>
+              <connectionPointOut>
+                <relPosition x="65" y="15"/>
+              </connectionPointOut>
+              <expression>UINT#0</expression>
+            </inVariable>
+            <block localId="39" width="120" height="80" typeName="SETBIT">
+              <position x="745" y="435"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="95">
+                      <position x="745" y="465"/>
+                      <position x="695" y="465"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="INPUT_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="52" formalParameter="OUT_AND">
+                      <position x="745" y="485"/>
+                      <position x="569" y="485"/>
+                      <position x="569" y="550"/>
+                      <position x="513" y="550"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="70"/>
+                    <connection refLocalId="96">
+                      <position x="745" y="505"/>
+                      <position x="690" y="505"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="40" height="30" width="100">
+              <position x="25" y="155"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>DigitalOut</expression>
+            </inVariable>
+            <block localId="42" width="120" height="85" typeName="SETBIT">
+              <position x="745" y="530"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="94">
+                      <position x="745" y="560"/>
+                      <position x="690" y="560"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="INPUT_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="52" formalParameter="OUT_OR">
+                      <position x="745" y="580"/>
+                      <position x="513" y="580"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="70"/>
+                    <connection refLocalId="93">
+                      <position x="745" y="600"/>
+                      <position x="690" y="600"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <outVariable localId="43" height="30" width="100">
+              <position x="910" y="545"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="42">
+                  <position x="910" y="560"/>
+                  <position x="865" y="560"/>
+                </connection>
+              </connectionPointIn>
+              <expression>DigitalOut</expression>
+            </outVariable>
+            <block localId="44" width="115" height="60" typeName="GETBIT">
+              <position x="195" y="595"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="97">
+                      <position x="195" y="625"/>
+                      <position x="135" y="625"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="45">
+                      <position x="195" y="645"/>
+                      <position x="154" y="645"/>
+                      <position x="154" y="660"/>
+                      <position x="105" y="660"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="115" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="45" height="30" width="65">
+              <position x="40" y="645"/>
+              <connectionPointOut>
+                <relPosition x="65" y="15"/>
+              </connectionPointOut>
+              <expression>UINT#1</expression>
+            </inVariable>
+            <block localId="46" width="120" height="80" typeName="SETBIT">
+              <position x="745" y="630"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="92">
+                      <position x="745" y="660"/>
+                      <position x="690" y="660"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="INPUT_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="52" formalParameter="OUT_XOR">
+                      <position x="745" y="680"/>
+                      <position x="555" y="680"/>
+                      <position x="555" y="610"/>
+                      <position x="513" y="610"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="70"/>
+                    <connection refLocalId="49">
+                      <position x="745" y="700"/>
+                      <position x="690" y="700"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <outVariable localId="47" height="30" width="105">
+              <position x="910" y="645"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="46">
+                  <position x="910" y="660"/>
+                  <position x="865" y="660"/>
+                </connection>
+              </connectionPointIn>
+              <expression>DigitalOut</expression>
+            </outVariable>
+            <inVariable localId="49" height="30" width="65">
+              <position x="625" y="685"/>
+              <connectionPointOut>
+                <relPosition x="65" y="15"/>
+              </connectionPointOut>
+              <expression>UINT#2</expression>
+            </inVariable>
+            <block localId="50" width="120" height="80" typeName="SETBIT">
+              <position x="745" y="725"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="91">
+                      <position x="745" y="755"/>
+                      <position x="690" y="755"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="INPUT_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="52" formalParameter="OUT_SR">
+                      <position x="745" y="775"/>
+                      <position x="525" y="775"/>
+                      <position x="525" y="640"/>
+                      <position x="513" y="640"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="70"/>
+                    <connection refLocalId="53">
+                      <position x="745" y="795"/>
+                      <position x="692" y="795"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <outVariable localId="51" height="30" width="100">
+              <position x="910" y="740"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="50">
+                  <position x="910" y="755"/>
+                  <position x="865" y="755"/>
+                </connection>
+              </connectionPointIn>
+              <expression>DigitalOut</expression>
+            </outVariable>
+            <block localId="52" width="127" height="141" typeName="Bitwise_Block" instanceName="Test">
+              <position x="386" y="515"/>
+              <inputVariables>
+                <variable formalParameter="IN1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="35"/>
+                    <connection refLocalId="37">
+                      <position x="386" y="550"/>
+                      <position x="302" y="550"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="65"/>
+                    <connection refLocalId="44">
+                      <position x="386" y="580"/>
+                      <position x="365" y="580"/>
+                      <position x="365" y="625"/>
+                      <position x="310" y="625"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT_AND">
+                  <connectionPointOut>
+                    <relPosition x="127" y="35"/>
+                  </connectionPointOut>
+                </variable>
+                <variable formalParameter="OUT_OR">
+                  <connectionPointOut>
+                    <relPosition x="127" y="65"/>
+                  </connectionPointOut>
+                </variable>
+                <variable formalParameter="OUT_XOR">
+                  <connectionPointOut>
+                    <relPosition x="127" y="95"/>
+                  </connectionPointOut>
+                </variable>
+                <variable formalParameter="OUT_SR">
+                  <connectionPointOut>
+                    <relPosition x="127" y="125"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="53" height="30" width="67">
+              <position x="625" y="780"/>
+              <connectionPointOut>
+                <relPosition x="67" y="15"/>
+              </connectionPointOut>
+              <expression>UINT#3</expression>
+            </inVariable>
+            <inVariable localId="59" height="30" width="100">
+              <position x="45" y="910"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>AnalogOut1</expression>
+            </inVariable>
+            <outVariable localId="60" height="30" width="100">
+              <position x="910" y="840"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="69" formalParameter="OUT1">
+                  <position x="910" y="855"/>
+                  <position x="610" y="855"/>
+                </connection>
+              </connectionPointIn>
+              <expression>AnalogOut1</expression>
+            </outVariable>
+            <inVariable localId="64" height="30" width="95">
+              <position x="45" y="980"/>
+              <connectionPointOut>
+                <relPosition x="95" y="15"/>
+              </connectionPointOut>
+              <expression>AnalogIn1</expression>
+            </inVariable>
+            <block localId="69" width="160" height="230" typeName="Test_SFC" instanceName="Test2">
+              <position x="450" y="820"/>
+              <inputVariables>
+                <variable formalParameter="CNT1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="35"/>
+                    <connection refLocalId="37">
+                      <position x="450" y="855"/>
+                      <position x="340" y="855"/>
+                      <position x="340" y="550"/>
+                      <position x="302" y="550"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="CNT2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="70"/>
+                    <connection refLocalId="44">
+                      <position x="450" y="890"/>
+                      <position x="365" y="890"/>
+                      <position x="365" y="625"/>
+                      <position x="310" y="625"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="105"/>
+                    <connection refLocalId="59">
+                      <position x="450" y="925"/>
+                      <position x="145" y="925"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="140"/>
+                    <connection refLocalId="71">
+                      <position x="450" y="960"/>
+                      <position x="145" y="960"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="UPPER1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="175"/>
+                    <connection refLocalId="64">
+                      <position x="450" y="995"/>
+                      <position x="140" y="995"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="UPPER2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="210"/>
+                    <connection refLocalId="72">
+                      <position x="450" y="1030"/>
+                      <position x="140" y="1030"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT1">
+                  <connectionPointOut>
+                    <relPosition x="160" y="35"/>
+                  </connectionPointOut>
+                </variable>
+                <variable formalParameter="OUT2">
+                  <connectionPointOut>
+                    <relPosition x="160" y="70"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <outVariable localId="70" height="30" width="100">
+              <position x="910" y="875"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="69" formalParameter="OUT2">
+                  <position x="910" y="890"/>
+                  <position x="610" y="890"/>
+                </connection>
+              </connectionPointIn>
+              <expression>AnalogOut2</expression>
+            </outVariable>
+            <inVariable localId="71" height="30" width="100">
+              <position x="45" y="945"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>AnalogOut2</expression>
+            </inVariable>
+            <inVariable localId="72" height="35" width="95">
+              <position x="45" y="1015"/>
+              <connectionPointOut>
+                <relPosition x="95" y="15"/>
+              </connectionPointOut>
+              <expression>AnalogIn2</expression>
+            </inVariable>
+            <block localId="73" width="120" height="80" typeName="SETBIT">
+              <position x="745" y="140"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="40">
+                      <position x="745" y="170"/>
+                      <position x="125" y="170"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="INPUT_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="77" formalParameter="Q">
+                      <position x="745" y="190"/>
+                      <position x="526" y="190"/>
+                      <position x="526" y="220"/>
+                      <position x="507" y="220"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="70"/>
+                    <connection refLocalId="74">
+                      <position x="745" y="210"/>
+                      <position x="540" y="210"/>
+                      <position x="540" y="295"/>
+                      <position x="95" y="295"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="74" height="30" width="65">
+              <position x="30" y="280"/>
+              <connectionPointOut>
+                <relPosition x="65" y="15"/>
+              </connectionPointOut>
+              <expression>UINT#7</expression>
+            </inVariable>
+            <block localId="75" width="120" height="60" typeName="GETBIT">
+              <position x="170" y="190"/>
+              <inputVariables>
+                <variable formalParameter="INPUT_BYTE">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="40">
+                      <position x="170" y="220"/>
+                      <position x="150" y="220"/>
+                      <position x="150" y="170"/>
+                      <position x="125" y="170"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="NUM_BIT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="74">
+                      <position x="170" y="240"/>
+                      <position x="151" y="240"/>
+                      <position x="151" y="295"/>
+                      <position x="95" y="295"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <outVariable localId="76" height="30" width="100">
+              <position x="910" y="155"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="73">
+                  <position x="910" y="170"/>
+                  <position x="865" y="170"/>
+                </connection>
+              </connectionPointIn>
+              <expression>DigitalOut</expression>
+            </outVariable>
+            <block localId="77" width="57" height="60" typeName="TP" instanceName="t1">
+              <position x="450" y="190"/>
+              <inputVariables>
+                <variable formalParameter="IN" negated="true">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="85" formalParameter="Q">
+                      <position x="450" y="220"/>
+                      <position x="400" y="220"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="PT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="80">
+                      <position x="450" y="240"/>
+                      <position x="420" y="240"/>
+                      <position x="420" y="270"/>
+                      <position x="220" y="270"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="Q">
+                  <connectionPointOut>
+                    <relPosition x="57" y="30"/>
+                  </connectionPointOut>
+                </variable>
+                <variable formalParameter="ET">
+                  <connectionPointOut>
+                    <relPosition x="57" y="50"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="80" height="27" width="50">
+              <position x="170" y="255"/>
+              <connectionPointOut>
+                <relPosition x="50" y="15"/>
+              </connectionPointOut>
+              <expression>T#1s</expression>
+            </inVariable>
+            <block localId="85" width="60" height="60" typeName="TOF" instanceName="t2">
+              <position x="340" y="190"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="75">
+                      <position x="340" y="220"/>
+                      <position x="290" y="220"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="PT">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="80">
+                      <position x="340" y="240"/>
+                      <position x="296" y="240"/>
+                      <position x="296" y="270"/>
+                      <position x="220" y="270"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="Q">
+                  <connectionPointOut>
+                    <relPosition x="60" y="30"/>
+                  </connectionPointOut>
+                </variable>
+                <variable formalParameter="ET">
+                  <connectionPointOut>
+                    <relPosition x="60" y="50"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <outVariable localId="86" height="30" width="100">
+              <position x="910" y="330"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="90" formalParameter="OUT">
+                  <position x="910" y="345"/>
+                  <position x="865" y="345"/>
+                </connection>
+              </connectionPointIn>
+              <expression>AnalogOut3</expression>
+            </outVariable>
+            <block localId="87" width="120" height="40" typeName="TIME_TO_REAL">
+              <position x="455" y="315"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="77" formalParameter="ET">
+                      <position x="455" y="345"/>
+                      <position x="445" y="345"/>
+                      <position x="445" y="275"/>
+                      <position x="517" y="275"/>
+                      <position x="517" y="240"/>
+                      <position x="507" y="240"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <block localId="88" width="80" height="60" typeName="MUL">
+              <position x="630" y="315"/>
+              <inputVariables>
+                <variable formalParameter="IN1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="87" formalParameter="OUT">
+                      <position x="630" y="345"/>
+                      <position x="575" y="345"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="89">
+                      <position x="630" y="365"/>
+                      <position x="607" y="365"/>
+                      <position x="607" y="400"/>
+                      <position x="585" y="400"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="80" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="89" height="35" width="120">
+              <position x="465" y="385"/>
+              <connectionPointOut>
+                <relPosition x="120" y="15"/>
+              </connectionPointOut>
+              <expression>REAL#10000.0</expression>
+            </inVariable>
+            <block localId="90" width="120" height="40" typeName="REAL_TO_INT">
+              <position x="745" y="315"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="88" formalParameter="OUT">
+                      <position x="745" y="345"/>
+                      <position x="710" y="345"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="91" height="30" width="100">
+              <position x="590" y="740"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>DigitalOut</expression>
+            </inVariable>
+            <inVariable localId="92" height="30" width="100">
+              <position x="590" y="645"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>DigitalOut</expression>
+            </inVariable>
+            <inVariable localId="93" height="30" width="65">
+              <position x="625" y="585"/>
+              <connectionPointOut>
+                <relPosition x="65" y="15"/>
+              </connectionPointOut>
+              <expression>UINT#1</expression>
+            </inVariable>
+            <inVariable localId="94" height="30" width="100">
+              <position x="590" y="545"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>DigitalOut</expression>
+            </inVariable>
+            <inVariable localId="95" height="30" width="100">
+              <position x="595" y="450"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>DigitalOut</expression>
+            </inVariable>
+            <inVariable localId="96" height="30" width="95">
+              <position x="595" y="490"/>
+              <connectionPointOut>
+                <relPosition x="95" y="15"/>
+              </connectionPointOut>
+              <expression>UINT#0</expression>
+            </inVariable>
+            <inVariable localId="97" height="30" width="95">
+              <position x="40" y="610"/>
+              <connectionPointOut>
+                <relPosition x="95" y="15"/>
+              </connectionPointOut>
+              <expression>DigitalIn</expression>
+            </inVariable>
+            <comment localId="100" height="40" width="400">
+              <position x="25" y="100"/>
+              <content>
+<![CDATA[A simple blinking output (2s period)]]>
+              </content>
+            </comment>
+            <comment localId="102" height="40" width="430">
+              <position x="580" y="255"/>
+              <content>
+<![CDATA[Output value of TP block as analog output #3]]>
+              </content>
+            </comment>
+            <comment localId="103" height="65" width="420">
+              <position x="25" y="425"/>
+              <content>
+<![CDATA[Map input and output of bitwise_block test to bits of DigitalIn and Digital out]]>
+              </content>
+            </comment>
+            <comment localId="104" height="85" width="285">
+              <position x="40" y="805"/>
+              <content>
+<![CDATA[Map AnalogIN #1 #2 and AnalogOUT #1 #2 to SFC test interface]]>
+              </content>
+            </comment>
+            <inVariable localId="105" height="30" width="115">
+              <position x="640" y="965"/>
+              <connectionPointOut>
+                <relPosition x="115" y="15"/>
+              </connectionPointOut>
+              <expression>DeviceType</expression>
+            </inVariable>
+            <outVariable localId="106" height="30" width="115">
+              <position x="1000" y="965"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="107" formalParameter="OUT">
+                  <position x="1000" y="980"/>
+                  <position x="945" y="980"/>
+                </connection>
+              </connectionPointIn>
+              <expression>AnalogOut4</expression>
+            </outVariable>
+            <block localId="107" width="130" height="40" typeName="UDINT_TO_INT">
+              <position x="815" y="950"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="105">
+                      <position x="815" y="980"/>
+                      <position x="755" y="980"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="130" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+          </FBD>
+        </body>
+      </pou>
+      <pou name="GETBIT" pouType="function">
+        <interface>
+          <returnType>
+            <BOOL/>
+          </returnType>
+          <inputVars>
+            <variable name="INPUT_BYTE">
+              <type>
+                <BYTE/>
+              </type>
+            </variable>
+            <variable name="NUM_BIT">
+              <type>
+                <USINT/>
+              </type>
+            </variable>
+          </inputVars>
+        </interface>
+        <body>
+          <FBD>
+            <block localId="1" width="70" height="60" typeName="SHR">
+              <position x="175" y="110"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="2">
+                      <position x="175" y="140"/>
+                      <position x="135" y="140"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="N">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="3">
+                      <position x="175" y="160"/>
+                      <position x="140" y="160"/>
+                      <position x="140" y="180"/>
+                      <position x="105" y="180"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="70" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="2" height="30" width="105">
+              <position x="30" y="125"/>
+              <connectionPointOut>
+                <relPosition x="105" y="15"/>
+              </connectionPointOut>
+              <expression>INPUT_BYTE</expression>
+            </inVariable>
+            <inVariable localId="3" height="30" width="75">
+              <position x="30" y="165"/>
+              <connectionPointOut>
+                <relPosition x="75" y="15"/>
+              </connectionPointOut>
+              <expression>NUM_BIT</expression>
+            </inVariable>
+            <outVariable localId="4" height="30" width="65">
+              <position x="555" y="125"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="7" formalParameter="OUT">
+                  <position x="555" y="140"/>
+                  <position x="515" y="140"/>
+                </connection>
+              </connectionPointIn>
+              <expression>GETBIT</expression>
+            </outVariable>
+            <block localId="5" width="85" height="60" typeName="AND">
+              <position x="275" y="110"/>
+              <inputVariables>
+                <variable formalParameter="IN1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="1" formalParameter="OUT">
+                      <position x="275" y="140"/>
+                      <position x="245" y="140"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="6">
+                      <position x="275" y="160"/>
+                      <position x="255" y="160"/>
+                      <position x="255" y="195"/>
+                      <position x="240" y="195"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="85" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="6" height="30" width="65">
+              <position x="175" y="180"/>
+              <connectionPointOut>
+                <relPosition x="65" y="15"/>
+              </connectionPointOut>
+              <expression>BYTE#1</expression>
+            </inVariable>
+            <block localId="7" width="120" height="40" typeName="BYTE_TO_BOOL">
+              <position x="395" y="110"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="5" formalParameter="OUT">
+                      <position x="395" y="140"/>
+                      <position x="360" y="140"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <comment localId="8" height="70" width="545">
+              <position x="30" y="20"/>
+              <content>
+<![CDATA[Function that return NUM_BIT'th bit value of INPUT_BYTE]]>
+              </content>
+            </comment>
+          </FBD>
+        </body>
+      </pou>
+      <pou name="SETBIT" pouType="function">
+        <interface>
+          <returnType>
+            <BYTE/>
+          </returnType>
+          <inputVars>
+            <variable name="INPUT_BYTE">
+              <type>
+                <BYTE/>
+              </type>
+            </variable>
+            <variable name="INPUT_BIT">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+            <variable name="NUM_BIT">
+              <type>
+                <USINT/>
+              </type>
+            </variable>
+          </inputVars>
+        </interface>
+        <body>
+          <FBD>
+            <inVariable localId="1" height="30" width="100">
+              <position x="40" y="255"/>
+              <connectionPointOut>
+                <relPosition x="100" y="15"/>
+              </connectionPointOut>
+              <expression>INPUT_BYTE</expression>
+            </inVariable>
+            <inVariable localId="2" height="30" width="95">
+              <position x="40" y="125"/>
+              <connectionPointOut>
+                <relPosition x="95" y="15"/>
+              </connectionPointOut>
+              <expression>INPUT_BIT</expression>
+            </inVariable>
+            <block localId="3" width="120" height="45" typeName="BOOL_TO_BYTE">
+              <position x="165" y="110"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="2">
+                      <position x="165" y="140"/>
+                      <position x="135" y="140"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="120" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <block localId="4" width="70" height="60" typeName="SHL">
+              <position x="335" y="110"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="3" formalParameter="OUT">
+                      <position x="335" y="140"/>
+                      <position x="285" y="140"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="N">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="5">
+                      <position x="335" y="160"/>
+                      <position x="130" y="160"/>
+                      <position x="130" y="230"/>
+                      <position x="115" y="230"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="70" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="5" height="30" width="75">
+              <position x="40" y="215"/>
+              <connectionPointOut>
+                <relPosition x="75" y="15"/>
+              </connectionPointOut>
+              <expression>NUM_BIT</expression>
+            </inVariable>
+            <block localId="7" width="70" height="60" typeName="SHL">
+              <position x="235" y="180"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="8">
+                      <position x="235" y="210"/>
+                      <position x="215" y="210"/>
+                      <position x="220" y="210"/>
+                      <position x="220" y="210"/>
+                      <position x="220" y="210"/>
+                      <position x="210" y="210"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="N">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="5">
+                      <position x="235" y="230"/>
+                      <position x="115" y="230"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="70" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="8" height="30" width="65">
+              <position x="145" y="195"/>
+              <connectionPointOut>
+                <relPosition x="65" y="15"/>
+              </connectionPointOut>
+              <expression>BYTE#1</expression>
+            </inVariable>
+            <block localId="9" width="70" height="40" typeName="NOT">
+              <position x="335" y="180"/>
+              <inputVariables>
+                <variable formalParameter="IN">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="7" formalParameter="OUT">
+                      <position x="335" y="210"/>
+                      <position x="305" y="210"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="70" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <block localId="10" width="80" height="60" typeName="AND">
+              <position x="440" y="180"/>
+              <inputVariables>
+                <variable formalParameter="IN1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="9" formalParameter="OUT">
+                      <position x="440" y="210"/>
+                      <position x="405" y="210"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="1">
+                      <position x="440" y="230"/>
+                      <position x="320" y="230"/>
+                      <position x="320" y="270"/>
+                      <position x="140" y="270"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="80" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <block localId="11" width="80" height="60" typeName="OR">
+              <position x="565" y="110"/>
+              <inputVariables>
+                <variable formalParameter="IN1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="30"/>
+                    <connection refLocalId="4" formalParameter="OUT">
+                      <position x="565" y="140"/>
+                      <position x="405" y="140"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="50"/>
+                    <connection refLocalId="10" formalParameter="OUT">
+                      <position x="565" y="160"/>
+                      <position x="545" y="160"/>
+                      <position x="545" y="210"/>
+                      <position x="520" y="210"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="80" y="30"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <outVariable localId="12" height="30" width="70">
+              <position x="695" y="125"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="11" formalParameter="OUT">
+                  <position x="695" y="140"/>
+                  <position x="645" y="140"/>
+                </connection>
+              </connectionPointIn>
+              <expression>SETBIT</expression>
+            </outVariable>
+            <comment localId="13" height="75" width="435">
+              <position x="35" y="15"/>
+              <content>
+<![CDATA[Function that return INPUT_BYTE with NUM_BIT'th  bit set to INPUT_BIT value]]>
+              </content>
+            </comment>
+          </FBD>
+        </body>
+      </pou>
+      <pou name="Bitwise_Block" pouType="functionBlock">
+        <interface>
+          <inputVars>
+            <variable name="IN1">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+            <variable name="IN2">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+          </inputVars>
+          <outputVars>
+            <variable name="OUT_AND">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+            <variable name="OUT_OR">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+            <variable name="OUT_XOR">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+            <variable name="OUT_SR">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+          </outputVars>
+          <localVars>
+            <variable name="SR1">
+              <type>
+                <derived name="SR"/>
+              </type>
+            </variable>
+          </localVars>
+        </interface>
+        <body>
+          <LD>
+            <leftPowerRail localId="1" height="80" width="3">
+              <position x="40" y="180"/>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="20"/>
+              </connectionPointOut>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="55"/>
+              </connectionPointOut>
+            </leftPowerRail>
+            <contact localId="2" height="15" width="25">
+              <position x="90" y="190"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="1">
+                  <position x="90" y="200"/>
+                  <position x="43" y="200"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN1</variable>
+            </contact>
+            <contact localId="3" height="20" width="25">
+              <position x="90" y="225"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="1">
+                  <position x="90" y="235"/>
+                  <position x="43" y="235"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN2</variable>
+            </contact>
+            <coil localId="4" height="20" width="25">
+              <position x="225" y="190"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="2">
+                  <position x="225" y="200"/>
+                  <position x="115" y="200"/>
+                </connection>
+                <connection refLocalId="3">
+                  <position x="225" y="200"/>
+                  <position x="189" y="200"/>
+                  <position x="189" y="235"/>
+                  <position x="115" y="235"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>OUT_OR</variable>
+            </coil>
+            <rightPowerRail localId="5" height="40" width="3">
+              <position x="350" y="180"/>
+              <connectionPointIn>
+                <relPosition x="0" y="20"/>
+                <connection refLocalId="4">
+                  <position x="350" y="200"/>
+                  <position x="250" y="200"/>
+                </connection>
+              </connectionPointIn>
+            </rightPowerRail>
+            <leftPowerRail localId="6" height="40" width="3">
+              <position x="40" y="315"/>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="20"/>
+              </connectionPointOut>
+            </leftPowerRail>
+            <contact localId="7" height="20" width="25">
+              <position x="100" y="325"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="6">
+                  <position x="100" y="335"/>
+                  <position x="43" y="335"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN1</variable>
+            </contact>
+            <contact localId="8" height="20" width="25">
+              <position x="185" y="325"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="7">
+                  <position x="185" y="335"/>
+                  <position x="125" y="335"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN2</variable>
+            </contact>
+            <coil localId="9" height="20" width="25">
+              <position x="275" y="325"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="8">
+                  <position x="275" y="335"/>
+                  <position x="210" y="335"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>OUT_AND</variable>
+            </coil>
+            <rightPowerRail localId="10" height="40" width="3">
+              <position x="350" y="315"/>
+              <connectionPointIn>
+                <relPosition x="0" y="20"/>
+                <connection refLocalId="9">
+                  <position x="350" y="335"/>
+                  <position x="300" y="335"/>
+                </connection>
+              </connectionPointIn>
+            </rightPowerRail>
+            <leftPowerRail localId="11" height="80" width="3">
+              <position x="40" y="415"/>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="20"/>
+              </connectionPointOut>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="60"/>
+              </connectionPointOut>
+            </leftPowerRail>
+            <contact localId="12" height="20" width="25">
+              <position x="100" y="425"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="11">
+                  <position x="100" y="435"/>
+                  <position x="43" y="435"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN1</variable>
+            </contact>
+            <contact localId="13" height="20" width="25" negated="true">
+              <position x="100" y="465"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="11">
+                  <position x="100" y="475"/>
+                  <position x="43" y="475"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN1</variable>
+            </contact>
+            <contact localId="14" height="20" width="25" negated="true">
+              <position x="190" y="425"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="12">
+                  <position x="190" y="435"/>
+                  <position x="125" y="435"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN2</variable>
+            </contact>
+            <contact localId="15" height="20" width="25">
+              <position x="190" y="465"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="13">
+                  <position x="190" y="475"/>
+                  <position x="125" y="475"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN2</variable>
+            </contact>
+            <coil localId="16" height="20" width="30">
+              <position x="295" y="425"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="14">
+                  <position x="295" y="435"/>
+                  <position x="215" y="435"/>
+                </connection>
+                <connection refLocalId="15">
+                  <position x="295" y="435"/>
+                  <position x="270" y="435"/>
+                  <position x="270" y="475"/>
+                  <position x="215" y="475"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="30" y="10"/>
+              </connectionPointOut>
+              <variable>OUT_XOR</variable>
+            </coil>
+            <rightPowerRail localId="17" height="40" width="3">
+              <position x="350" y="415"/>
+              <connectionPointIn>
+                <relPosition x="0" y="20"/>
+                <connection refLocalId="16">
+                  <position x="350" y="435"/>
+                  <position x="325" y="435"/>
+                </connection>
+              </connectionPointIn>
+            </rightPowerRail>
+            <leftPowerRail localId="18" height="80" width="3">
+              <position x="40" y="550"/>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="20"/>
+              </connectionPointOut>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="60"/>
+              </connectionPointOut>
+            </leftPowerRail>
+            <contact localId="19" height="20" width="25">
+              <position x="100" y="560"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="18">
+                  <position x="100" y="570"/>
+                  <position x="43" y="570"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN1</variable>
+            </contact>
+            <contact localId="21" height="20" width="25">
+              <position x="100" y="600"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="18">
+                  <position x="100" y="610"/>
+                  <position x="43" y="610"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>IN2</variable>
+            </contact>
+            <block localId="22" width="60" height="100" typeName="SR" instanceName="SR1">
+              <position x="170" y="530"/>
+              <inputVariables>
+                <variable formalParameter="S1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="40"/>
+                    <connection refLocalId="19">
+                      <position x="170" y="570"/>
+                      <position x="125" y="570"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="R">
+                  <connectionPointIn>
+                    <relPosition x="0" y="80"/>
+                    <connection refLocalId="21">
+                      <position x="170" y="610"/>
+                      <position x="125" y="610"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="Q1">
+                  <connectionPointOut>
+                    <relPosition x="60" y="40"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <coil localId="24" height="20" width="25">
+              <position x="295" y="560"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="22" formalParameter="Q1">
+                  <position x="295" y="570"/>
+                  <position x="230" y="570"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>OUT_SR</variable>
+            </coil>
+            <rightPowerRail localId="25" height="40" width="3">
+              <position x="350" y="550"/>
+              <connectionPointIn>
+                <relPosition x="0" y="20"/>
+                <connection refLocalId="24">
+                  <position x="350" y="570"/>
+                  <position x="320" y="570"/>
+                </connection>
+              </connectionPointIn>
+            </rightPowerRail>
+            <comment localId="26" height="85" width="385">
+              <position x="25" y="35"/>
+              <content>
+<![CDATA[A LD function block that embeds some FB and check basic LD]]>
+              </content>
+            </comment>
+          </LD>
+        </body>
+      </pou>
+      <pou name="Test_SFC" pouType="functionBlock">
+        <interface>
+          <inputVars>
+            <variable name="CNT1">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+            <variable name="CNT2">
+              <type>
+                <BOOL/>
+              </type>
+            </variable>
+            <variable name="IN1">
+              <type>
+                <derived name="MYTYPE"/>
+              </type>
+            </variable>
+            <variable name="IN2">
+              <type>
+                <derived name="MYTYPE"/>
+              </type>
+            </variable>
+            <variable name="UPPER1">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+            <variable name="UPPER2">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+          </inputVars>
+          <outputVars>
+            <variable name="OUT1">
+              <type>
+                <derived name="MYTYPE"/>
+              </type>
+            </variable>
+            <variable name="OUT2">
+              <type>
+                <derived name="MYTYPE"/>
+              </type>
+            </variable>
+          </outputVars>
+          <localVars>
+            <variable name="TEST_ENUM">
+              <type>
+                <derived name="MYTYPE2"/>
+              </type>
+            </variable>
+            <variable name="TEST_ARRAY">
+              <type>
+                <derived name="MYTYPE3"/>
+              </type>
+            </variable>
+          </localVars>
+        </interface>
+        <actions>
+          <action name="COUNT1">
+            <body>
+              <ST>
+<![CDATA[
+OUT1 := IN1 + 1;
+TEST_ENUM := OPEN;
+]]>
+              </ST>
+            </body>
+          </action>
+          <action name="COUNT2">
+            <body>
+              <ST>
+<![CDATA[
+OUT2 := IN2 + 1;
+TEST_ARRAY[0,0] := TEST_ARRAY[0,1] + 50;
+]]>
+              </ST>
+            </body>
+          </action>
+        </actions>
+        <transitions>
+          <transition name="REACH_UPPER1">
+            <body>
+              <ST>
+<![CDATA[:= OUT1 >= UPPER1;]]>
+              </ST>
+            </body>
+          </transition>
+          <transition name="REACH_UPPER2">
+            <body>
+              <ST>
+<![CDATA[:= OUT2 >= UPPER2;]]>
+              </ST>
+            </body>
+          </transition>
+        </transitions>
+        <body>
+          <SFC>
+            <step localId="1" height="31" width="55" name="Start" initialStep="true">
+              <position x="125" y="170"/>
+              <connectionPointOut formalParameter="">
+                <relPosition x="25" y="31"/>
+              </connectionPointOut>
+              <connectionPointOutAction formalParameter="">
+                <relPosition x="55" y="15"/>
+              </connectionPointOutAction>
+            </step>
+            <step localId="4" height="30" width="55" name="Step3">
+              <position x="440" y="370"/>
+              <connectionPointIn>
+                <relPosition x="25" y="0"/>
+                <connection refLocalId="22">
+                  <position x="465" y="370"/>
+                  <position x="465" y="348"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="25" y="30"/>
+              </connectionPointOut>
+              <connectionPointOutAction formalParameter="">
+                <relPosition x="55" y="15"/>
+              </connectionPointOutAction>
+            </step>
+            <jumpStep localId="5" height="13" width="20" targetName="Start">
+              <position x="205" y="630"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="12">
+                  <position x="215" y="630"/>
+                  <position x="215" y="601"/>
+                </connection>
+              </connectionPointIn>
+            </jumpStep>
+            <transition localId="8" height="2" width="20">
+              <position x="560" y="565"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="25">
+                  <position x="570" y="565"/>
+                  <position x="570" y="523"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="2"/>
+              </connectionPointOut>
+              <condition>
+                <inline name="">
+                  <ST>
+<![CDATA[TRUE]]>
+                  </ST>
+                </inline>
+              </condition>
+            </transition>
+            <actionBlock localId="9" height="30" width="84">
+              <position x="325" y="375"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="13">
+                  <position x="325" y="390"/>
+                  <position x="300" y="390"/>
+                </connection>
+              </connectionPointIn>
+              <action>
+                <reference name="COUNT1"/>
+              </action>
+            </actionBlock>
+            <actionBlock localId="10" height="30" width="105">
+              <position x="520" y="370"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="4">
+                  <position x="520" y="385"/>
+                  <position x="495" y="385"/>
+                </connection>
+              </connectionPointIn>
+              <action>
+                <reference name="COUNT1"/>
+              </action>
+            </actionBlock>
+            <selectionDivergence localId="11" height="1" width="530">
+              <position x="45" y="230"/>
+              <connectionPointIn>
+                <relPosition x="105" y="0"/>
+                <connection refLocalId="1">
+                  <position x="150" y="230"/>
+                  <position x="150" y="201"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="0" y="1"/>
+              </connectionPointOut>
+              <connectionPointOut formalParameter="">
+                <relPosition x="225" y="1"/>
+              </connectionPointOut>
+              <connectionPointOut formalParameter="">
+                <relPosition x="530" y="1"/>
+              </connectionPointOut>
+            </selectionDivergence>
+            <selectionConvergence localId="12" height="1" width="525">
+              <position x="45" y="600"/>
+              <connectionPointIn>
+                <relPosition x="0" y="0"/>
+                <connection refLocalId="38">
+                  <position x="45" y="600"/>
+                  <position x="45" y="472"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointIn>
+                <relPosition x="225" y="0"/>
+                <connection refLocalId="15">
+                  <position x="270" y="600"/>
+                  <position x="270" y="472"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointIn>
+                <relPosition x="525" y="0"/>
+                <connection refLocalId="8">
+                  <position x="570" y="600"/>
+                  <position x="570" y="567"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="170" y="1"/>
+              </connectionPointOut>
+            </selectionConvergence>
+            <step localId="13" height="30" width="55" name="Step1">
+              <position x="245" y="375"/>
+              <connectionPointIn>
+                <relPosition x="25" y="0"/>
+                <connection refLocalId="44">
+                  <position x="270" y="375"/>
+                  <position x="270" y="280"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="25" y="30"/>
+              </connectionPointOut>
+              <connectionPointOutAction formalParameter="">
+                <relPosition x="55" y="15"/>
+              </connectionPointOutAction>
+            </step>
+            <transition localId="15" height="2" width="20">
+              <position x="260" y="470"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="13">
+                  <position x="270" y="470"/>
+                  <position x="270" y="405"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="2"/>
+              </connectionPointOut>
+              <condition>
+                <reference name="REACH_UPPER1"/>
+              </condition>
+            </transition>
+            <simultaneousDivergence localId="22" height="3" width="210">
+              <position x="465" y="345"/>
+              <connectionPointIn>
+                <relPosition x="110" y="0"/>
+                <connection refLocalId="45">
+                  <position x="575" y="345"/>
+                  <position x="575" y="280"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="0" y="3"/>
+              </connectionPointOut>
+              <connectionPointOut formalParameter="">
+                <relPosition x="210" y="3"/>
+              </connectionPointOut>
+            </simultaneousDivergence>
+            <transition localId="23" height="2" width="20">
+              <position x="455" y="430"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="4">
+                  <position x="465" y="430"/>
+                  <position x="465" y="400"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="2"/>
+              </connectionPointOut>
+              <condition>
+                <reference name="REACH_UPPER1"/>
+              </condition>
+            </transition>
+            <step localId="24" height="27" width="55" name="WAIT1">
+              <position x="440" y="465"/>
+              <connectionPointIn>
+                <relPosition x="25" y="0"/>
+                <connection refLocalId="23">
+                  <position x="465" y="465"/>
+                  <position x="465" y="432"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="25" y="27"/>
+              </connectionPointOut>
+            </step>
+            <simultaneousConvergence localId="25" height="3" width="210">
+              <position x="465" y="520"/>
+              <connectionPointIn>
+                <relPosition x="0" y="0"/>
+                <connection refLocalId="24">
+                  <position x="465" y="520"/>
+                  <position x="465" y="492"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointIn>
+                <relPosition x="210" y="0"/>
+                <connection refLocalId="29">
+                  <position x="675" y="520"/>
+                  <position x="675" y="492"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="105" y="3"/>
+              </connectionPointOut>
+            </simultaneousConvergence>
+            <step localId="26" height="30" width="55" name="Step4">
+              <position x="650" y="370"/>
+              <connectionPointIn>
+                <relPosition x="25" y="0"/>
+                <connection refLocalId="22">
+                  <position x="675" y="370"/>
+                  <position x="675" y="348"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="25" y="30"/>
+              </connectionPointOut>
+              <connectionPointOutAction formalParameter="">
+                <relPosition x="55" y="15"/>
+              </connectionPointOutAction>
+            </step>
+            <transition localId="28" height="2" width="20">
+              <position x="665" y="430"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="26">
+                  <position x="675" y="430"/>
+                  <position x="675" y="400"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="2"/>
+              </connectionPointOut>
+              <condition>
+                <reference name="REACH_UPPER2"/>
+              </condition>
+            </transition>
+            <step localId="29" height="27" width="55" name="WAIT2">
+              <position x="650" y="465"/>
+              <connectionPointIn>
+                <relPosition x="25" y="0"/>
+                <connection refLocalId="28">
+                  <position x="675" y="465"/>
+                  <position x="675" y="432"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="25" y="27"/>
+              </connectionPointOut>
+            </step>
+            <actionBlock localId="31" height="30" width="100">
+              <position x="730" y="370"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="26">
+                  <position x="730" y="385"/>
+                  <position x="705" y="385"/>
+                </connection>
+              </connectionPointIn>
+              <action>
+                <reference name="COUNT2"/>
+              </action>
+            </actionBlock>
+            <actionBlock localId="32" height="30" width="235">
+              <position x="200" y="170"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="1">
+                  <position x="200" y="185"/>
+                  <position x="180" y="185"/>
+                </connection>
+              </connectionPointIn>
+              <action>
+                <inline>
+                  <ST>
+<![CDATA[OUT1 := 0;OUT2 := 0;]]>
+                  </ST>
+                </inline>
+              </action>
+            </actionBlock>
+            <transition localId="33" height="2" width="20">
+              <position x="35" y="325"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="11">
+                  <position x="45" y="325"/>
+                  <position x="45" y="231"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="2"/>
+              </connectionPointOut>
+              <condition>
+                <inline name="">
+                  <ST>
+<![CDATA[CNT2 AND NOT CNT1]]>
+                  </ST>
+                </inline>
+              </condition>
+            </transition>
+            <block localId="34" width="80" height="90" typeName="AND">
+              <position x="435" y="240"/>
+              <inputVariables>
+                <variable formalParameter="IN1">
+                  <connectionPointIn>
+                    <relPosition x="0" y="35"/>
+                    <connection refLocalId="35">
+                      <position x="435" y="275"/>
+                      <position x="410" y="275"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+                <variable formalParameter="IN2">
+                  <connectionPointIn>
+                    <relPosition x="0" y="70"/>
+                    <connection refLocalId="39">
+                      <position x="435" y="310"/>
+                      <position x="410" y="310"/>
+                    </connection>
+                  </connectionPointIn>
+                </variable>
+              </inputVariables>
+              <inOutVariables/>
+              <outputVariables>
+                <variable formalParameter="OUT">
+                  <connectionPointOut>
+                    <relPosition x="80" y="35"/>
+                  </connectionPointOut>
+                </variable>
+              </outputVariables>
+            </block>
+            <inVariable localId="35" height="30" width="50">
+              <position x="360" y="260"/>
+              <connectionPointOut>
+                <relPosition x="50" y="15"/>
+              </connectionPointOut>
+              <expression>CNT1</expression>
+            </inVariable>
+            <step localId="36" height="27" width="60" name="Step2">
+              <position x="15" y="375"/>
+              <connectionPointIn>
+                <relPosition x="30" y="0"/>
+                <connection refLocalId="33">
+                  <position x="45" y="375"/>
+                  <position x="45" y="327"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut formalParameter="">
+                <relPosition x="30" y="27"/>
+              </connectionPointOut>
+              <connectionPointOutAction formalParameter="">
+                <relPosition x="60" y="15"/>
+              </connectionPointOutAction>
+            </step>
+            <actionBlock localId="37" height="30" width="84">
+              <position x="100" y="375"/>
+              <connectionPointIn>
+                <relPosition x="0" y="15"/>
+                <connection refLocalId="36">
+                  <position x="100" y="390"/>
+                  <position x="75" y="390"/>
+                </connection>
+              </connectionPointIn>
+              <action>
+                <reference name="COUNT2"/>
+              </action>
+            </actionBlock>
+            <transition localId="38" height="2" width="20">
+              <position x="35" y="470"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="36">
+                  <position x="45" y="470"/>
+                  <position x="45" y="402"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="2"/>
+              </connectionPointOut>
+              <condition>
+                <reference name="REACH_UPPER2"/>
+              </condition>
+            </transition>
+            <inVariable localId="39" height="30" width="50">
+              <position x="360" y="295"/>
+              <connectionPointOut>
+                <relPosition x="50" y="15"/>
+              </connectionPointOut>
+              <expression>CNT2</expression>
+            </inVariable>
+            <leftPowerRail localId="40" height="40" width="3">
+              <position x="70" y="255"/>
+              <connectionPointOut formalParameter="">
+                <relPosition x="3" y="20"/>
+              </connectionPointOut>
+            </leftPowerRail>
+            <contact localId="41" height="20" width="25">
+              <position x="110" y="265"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="40">
+                  <position x="110" y="275"/>
+                  <position x="73" y="275"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>CNT1</variable>
+            </contact>
+            <contact localId="42" height="20" width="25" negated="true">
+              <position x="190" y="265"/>
+              <connectionPointIn>
+                <relPosition x="0" y="10"/>
+                <connection refLocalId="41">
+                  <position x="190" y="275"/>
+                  <position x="135" y="275"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="25" y="10"/>
+              </connectionPointOut>
+              <variable>CNT2</variable>
+            </contact>
+            <transition localId="44" height="10" width="20">
+              <position x="260" y="270"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="11">
+                  <position x="270" y="270"/>
+                  <position x="270" y="231"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="10"/>
+              </connectionPointOut>
+              <condition>
+                <connection refLocalId="42">
+                  <position x="260" y="275"/>
+                  <position x="215" y="275"/>
+                </connection>
+              </condition>
+            </transition>
+            <transition localId="45" height="10" width="20">
+              <position x="565" y="270"/>
+              <connectionPointIn>
+                <relPosition x="10" y="0"/>
+                <connection refLocalId="11">
+                  <position x="575" y="270"/>
+                  <position x="575" y="231"/>
+                </connection>
+              </connectionPointIn>
+              <connectionPointOut>
+                <relPosition x="10" y="10"/>
+              </connectionPointOut>
+              <condition>
+                <connection refLocalId="34" formalParameter="OUT">
+                  <position x="565" y="275"/>
+                  <position x="515" y="275"/>
+                </connection>
+              </condition>
+            </transition>
+            <comment localId="46" height="120" width="785">
+              <position x="15" y="25"/>
+              <content>
+<![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions.
+It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]>
+              </content>
+            </comment>
+          </SFC>
+        </body>
+      </pou>
+    </pous>
+  </types>
+  <instances>
+    <configurations>
+      <configuration name="STD_CONF">
+        <resource name="STD_RESSOURCE">
+          <task name="STD_TASK" interval="00:00:00.100000" priority="0">
+            <pouInstance name="MAIN_INSTANCE" type="MAIN_TEST"/>
+          </task>
+        </resource>
+      </configuration>
+    </configurations>
+  </instances>
+</project>
--- a/tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/baseplugin.xml	Wed Jun 25 17:09:24 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<BaseParams Name="slave" IEC_Channel="0"/>
--- a/tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/plugin.xml	Wed Jun 25 17:09:24 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<CanFestivalSlaveNode CAN_Device="vcan0" CAN_Baudrate="125K" NodeId="3"/>
--- a/tests/linux/test_slave/canopen@canfestival/slave@CanOpenSlave/slave.od	Wed Jun 25 17:09:24 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
-<PyObject module="node" class="Node" id="156683980">
-<attr name="Profile" type="dict" id="156696060" >
-</attr>
-<attr name="Description" type="string" value="" />
-<attr name="Dictionary" type="dict" id="156695788" >
-  <entry>
-    <key type="numeric" value="4096" />
-    <val type="numeric" value="0" />
-  </entry>
-  <entry>
-    <key type="numeric" value="4097" />
-    <val type="numeric" value="0" />
-  </entry>
-  <entry>
-    <key type="numeric" value="4120" />
-    <val type="list" id="155064396" >
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
-      <item type="numeric" value="0" />
-    </val>
-  </entry>
-</attr>
-<attr name="SpecificMenu" type="list" id="156683948" >
-</attr>
-<attr name="ParamsDictionary" type="dict" id="152882820" >
-</attr>
-<attr name="UserMapping" type="dict" id="155061620" >
-</attr>
-<attr name="DS302" type="dict" id="155049332" >
-</attr>
-<attr name="ProfileName" type="string" value="None" />
-<attr name="Type" type="string" value="slave" />
-<attr name="ID" type="numeric" value="0" />
-<attr name="Name" type="string" value="SlaveNode" />
-</PyObject>
--- a/tests/linux/test_slave/plc.xml	Wed Jun 25 17:09:24 2008 +0200
+++ b/tests/linux/test_slave/plc.xml	Wed Jun 25 17:11:47 2008 +0200
@@ -8,7 +8,7 @@
               productVersion="1"
               creationDateTime="2008-06-24 18:44:00"/>
   <contentHeader name="test_slave"
-                 modificationDateTime="2008-06-24 19:15:12"
+                 modificationDateTime="2008-06-25 16:43:20"
                  language="en-US">
     <coordinateInfo>
       <fbd>
@@ -28,7 +28,12 @@
       <pou name="test_main" pouType="program">
         <interface>
           <localVars>
-            <variable name="testvar">
+            <variable name="outvar" address="%QW0.0.8192.0">
+              <type>
+                <INT/>
+              </type>
+            </variable>
+            <variable name="invar" address="%IW0.0.8193.0">
               <type>
                 <INT/>
               </type>
@@ -48,22 +53,15 @@
                   <position x="299" y="153"/>
                 </connection>
               </connectionPointIn>
-              <expression>testvar</expression>
+              <expression>outvar</expression>
             </outVariable>
             <inVariable localId="2" height="29" width="20">
-              <position x="123" y="110"/>
+              <position x="100" y="115"/>
               <connectionPointOut>
                 <relPosition x="20" y="14"/>
               </connectionPointOut>
               <expression>1</expression>
             </inVariable>
-            <inVariable localId="3" height="29" width="20">
-              <position x="122" y="173"/>
-              <connectionPointOut>
-                <relPosition x="20" y="14"/>
-              </connectionPointOut>
-              <expression>2</expression>
-            </inVariable>
             <block localId="4" width="75" height="60" typeName="ADD">
               <position x="224" y="123"/>
               <inputVariables>
@@ -73,19 +71,19 @@
                     <connection refLocalId="2">
                       <position x="224" y="153"/>
                       <position x="183" y="153"/>
-                      <position x="183" y="124"/>
-                      <position x="143" y="124"/>
+                      <position x="183" y="129"/>
+                      <position x="120" y="129"/>
                     </connection>
                   </connectionPointIn>
                 </variable>
                 <variable formalParameter="IN2">
                   <connectionPointIn>
                     <relPosition x="0" y="50"/>
-                    <connection refLocalId="3">
+                    <connection refLocalId="5">
                       <position x="224" y="173"/>
-                      <position x="183" y="173"/>
-                      <position x="183" y="187"/>
-                      <position x="142" y="187"/>
+                      <position x="187" y="173"/>
+                      <position x="187" y="187"/>
+                      <position x="150" y="187"/>
                     </connection>
                   </connectionPointIn>
                 </variable>
@@ -99,6 +97,13 @@
                 </variable>
               </outputVariables>
             </block>
+            <inVariable localId="5" height="29" width="60">
+              <position x="90" y="173"/>
+              <connectionPointOut>
+                <relPosition x="60" y="14"/>
+              </connectionPointOut>
+              <expression>invar</expression>
+            </inVariable>
           </FBD>
         </body>
       </pou>