Add system test examples

The system tests present in forte are added here.
diff --git a/SystemTests/SystemTests.sys b/SystemTests/SystemTests.sys
index 8405aeb..24f651c 100644
--- a/SystemTests/SystemTests.sys
+++ b/SystemTests/SystemTests.sys
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE System SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
 <System Comment="" Name="SystemTests">
-  <Identification Description="Copyright (c) 2018 Johannes Kepler University&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61499-2"/>
   <VersionInfo Author="Alois Zoitl" Date="2018-08-29" Organization="Johannes Kepler University" Remarks="initial API and implementation and/or initial documentation" Version="1.0"/>
   <Application Comment="Small test application for measuring the execution time of a few fbs for evaluating runtime performance" Name="Timing">
     <SubAppNetwork>
@@ -22,9 +21,8 @@
             <SubAppEvent Comment="" Name="Done" Type="Event"/>
           </SubAppEventOutputs>
           <InputVars>
-            <VarDeclaration Comment="" Name="iterations" Type="UINT"/>
+            <VarDeclaration Comment="" InitialValue="100" Name="iterations" Type="UINT"/>
           </InputVars>
-          <OutputVars/>
         </SubAppInterfaceList>
         <SubAppNetwork>
           <FB Comment="" Name="E_CTU" Type="E_CTU" x="900.0" y="300.0"/>
@@ -34,20 +32,20 @@
             <Parameter Name="PV" Value="65500"/>
           </FB>
           <DataConnections>
-            <Connection Comment="" Destination="E_SWITCH_1.G" Source="E_CTU.Q" dx1="0.0" dx2="0.0" dy="0.0"/>
-            <Connection Comment="" Destination="E_SWITCH.G" Source="E_CTU_1.Q" dx1="0.0" dx2="0.0" dy="0.0"/>
-            <Connection Comment="" Destination="E_CTU.PV" Source="iterations" dx1="0.0" dx2="0.0" dy="0.0"/>
+            <Connection Comment="" Destination="E_SWITCH_1.G" Source="E_CTU.Q"/>
+            <Connection Comment="" Destination="E_SWITCH.G" Source="E_CTU_1.Q"/>
+            <Connection Comment="" Destination="E_CTU.PV" Source="iterations"/>
           </DataConnections>
           <EventConnections>
-            <Connection Comment="" Destination="E_CTU.CU" Source="E_CTU_1.RO" dx1="0.0" dx2="0.0" dy="-315.0"/>
+            <Connection Comment="" Destination="E_CTU.CU" Source="E_CTU_1.RO"/>
             <Connection Comment="" Destination="E_CTU.R" Source="E_SWITCH_1.EO1" dx1="40.0" dx2="-305.0" dy="475.0"/>
-            <Connection Comment="" Destination="E_SWITCH_1.EI" Source="E_CTU.CUO" dx1="0.0" dx2="0.0" dy="0.0"/>
-            <Connection Comment="" Destination="E_CTU_1.CU" Source="E_SWITCH_1.EO0" dx1="345.0" dx2="0.0" dy="0.0"/>
-            <Connection Comment="" Destination="E_SWITCH.EI" Source="E_CTU_1.CUO" dx1="0.0" dx2="0.0" dy="0.0"/>
+            <Connection Comment="" Destination="E_SWITCH_1.EI" Source="E_CTU.CUO"/>
+            <Connection Comment="" Destination="E_CTU_1.CU" Source="E_SWITCH_1.EO0" dx1="345.0"/>
+            <Connection Comment="" Destination="E_SWITCH.EI" Source="E_CTU_1.CUO"/>
             <Connection Comment="" Destination="E_CTU_1.CU" Source="E_SWITCH.EO0" dx1="260.0" dx2="-405.0" dy="710.0"/>
             <Connection Comment="" Destination="E_CTU_1.R" Source="E_SWITCH.EO1" dx1="-15.0" dx2="-305.0" dy="490.0"/>
-            <Connection Comment="" Destination="E_CTU.CU" Source="Start" dx1="375.0" dx2="0.0" dy="0.0"/>
-            <Connection Comment="" Destination="Done" Source="E_CTU.RO" dx1="0.0" dx2="0.0" dy="0.0"/>
+            <Connection Comment="" Destination="E_CTU.CU" Source="Start" dx1="375.0"/>
+            <Connection Comment="" Destination="Done" Source="E_CTU.RO"/>
           </EventConnections>
         </SubAppNetwork>
         <Parameter Name="iterations" Value="100"/>
@@ -56,24 +54,91 @@
       <FB Comment="" Name="E_SWITCH" Type="E_SWITCH" x="3800.0" y="500.0"/>
       <FB Comment="" Name="E_StopWatch" Type="E_STOPWATCH" x="1500.0" y="800.0"/>
       <DataConnections>
-        <Connection Comment="" Destination="CSV_WRITER_1.QI" Source="E_SR.Q" dx1="1150.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="E_SWITCH_2.G" Source="Iterations.Q" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="E_SWITCH.G" Source="CSV_WRITER_1.QO" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="CSV_WRITER_1.SD_1" Source="E_StopWatch.TD" dx1="0.0" dx2="0.0" dy="0.0"/>
+        <Connection Comment="" Destination="CSV_WRITER_1.QI" Source="E_SR.Q" dx1="1150.0"/>
+        <Connection Comment="" Destination="E_SWITCH_2.G" Source="Iterations.Q"/>
+        <Connection Comment="" Destination="E_SWITCH.G" Source="CSV_WRITER_1.QO"/>
+        <Connection Comment="" Destination="CSV_WRITER_1.SD_1" Source="E_StopWatch.TD" dx1="395.0"/>
       </DataConnections>
       <EventConnections>
-        <Connection Comment="" Destination="CSV_WRITER_1.INIT" Source="E_SR.EO" dx1="4470.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="E_SWITCH_2.EI" Source="Iterations.CUO" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="Iterations.R" Source="E_SWITCH_2.EO1" dx1="0.0" dx2="-215.0" dy="535.0"/>
-        <Connection Comment="" Destination="E_SR.R" Source="Iterations.RO" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="FBNuTest.Start" Source="E_SWITCH_2.EO0" dx1="945.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="Iterations.CU" Source="E_SWITCH.EO1" dx1="0.0" dx2="-290.0" dy="930.0"/>
-        <Connection Comment="" Destination="STEST_END.REQ" Source="E_SWITCH.EO0" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="E_SWITCH.EI" Source="CSV_WRITER_1.INITO" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="E_StopWatch.START" Source="E_SWITCH_2.EO0" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="E_StopWatch.STOP" Source="FBNuTest.Done" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="CSV_WRITER_1.REQ" Source="E_StopWatch.EO" dx1="0.0" dx2="0.0" dy="0.0"/>
-        <Connection Comment="" Destination="Iterations.CU" Source="CSV_WRITER_1.CNF" dx1="0.0" dx2="0.0" dy="-945.0"/>
+        <Connection Comment="" Destination="CSV_WRITER_1.INIT" Source="E_SR.EO" dx1="1620.0"/>
+        <Connection Comment="" Destination="E_SWITCH_2.EI" Source="Iterations.CUO"/>
+        <Connection Comment="" Destination="Iterations.R" Source="E_SWITCH_2.EO1" dx1="60.0" dx2="60.0" dy="120.0"/>
+        <Connection Comment="" Destination="E_SR.R" Source="Iterations.RO" dx1="755.0"/>
+        <Connection Comment="" Destination="FBNuTest.Start" Source="E_SWITCH_2.EO0"/>
+        <Connection Comment="" Destination="Iterations.CU" Source="E_SWITCH.EO1" dx1="60.0" dx2="60.0" dy="250.0"/>
+        <Connection Comment="" Destination="STEST_END.REQ" Source="E_SWITCH.EO0"/>
+        <Connection Comment="" Destination="E_SWITCH.EI" Source="CSV_WRITER_1.INITO"/>
+        <Connection Comment="" Destination="E_StopWatch.START" Source="E_SWITCH_2.EO0" dx1="675.0"/>
+        <Connection Comment="" Destination="E_StopWatch.STOP" Source="FBNuTest.Done" dx1="275.0"/>
+        <Connection Comment="" Destination="CSV_WRITER_1.REQ" Source="E_StopWatch.EO" dx1="395.0"/>
+        <Connection Comment="" Destination="Iterations.CU" Source="CSV_WRITER_1.CNF" dx1="60.0" dx2="60.0" dy="250.0"/>
+      </EventConnections>
+    </SubAppNetwork>
+  </Application>
+  <Application Comment="" Name="Soft_Pass_Example">
+    <SubAppNetwork>
+      <FB Comment="" Name="NOT_ZERO" Type="TEST_CONDITION" x="4425.0" y="715.0"/>
+      <FB Comment="" Name="STEST_END_0_1" Type="STEST_END" x="5585.0" y="695.0"/>
+      <FB Comment="" Name="F_MUX_2" Type="F_MUX_2" x="1315.0" y="560.0">
+        <Parameter Name="K" Value="UINT#2"/>
+      </FB>
+      <FB Comment="" Name="F_NOT" Type="F_NOT" x="3155.0" y="960.0"/>
+      <FB Comment="" Name="BOOL2BOOL" Type="BOOL2BOOL" x="2210.0" y="665.0"/>
+      <DataConnections>
+        <Connection Comment="" Destination="BOOL2BOOL.IN" Source="F_MUX_2.OUT" dx1="245.0"/>
+        <Connection Comment="" Destination="NOT_ZERO.check" Source="F_NOT.OUT" dx1="755.0"/>
+        <Connection Comment="" Destination="F_NOT.IN" Source="BOOL2BOOL.OUT" dx1="205.0"/>
+      </DataConnections>
+      <EventConnections>
+        <Connection Comment="" Destination="NOT_ZERO.REQ" Source="F_NOT.CNF" dx1="755.0"/>
+        <Connection Comment="" Destination="STEST_END_0_1.REQ" Source="NOT_ZERO.CNF" dx1="230.0"/>
+        <Connection Comment="" Destination="F_NOT.REQ" Source="BOOL2BOOL.CNF" dx1="285.0"/>
+      </EventConnections>
+    </SubAppNetwork>
+  </Application>
+  <Application Comment="" Name="Fail_Example">
+    <SubAppNetwork>
+      <FB Comment="" Name="STEST_END_0" Type="STEST_END" x="7150.0" y="1955.0"/>
+      <FB Comment="" Name="BOOL2BOOL_1_1_1" Type="BOOL2BOOL" x="1665.0" y="1845.0">
+        <Parameter Name="IN" Value="false"/>
+      </FB>
+      <FB Comment="" Name="SHOULD_FAIL_1" Type="TEST_CONDITION" x="3505.0" y="410.0"/>
+      <FB Comment="" Name="BOOL2BOOL_1" Type="BOOL2BOOL" x="1695.0" y="390.0">
+        <Parameter Name="IN" Value="false"/>
+      </FB>
+      <FB Comment="" Name="SHOULD_NOT_FAIL" Type="TEST_CONDITION" x="3525.0" y="1120.0"/>
+      <FB Comment="" Name="BOOL2BOOL_1_1" Type="BOOL2BOOL" x="1715.0" y="1100.0">
+        <Parameter Name="IN" Value="true"/>
+      </FB>
+      <FB Comment="" Name="SHOULD_FAIL_2" Type="TEST_CONDITION" x="3475.0" y="1865.0"/>
+      <DataConnections>
+        <Connection Comment="" Destination="SHOULD_NOT_FAIL.check" Source="BOOL2BOOL_1_1.OUT" dx1="640.0"/>
+        <Connection Comment="" Destination="SHOULD_FAIL_1.check" Source="BOOL2BOOL_1.OUT" dx1="640.0"/>
+        <Connection Comment="" Destination="SHOULD_FAIL_2.check" Source="BOOL2BOOL_1_1_1.OUT" dx1="640.0"/>
+      </DataConnections>
+      <EventConnections>
+        <Connection Comment="" Destination="SHOULD_FAIL_1.REQ" Source="BOOL2BOOL_1.CNF" dx1="640.0"/>
+        <Connection Comment="" Destination="STEST_END_0.REQ" Source="SHOULD_FAIL_2.CNF" dx1="1500.0"/>
+        <Connection Comment="" Destination="BOOL2BOOL_1_1.REQ" Source="SHOULD_FAIL_1.CNF" dx1="60.0" dx2="60.0" dy="345.0"/>
+        <Connection Comment="" Destination="BOOL2BOOL_1_1_1.REQ" Source="SHOULD_NOT_FAIL.CNF" dx1="60.0" dx2="60.0" dy="360.0"/>
+        <Connection Comment="" Destination="SHOULD_FAIL_2.REQ" Source="BOOL2BOOL_1_1_1.CNF" dx1="640.0"/>
+        <Connection Comment="" Destination="SHOULD_NOT_FAIL.REQ" Source="BOOL2BOOL_1_1.CNF" dx1="640.0"/>
+      </EventConnections>
+    </SubAppNetwork>
+  </Application>
+  <Application Comment="" Name="Hard_Pass_Example">
+    <SubAppNetwork>
+      <FB Comment="" Name="STEST_END" Type="STEST_END" x="7435.0" y="645.0"/>
+      <FB Comment="" Name="BOOL2BOOL" Type="BOOL2BOOL" x="4665.0" y="565.0">
+        <Parameter Name="IN" Value="true"/>
+      </FB>
+      <FB Comment="" Name="SHOULD_NOT_FAIL" Type="TEST_CONDITION" x="6035.0" y="560.0"/>
+      <DataConnections>
+        <Connection Comment="" Destination="SHOULD_NOT_FAIL.check" Source="BOOL2BOOL.OUT" dx1="420.0"/>
+      </DataConnections>
+      <EventConnections>
+        <Connection Comment="" Destination="SHOULD_NOT_FAIL.REQ" Source="BOOL2BOOL.CNF" dx1="420.0"/>
+        <Connection Comment="" Destination="STEST_END.REQ" Source="SHOULD_NOT_FAIL.CNF" dx1="350.0"/>
       </EventConnections>
     </SubAppNetwork>
   </Application>
@@ -100,9 +165,8 @@
               <SubAppEvent Comment="" Name="Done" Type="Event"/>
             </SubAppEventOutputs>
             <InputVars>
-              <VarDeclaration Comment="" Name="iterations" Type="ANY_MAGNITUDE"/>
+              <VarDeclaration Comment="" InitialValue="100" Name="iterations" Type="ANY_MAGNITUDE"/>
             </InputVars>
-            <OutputVars/>
           </SubAppInterfaceList>
           <Parameter Name="iterations" Value="100"/>
         </SubApp>
@@ -110,25 +174,100 @@
         <FB Comment="" Name="E_SWITCH" Type="E_SWITCH" x="4700.0" y="500.0"/>
         <FB Comment="" Name="E_StopWatch" Type="E_STOPWATCH" x="1500.0" y="800.0"/>
         <DataConnections>
-          <Connection Comment="" Destination="CSV_WRITER_1.QI" Source="E_SR.Q" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="E_SWITCH_2.G" Source="Iterations.Q" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="E_SWITCH.G" Source="CSV_WRITER_1.QO" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="CSV_WRITER_1.SD_1" Source="E_StopWatch.TD" dx1="0.0" dx2="0.0" dy="0.0"/>
+          <Connection Comment="" Destination="CSV_WRITER_1.QI" Source="E_SR.Q" dx1="1290.0"/>
+          <Connection Comment="" Destination="E_SWITCH_2.G" Source="Iterations.Q"/>
+          <Connection Comment="" Destination="E_SWITCH.G" Source="CSV_WRITER_1.QO"/>
+          <Connection Comment="" Destination="CSV_WRITER_1.SD_1" Source="E_StopWatch.TD" dx1="845.0"/>
         </DataConnections>
         <EventConnections>
-          <Connection Comment="" Destination="CSV_WRITER_1.INIT" Source="E_SR.EO" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="Iterations.R" Source="E_SWITCH_2.EO1" dx1="0.0" dx2="-210.0" dy="610.0"/>
-          <Connection Comment="" Destination="E_SWITCH_2.EI" Source="Iterations.CUO" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="E_SR.R" Source="Iterations.RO" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="FBNuTest.Start" Source="E_SWITCH_2.EO0" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="E_SR.S" Source="START.COLD" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="E_SWITCH.EI" Source="CSV_WRITER_1.INITO" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="STEST_END.REQ" Source="E_SWITCH.EO0" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="Iterations.CU" Source="E_SWITCH.EO1" dx1="0.0" dx2="0.0" dy="-1045.0"/>
-          <Connection Comment="" Destination="E_StopWatch.START" Source="E_SWITCH_2.EO0" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="E_StopWatch.STOP" Source="FBNuTest.Done" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="CSV_WRITER_1.REQ" Source="E_StopWatch.EO" dx1="0.0" dx2="0.0" dy="0.0"/>
-          <Connection Comment="" Destination="Iterations.CU" Source="CSV_WRITER_1.CNF" dx1="0.0" dx2="0.0" dy="0.0"/>
+          <Connection Comment="" Destination="CSV_WRITER_1.INIT" Source="E_SR.EO" dx1="1290.0"/>
+          <Connection Comment="" Destination="Iterations.R" Source="E_SWITCH_2.EO1" dx1="60.0" dx2="60.0" dy="120.0"/>
+          <Connection Comment="" Destination="E_SWITCH_2.EI" Source="Iterations.CUO"/>
+          <Connection Comment="" Destination="E_SR.R" Source="Iterations.RO" dx1="450.0"/>
+          <Connection Comment="" Destination="FBNuTest.Start" Source="E_SWITCH_2.EO0"/>
+          <Connection Comment="" Destination="E_SR.S" Source="START.COLD" dx1="200.0"/>
+          <Connection Comment="" Destination="E_SWITCH.EI" Source="CSV_WRITER_1.INITO"/>
+          <Connection Comment="" Destination="STEST_END.REQ" Source="E_SWITCH.EO0"/>
+          <Connection Comment="" Destination="Iterations.CU" Source="E_SWITCH.EO1" dx1="60.0" dx2="60.0" dy="250.0"/>
+          <Connection Comment="" Destination="E_StopWatch.START" Source="E_SWITCH_2.EO0" dx1="675.0"/>
+          <Connection Comment="" Destination="E_StopWatch.STOP" Source="FBNuTest.Done" dx1="75.0"/>
+          <Connection Comment="" Destination="CSV_WRITER_1.REQ" Source="E_StopWatch.EO" dx1="845.0"/>
+          <Connection Comment="" Destination="Iterations.CU" Source="CSV_WRITER_1.CNF" dx1="60.0" dx2="60.0" dy="250.0"/>
+        </EventConnections>
+      </FBNetwork>
+    </Resource>
+    <Resource Comment="" Name="Hard_Pass_Example" Type="EMB_RES" x="0.0" y="0.0">
+      <FBNetwork>
+        <FB Comment="" Name="STEST_END" Type="STEST_END" x="4575.0" y="630.0"/>
+        <FB Comment="" Name="SHOULD_NOT_FAIL" Type="TEST_CONDITION" x="3175.0" y="545.0"/>
+        <FB Comment="" Name="BOOL2BOOL" Type="BOOL2BOOL" x="1805.0" y="550.0">
+          <Parameter Name="IN" Value="true"/>
+        </FB>
+        <DataConnections>
+          <Connection Comment="" Destination="SHOULD_NOT_FAIL.check" Source="BOOL2BOOL.OUT" dx1="420.0"/>
+        </DataConnections>
+        <EventConnections>
+          <Connection Comment="" Destination="STEST_END.REQ" Source="SHOULD_NOT_FAIL.CNF" dx1="350.0"/>
+          <Connection Comment="" Destination="SHOULD_NOT_FAIL.REQ" Source="BOOL2BOOL.CNF" dx1="420.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL.REQ" Source="START.COLD" dx1="1185.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL.REQ" Source="START.WARM" dx1="1185.0"/>
+        </EventConnections>
+      </FBNetwork>
+    </Resource>
+    <Resource Comment="" Name="Soft_Pass_Example" Type="EMB_RES" x="0.0" y="0.0">
+      <FBNetwork>
+        <FB Comment="" Name="NOT_ZERO" Type="TEST_CONDITION" x="4425.0" y="715.0"/>
+        <FB Comment="" Name="F_NOT" Type="F_NOT" x="3155.0" y="960.0"/>
+        <FB Comment="" Name="BOOL2BOOL" Type="BOOL2BOOL" x="2210.0" y="665.0"/>
+        <FB Comment="" Name="STEST_END_0_1" Type="STEST_END" x="5585.0" y="695.0"/>
+        <FB Comment="" Name="F_MUX_2" Type="F_MUX_2" x="1315.0" y="560.0">
+          <Parameter Name="K" Value="UINT#2"/>
+        </FB>
+        <DataConnections>
+          <Connection Comment="" Destination="NOT_ZERO.check" Source="F_NOT.OUT" dx1="440.0"/>
+          <Connection Comment="" Destination="F_NOT.IN" Source="BOOL2BOOL.OUT" dx1="205.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL.IN" Source="F_MUX_2.OUT" dx1="245.0"/>
+        </DataConnections>
+        <EventConnections>
+          <Connection Comment="" Destination="NOT_ZERO.REQ" Source="F_NOT.CNF" dx1="440.0"/>
+          <Connection Comment="" Destination="F_NOT.REQ" Source="BOOL2BOOL.CNF" dx1="280.0"/>
+          <Connection Comment="" Destination="STEST_END_0_1.REQ" Source="NOT_ZERO.CNF" dx1="230.0"/>
+          <Connection Comment="" Destination="F_MUX_2.REQ" Source="START.COLD" dx1="375.0"/>
+          <Connection Comment="" Destination="F_MUX_2.REQ" Source="START.WARM" dx1="375.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL.REQ" Source="START.COLD" dx1="1590.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL.REQ" Source="START.WARM" dx1="1475.0"/>
+        </EventConnections>
+      </FBNetwork>
+    </Resource>
+    <Resource Comment="" Name="Fail_Example" Type="EMB_RES" x="0.0" y="0.0">
+      <FBNetwork>
+        <FB Comment="" Name="BOOL2BOOL_1_1_1" Type="BOOL2BOOL" x="1665.0" y="1845.0">
+          <Parameter Name="IN" Value="false"/>
+        </FB>
+        <FB Comment="" Name="BOOL2BOOL_1" Type="BOOL2BOOL" x="1695.0" y="390.0">
+          <Parameter Name="IN" Value="false"/>
+        </FB>
+        <FB Comment="" Name="BOOL2BOOL_1_1" Type="BOOL2BOOL" x="1715.0" y="1100.0">
+          <Parameter Name="IN" Value="true"/>
+        </FB>
+        <FB Comment="" Name="STEST_END_0" Type="STEST_END" x="7150.0" y="1955.0"/>
+        <FB Comment="" Name="SHOULD_FAIL_1" Type="TEST_CONDITION" x="3505.0" y="410.0"/>
+        <FB Comment="" Name="SHOULD_FAIL_2" Type="TEST_CONDITION" x="3475.0" y="1865.0"/>
+        <FB Comment="" Name="SHOULD_NOT_FAIL" Type="TEST_CONDITION" x="3525.0" y="1120.0"/>
+        <DataConnections>
+          <Connection Comment="" Destination="SHOULD_FAIL_1.check" Source="BOOL2BOOL_1.OUT" dx1="640.0"/>
+          <Connection Comment="" Destination="SHOULD_FAIL_2.check" Source="BOOL2BOOL_1_1_1.OUT" dx1="575.0"/>
+          <Connection Comment="" Destination="SHOULD_NOT_FAIL.check" Source="BOOL2BOOL_1_1.OUT" dx1="610.0"/>
+        </DataConnections>
+        <EventConnections>
+          <Connection Comment="" Destination="SHOULD_FAIL_1.REQ" Source="BOOL2BOOL_1.CNF" dx1="640.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL_1_1.REQ" Source="SHOULD_FAIL_1.CNF" dx1="60.0" dx2="60.0" dy="345.0"/>
+          <Connection Comment="" Destination="SHOULD_FAIL_2.REQ" Source="BOOL2BOOL_1_1_1.CNF" dx1="575.0"/>
+          <Connection Comment="" Destination="STEST_END_0.REQ" Source="SHOULD_FAIL_2.CNF" dx1="1490.0"/>
+          <Connection Comment="" Destination="SHOULD_NOT_FAIL.REQ" Source="BOOL2BOOL_1_1.CNF" dx1="610.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL_1_1_1.REQ" Source="SHOULD_NOT_FAIL.CNF" dx1="60.0" dx2="60.0" dy="360.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL_1.REQ" Source="START.COLD" dx1="565.0"/>
+          <Connection Comment="" Destination="BOOL2BOOL_1.REQ" Source="START.WARM" dx1="565.0"/>
         </EventConnections>
       </FBNetwork>
     </Resource>
@@ -141,4 +280,19 @@
   <Mapping From="Timing.STEST_END" To="DuT.TimingTestRes.STEST_END"/>
   <Mapping From="Timing.E_SWITCH" To="DuT.TimingTestRes.E_SWITCH"/>
   <Mapping From="Timing.E_StopWatch" To="DuT.TimingTestRes.E_StopWatch"/>
+  <Mapping From="Soft_Pass_Example.NOT_ZERO" To="DuT.Soft_Pass_Example.NOT_ZERO"/>
+  <Mapping From="Soft_Pass_Example.F_NOT" To="DuT.Soft_Pass_Example.F_NOT"/>
+  <Mapping From="Soft_Pass_Example.BOOL2BOOL" To="DuT.Soft_Pass_Example.BOOL2BOOL"/>
+  <Mapping From="Soft_Pass_Example.STEST_END_0_1" To="DuT.Soft_Pass_Example.STEST_END_0_1"/>
+  <Mapping From="Soft_Pass_Example.F_MUX_2" To="DuT.Soft_Pass_Example.F_MUX_2"/>
+  <Mapping From="Fail_Example.BOOL2BOOL_1_1_1" To="DuT.Fail_Example.BOOL2BOOL_1_1_1"/>
+  <Mapping From="Fail_Example.BOOL2BOOL_1" To="DuT.Fail_Example.BOOL2BOOL_1"/>
+  <Mapping From="Fail_Example.BOOL2BOOL_1_1" To="DuT.Fail_Example.BOOL2BOOL_1_1"/>
+  <Mapping From="Fail_Example.STEST_END_0" To="DuT.Fail_Example.STEST_END_0"/>
+  <Mapping From="Fail_Example.SHOULD_FAIL_1" To="DuT.Fail_Example.SHOULD_FAIL_1"/>
+  <Mapping From="Fail_Example.SHOULD_FAIL_2" To="DuT.Fail_Example.SHOULD_FAIL_2"/>
+  <Mapping From="Fail_Example.SHOULD_NOT_FAIL" To="DuT.Fail_Example.SHOULD_NOT_FAIL"/>
+  <Mapping From="Hard_Pass_Example.STEST_END" To="DuT.Hard_Pass_Example.STEST_END"/>
+  <Mapping From="Hard_Pass_Example.SHOULD_NOT_FAIL" To="DuT.Hard_Pass_Example.SHOULD_NOT_FAIL"/>
+  <Mapping From="Hard_Pass_Example.BOOL2BOOL" To="DuT.Hard_Pass_Example.BOOL2BOOL"/>
 </System>
diff --git a/SystemTests/convert/BOOL2BOOL.fbt b/SystemTests/convert/BOOL2BOOL.fbt
new file mode 100644
index 0000000..919cd54
--- /dev/null
+++ b/SystemTests/convert/BOOL2BOOL.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="" Name="BOOL2BOOL">
+  <Identification Description="Copyright (c) 2006 Profactor GmbH&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61499-2"/>
+  <VersionInfo Author="Thomas Strasser" Date="2006-11-14" Organization="PROFACTOR GmbH" Remarks="initial API and implementation and/or initial documentation" Version="1.0"/>
+  <CompilerInfo/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input event qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output event qualifier" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_ADD.fbt b/SystemTests/iec61131-3/arithmetic/F_ADD.fbt
new file mode 100644
index 0000000..83fb518
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_ADD.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Adds two number values" Name="F_ADD">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-09-22" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="ANY_MAGNITUDE"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="ANY_MAGNITUDE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN1 plus IN2" Name="OUT" Type="ANY_MAGNITUDE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_ADD_3.fbt b/SystemTests/iec61131-3/arithmetic/F_ADD_3.fbt
new file mode 100644
index 0000000..1e9b7f0
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_ADD_3.fbt
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Calculate arithmetical sum of magnitude inputs (generic FB)" Name="F_ADD_3">
+  <Identification Description="Copyright (c) 2014 Profactor GmbH&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Matthias Plasch" Date="2014-10-11" Organization="Profactor GmbH" Version="1.0"/>
+  <CompilerInfo/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+        <With Var="IN3"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="ADD input 1" Name="IN1" Type="ANY_MAGNITUDE"/>
+      <VarDeclaration Comment="ADD input 2" Name="IN2" Type="ANY_MAGNITUDE"/>
+      <VarDeclaration Comment="ADD input 3" Name="IN3" Type="ANY_MAGNITUDE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="ADD result" Name="OUT" Type="ANY_MAGNITUDE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_ADD_DT_TIME.fbt b/SystemTests/iec61131-3/arithmetic/F_ADD_DT_TIME.fbt
new file mode 100644
index 0000000..dce6ae3
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_ADD_DT_TIME.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Adds two number values" Name="F_ADD_DT_TIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-12" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="DATE_AND_TIME"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Function output" Name="OUT" Type="DATE_AND_TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_ADD_TOD_TIME.fbt b/SystemTests/iec61131-3/arithmetic/F_ADD_TOD_TIME.fbt
new file mode 100644
index 0000000..417d060
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_ADD_TOD_TIME.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Adds two number values" Name="F_ADD_TOD_TIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-12" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="TIME_OF_DAY"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Function output" Name="OUT" Type="TIME_OF_DAY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_DIV.fbt b/SystemTests/iec61131-3/arithmetic/F_DIV.fbt
new file mode 100644
index 0000000..62d0397
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_DIV.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Divides two values" Name="F_DIV">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-09-22" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="ANY_NUM"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="ANY_NUM"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Function output" Name="OUT" Type="ANY_NUM"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_DIVTIME.fbt b/SystemTests/iec61131-3/arithmetic/F_DIVTIME.fbt
new file mode 100644
index 0000000..4426e07
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_DIVTIME.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Divides a time value by a number value" Name="F_DIVTIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-12" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="time input to be devided" Name="IN1" Type="TIME"/>
+      <VarDeclaration Comment="divisosr" Name="IN2" Type="ANY_NUM"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Function output" Name="OUT" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_EXPT.fbt b/SystemTests/iec61131-3/arithmetic/F_EXPT.fbt
new file mode 100644
index 0000000..6f0ec89
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_EXPT.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="exponentiation" Name="F_EXPT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-17" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="base input" Name="IN1" Type="ANY_REAL"/>
+      <VarDeclaration Comment="exponent input" Name="IN2" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Function output" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_MOD.fbt b/SystemTests/iec61131-3/arithmetic/F_MOD.fbt
new file mode 100644
index 0000000..e9359cb
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_MOD.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="modulo" Name="F_MOD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-17" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="divident input" Name="IN1" Type="ANY_INT"/>
+      <VarDeclaration Comment="divisor input" Name="IN2" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="rest of IN1 devided by IN2" Name="OUT" Type="ANY_NUM"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_MOVE.fbt b/SystemTests/iec61131-3/arithmetic/F_MOVE.fbt
new file mode 100644
index 0000000..cc544ee
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_MOVE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="moves input to output" Name="F_MOVE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-17" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input" Name="IN" Type="ANY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="input = output" Name="OUT" Type="ANY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_MUL.fbt b/SystemTests/iec61131-3/arithmetic/F_MUL.fbt
new file mode 100644
index 0000000..8c1721c
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_MUL.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Multiplies two values" Name="F_MUL">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-09-22" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="ANY_NUM"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="ANY_NUM"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN1 multiplie with IN2" Name="OUT" Type="ANY_NUM"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_MULTIME.fbt b/SystemTests/iec61131-3/arithmetic/F_MULTIME.fbt
new file mode 100644
index 0000000..71c2fab
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_MULTIME.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Multiplies time value with numerical values" Name="F_MULTIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-12" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="TIME"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="ANY_NUM"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN1 multiplied by IN2" Name="OUT" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_SUB.fbt b/SystemTests/iec61131-3/arithmetic/F_SUB.fbt
new file mode 100644
index 0000000..88f6af4
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_SUB.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Subtracts two number values" Name="F_SUB">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-09-22" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="ANY_MAGNITUDE"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="ANY_MAGNITUDE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN2 substracted from IN1" Name="OUT" Type="ANY_MAGNITUDE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_SUB_DATE_DATE.fbt b/SystemTests/iec61131-3/arithmetic/F_SUB_DATE_DATE.fbt
new file mode 100644
index 0000000..68b2413
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_SUB_DATE_DATE.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Subtracts two time data types" Name="F_SUB_DATE_DATE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-13" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="DATE"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="DATE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN2 substracted from IN1" Name="OUT" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_SUB_DT_DT.fbt b/SystemTests/iec61131-3/arithmetic/F_SUB_DT_DT.fbt
new file mode 100644
index 0000000..2d4f1d6
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_SUB_DT_DT.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Subtracts two time data types" Name="F_SUB_DT_DT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-13" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="DATE_AND_TIME"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="DATE_AND_TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN2 substracted from IN1" Name="OUT" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_SUB_DT_TIME.fbt b/SystemTests/iec61131-3/arithmetic/F_SUB_DT_TIME.fbt
new file mode 100644
index 0000000..7c55653
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_SUB_DT_TIME.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Subtracts two number values" Name="F_SUB_DT_TIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-12" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="DATE_AND_TIME"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN2 substracted from IN1" Name="OUT" Type="DATE_AND_TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_SUB_TOD_TIME.fbt b/SystemTests/iec61131-3/arithmetic/F_SUB_TOD_TIME.fbt
new file mode 100644
index 0000000..1e28a9d
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_SUB_TOD_TIME.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Subtracts two number values" Name="F_SUB_TOD_TIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-12" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="TIME_OF_DAY"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Function output" Name="OUT" Type="TIME_OF_DAY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_SUB_TOD_TOD.fbt b/SystemTests/iec61131-3/arithmetic/F_SUB_TOD_TOD.fbt
new file mode 100644
index 0000000..c416bef
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_SUB_TOD_TOD.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Subtracts two time data types" Name="F_SUB_TOD_TOD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-13" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="First funtion input" Name="IN1" Type="TIME_OF_DAY"/>
+      <VarDeclaration Comment="Second function input" Name="IN2" Type="TIME_OF_DAY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN2 substracted from IN1" Name="OUT" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/arithmetic/F_TRUNC.fbt b/SystemTests/iec61131-3/arithmetic/F_TRUNC.fbt
new file mode 100644
index 0000000..7b29b9b
--- /dev/null
+++ b/SystemTests/iec61131-3/arithmetic/F_TRUNC.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="truncation toward zero" Name="F_TRUNC">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard arithmetic function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-15" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="ANY_INT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="truncation toward zero" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/bistableElements/FB_RS.fbt b/SystemTests/iec61131-3/bistableElements/FB_RS.fbt
new file mode 100644
index 0000000..aa4cec8
--- /dev/null
+++ b/SystemTests/iec61131-3/bistableElements/FB_RS.fbt
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="reset dominant" Name="FB_RS">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="bistable function block" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="S"/>
+        <With Var="R1"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q1"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Set" InitialValue="" Name="S" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R1" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q1" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="Bistable Function Block (reset dominant)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/bistableElements/FB_SR.fbt b/SystemTests/iec61131-3/bistableElements/FB_SR.fbt
new file mode 100644
index 0000000..22cfb93
--- /dev/null
+++ b/SystemTests/iec61131-3/bistableElements/FB_SR.fbt
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="set dominant" Name="FB_SR">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="bistable function block" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="S1"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q1"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Set" InitialValue="" Name="S1" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q1" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="Bistable Function Block (set dominant)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_AND.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_AND.fbt
new file mode 100644
index 0000000..42d1377
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_AND.fbt
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="standard bitwise boolean AND function" Name="F_AND">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bitwise boolean function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN1" Type="ANY_BIT"/>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN2" Type="ANY_BIT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="standard bitwise boolean function (and)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_AND_3.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_AND_3.fbt
new file mode 100644
index 0000000..a396f17
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_AND_3.fbt
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="FB to calculate bitwise boolean AND (generic FB)" Name="F_AND_3">
+  <Identification Description="Copyright (c) 2014 Profactor GmbH&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard bitwise boolean function"/>
+  <VersionInfo Author="Matthias Plasch" Date="2014-10-11" Organization="Profactor GmbH" Version="1.0"/>
+  <CompilerInfo/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+        <With Var="IN3"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="AND input 1" Name="IN1" Type="ANY_BIT"/>
+      <VarDeclaration Comment="AND input 2" Name="IN2" Type="ANY_BIT"/>
+      <VarDeclaration Comment="AND input 3" Name="IN3" Type="ANY_BIT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="AND result" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_NOT.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_NOT.fbt
new file mode 100644
index 0000000..272b786
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_NOT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="standard bitwise boolean NOT function" Name="F_NOT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bitwise boolean function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN" Type="ANY_BIT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="standard bitwise boolean function (not)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_OR.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_OR.fbt
new file mode 100644
index 0000000..91541eb
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_OR.fbt
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="standard bitwise boolean OR function" Name="F_OR">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bitwise boolean function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN1" Type="ANY_BIT"/>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN2" Type="ANY_BIT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="bitwise or" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_OR_3.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_OR_3.fbt
new file mode 100644
index 0000000..6dce2bb
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_OR_3.fbt
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="FB to calculate bitwise boolean OR (generic FB)" Name="F_OR_3">
+  <Identification Description="Copyright (c) 2014 Profactor GmbH&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard bitwise boolean function"/>
+  <VersionInfo Author="Matthias Plasch" Date="2014-10-11" Organization="Profactor GmbH" Version="1.0"/>
+  <CompilerInfo/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+        <With Var="IN3"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="OR input 1" Name="IN1" Type="ANY_BIT"/>
+      <VarDeclaration Comment="OR input 2" Name="IN2" Type="ANY_BIT"/>
+      <VarDeclaration Comment="OR input 3" Name="IN3" Type="ANY_BIT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="OR result" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_ROL.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_ROL.fbt
new file mode 100644
index 0000000..4259a91
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_ROL.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="bitwise rotate left function" Name="F_ROL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bit shift function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-22" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="N"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="left-rotated" Name="IN" Type="ANY_BIT"/>
+      <VarDeclaration Comment="left-rotated by N bits" Name="N" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="left-rotated by N zero-filled on right" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_ROR.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_ROR.fbt
new file mode 100644
index 0000000..535fc49
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_ROR.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="bitwise rotate right function" Name="F_ROR">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bit shift function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-22" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="N"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="right-rotated" Name="IN" Type="ANY_BIT"/>
+      <VarDeclaration Comment="right-rotated by N bits" Name="N" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="right-rotated by N zero-filled on right" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_SHL.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_SHL.fbt
new file mode 100644
index 0000000..2f8ee2a
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_SHL.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="shift left" Name="F_SHL">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bit shift function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="N"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="left-shifted" Name="IN" Type="ANY_BIT"/>
+      <VarDeclaration Comment="left-shifted by N bits" Name="N" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="left-shifted by N zero-filled on right" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_SHR.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_SHR.fbt
new file mode 100644
index 0000000..5bb7ab9
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_SHR.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="bitwise shift right function" Name="F_SHR">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bit shift function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-22" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="N"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="right-shifted" Name="IN" Type="ANY_BIT"/>
+      <VarDeclaration Comment="right-shifted by N bits" Name="N" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="right-shifted by N zero-filled on left" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_XOR.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_XOR.fbt
new file mode 100644
index 0000000..4a25f7e
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_XOR.fbt
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="bitwise XOR function" Name="F_XOR">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard bitwise boolean function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN1" Type="ANY_BIT"/>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN2" Type="ANY_BIT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="standard bitwise boolean function (xor)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/bitwiseOperators/F_XOR_3.fbt b/SystemTests/iec61131-3/bitwiseOperators/F_XOR_3.fbt
new file mode 100644
index 0000000..f1ed65c
--- /dev/null
+++ b/SystemTests/iec61131-3/bitwiseOperators/F_XOR_3.fbt
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="FB to calculate bitwise boolean XOR (generic FB)" Name="F_XOR_3">
+  <Identification Description="Copyright (c) 2014 Profactor GmbH&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard bitwise boolean function"/>
+  <VersionInfo Author="Matthias Plasch" Date="2014-10-11" Organization="Profactor GmbH" Version="1.0"/>
+  <CompilerInfo/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+        <With Var="IN3"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="XOR input 1" Name="IN1" Type="ANY_BIT"/>
+      <VarDeclaration Comment="XOR input 2" Name="IN2" Type="ANY_BIT"/>
+      <VarDeclaration Comment="XOR input 3" Name="IN3" Type="ANY_BIT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="XOR result" Name="OUT" Type="ANY_BIT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_CONCAT.fbt b/SystemTests/iec61131-3/charString/F_CONCAT.fbt
new file mode 100644
index 0000000..ae66818
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_CONCAT.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="concatenation" Name="F_CONCAT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-27" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string 1" Name="IN1" Type="ANY_STRING"/>
+      <VarDeclaration Comment="input string 2" Name="IN2" Type="ANY_STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="string 1 + string 2" Name="OUT" Type="ANY_STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_CONCAT_DATE_TOD.fbt b/SystemTests/iec61131-3/charString/F_CONCAT_DATE_TOD.fbt
new file mode 100644
index 0000000..a363a94
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_CONCAT_DATE_TOD.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="concatenation" Name="F_CONCAT_DATE_TOD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-15" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="date input" Name="IN1" Type="DATE"/>
+      <VarDeclaration Comment="time of day input" Name="IN2" Type="TIME_OF_DAY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="date + time of day" Name="OUT" Type="DATE_AND_TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_DELETE.fbt b/SystemTests/iec61131-3/charString/F_DELETE.fbt
new file mode 100644
index 0000000..51ea3cb
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_DELETE.fbt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="delete L characters of IN beginning at the P-th character position" Name="F_DELETE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-28" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="L"/>
+        <With Var="P"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string" Name="IN" Type="ANY_STRING"/>
+      <VarDeclaration Comment="length to delete" Name="L" Type="ANY_INT"/>
+      <VarDeclaration Comment="delete start position" Name="P" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="substring" Name="OUT" Type="ANY_STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_FIND.fbt b/SystemTests/iec61131-3/charString/F_FIND.fbt
new file mode 100644
index 0000000..cee7822
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_FIND.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="find the character position of the beginning of the first occurrence of IN2 in IN1, no occurrence returns 0" Name="F_FIND">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-30" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string 1" Name="IN1" Type="ANY_STRING"/>
+      <VarDeclaration Comment="input string 2" Name="IN2" Type="ANY_STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="number of occurrence" Name="OUT" Type="ANY_INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_INSERT.fbt b/SystemTests/iec61131-3/charString/F_INSERT.fbt
new file mode 100644
index 0000000..9a6085d
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_INSERT.fbt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="insert IN2 into IN1 after the P-th character position" Name="F_INSERT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-27" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+        <With Var="P"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string 1" Name="IN1" Type="ANY_STRING"/>
+      <VarDeclaration Comment="input string 2" Name="IN2" Type="ANY_STRING"/>
+      <VarDeclaration Comment="insert position" Name="P" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="string 2 inserted into string 1 at P" Name="OUT" Type="ANY_STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_LEFT.fbt b/SystemTests/iec61131-3/charString/F_LEFT.fbt
new file mode 100644
index 0000000..f05e5cf
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_LEFT.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="leftmost L characters of IN" Name="F_LEFT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-27" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="L"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string" Name="IN" Type="ANY_STRING"/>
+      <VarDeclaration Comment="sub-string end position" Name="L" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="sub-string from 1 to L" Name="OUT" Type="ANY_STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_LEN.fbt b/SystemTests/iec61131-3/charString/F_LEN.fbt
new file mode 100644
index 0000000..994ca01
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_LEN.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="string length function" Name="F_LEN">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-27" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string" Name="IN" Type="ANY_STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="length" Name="OUT" Type="ANY_INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_MID.fbt b/SystemTests/iec61131-3/charString/F_MID.fbt
new file mode 100644
index 0000000..abcb89d
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_MID.fbt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="L characters of IN" Name="F_MID">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-27" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="L"/>
+	<With Var="P"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="characters" Name="IN" Type="ANY_STRING"/>
+      <VarDeclaration Comment="length" Name="L" Type="ANY_INT"/>
+      <VarDeclaration Comment="start position" Name="P" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="substring from P to P+L" Name="OUT" Type="ANY_STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_REPLACE.fbt b/SystemTests/iec61131-3/charString/F_REPLACE.fbt
new file mode 100644
index 0000000..418a6f7
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_REPLACE.fbt
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="replace L characters of IN1 by IN2 starting at the P-th character position" Name="F_REPLACE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-28" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+        <With Var="L"/>
+        <With Var="P"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string 1" Name="IN1" Type="ANY_STRING"/>
+      <VarDeclaration Comment="input string 2" Name="IN2" Type="ANY_STRING"/>
+      <VarDeclaration Comment="length to replace" Name="L" Type="ANY_INT"/>
+      <VarDeclaration Comment="start position" Name="P" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="substring" Name="OUT" Type="ANY_STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/charString/F_RIGHT.fbt b/SystemTests/iec61131-3/charString/F_RIGHT.fbt
new file mode 100644
index 0000000..640dda3
--- /dev/null
+++ b/SystemTests/iec61131-3/charString/F_RIGHT.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="rightmost L characters of IN" Name="F_RIGHT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard character and string function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-27" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="L"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input string" Name="IN" Type="ANY_STRING"/>
+      <VarDeclaration Comment="sub-string start position" Name="L" Type="ANY_INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="sub-string from L to string length" Name="OUT" Type="ANY_STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/comparison/F_EQ.fbt b/SystemTests/iec61131-3/comparison/F_EQ.fbt
new file mode 100644
index 0000000..f186cf3
--- /dev/null
+++ b/SystemTests/iec61131-3/comparison/F_EQ.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="equal" Name="F_EQ">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard comparison function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-09-29" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="value 1 = value2 = true" InitialValue="" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/comparison/F_GE.fbt b/SystemTests/iec61131-3/comparison/F_GE.fbt
new file mode 100644
index 0000000..1025066
--- /dev/null
+++ b/SystemTests/iec61131-3/comparison/F_GE.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="greater or equal" Name="F_GE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard comparison function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-03-13" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="value 1 &gt;= value2 = true" InitialValue="" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/comparison/F_GT.fbt b/SystemTests/iec61131-3/comparison/F_GT.fbt
new file mode 100644
index 0000000..d3577ba
--- /dev/null
+++ b/SystemTests/iec61131-3/comparison/F_GT.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="greater than" Name="F_GT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard comparison function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-09-28" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="value 1 &gt; value2 = true" InitialValue="" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/comparison/F_LE.fbt b/SystemTests/iec61131-3/comparison/F_LE.fbt
new file mode 100644
index 0000000..d44c96d
--- /dev/null
+++ b/SystemTests/iec61131-3/comparison/F_LE.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="less or equal" Name="F_LE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard comparison function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-03-13" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="value 1 &lt;= value2 = true" InitialValue="" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/comparison/F_LT.fbt b/SystemTests/iec61131-3/comparison/F_LT.fbt
new file mode 100644
index 0000000..8995f4b
--- /dev/null
+++ b/SystemTests/iec61131-3/comparison/F_LT.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="lower than" Name="F_LT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard comparison function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-03-13" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="value 1 &lt; value2 = true" InitialValue="" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/comparison/F_NE.fbt b/SystemTests/iec61131-3/comparison/F_NE.fbt
new file mode 100644
index 0000000..375746d
--- /dev/null
+++ b/SystemTests/iec61131-3/comparison/F_NE.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="not equal" Name="F_NE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard comparison function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-03-13" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="value 1 &lt;&gt; value2 = true" InitialValue="" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_BYTE_BCD_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/BCD/F_BYTE_BCD_TO_USINT.fbt
new file mode 100644
index 0000000..4bab43f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_BYTE_BCD_TO_USINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE  Binary Coded Decimal to USINT" Name="F_BYTE_BCD_TO_USINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert BYTE  Binary Coded Decimal to USINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_DWORD_BCD_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/BCD/F_DWORD_BCD_TO_UDINT.fbt
new file mode 100644
index 0000000..10d6f32
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_DWORD_BCD_TO_UDINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD Binary Coded Decimal to UDINT" Name="F_DWORD_BCD_TO_UDINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert DWORD Binary Coded Decimal to UDINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_LWORD_BCD_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/BCD/F_LWORD_BCD_TO_ULINT.fbt
new file mode 100644
index 0000000..b311e90
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_LWORD_BCD_TO_ULINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD Binary Coded Decimal to ULINT" Name="F_LWORD_BCD_TO_ULINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LWORD Binary Coded Decimal to ULINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_UDINT_TO_BCD_DWORD.fbt b/SystemTests/iec61131-3/conversion/BCD/F_UDINT_TO_BCD_DWORD.fbt
new file mode 100644
index 0000000..604fc9a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_UDINT_TO_BCD_DWORD.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT Binary Coded Decimal to DWORD" Name="F_UDINT_TO_BCD_DWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert UDINT Binary Coded Decimal to DWORD" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_UINT_TO_BCD_WORD.fbt b/SystemTests/iec61131-3/conversion/BCD/F_UINT_TO_BCD_WORD.fbt
new file mode 100644
index 0000000..525585a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_UINT_TO_BCD_WORD.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT Binary Coded Decimal to WORD" Name="F_UINT_TO_BCD_WORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert UINT Binary Coded Decimal to WORD" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_ULINT_TO_BCD_LWORD.fbt b/SystemTests/iec61131-3/conversion/BCD/F_ULINT_TO_BCD_LWORD.fbt
new file mode 100644
index 0000000..b405453
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_ULINT_TO_BCD_LWORD.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT Binary Coded Decimal to LWORD" Name="F_ULINT_TO_BCD_LWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert ULINT Binary Coded Decimal to LWORD" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_USINT_TO_BCD_BYTE.fbt b/SystemTests/iec61131-3/conversion/BCD/F_USINT_TO_BCD_BYTE.fbt
new file mode 100644
index 0000000..3a42154
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_USINT_TO_BCD_BYTE.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT Binary Coded Decimal to BYTE" Name="F_USINT_TO_BCD_BYTE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert USINT Binary Coded Decimal to BYTE" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BCD/F_WORD_BCD_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/BCD/F_WORD_BCD_TO_UINT.fbt
new file mode 100644
index 0000000..2a76301
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BCD/F_WORD_BCD_TO_UINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD Binary Coded Decimal to UINT" Name="F_WORD_BCD_TO_UINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert WORD Binary Coded Decimal to UINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_BYTE.fbt
new file mode 100644
index 0000000..bc62dbf
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to BYTE" Name="F_BOOL_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_DINT.fbt
new file mode 100644
index 0000000..6f88f5b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to DINT" Name="F_BOOL_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_DWORD.fbt
new file mode 100644
index 0000000..20b84c0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to DWORD" Name="F_BOOL_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_INT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_INT.fbt
new file mode 100644
index 0000000..e34d633
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to INT" Name="F_BOOL_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_LINT.fbt
new file mode 100644
index 0000000..23233d4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to LINT" Name="F_BOOL_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_LWORD.fbt
new file mode 100644
index 0000000..a9d4295
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to LWORD" Name="F_BOOL_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_SINT.fbt
new file mode 100644
index 0000000..f96751a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to SINT" Name="F_BOOL_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_STRING.fbt
new file mode 100644
index 0000000..3c5bfbb
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to STRING" Name="F_BOOL_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_UDINT.fbt
new file mode 100644
index 0000000..97a7824
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to UDINT" Name="F_BOOL_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_UINT.fbt
new file mode 100644
index 0000000..a0d87e1
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to UINT" Name="F_BOOL_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_ULINT.fbt
new file mode 100644
index 0000000..755b287
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to ULINT" Name="F_BOOL_TO_ULINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_USINT.fbt
new file mode 100644
index 0000000..4c66875
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to USINT" Name="F_BOOL_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_WORD.fbt
new file mode 100644
index 0000000..4870da2
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to WORD" Name="F_BOOL_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_WSTRING.fbt
new file mode 100644
index 0000000..44b059a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BOOL/F_BOOL_TO_WSTRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BOOL to WSTRING" Name="F_BOOL_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_DINT.fbt
new file mode 100644
index 0000000..34818b1
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to DINT" Name="F_BYTE_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_DWORD.fbt
new file mode 100644
index 0000000..6e62700
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to DWORD" Name="F_BYTE_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_INT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_INT.fbt
new file mode 100644
index 0000000..f05633e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to INT" Name="F_BYTE_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_LINT.fbt
new file mode 100644
index 0000000..6db4982
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to LINT" Name="F_BYTE_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_LWORD.fbt
new file mode 100644
index 0000000..77baa57
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to LWORD" Name="F_BYTE_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_SINT.fbt
new file mode 100644
index 0000000..c4a3edb
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to SINT" Name="F_BYTE_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_STRING.fbt
new file mode 100644
index 0000000..52172ba
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to STRING" Name="F_BYTE_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_UDINT.fbt
new file mode 100644
index 0000000..c2c540f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to UDINT" Name="F_BYTE_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_UINT.fbt
new file mode 100644
index 0000000..d13a66e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to UINT" Name="F_BYTE_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_ULINT.fbt
new file mode 100644
index 0000000..72b6373
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to ULINT" Name="F_BYTE_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_USINT.fbt
new file mode 100644
index 0000000..8656226
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to USINT" Name="F_BYTE_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_WORD.fbt
new file mode 100644
index 0000000..5915faf
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to WORD" Name="F_BYTE_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_WSTRING.fbt
new file mode 100644
index 0000000..f964b90
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/BYTE/F_BYTE_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert BYTE to WSTRING" Name="F_BYTE_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="BYTE"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert BYTE to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_BYTE.fbt
new file mode 100644
index 0000000..ad98e19
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to BYTE" Name="F_DINT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_DWORD.fbt
new file mode 100644
index 0000000..a49e3e9
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to DWORD" Name="F_DINT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_INT.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_INT.fbt
new file mode 100644
index 0000000..d9bafe7
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to INT" Name="F_DINT_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LINT.fbt
new file mode 100644
index 0000000..04c4d3f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to LINT" Name="F_DINT_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LREAL.fbt
new file mode 100644
index 0000000..3bb353f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to LREAL" Name="F_DINT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LWORD.fbt
new file mode 100644
index 0000000..3f802ae
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to LWORD" Name="F_DINT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_REAL.fbt
new file mode 100644
index 0000000..4c313f0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to REAL" Name="F_DINT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_SINT.fbt
new file mode 100644
index 0000000..7fa2060
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to SINT" Name="F_DINT_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_STRING.fbt
new file mode 100644
index 0000000..5e457e6
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to STRING" Name="F_DINT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_UDINT.fbt
new file mode 100644
index 0000000..a5d1ba7
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to UDINT" Name="F_DINT_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_UINT.fbt
new file mode 100644
index 0000000..74b2cd3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_UINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to UINT" Name="F_DINT_TO_UINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert DINT to UINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_ULINT.fbt
new file mode 100644
index 0000000..a0fd72f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to ULINT" Name="F_DINT_TO_ULINT">
+  <Identification Classification="type conversion function" Standard="61131-3"/>
+  <VersionInfo Author="4DIAC-IDE" Date="2011-12-25" Organization="4DIAC-Consortium" Version="0.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_USINT.fbt
new file mode 100644
index 0000000..36aa26e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to USINT" Name="F_DINT_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_WORD.fbt
new file mode 100644
index 0000000..11111d0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to WORD" Name="F_DINT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_WSTRING.fbt
new file mode 100644
index 0000000..2c0f77b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DINT/F_DINT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DINT to WSTRING" Name="F_DINT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert DINT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DT/F_DT_TO_DATE.fbt b/SystemTests/iec61131-3/conversion/DT/F_DT_TO_DATE.fbt
new file mode 100644
index 0000000..e3b4403
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DT/F_DT_TO_DATE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert TIME to BOOL" Name="F_DT_TO_DATE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DATE_AND_TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DATE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DT/F_DT_TO_TOD.fbt b/SystemTests/iec61131-3/conversion/DT/F_DT_TO_TOD.fbt
new file mode 100644
index 0000000..a895146
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DT/F_DT_TO_TOD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert TIME to BOOL" Name="F_DT_TO_TOD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-07" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DATE_AND_TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="TIME_OF_DAY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_BYTE.fbt
new file mode 100644
index 0000000..5fb9648
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to BYTE" Name="F_DWORD_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_DINT.fbt
new file mode 100644
index 0000000..5cc56e1
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to DINT" Name="F_DWORD_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_INT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_INT.fbt
new file mode 100644
index 0000000..49ab11a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to INT" Name="F_DWORD_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_LINT.fbt
new file mode 100644
index 0000000..894f19f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to LINT" Name="F_DWORD_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_LWORD.fbt
new file mode 100644
index 0000000..cdf06b0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to LWORD" Name="F_DWORD_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_REAL.fbt
new file mode 100644
index 0000000..b36f0ca
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to REAL" Name="F_DWORD_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_SINT.fbt
new file mode 100644
index 0000000..601c20e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to SINT" Name="F_DWORD_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_STRING.fbt
new file mode 100644
index 0000000..7f2e1a5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to STRING" Name="F_DWORD_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_UDINT.fbt
new file mode 100644
index 0000000..2af5129
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to UDINT" Name="F_DWORD_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_UINT.fbt
new file mode 100644
index 0000000..1e8a217
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to UINT" Name="F_DWORD_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_ULINT.fbt
new file mode 100644
index 0000000..52e897f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to ULINT" Name="F_DWORD_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_USINT.fbt
new file mode 100644
index 0000000..0bf03c8
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to USINT" Name="F_DWORD_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_WORD.fbt
new file mode 100644
index 0000000..146323b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to WORD" Name="F_DWORD_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_WSTRING.fbt
new file mode 100644
index 0000000..388a164
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/DWORD/F_DWORD_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert DWORD to WSTRING" Name="F_DWORD_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="DWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert DWORD to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_BYTE.fbt
new file mode 100644
index 0000000..e19cf32
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_BYTE.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to BYTE" Name="F_INT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to BYTE" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_DINT.fbt
new file mode 100644
index 0000000..d39d70a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_DINT.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to DINT" Name="F_INT_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to DINT" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_DWORD.fbt
new file mode 100644
index 0000000..3dc8510
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_DWORD.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to DWORD" Name="F_INT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to DWORD" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LINT.fbt
new file mode 100644
index 0000000..6c67d68
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LINT.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to LINT" Name="F_INT_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to LINT" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LREAL.fbt
new file mode 100644
index 0000000..7b5ec51
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LREAL.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to LREAL" Name="F_INT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to LREAL" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LWORD.fbt
new file mode 100644
index 0000000..b576f0f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_LWORD.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to LWORD" Name="F_INT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to LWORD" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_REAL.fbt
new file mode 100644
index 0000000..9acd7ae
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_REAL.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to REAL" Name="F_INT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to REAL" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_SINT.fbt
new file mode 100644
index 0000000..98051ba
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_SINT.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to SINT" Name="F_INT_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to SINT" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_STRING.fbt
new file mode 100644
index 0000000..15e3307
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to STRING" Name="F_INT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_UDINT.fbt
new file mode 100644
index 0000000..cbaee8e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_UDINT.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to UDINT" Name="F_INT_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to UDINT" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_UINT.fbt
new file mode 100644
index 0000000..5071e6c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_UINT.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to UINT" Name="F_INT_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to UINT" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_ULINT.fbt
new file mode 100644
index 0000000..b8d8fa6
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_ULINT.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to ULINT" Name="F_INT_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to ULINT" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_USINT.fbt
new file mode 100644
index 0000000..9f6a62f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_USINT.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to USINT" Name="F_INT_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to USINT" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_WORD.fbt
new file mode 100644
index 0000000..e6078a4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_WORD.fbt
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to WORD" Name="F_INT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input Value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output Value" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to WORD" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/INT/F_INT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_WSTRING.fbt
new file mode 100644
index 0000000..e76a739
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/INT/F_INT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert INT to WSTRING" Name="F_INT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert INT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_BYTE.fbt
new file mode 100644
index 0000000..37de448
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to BYTE" Name="F_LINT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_DINT.fbt
new file mode 100644
index 0000000..bd3c956
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to DINT" Name="F_LINT_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_DWORD.fbt
new file mode 100644
index 0000000..e14b1c3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to DWORD" Name="F_LINT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_INT.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_INT.fbt
new file mode 100644
index 0000000..10c1230
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to INT" Name="F_LINT_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_LREAL.fbt
new file mode 100644
index 0000000..a39c8f2
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to LREAL" Name="F_LINT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_LWORD.fbt
new file mode 100644
index 0000000..2210d14
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to LWORD" Name="F_LINT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_REAL.fbt
new file mode 100644
index 0000000..3aad76b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to REAL" Name="F_LINT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_SINT.fbt
new file mode 100644
index 0000000..885b937
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to SINT" Name="F_LINT_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_STRING.fbt
new file mode 100644
index 0000000..c307eb5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to STRING" Name="F_LINT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_UDINT.fbt
new file mode 100644
index 0000000..9e71fad
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to UDINT" Name="F_LINT_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_UINT.fbt
new file mode 100644
index 0000000..70e606b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to UINT" Name="F_LINT_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_ULINT.fbt
new file mode 100644
index 0000000..fb2da47
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to ULINT" Name="F_LINT_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_USINT.fbt
new file mode 100644
index 0000000..0ff840d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to USINT" Name="F_LINT_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_WORD.fbt
new file mode 100644
index 0000000..7a02994
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to WORD" Name="F_LINT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_WSTRING.fbt
new file mode 100644
index 0000000..ee00687
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LINT/F_LINT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LINT to WSTRING" Name="F_LINT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LINT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_DINT.fbt
new file mode 100644
index 0000000..9ec72ed
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_DINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to DINT" Name="F_LREAL_TO_DINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to DINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_INT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_INT.fbt
new file mode 100644
index 0000000..50e76a5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_INT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to INT" Name="F_LREAL_TO_INT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to INT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_LINT.fbt
new file mode 100644
index 0000000..e0370c5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_LINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to INT" Name="F_LREAL_TO_LINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to INT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_LWORD.fbt
new file mode 100644
index 0000000..d6432a8
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_LWORD.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to LWORD" Name="F_LREAL_TO_LWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to LWORD" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_REAL.fbt
new file mode 100644
index 0000000..8836863
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_REAL.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to REAL" Name="F_LREAL_TO_REAL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to REAL" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_SINT.fbt
new file mode 100644
index 0000000..5e18e29
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_SINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to SINT" Name="F_LREAL_TO_SINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to SINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_STRING.fbt
new file mode 100644
index 0000000..a81229a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to STRING" Name="F_LREAL_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_UDINT.fbt
new file mode 100644
index 0000000..f0526c1
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_UDINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to UDINT" Name="F_LREAL_TO_UDINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to UDINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_UINT.fbt
new file mode 100644
index 0000000..79c5e94
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to UINT" Name="F_LREAL_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_ULINT.fbt
new file mode 100644
index 0000000..600f8db
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_ULINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to ULINT" Name="F_LREAL_TO_ULINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to ULINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_USINT.fbt
new file mode 100644
index 0000000..9dacefd
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_USINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to USINT" Name="F_LREAL_TO_USINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to USINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_WSTRING.fbt
new file mode 100644
index 0000000..a119b94
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LREAL/F_LREAL_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LREAL to WSTRING" Name="F_LREAL_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LREAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LREAL to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_BYTE.fbt
new file mode 100644
index 0000000..b12daed
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to BYTE" Name="F_LWORD_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_DINT.fbt
new file mode 100644
index 0000000..f47b5d4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to DINT" Name="F_LWORD_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_DWORD.fbt
new file mode 100644
index 0000000..7ba6fac
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to DWORD" Name="F_LWORD_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_INT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_INT.fbt
new file mode 100644
index 0000000..8c46917
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to INT" Name="F_LWORD_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_LINT.fbt
new file mode 100644
index 0000000..97cb9e3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to LINT" Name="F_LWORD_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_LREAL.fbt
new file mode 100644
index 0000000..0d6d604
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to LREAL" Name="F_LWORD_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_SINT.fbt
new file mode 100644
index 0000000..a01c866
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to SINT" Name="F_LWORD_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_STRING.fbt
new file mode 100644
index 0000000..651e40b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to STRING" Name="F_LWORD_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_UDINT.fbt
new file mode 100644
index 0000000..cf1f146
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to UDINT" Name="F_LWORD_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_UINT.fbt
new file mode 100644
index 0000000..82838a6
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to UINT" Name="F_LWORD_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_ULINT.fbt
new file mode 100644
index 0000000..e31175c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to ULINT" Name="F_LWORD_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_USINT.fbt
new file mode 100644
index 0000000..8772e3d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to USINT" Name="F_LWORD_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_WORD.fbt
new file mode 100644
index 0000000..adc9555
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to WORD" Name="F_LWORD_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_WSTRING.fbt
new file mode 100644
index 0000000..db842a4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/LWORD/F_LWORD_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert LWORD to WSTRING" Name="F_LWORD_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="LWORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert LWORD to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_DINT.fbt
new file mode 100644
index 0000000..7c671cc
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to DINT" Name="F_REAL_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_DWORD.fbt
new file mode 100644
index 0000000..b64074e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_DWORD.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to DWORD" Name="F_REAL_TO_DWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert REAL to DWORD" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_INT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_INT.fbt
new file mode 100644
index 0000000..868268e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to INT" Name="F_REAL_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_LINT.fbt
new file mode 100644
index 0000000..26671a9
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_LINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to LINT" Name="F_REAL_TO_LINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert REAL to LINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_LREAL.fbt
new file mode 100644
index 0000000..78e65f8
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_LREAL.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to LREAL" Name="F_REAL_TO_LREAL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert REAL to LREAL" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_SINT.fbt
new file mode 100644
index 0000000..085309c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_SINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to SINT" Name="F_REAL_TO_SINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert REAL to SINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_STRING.fbt
new file mode 100644
index 0000000..289f47b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to STRING" Name="F_REAL_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_UDINT.fbt
new file mode 100644
index 0000000..f029aba
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to UDINT" Name="F_REAL_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_UINT.fbt
new file mode 100644
index 0000000..d2ab63d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to UINT" Name="F_REAL_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_ULINT.fbt
new file mode 100644
index 0000000..7baa3d4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_ULINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to ULINT" Name="F_REAL_TO_ULINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert REAL to ULINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_USINT.fbt
new file mode 100644
index 0000000..69d0b1d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_USINT.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to USINT" Name="F_REAL_TO_USINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert REAL to USINT" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_WSTRING.fbt
new file mode 100644
index 0000000..bae57e4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/REAL/F_REAL_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert REAL to WSTRING" Name="F_REAL_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-08" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert REAL to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_BYTE.fbt
new file mode 100644
index 0000000..1b65188
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to BYTE" Name="F_SINT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_DINT.fbt
new file mode 100644
index 0000000..e6720fc
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to DINT" Name="F_SINT_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_DWORD.fbt
new file mode 100644
index 0000000..aee0f73
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to DWORD" Name="F_SINT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_INT.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_INT.fbt
new file mode 100644
index 0000000..f7c97f0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to INT" Name="F_SINT_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LINT.fbt
new file mode 100644
index 0000000..da41fb6
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to LINT" Name="F_SINT_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LREAL.fbt
new file mode 100644
index 0000000..dbf29ce
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to LREAL" Name="F_SINT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LWORD.fbt
new file mode 100644
index 0000000..4f67984
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to LWORD" Name="F_SINT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_REAL.fbt
new file mode 100644
index 0000000..c263cf8
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to REAL" Name="F_SINT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_STRING.fbt
new file mode 100644
index 0000000..269a14a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to STRING" Name="F_SINT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_UDINT.fbt
new file mode 100644
index 0000000..ec9e1ee
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to UDINT" Name="F_SINT_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_UINT.fbt
new file mode 100644
index 0000000..a883a90
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to UINT" Name="F_SINT_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_ULINT.fbt
new file mode 100644
index 0000000..726a9e5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to ULINT" Name="F_SINT_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_USINT.fbt
new file mode 100644
index 0000000..3a88497
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to USINT" Name="F_SINT_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_WORD.fbt
new file mode 100644
index 0000000..e88869a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to WORD" Name="F_SINT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_WSTRING.fbt
new file mode 100644
index 0000000..32819d7
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/SINT/F_SINT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert SINT to WSTRING" Name="F_SINT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="SINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert SINT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_BOOL.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_BOOL.fbt
new file mode 100644
index 0000000..8877b6a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_BOOL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to BOOL" Name="F_STRING_TO_BOOL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_BYTE.fbt
new file mode 100644
index 0000000..7779a7d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to BYTE" Name="F_STRING_TO_BYTE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_DINT.fbt
new file mode 100644
index 0000000..7fc27d9
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to DINT" Name="F_STRING_TO_DINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_DWORD.fbt
new file mode 100644
index 0000000..40126c6
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to DWORD" Name="F_STRING_TO_DWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_INT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_INT.fbt
new file mode 100644
index 0000000..7eddfdf
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to INT" Name="F_STRING_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-02-14" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LINT.fbt
new file mode 100644
index 0000000..5fa1a2a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to LINT" Name="F_STRING_TO_LINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LREAL.fbt
new file mode 100644
index 0000000..0d4856c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to LREAL" Name="F_STRING_TO_LREAL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LWORD.fbt
new file mode 100644
index 0000000..4f63926
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to LWORD" Name="F_STRING_TO_LWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_REAL.fbt
new file mode 100644
index 0000000..642ff04
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to REAL" Name="F_STRING_TO_REAL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_SINT.fbt
new file mode 100644
index 0000000..10447e3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to SINT" Name="F_STRING_TO_SINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_TIME.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_TIME.fbt
new file mode 100644
index 0000000..bd4e054
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_TIME.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to TIME" Name="F_STRING_TO_TIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_UDINT.fbt
new file mode 100644
index 0000000..2946566
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to UDINT" Name="F_STRING_TO_UDINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_UINT.fbt
new file mode 100644
index 0000000..04d4862
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to UINT" Name="F_STRING_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-02-14" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_ULINT.fbt
new file mode 100644
index 0000000..09c55cc
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to ULINT" Name="F_STRING_TO_ULINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_USINT.fbt
new file mode 100644
index 0000000..bf67696
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to USINT" Name="F_STRING_TO_USINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_WORD.fbt
new file mode 100644
index 0000000..de0c8f5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to WORD" Name="F_STRING_TO_WORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_WSTRING.fbt
new file mode 100644
index 0000000..2aa4e13
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/STRING/F_STRING_TO_WSTRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert STRING to WSTRING" Name="F_STRING_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-02" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="STRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/TIME/F_TIME_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/TIME/F_TIME_TO_STRING.fbt
new file mode 100644
index 0000000..26cf404
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/TIME/F_TIME_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert TIME to STRING" Name="F_TIME_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/TIME/F_TIME_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/TIME/F_TIME_TO_WSTRING.fbt
new file mode 100644
index 0000000..ce0853d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/TIME/F_TIME_TO_WSTRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert TIME to WSTRING" Name="F_TIME_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_BYTE.fbt
new file mode 100644
index 0000000..e189fd3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to BYTE" Name="F_UDINT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_DINT.fbt
new file mode 100644
index 0000000..479c713
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to DINT" Name="F_UDINT_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_DWORD.fbt
new file mode 100644
index 0000000..40d1248
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to DWORD" Name="F_UDINT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_INT.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_INT.fbt
new file mode 100644
index 0000000..cbe5668
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to INT" Name="F_UDINT_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LINT.fbt
new file mode 100644
index 0000000..3391d74
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to LINT" Name="F_UDINT_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LREAL.fbt
new file mode 100644
index 0000000..71a6a4a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to LREAL" Name="F_UDINT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LWORD.fbt
new file mode 100644
index 0000000..900da33
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to LWORD" Name="F_UDINT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_REAL.fbt
new file mode 100644
index 0000000..c81cf32
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to REAL" Name="F_UDINT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_SINT.fbt
new file mode 100644
index 0000000..487d8ea
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to SINT" Name="F_UDINT_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_STRING.fbt
new file mode 100644
index 0000000..f9d5357
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to STRING" Name="F_UDINT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_UINT.fbt
new file mode 100644
index 0000000..53f2e9f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to UINT" Name="F_UDINT_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_ULINT.fbt
new file mode 100644
index 0000000..0b302e9
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to ULINT" Name="F_UDINT_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_USINT.fbt
new file mode 100644
index 0000000..1dd2583
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to USINT" Name="F_UDINT_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_WORD.fbt
new file mode 100644
index 0000000..210dd1e
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to WORD" Name="F_UDINT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_WSTRING.fbt
new file mode 100644
index 0000000..97deecd
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UDINT/F_UDINT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UDINT to WSTRING" Name="F_UDINT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert UDINT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_BYTE.fbt
new file mode 100644
index 0000000..31c275c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to BYTE" Name="F_UINT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_DINT.fbt
new file mode 100644
index 0000000..f25de3c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to DINT" Name="F_UINT_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_DWORD.fbt
new file mode 100644
index 0000000..eb9eb2b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to DWORD" Name="F_UINT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_INT.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_INT.fbt
new file mode 100644
index 0000000..8de493b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to INT" Name="F_UINT_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LINT.fbt
new file mode 100644
index 0000000..ccb8eb1
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to LINT" Name="F_UINT_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LREAL.fbt
new file mode 100644
index 0000000..c31cb89
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to LREAL" Name="F_UINT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LWORD.fbt
new file mode 100644
index 0000000..73c51f6
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to LWORD" Name="F_UINT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_REAL.fbt
new file mode 100644
index 0000000..b1a503f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to REAL" Name="F_UINT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_SINT.fbt
new file mode 100644
index 0000000..de3b630
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to SINT" Name="F_UINT_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_STRING.fbt
new file mode 100644
index 0000000..f8bd0d9
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to STRING" Name="F_UINT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_UDINT.fbt
new file mode 100644
index 0000000..75a7e4c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to UDINT" Name="F_UINT_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_ULINT.fbt
new file mode 100644
index 0000000..122074d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to ULINT" Name="F_UINT_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_USINT.fbt
new file mode 100644
index 0000000..bf023e2
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to USINT" Name="F_UINT_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_WORD.fbt
new file mode 100644
index 0000000..89ba76c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to WORD" Name="F_UINT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_WSTRING.fbt
new file mode 100644
index 0000000..8f974ac
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/UINT/F_UINT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert UINT to WSTRING" Name="F_UINT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="UINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert UINT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_BYTE.fbt
new file mode 100644
index 0000000..7d5b767
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to BYTE" Name="F_ULINT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_DINT.fbt
new file mode 100644
index 0000000..340a0c3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to DINT" Name="F_ULINT_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_DWORD.fbt
new file mode 100644
index 0000000..ff44edc
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to DWORD" Name="F_ULINT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_INT.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_INT.fbt
new file mode 100644
index 0000000..8b84ba9
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to INT" Name="F_ULINT_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LINT.fbt
new file mode 100644
index 0000000..bd94dce
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to LINT" Name="F_ULINT_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LREAL.fbt
new file mode 100644
index 0000000..9f35d47
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to LREAL" Name="F_ULINT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LWORD.fbt
new file mode 100644
index 0000000..efbf16f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to LWORD" Name="F_ULINT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_REAL.fbt
new file mode 100644
index 0000000..085fc8f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to REAL" Name="F_ULINT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_SINT.fbt
new file mode 100644
index 0000000..e483fea
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to SINT" Name="F_ULINT_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_STRING.fbt
new file mode 100644
index 0000000..028d3df
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to STRING" Name="F_ULINT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_UDINT.fbt
new file mode 100644
index 0000000..8d799d1
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to UDINT" Name="F_ULINT_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_UINT.fbt
new file mode 100644
index 0000000..05f7da0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to UINT" Name="F_ULINT_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_USINT.fbt
new file mode 100644
index 0000000..aeb9ea2
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to USINT" Name="F_ULINT_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_WORD.fbt
new file mode 100644
index 0000000..65912ae
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to WORD" Name="F_ULINT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_WSTRING.fbt
new file mode 100644
index 0000000..fb2cbc5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/ULINT/F_ULINT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert ULINT to WSTRING" Name="F_ULINT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert ULINT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_BYTE.fbt
new file mode 100644
index 0000000..a8c9a59
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to BYTE" Name="F_USINT_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_DINT.fbt
new file mode 100644
index 0000000..cd77945
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to DINT" Name="F_USINT_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_DWORD.fbt
new file mode 100644
index 0000000..eaf898d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to DWORD" Name="F_USINT_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_INT.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_INT.fbt
new file mode 100644
index 0000000..a2944c0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to INT" Name="F_USINT_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LINT.fbt
new file mode 100644
index 0000000..a7f04b2
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to LINT" Name="F_USINT_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LREAL.fbt
new file mode 100644
index 0000000..646ece4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to LREAL" Name="F_USINT_TO_LREAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LWORD.fbt
new file mode 100644
index 0000000..e64c3d0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to LWORD" Name="F_USINT_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_REAL.fbt
new file mode 100644
index 0000000..f8c6de2
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to REAL" Name="F_USINT_TO_REAL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_SINT.fbt
new file mode 100644
index 0000000..f2f98a8
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to SINT" Name="F_USINT_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_STRING.fbt
new file mode 100644
index 0000000..9fe9662
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to STRING" Name="F_USINT_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_UDINT.fbt
new file mode 100644
index 0000000..56effc5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to UDINT" Name="F_USINT_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_UINT.fbt
new file mode 100644
index 0000000..ab85cf3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to UINT" Name="F_USINT_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_ULINT.fbt
new file mode 100644
index 0000000..b1b4881
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to ULINT" Name="F_USINT_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_WORD.fbt
new file mode 100644
index 0000000..7b4320d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to WORD" Name="F_USINT_TO_WORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_WSTRING.fbt
new file mode 100644
index 0000000..77dad51
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/USINT/F_USINT_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to WSTRING" Name="F_USINT_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="USINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert USINT to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_BYTE.fbt
new file mode 100644
index 0000000..c28c347
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to BYTE" Name="F_WORD_TO_BYTE">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_DINT.fbt
new file mode 100644
index 0000000..b8a2805
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to DINT" Name="F_WORD_TO_DINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_DWORD.fbt
new file mode 100644
index 0000000..dcc93a6
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to DWORD" Name="F_WORD_TO_DWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_INT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_INT.fbt
new file mode 100644
index 0000000..b864d5b
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to INT" Name="F_WORD_TO_INT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_LINT.fbt
new file mode 100644
index 0000000..1029862
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to LINT" Name="F_WORD_TO_LINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_LWORD.fbt
new file mode 100644
index 0000000..2d3fc48
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to LWORD" Name="F_WORD_TO_LWORD">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_SINT.fbt
new file mode 100644
index 0000000..dfd6c79
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to SINT" Name="F_WORD_TO_SINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_STRING.fbt
new file mode 100644
index 0000000..4ac5cd1
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert USINT to STRING" Name="F_WORD_TO_STRING">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_UDINT.fbt
new file mode 100644
index 0000000..725f0c3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to UDINT" Name="F_WORD_TO_UDINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_UINT.fbt
new file mode 100644
index 0000000..989f7b5
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to UINT" Name="F_WORD_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_ULINT.fbt
new file mode 100644
index 0000000..6527bbc
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to ULINT" Name="F_WORD_TO_ULINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_USINT.fbt
new file mode 100644
index 0000000..efecfcb
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to USINT" Name="F_WORD_TO_USINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-01-19" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_WSTRING.fbt b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_WSTRING.fbt
new file mode 100644
index 0000000..df4cdda
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WORD/F_WORD_TO_WSTRING.fbt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WORD to WSTRING" Name="F_WORD_TO_WSTRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-10" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="input value" Name="IN" Type="WORD"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output value" Name="OUT" Type="WSTRING"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="convert WORD to WSTRING" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_BOOL.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_BOOL.fbt
new file mode 100644
index 0000000..899685a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_BOOL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to BOOL" Name="F_WSTRING_TO_BOOL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_BYTE.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_BYTE.fbt
new file mode 100644
index 0000000..7cb09fd
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_BYTE.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to BYTE" Name="F_WSTRING_TO_BYTE">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="BYTE"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_DINT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_DINT.fbt
new file mode 100644
index 0000000..aa2cab4
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_DINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to DINT" Name="F_WSTRING_TO_DINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_DWORD.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_DWORD.fbt
new file mode 100644
index 0000000..b3f7c1c
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_DWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to DWORD" Name="F_WSTRING_TO_DWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="DWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_INT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_INT.fbt
new file mode 100644
index 0000000..dd92c17
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_INT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to INT" Name="F_WSTRING_TO_INT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LINT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LINT.fbt
new file mode 100644
index 0000000..4633650
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to LINT" Name="F_WSTRING_TO_LINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LREAL.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LREAL.fbt
new file mode 100644
index 0000000..4cee46f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LREAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to LREAL" Name="F_WSTRING_TO_LREAL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LREAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LWORD.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LWORD.fbt
new file mode 100644
index 0000000..9ba605a
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_LWORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to LWORD" Name="F_WSTRING_TO_LWORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="LWORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_REAL.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_REAL.fbt
new file mode 100644
index 0000000..d8fc021
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_REAL.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to REAL" Name="F_WSTRING_TO_REAL">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_SINT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_SINT.fbt
new file mode 100644
index 0000000..3a32078
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_SINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to SINT" Name="F_WSTRING_TO_SINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="SINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_STRING.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_STRING.fbt
new file mode 100644
index 0000000..5712783
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_STRING.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to STRING" Name="F_WSTRING_TO_STRING">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="STRING"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_TIME.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_TIME.fbt
new file mode 100644
index 0000000..e2c48a0
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_TIME.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to TIME" Name="F_WSTRING_TO_TIME">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_UDINT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_UDINT.fbt
new file mode 100644
index 0000000..b911e27
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_UDINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to UDINT" Name="F_WSTRING_TO_UDINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_UINT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_UINT.fbt
new file mode 100644
index 0000000..769263f
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_UINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to UINT" Name="F_WSTRING_TO_UINT">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-02-14" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="UINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_ULINT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_ULINT.fbt
new file mode 100644
index 0000000..d47a700
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_ULINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to ULINT" Name="F_WSTRING_TO_ULINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_USINT.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_USINT.fbt
new file mode 100644
index 0000000..cdfc07d
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_USINT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to USINT" Name="F_WSTRING_TO_USINT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="USINT"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_WORD.fbt b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_WORD.fbt
new file mode 100644
index 0000000..eb2f5b3
--- /dev/null
+++ b/SystemTests/iec61131-3/conversion/WSTRING/F_WSTRING_TO_WORD.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="convert WSTRING to WORD" Name="F_WSTRING_TO_WORD">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard type conversion function"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-09-03" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="WSTRING"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="WORD"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTD.fbt b/SystemTests/iec61131-3/counters/FB_CTD.fbt
new file mode 100644
index 0000000..ea6c56e
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTD.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (down-counter)" Name="FB_CTD">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTD_DINT.fbt b/SystemTests/iec61131-3/counters/FB_CTD_DINT.fbt
new file mode 100644
index 0000000..4ef00c0
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTD_DINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (down-counter)" Name="FB_CTD_DINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTD_LINT.fbt b/SystemTests/iec61131-3/counters/FB_CTD_LINT.fbt
new file mode 100644
index 0000000..41b4281
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTD_LINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (down-counter)" Name="FB_CTD_LINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTD_UDINT.fbt b/SystemTests/iec61131-3/counters/FB_CTD_UDINT.fbt
new file mode 100644
index 0000000..ef1ecb7
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTD_UDINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (down-counter)" Name="FB_CTD_UDINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTD_ULINT.fbt b/SystemTests/iec61131-3/counters/FB_CTD_ULINT.fbt
new file mode 100644
index 0000000..59de94f
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTD_ULINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (down-counter)" Name="FB_CTD_ULINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTU.fbt b/SystemTests/iec61131-3/counters/FB_CTU.fbt
new file mode 100644
index 0000000..3507d48
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTU.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-counter)" Name="FB_CTU">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CU"/>
+        <With Var="PV"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTUD.fbt b/SystemTests/iec61131-3/counters/FB_CTUD.fbt
new file mode 100644
index 0000000..68c6577
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTUD.fbt
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-down-counter)" Name="FB_CTUD">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+        <With Var="CU"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="QU"/>
+        <With Var="CV"/>
+        <With Var="QD"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="INT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output up count" InitialValue="" Name="QU" Type="BOOL"/>
+      <VarDeclaration Comment="output down count" InitialValue="" Name="QD" Type="BOOL"/>
+      <VarDeclaration Comment="count value" InitialValue="" Name="CV" Type="INT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTUD_DINT.fbt b/SystemTests/iec61131-3/counters/FB_CTUD_DINT.fbt
new file mode 100644
index 0000000..a0c5901
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTUD_DINT.fbt
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-down-counter)" Name="FB_CTUD_DINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+        <With Var="CU"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="QU"/>
+        <With Var="CV"/>
+        <With Var="QD"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output up count" InitialValue="" Name="QU" Type="BOOL"/>
+      <VarDeclaration Comment="Output down count" InitialValue="" Name="QD" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTUD_LINT.fbt b/SystemTests/iec61131-3/counters/FB_CTUD_LINT.fbt
new file mode 100644
index 0000000..9b803d1
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTUD_LINT.fbt
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-down-counter)" Name="FB_CTUD_LINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+        <With Var="CU"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="QU"/>
+        <With Var="CV"/>
+        <With Var="QD"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output up count" InitialValue="" Name="QU" Type="BOOL"/>
+      <VarDeclaration Comment="Output down count" InitialValue="" Name="QD" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTUD_ULINT.fbt b/SystemTests/iec61131-3/counters/FB_CTUD_ULINT.fbt
new file mode 100644
index 0000000..cda1880
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTUD_ULINT.fbt
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-down-counter)" Name="FB_CTUD_ULINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CD"/>
+        <With Var="PV"/>
+        <With Var="LD"/>
+        <With Var="CU"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="QU"/>
+        <With Var="CV"/>
+        <With Var="QD"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Count down (Rising Edge Detection)" InitialValue="" Name="CD" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Load" InitialValue="" Name="LD" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output up count" InitialValue="" Name="QU" Type="BOOL"/>
+      <VarDeclaration Comment="Output down count" InitialValue="" Name="QD" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-down-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTU_DINT.fbt b/SystemTests/iec61131-3/counters/FB_CTU_DINT.fbt
new file mode 100644
index 0000000..acfaf18
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTU_DINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-counter)" Name="FB_CTU_DINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CU"/>
+        <With Var="PV"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="DINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="DINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTU_LINT.fbt b/SystemTests/iec61131-3/counters/FB_CTU_LINT.fbt
new file mode 100644
index 0000000..e1657ae
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTU_LINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-counter)" Name="FB_CTU_LINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CU"/>
+        <With Var="PV"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="LINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="LINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTU_UDINT.fbt b/SystemTests/iec61131-3/counters/FB_CTU_UDINT.fbt
new file mode 100644
index 0000000..00e965f
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTU_UDINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-counter)" Name="FB_CTU_UDINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CU"/>
+        <With Var="PV"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="UDINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="UDINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/counters/FB_CTU_ULINT.fbt b/SystemTests/iec61131-3/counters/FB_CTU_ULINT.fbt
new file mode 100644
index 0000000..ee2b7da
--- /dev/null
+++ b/SystemTests/iec61131-3/counters/FB_CTU_ULINT.fbt
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="counters (up-counter)" Name="FB_CTU_ULINT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61131-3" Classification="standard counters"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="CU"/>
+        <With Var="PV"/>
+        <With Var="R"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="CV"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Count up (Rising Edge Detection)" InitialValue="" Name="CU" Type="BOOL"/>
+      <VarDeclaration Comment="Reset" InitialValue="" Name="R" Type="BOOL"/>
+      <VarDeclaration Comment="Preset value" InitialValue="" Name="PV" Type="ULINT"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Count value" InitialValue="" Name="CV" Type="ULINT"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="counters (up-counter)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/iec61131-3/edgeDetection/FB_F_TRIG.fbt b/SystemTests/iec61131-3/edgeDetection/FB_F_TRIG.fbt
new file mode 100644
index 0000000..8d1dd50
--- /dev/null
+++ b/SystemTests/iec61131-3/edgeDetection/FB_F_TRIG.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="falling edge detector" Name="FB_F_TRIG">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="falling edge detector" Function="in contrast to the standard a initialization value of false does not detect a falling edge" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-03-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="CLK"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="Q"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Clock" InitialValue="" Name="CLK" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/edgeDetection/FB_R_TRIG.fbt b/SystemTests/iec61131-3/edgeDetection/FB_R_TRIG.fbt
new file mode 100644
index 0000000..114b3c5
--- /dev/null
+++ b/SystemTests/iec61131-3/edgeDetection/FB_R_TRIG.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="rising edge detector" Name="FB_R_TRIG">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="rising edge detector" Function="in contrast to the standard a initialization value of true does not detect a rising edge" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-03-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="CLK"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="Q"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Clock" InitialValue="" Name="CLK" Type="BOOL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_ABS.fbt b/SystemTests/iec61131-3/numerical/F_ABS.fbt
new file mode 100644
index 0000000..6f4ebfd
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_ABS.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="absolute value" Name="F_ABS">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_NUM"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_NUM"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_ACOS.fbt b/SystemTests/iec61131-3/numerical/F_ACOS.fbt
new file mode 100644
index 0000000..4d15396
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_ACOS.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="principal arc cosine" Name="F_ACOS">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_ASIN.fbt b/SystemTests/iec61131-3/numerical/F_ASIN.fbt
new file mode 100644
index 0000000..a8f5eac
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_ASIN.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="principal arc sin" Name="F_ASIN">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_ATAN.fbt b/SystemTests/iec61131-3/numerical/F_ATAN.fbt
new file mode 100644
index 0000000..5ee53fb
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_ATAN.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="principal arc tan" Name="F_ATAN">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_COS.fbt b/SystemTests/iec61131-3/numerical/F_COS.fbt
new file mode 100644
index 0000000..1a5cdec
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_COS.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="cosine in radians" Name="F_COS">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_EXP.fbt b/SystemTests/iec61131-3/numerical/F_EXP.fbt
new file mode 100644
index 0000000..9861973
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_EXP.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="natural exponential" Name="F_EXP">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_LN.fbt b/SystemTests/iec61131-3/numerical/F_LN.fbt
new file mode 100644
index 0000000..3900fd8
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_LN.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="natural logarithm" Name="F_LN">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_LOG.fbt b/SystemTests/iec61131-3/numerical/F_LOG.fbt
new file mode 100644
index 0000000..28cbc20
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_LOG.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="logarithm base 10" Name="F_LOG">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_SIN.fbt b/SystemTests/iec61131-3/numerical/F_SIN.fbt
new file mode 100644
index 0000000..aa2b360
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_SIN.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="sine of input in radians" Name="F_SIN">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_SQRT.fbt b/SystemTests/iec61131-3/numerical/F_SQRT.fbt
new file mode 100644
index 0000000..2da6630
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_SQRT.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="square root" Name="F_SQRT">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/numerical/F_TAN.fbt b/SystemTests/iec61131-3/numerical/F_TAN.fbt
new file mode 100644
index 0000000..9eccb5c
--- /dev/null
+++ b/SystemTests/iec61131-3/numerical/F_TAN.fbt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="tangent in radians" Name="F_TAN">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard function of one numeric variable" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-04-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Event Input Qualifier" Name="IN" Type="ANY_REAL"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Event Output Qualifier" Name="OUT" Type="ANY_REAL"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/selection/F_LIMIT.fbt b/SystemTests/iec61131-3/selection/F_LIMIT.fbt
new file mode 100644
index 0000000..8a0f884
--- /dev/null
+++ b/SystemTests/iec61131-3/selection/F_LIMIT.fbt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="limiter" Name="F_LIMIT">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard selection function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="MN"/>
+        <With Var="MX"/>
+        <With Var="IN"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Minimum" InitialValue="" Name="MN" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Maximum" InitialValue="" Name="MX" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Limited input" InitialValue="" Name="OUT" Type="ANY_ELEMENTARY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/selection/F_MAX.fbt b/SystemTests/iec61131-3/selection/F_MAX.fbt
new file mode 100644
index 0000000..659cbfa
--- /dev/null
+++ b/SystemTests/iec61131-3/selection/F_MAX.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="maximum" Name="F_MAX">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard selection function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-03-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="maximum value" InitialValue="" Name="OUT" Type="ANY_ELEMENTARY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/selection/F_MIN.fbt b/SystemTests/iec61131-3/selection/F_MIN.fbt
new file mode 100644
index 0000000..77f3872
--- /dev/null
+++ b/SystemTests/iec61131-3/selection/F_MIN.fbt
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="minimum" Name="F_MIN">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard selection function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-03-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY_ELEMENTARY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY_ELEMENTARY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Minimum value" InitialValue="" Name="OUT" Type="ANY_ELEMENTARY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/selection/F_MUX_2.fbt b/SystemTests/iec61131-3/selection/F_MUX_2.fbt
new file mode 100644
index 0000000..2d6f762
--- /dev/null
+++ b/SystemTests/iec61131-3/selection/F_MUX_2.fbt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="multiplexer" Name="F_MUX_2">
+  <Identification Description="Copyright (c) 2013 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard selection function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2013-08-30" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN1"/>
+        <With Var="IN2"/>
+        <With Var="K"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Select one of n inputs" Name="K" Type="ANY_INT"/>
+      <VarDeclaration Comment="Input value 1" InitialValue="" Name="IN1" Type="ANY"/>
+      <VarDeclaration Comment="Input value 2" InitialValue="" Name="IN2" Type="ANY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="IN1 for K = 0, IN2 for K = 1" InitialValue="" Name="OUT" Type="ANY"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/selection/F_SEL.fbt b/SystemTests/iec61131-3/selection/F_SEL.fbt
new file mode 100644
index 0000000..1ef5204
--- /dev/null
+++ b/SystemTests/iec61131-3/selection/F_SEL.fbt
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="binary selection" Name="F_SEL">
+  <Identification Description="Copyright (c) 2012 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard selection function" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2012-03-25" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="G"/>
+        <With Var="IN1"/>
+        <With Var="IN0"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="OUT"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Selelctor" InitialValue="" Name="G" Type="BOOL"/>
+      <VarDeclaration Comment="Selectable input variable" InitialValue="" Name="IN0" Type="ANY"/>
+      <VarDeclaration Comment="Selectable input variable" InitialValue="" Name="IN1" Type="ANY"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Selected input" InitialValue="" Name="OUT" Type="ANY"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="selection (binary selection)" LeftInterface="APPLICATION" RightInterface="RESOURCE">
+    <ServiceSequence Name="normal_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="PARAMS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="unsuccessful_establishment">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_confirm">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="request_error">
+      <ServiceTransaction>
+        <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
+        <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_response">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
+        <OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
+      </ServiceTransaction>
+      <ServiceTransaction>
+        <InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
+        <OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="indication_inhibited">
+      <ServiceTransaction>
+        <InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
+        <OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="error_indication">
+      <ServiceTransaction>
+        <InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
+        <OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="application_initiated_termination">
+      <ServiceTransaction>
+        <InputPrimitive Event="INIT-" Interface="APPLICATION"/>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+    <ServiceSequence Name="resource_initiated_termination">
+      <ServiceTransaction>
+        <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
+      </ServiceTransaction>
+    </ServiceSequence>
+  </Service>
+</FBType>
diff --git a/SystemTests/iec61131-3/timers/FB_TOF.fbt b/SystemTests/iec61131-3/timers/FB_TOF.fbt
new file mode 100644
index 0000000..11548bb
--- /dev/null
+++ b/SystemTests/iec61131-3/timers/FB_TOF.fbt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd" >
+<FBType Comment="standard timer function block (off-delay timing)" Name="FB_TOF">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard timer function block" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="PT"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="ET"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN" Type="BOOL"/>
+      <VarDeclaration Comment="Process time" InitialValue="" Name="PT" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Elapsed time" InitialValue="" Name="ET" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/timers/FB_TON.fbt b/SystemTests/iec61131-3/timers/FB_TON.fbt
new file mode 100644
index 0000000..ab80f6c
--- /dev/null
+++ b/SystemTests/iec61131-3/timers/FB_TON.fbt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="standard timer function block (on-delay timing)" Name="FB_TON">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard timer function block" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Normal Execution Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="PT"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Execution Confirmation" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="ET"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN" Type="BOOL"/>
+      <VarDeclaration Comment="Process time" InitialValue="" Name="PT" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="Output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="Elapsed time" InitialValue="" Name="ET" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/iec61131-3/timers/FB_TP.fbt b/SystemTests/iec61131-3/timers/FB_TP.fbt
new file mode 100644
index 0000000..5ac26ce
--- /dev/null
+++ b/SystemTests/iec61131-3/timers/FB_TP.fbt
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="standard timer function block (pulse)" Name="FB_TP">
+  <Identification Description="Copyright (c) 2011 TU Wien ACIN&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Classification="standard timer function block" Standard="61131-3"/>
+  <VersionInfo Author="Monika Wenger" Date="2011-06-21" Organization="TU Wien ACIN" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Service Request" Name="REQ" Type="Event">
+        <With Var="IN"/>
+        <With Var="PT"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
+        <With Var="Q"/>
+        <With Var="ET"/>
+      </Event>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Input" InitialValue="" Name="IN" Type="BOOL"/>
+      <VarDeclaration Comment="Pulse time" InitialValue="" Name="PT" Type="TIME"/>
+    </InputVars>
+    <OutputVars>
+      <VarDeclaration Comment="output" InitialValue="" Name="Q" Type="BOOL"/>
+      <VarDeclaration Comment="elapse time" InitialValue="" Name="ET" Type="TIME"/>
+    </OutputVars>
+  </InterfaceList>
+  <Service Comment="standard timer function block (pulse)" LeftInterface="APPLICATION" RightInterface="RESOURCE"/>
+</FBType>
diff --git a/SystemTests/utils/TEST_CONDITION.fbt b/SystemTests/utils/TEST_CONDITION.fbt
new file mode 100644
index 0000000..afc28de
--- /dev/null
+++ b/SystemTests/utils/TEST_CONDITION.fbt
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
+<FBType Comment="Service Interface Function Block Type" Name="TEST_CONDITION">
+  <Identification Description="Copyright (c) 2018 fortiss GmbH This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: PL-2.0" Standard="61499-2"/>
+  <VersionInfo Author="Jose Cabral" Date="2019-01-16" Organization="fortiss GmbH" Version="1.0"/>
+  <InterfaceList>
+    <EventInputs>
+      <Event Comment="Request Test" Name="REQ" Type="Event">
+        <With Var="check"/>
+      </Event>
+    </EventInputs>
+    <EventOutputs>
+      <Event Comment="Test finished" Name="CNF" Type="Event"/>
+    </EventOutputs>
+    <InputVars>
+      <VarDeclaration Comment="Test fails if check == 0, passes otherwise" Name="check" Type="BOOL"/>
+    </InputVars>
+  </InterfaceList>
+</FBType>
diff --git a/SystemTests/virtualDNS.dns b/SystemTests/virtualDNS.dns
new file mode 100644
index 0000000..6945e61
--- /dev/null
+++ b/SystemTests/virtualDNS.dns
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<virtualDNS:VirtualDNSManagement xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:virtualDNS="org.eclipse.fordiac.ide.virtualDNS"/>