update test_master and test_slave examples for win32
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/.cvsignore Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/CFileTest@c_ext/File1@C_File/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="File1" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/CFileTest@c_ext/File1@C_File/cfile.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<CFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="cext_xsd.xsd"> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/CFileTest@c_ext/File1@C_File/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CExtension CFLAGS="" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/CFileTest@c_ext/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="CFileTest" IEC_Channel="2"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/beremiz.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BeremizRoot URI_location="LOCAL://"> + <Win32 CFLAGS="" Linker="g++" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/canopen@canfestival/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="canopen" IEC_Channel="1"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/canopen@canfestival/master@CanOpenNode/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="master" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/canopen@canfestival/master@CanOpenNode/eds/Slave_2_0.eds Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,214 @@
+ModificationTime=04:36PM +ModificationDate=07-25-2008 +ProductNumber=0x00000000 +RevisionNumber=0x00000000 +DynamicChannelsSupported=0 +ParameterName=Device Type +ParameterName=Error Register +ParameterName=Number of Entries +ParameterName=Product Code +ParameterName=Revision Number +ParameterName=Serial Number +ParameterName=Producer Heartbeat Time +ParameterName=Server SDO Parameter +ParameterName=Number of Entries +ParameterName=COB ID Client to Server (Receive SDO) +DefaultValue=$NODEID+0x600 +ParameterName=COB ID Server to Client (Transmit SDO) +DefaultValue=$NODEID+0x580 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/canopen@canfestival/master@CanOpenNode/master.od Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,224 @@
+<!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> +<PyObject module="node" class="Node" id="35219340"> +<attr name="Profile" type="dict" id="35227548" > +<attr name="Description" type="string" value="" /> +<attr name="Dictionary" type="dict" id="35227276" > + <key type="numeric" value="4096" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4097" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4120" /> + <val type="list" id="34152268" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> +<attr name="SpecificMenu" type="list" id="31855724" > +<attr name="ParamsDictionary" type="dict" id="35226868" > +<attr name="UserMapping" type="dict" id="35226596" > +<attr name="DS302" type="dict" id="34917748" > + <key type="numeric" value="7968" /> + <val type="dict" id="34967732" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="34699116" > + <item type="dict" id="35227956" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="35226732" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF for node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7969" /> + <val type="dict" id="35227140" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="34665836" > + <item type="dict" id="35228228" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="35228500" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="2" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7970" /> + <val type="dict" id="35228636" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="34665900" > + <item type="dict" id="35227684" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="35228908" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> +<attr name="ProfileName" type="string" value="None" /> +<attr name="Type" type="string" value="master" /> +<attr name="ID" type="numeric" value="0" /> +<attr name="Name" type="string" value="MasterNode" /> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/canopen@canfestival/master@CanOpenNode/nodelist.cpj Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,7 @@
+Node3DCFName=Slave_2_0.eds --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/canopen@canfestival/master@CanOpenNode/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalNode CAN_Device="127.0.0.1" CAN_Baudrate="125K" NodeId="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/canopen@canfestival/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalInstance CAN_Driver="can_tcp_win32"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/ihm@svgui/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="ihm" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/ihm@svgui/gui.svg Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,805 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + sodipodi:version="0.32" + inkscape:version="0.46" + sodipodi:docname="gui.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + id="linearGradient3288"> + style="stop-color:#21d06c;stop-opacity:1;" + style="stop-color:#21d0d5;stop-opacity:1;" + id="linearGradient3165"> + style="stop-color:#f8f8d3;stop-opacity:1;" + style="stop-color:#d0d021;stop-opacity:1;" + id="linearGradient3157"> + style="stop-color:#000000;stop-opacity:1;" + style="stop-color:#8f8f8f;stop-opacity:1;" + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + inkscape:collect="always" + xlink:href="#linearGradient3157" + id="linearGradient3163" + gradientUnits="userSpaceOnUse" /> + inkscape:collect="always" + xlink:href="#linearGradient3165" + id="radialGradient3171" + gradientTransform="matrix(1.7516233,0,0,0.4435798,-76.021324,59.456787)" + gradientUnits="userSpaceOnUse" /> + inkscape:collect="always" + xlink:href="#linearGradient3165" + id="radialGradient3276" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.7516233,0,0,0.4435798,26.815866,165.10469)" + inkscape:collect="always" + xlink:href="#linearGradient3157" + id="linearGradient3278" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(102.83719,105.6479)" + inkscape:collect="always" + xlink:href="#linearGradient3288" + id="linearGradient3294" + gradientUnits="userSpaceOnUse" /> + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4142136" + inkscape:cx="286.80938" + inkscape:cy="123.71461" + inkscape:document-units="px" + inkscape:current-layer="layer1" + inkscape:window-width="1625" + inkscape:window-height="994" + inkscape:guide-bbox="true" /> + <dc:format>image/svg+xml</dc:format> + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + inkscape:label="Calque 1" + inkscape:groupmode="layer" + transform="translate(143.85715,-105.6479)"> + style="opacity:1;fill:url(#linearGradient3294);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.29810165999999994;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + transform="translate(0,80)"> + inkscape:label="#rect3155" + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:url(#radialGradient3171);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3163);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + sodipodi:role="line">Remplir</tspan></text> + style="font-size:20px;font-style:normal;font-weight:normal;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="216.02261">Remplir</tspan></text> + transform="translate(-246.69433,154)"> + style="opacity:1;fill:url(#radialGradient3276);fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient3278);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + inkscape:label="#rect3155" /> + inkscape:label="#text3203" + style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="216.02261">Vider</tspan></text> + inkscape:label="#text3207" + style="font-size:20px;font-style:normal;font-weight:normal;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + sodipodi:role="line">Vider</tspan></text> + style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + inkscape:label="#rect3229" /> + transform="matrix(1,0,0,-1,160,699.1083)" + style="fill:#ffffff;fill-opacity:1" + inkscape:tile-y0="156.90625" + inkscape:tile-x0="216.37468" + inkscape:tile-w="27.223612" + inkscape:tile-cy="171.90625" + inkscape:tile-cx="229.98649" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + transform="translate(-143.85715,105.6479)" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + sodipodi:nodetypes="cccccc" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,669.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,639.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,609.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,579.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,549.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,519.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,489.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,459.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:tile-x0="216.37468" + inkscape:tile-y0="156.90625" + style="fill:#ffffff;fill-opacity:1" + transform="matrix(1,0,0,-1,160,429.1083)"> + transform="translate(-143.85715,105.6479)" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + sodipodi:nodetypes="cccccc" + d="M 72.51785,262.55415 L 99.7366,262.55415 L 72.51785,262.55415 z M 72.51785,292.55415 L 99.7366,292.55415 L 72.51785,292.55415 z" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + transform="scale(1,-1)" /> + style="font-size:92.12592316px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="194.79076">IHM</tspan></text> + style="font-size:23.03148079px;font-style:normal;font-weight:normal;text-align:end;text-anchor:end;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + sodipodi:role="line">0</tspan></text> + style="font-size:23.03148079px;font-style:normal;font-weight:normal;text-align:end;text-anchor:end;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + sodipodi:role="line">50</tspan></text> + style="font-size:23.03148079px;font-style:normal;font-weight:normal;text-align:end;text-anchor:end;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="143.60571">100</tspan></text> + transform="translate(0,2)" + inkscape:label="#g3341"> + transform="matrix(-0.4248324,0,0,0.4248324,421.57985,380.4953)" + d="M 403.27248,128.39285 L 351.11376,158.5067 L 351.11376,98.279005 L 403.27248,128.39285 z" + inkscape:randomized="0" + inkscape:flatsided="true" + sodipodi:arg2="1.0471976" + sodipodi:r2="17.386236" + sodipodi:r1="34.772476" + sodipodi:cy="128.39285" + style="opacity:1;fill:#000000;fill-opacity:0.33918128;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:type="star" /> + style="opacity:1;fill:#ff0000;fill-opacity:0.78654971;fill-rule:nonzero;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:cy="128.39285" + sodipodi:r1="34.772476" + sodipodi:r2="17.386236" + sodipodi:arg2="1.0471976" + inkscape:flatsided="true" + inkscape:randomized="0" + d="M 403.27248,128.39285 L 351.11376,158.5067 L 351.11376,98.279005 L 403.27248,128.39285 z" + transform="matrix(-0.4248324,0,0,0.4248324,417.57985,378.4953)" /> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/ihm@svgui/gui.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="def_xsd.xsd" id="1" name="Interface"> + <Button toggle="true" unselected_id="fill_off" selected_id="fill_on" id="2" name="fill" background_id="fill_bck"/> + <Button toggle="true" unselected_id="empty_off" selected_id="empty_on" id="3" name="empty" background_id="Empty_bck"/> + <Transform moving_id="gague_mobile" id="4" name="gauge" enable="false" background_id="gauge_bck"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/methods.py Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,43 @@
+self.logger.write_error("Welcome to the Beremiz Demo\n\n") +self.logger.write("This demo provides a PLC working with the CANopen plugin\n") +self.logger.write("""Some external programs are also provided:\n +- a CAN TCP server to simulate the CANopen network +- a virtual slave node to simulate input block +- a virtual slave node to simulate output block +self.logger.write("\nInfo: For this demo, %s plugin has some special methods to run external programs.\nThese methods are defined in methods.py\n" % (PlugName or "Root")) +#open_pdf(os.path.join(os.path.split(__file__)[0], "doc", "manual_beremiz.pdf"), pagenum=21) +if wx.Platform == '__WXMSW__': + self.listLaunchProg = [ + {'name' : 'Can Tcp Server', + 'command' : 'can_tcp_win32_server.exe', + self.listLaunchProg = [] + # External programs list + # Launch them and get their pid + for prog in self.listLaunchProg: + self.logger.write("Starting %s\n" % prog['name']) + prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui']) + keyword = prog['keyword'], + PluginsRoot._Stop(self) + for prog in self.listLaunchProg: + self.logger.write("Stopping %s\n" % prog['name']) +self._Run, self._Stop = my_methods(self) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/autom_ihm/plc.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,825 @@
+<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://www.plcopen.org/xml/tc6.xsd" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd"> + <fileHeader companyName="lolitech" + productName="autom_ihm_rmll" + creationDateTime="2008-06-28 15:43:31"/> + <contentHeader name="autom_ihm_rmll" + modificationDateTime="2008-08-28 16:43:10"> + <pageSize x="700" y="1000"/> + <pou name="main" pouType="program"> + <variable name="ctrl_gauge1"> + <derived name="control_gauge"/> + <derived name="Button"/> + <variable name="empty"> + <derived name="Button"/> + <variable name="gauge"> + <derived name="Transform"/> + <variable name="level" address="%IW1.0.3.8196.0"> + <variable name="pump_out" address="%QX1.0.3.8192.0"> + <variable name="sink_out" address="%QX1.0.3.8193.0"> + <variable name="full_in"> + <variable name="empty_in" address="%IX1.0.3.8195.0"> + <variable name="controleur"> + <derived name="automate"/> + <block localId="1" width="144" height="104" typeName="control_gauge" instanceName="ctrl_gauge1"> + <position x="480" y="256"/> + <variable formalParameter="Xin"> + <relPosition x="0" y="32"/> + <connection refLocalId="5" formalParameter="X"> + <position x="480" y="288"/> + <position x="176" y="288"/> + <variable formalParameter="Yin"> + <relPosition x="0" y="64"/> + <connection refLocalId="5" formalParameter="Y"> + <position x="480" y="320"/> + <position x="176" y="320"/> + <variable formalParameter="Consigne"> + <relPosition x="0" y="88"/> + <connection refLocalId="17" formalParameter="OUT"> + <position x="480" y="344"/> + <position x="452" y="344"/> + <position x="452" y="376"/> + <position x="424" y="376"/> + <variable formalParameter="Xout"> + <relPosition x="144" y="32"/> + <variable formalParameter="Yout"> + <relPosition x="144" y="64"/> + <block localId="3" width="128" height="88" typeName="Button" instanceName="fill"> + <position x="56" y="696"/> + <variable formalParameter="Show"> + <relPosition x="0" y="32"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="56"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="72"/> + <variable formalParameter="State"> + <relPosition x="128" y="32"/> + <block localId="4" width="128" height="88" typeName="Button" instanceName="empty"> + <position x="200" y="608"/> + <variable formalParameter="Show"> + <relPosition x="0" y="32"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="56"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="72"/> + <variable formalParameter="State"> + <relPosition x="128" y="32"/> + <block localId="5" width="120" height="264" typeName="Transform" instanceName="gauge"> + <position x="56" y="248"/> + <variable formalParameter="Show"> + <relPosition x="0" y="40"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="72"/> + <variable formalParameter="SetX"> + <relPosition x="0" y="104"/> + <connection refLocalId="1" formalParameter="Xout"> + <position x="56" y="352"/> + <position x="32" y="352"/> + <position x="32" y="200"/> + <position x="634" y="200"/> + <position x="634" y="288"/> + <position x="624" y="288"/> + <variable formalParameter="SetY"> + <relPosition x="0" y="136"/> + <connection refLocalId="1" formalParameter="Yout"> + <position x="56" y="384"/> + <position x="32" y="384"/> + <position x="32" y="536"/> + <position x="634" y="536"/> + <position x="634" y="320"/> + <position x="624" y="320"/> + <variable formalParameter="SetXScale"> + <relPosition x="0" y="176"/> + <variable formalParameter="SetYScale"> + <relPosition x="0" y="208"/> + <variable formalParameter="SetAngle"> + <relPosition x="0" y="240"/> + <variable formalParameter="X"> + <relPosition x="120" y="40"/> + <variable formalParameter="Y"> + <relPosition x="120" y="72"/> + <inVariable localId="6" height="32" width="64"> + <position x="232" y="416"/> + <relPosition x="64" y="16"/> + <expression>level</expression> + <inVariable localId="7" height="32" width="88"> + <position x="120" y="800"/> + <relPosition x="88" y="16"/> + <expression>full_in</expression> + <inVariable localId="8" height="32" width="96"> + <position x="112" y="888"/> + <relPosition x="96" y="16"/> + <expression>empty_in</expression> + <outVariable localId="9" height="32" width="96"> + <position x="544" y="624"/> + <relPosition x="0" y="16"/> + <connection refLocalId="12" formalParameter="pump"> + <position x="544" y="640"/> + <position x="496" y="640"/> + <expression>pump_out</expression> + <outVariable localId="10" height="32" width="96"> + <position x="544" y="712"/> + <relPosition x="0" y="16"/> + <connection refLocalId="12" formalParameter="sink"> + <position x="544" y="728"/> + <position x="496" y="728"/> + <expression>sink_out</expression> + <block localId="12" width="136" height="368" typeName="automate" instanceName="controleur"> + <position x="360" y="576"/> + <variable formalParameter="do_empty"> + <relPosition x="0" y="64"/> + <connection refLocalId="4" formalParameter="State"> + <position x="360" y="640"/> + <position x="328" y="640"/> + <variable formalParameter="do_fill"> + <relPosition x="0" y="152"/> + <connection refLocalId="3" formalParameter="State"> + <position x="360" y="728"/> + <position x="184" y="728"/> + <variable formalParameter="full"> + <relPosition x="0" y="240"/> + <connection refLocalId="7"> + <position x="360" y="816"/> + <position x="208" y="816"/> + <variable formalParameter="empty"> + <relPosition x="0" y="328"/> + <connection refLocalId="8"> + <position x="360" y="904"/> + <position x="208" y="904"/> + <variable formalParameter="pump"> + <relPosition x="136" y="64"/> + <variable formalParameter="sink"> + <relPosition x="136" y="152"/> + <inVariable localId="13" height="32" width="80"> + <position x="224" y="360"/> + <relPosition x="80" y="16"/> + <expression>INT#100</expression> + <block localId="17" width="80" height="64" typeName="SUB"> + <position x="344" y="344"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="13"> + <position x="344" y="376"/> + <position x="304" y="376"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="6"> + <position x="344" y="400"/> + <position x="320" y="400"/> + <position x="320" y="432"/> + <position x="296" y="432"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <pou name="control_gauge" pouType="functionBlock"> + <variable name="Consigne"> + <variable name="Initialized"> + <simpleValue value="false"/> +<![CDATA[IF NOT INITIALIZED THEN +XOUT := XTMP * INT_TO_REAL(CONSIGNE) / 100.0; +YOUT := YTMP * INT_TO_REAL(CONSIGNE) / 100.0;]]> + <pou name="automate" pouType="functionBlock"> + <variable name="do_empty"> + <variable name="do_fill"> + <variable name="empty"> + <step localId="1" height="40" width="64" name="Start" initialStep="true"> + <position x="256" y="176"/> + <connectionPointOut formalParameter=""> + <relPosition x="32" y="40"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="64" y="24"/> + </connectionPointOutAction> + <step localId="2" height="32" width="80" name="vidange"> + <position x="624" y="344"/> + <relPosition x="40" y="0"/> + <connection refLocalId="5"> + <position x="664" y="344"/> + <position x="664" y="304"/> + <connectionPointOut formalParameter=""> + <relPosition x="40" y="32"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="80" y="16"/> + </connectionPointOutAction> + <selectionDivergence localId="3" height="1" width="528"> + <position x="136" y="256"/> + <relPosition x="152" y="0"/> + <connection refLocalId="1"> + <position x="288" y="256"/> + <position x="288" y="216"/> + <connectionPointOut formalParameter=""> + <relPosition x="0" y="1"/> + <connectionPointOut formalParameter=""> + <relPosition x="528" y="1"/> + <inVariable localId="4" height="32" width="96"> + <position x="368" y="272"/> + <relPosition x="96" y="16"/> + <expression>do_empty</expression> + <transition localId="5" height="16" width="32"> + <position x="648" y="288"/> + <relPosition x="16" y="0"/> + <connection refLocalId="3"> + <position x="664" y="288"/> + <position x="664" y="257"/> + <relPosition x="16" y="16"/> + <connection refLocalId="19" formalParameter="OUT"> + <position x="648" y="296"/> + <position x="616" y="296"/> + <transition localId="7" height="16" width="32"> + <position x="120" y="304"/> + <relPosition x="16" y="0"/> + <connection refLocalId="3"> + <position x="136" y="304"/> + <position x="136" y="257"/> + <relPosition x="16" y="16"/> +<![CDATA[do_fill AND NOT full]]> + <step localId="8" height="32" width="128" name="remplissage"> + <position x="72" y="360"/> + <relPosition x="64" y="0"/> + <connection refLocalId="7"> + <position x="136" y="360"/> + <position x="136" y="320"/> + <connectionPointOut formalParameter=""> + <relPosition x="64" y="32"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="128" y="16"/> + </connectionPointOutAction> + <transition localId="9" height="16" width="32"> + <position x="648" y="416"/> + <relPosition x="16" y="0"/> + <connection refLocalId="2"> + <position x="664" y="416"/> + <position x="664" y="376"/> + <relPosition x="16" y="16"/> + <connection refLocalId="16"> + <position x="648" y="424"/> + <position x="600" y="424"/> + <transition localId="10" height="16" width="32"> + <position x="120" y="424"/> + <relPosition x="16" y="0"/> + <connection refLocalId="8"> + <position x="136" y="424"/> + <position x="136" y="392"/> + <relPosition x="16" y="16"/> + <actionBlock localId="13" height="32" width="112"> + <position x="232" y="360"/> + <relPosition x="0" y="16"/> + <connection refLocalId="8"> + <position x="232" y="376"/> + <position x="200" y="376"/> + <actionBlock localId="14" height="32" width="112"> + <position x="736" y="344"/> + <relPosition x="0" y="16"/> + <connection refLocalId="2"> + <position x="736" y="360"/> + <position x="704" y="360"/> + <inVariable localId="16" height="32" width="64"> + <position x="536" y="408"/> + <relPosition x="64" y="16"/> + <expression>empty</expression> + <selectionConvergence localId="17" height="1" width="528"> + <position x="136" y="512"/> + <relPosition x="0" y="0"/> + <connection refLocalId="10"> + <position x="136" y="512"/> + <position x="136" y="440"/> + <relPosition x="528" y="0"/> + <connection refLocalId="9"> + <position x="664" y="512"/> + <position x="664" y="432"/> + <relPosition x="264" y="1"/> + </selectionConvergence> + <actionBlock localId="18" height="32" width="200"> + <position x="368" y="184"/> + <relPosition x="0" y="16"/> + <connection refLocalId="1"> + <position x="368" y="200"/> + <position x="320" y="200"/> +<![CDATA[pump:=0; sink:=0;]]> + <block localId="19" width="80" height="64" typeName="AND"> + <position x="536" y="264"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="4"> + <position x="536" y="296"/> + <position x="500" y="296"/> + <position x="500" y="288"/> + <position x="464" y="288"/> + <variable formalParameter="IN2" negated="true"> + <relPosition x="0" y="56"/> + <connection refLocalId="21"> + <position x="536" y="320"/> + <position x="500" y="320"/> + <position x="500" y="336"/> + <position x="464" y="336"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <inVariable localId="21" height="32" width="96"> + <position x="368" y="320"/> + <relPosition x="96" y="16"/> + <expression>empty</expression> + <jumpStep localId="22" height="16" width="16" targetName="Start"> + <position x="392" y="552"/> + <relPosition x="8" y="0"/> + <connection refLocalId="17"> + <position x="400" y="552"/> + <position x="400" y="513"/> + <configuration name="conf"> + <task name="matache" interval="00:00:00.100000" priority="0"> + <pouInstance name="moninst" type="main"/> + <variable name="full_in" address="%IX1.0.3.8194.0"> + <simpleValue value="2"/> + <variable name="fulfuck" address="%IX1.0.3.8194.0"> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/.cvsignore Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/beremiz.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BeremizRoot URI_location="LOCAL://"> + <Win32 CFLAGS="" Linker="g++" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/canopen@canfestival/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="canopen" IEC_Channel="2"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/canopen@canfestival/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalInstance CAN_Driver="can_tcp_win32"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/canopen@canfestival/slave@CanOpenSlave/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="slave" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/canopen@canfestival/slave@CanOpenSlave/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalSlaveNode CAN_Device="127.0.0.1" CAN_Baudrate="125K" NodeId="3"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/canopen@canfestival/slave@CanOpenSlave/slave.od Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,453 @@
+<!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> +<PyObject module="node" class="Node" id="35782028"> +<attr name="Profile" type="dict" id="35793476" > +<attr name="Description" type="string" value="" /> +<attr name="Dictionary" type="dict" id="35793204" > + <key type="numeric" value="4096" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4097" /> + <val type="numeric" value="0" /> + <key type="numeric" value="5122" /> + <val type="list" id="35782412" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5123" /> + <val type="list" id="35782604" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="8196" /> + <val type="numeric" value="0" /> + <key type="numeric" value="8192" /> + <val type="numeric" value="0" /> + <key type="numeric" value="6145" /> + <val type="list" id="35782252" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5634" /> + <val type="list" id="35782476" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5635" /> + <val type="list" id="35782540" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6146" /> + <val type="list" id="35795180" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6658" /> + <val type="list" id="35795276" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6659" /> + <val type="list" id="35795084" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="4608" /> + <val type="list" id="35795020" > + <item type="string" value=""$NODEID+0x600"" /> + <item type="string" value=""$NODEID+0x580"" /> + <key type="numeric" value="4119" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4120" /> + <val type="list" id="35795468" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6147" /> + <val type="list" id="35795404" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="8193" /> + <val type="numeric" value="0" /> + <key type="numeric" value="5120" /> + <val type="list" id="35795436" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5632" /> + <val type="list" id="35795500" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="8194" /> + <val type="numeric" value="0" /> + <key type="numeric" value="5121" /> + <val type="list" id="35795564" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6144" /> + <val type="list" id="35795628" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5633" /> + <val type="list" id="35795660" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6656" /> + <val type="list" id="35795532" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="8195" /> + <val type="numeric" value="0" /> + <key type="numeric" value="6657" /> + <val type="list" id="35795596" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> +<attr name="SpecificMenu" type="list" id="35782124" > +<attr name="ParamsDictionary" type="dict" id="35792796" > +<attr name="UserMapping" type="dict" id="35792524" > + <key type="numeric" value="8192" /> + <val type="dict" id="34811524" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="35782508" > + <item type="dict" id="34963908" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="True" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="1" /> + <key type="string" value="name" /> + <val type="string">pump</val> + <key type="string" value="name" /> + <val type="string">pump</val> + <key type="string" value="struct" /> + <val type="numeric" value="1" /> + <key type="numeric" value="8193" /> + <val type="dict" id="35793884" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="35795852" > + <item type="dict" id="35792660" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="True" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="1" /> + <key type="string" value="name" /> + <val type="string">sink</val> + <key type="string" value="name" /> + <val type="string">sink</val> + <key type="string" value="struct" /> + <val type="numeric" value="1" /> + <key type="numeric" value="8194" /> + <val type="dict" id="35794020" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="35795916" > + <item type="dict" id="35794292" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="True" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="1" /> + <key type="string" value="name" /> + <val type="string">full</val> + <key type="string" value="name" /> + <val type="string">full</val> + <key type="string" value="struct" /> + <val type="numeric" value="1" /> + <key type="numeric" value="8195" /> + <val type="dict" id="35792932" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="35795724" > + <item type="dict" id="35794564" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="True" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="1" /> + <key type="string" value="name" /> + <val type="string">empty</val> + <key type="string" value="name" /> + <val type="string">empty</val> + <key type="string" value="struct" /> + <val type="numeric" value="1" /> + <key type="numeric" value="8196" /> + <val type="dict" id="35793068" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="35796012" > + <item type="dict" id="35799084" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="True" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="3" /> + <key type="string" value="name" /> + <val type="string">gauge</val> + <key type="string" value="name" /> + <val type="string">gauge</val> + <key type="string" value="struct" /> + <val type="numeric" value="1" /> +<attr name="DS302" type="dict" id="35793612" > +<attr name="ProfileName" type="string" value="None" /> +<attr name="Type" type="string" value="slave" /> +<attr name="ID" type="numeric" value="0" /> +<attr name="Name" type="string">slave</attr> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/plc.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,807 @@
+<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://www.plcopen.org/xml/tc6.xsd" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd"> + <fileHeader companyName="lolitech" + productName="simul_visu_rmll" + creationDateTime="2008-06-27 17:09:17"/> + <contentHeader name="simul_visu_rmll" + modificationDateTime="2008-08-28 16:32:51"> + <pageSize x="700" y="1000"/> + <dataType name="gauge_range"> + <range lower="0" upper="100"/> + <pou name="main" pouType="program"> + <variable name="pump_in" address="%IX2.0.8192.0"> + <variable name="full_out" address="%QX2.0.8194.0"> + <variable name="empty_out" address="%QX2.0.8195.0"> + <variable name="sink_in" address="%IX2.0.8193.0"> + <variable name="gauge_out" address="%QW2.0.8196.0"> + <derived name="gauge_range"/> + <simpleValue value="0"/> + <variable name="led_full"> + <derived name="Button"/> + <variable name="led_pump"> + <derived name="Button"/> + <variable name="led_sink"> + <derived name="Button"/> + <variable name="led_empty"> + <derived name="Button"/> + <variable name="movewater"> + <derived name="Transform"/> + <variable name="tmp1" address="%QD1.0.1"> + <variable name="tmp2" address="%QW1.0.0"> + <block localId="6" width="128" height="96" typeName="Button" instanceName="led_full"> + <position x="896" y="80"/> + <variable formalParameter="Show"> + <relPosition x="0" y="32"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="56"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="80"/> + <connection refLocalId="3"> + <position x="896" y="160"/> + <position x="864" y="160"/> + <variable formalParameter="State"> + <relPosition x="128" y="32"/> + <block localId="7" width="128" height="96" typeName="Button" instanceName="led_pump"> + <position x="1232" y="80"/> + <variable formalParameter="Show"> + <relPosition x="0" y="32"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="56"/> + <variable formalParameter="Value"> + <relPosition x="0" y="80"/> + <connection refLocalId="40"> + <position x="1232" y="160"/> + <position x="1176" y="160"/> + <variable formalParameter="State"> + <relPosition x="128" y="32"/> + <block localId="8" width="128" height="96" typeName="Button" instanceName="led_sink"> + <position x="1232" y="224"/> + <variable formalParameter="Show"> + <relPosition x="0" y="32"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="56"/> + <variable formalParameter="Value"> + <relPosition x="0" y="80"/> + <connection refLocalId="39"> + <position x="1232" y="304"/> + <position x="1176" y="304"/> + <variable formalParameter="State"> + <relPosition x="128" y="32"/> + <block localId="9" width="128" height="96" typeName="Button" instanceName="led_empty"> + <position x="904" y="224"/> + <variable formalParameter="Show"> + <relPosition x="0" y="32"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="56"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="80"/> + <connection refLocalId="4"> + <position x="904" y="304"/> + <position x="872" y="304"/> + <variable formalParameter="State"> + <relPosition x="128" y="32"/> + <block localId="10" width="120" height="168" typeName="Transform" instanceName="movewater"> + <position x="1192" y="656"/> + <variable formalParameter="Show"> + <relPosition x="0" y="32"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="48"/> + <variable formalParameter="SetX"> + <relPosition x="0" y="72"/> + <variable formalParameter="SetY"> + <relPosition x="0" y="96"/> + <connection refLocalId="35" formalParameter="OUT"> + <position x="1192" y="752"/> + <position x="936" y="752"/> + <position x="936" y="600"/> + <position x="1354" y="600"/> + <position x="1354" y="520"/> + <position x="1344" y="520"/> + <variable formalParameter="SetXScale"> + <relPosition x="0" y="112"/> + <variable formalParameter="SetYScale"> + <relPosition x="0" y="136"/> + <variable formalParameter="SetAngle"> + <relPosition x="0" y="160"/> + <variable formalParameter="X"> + <relPosition x="120" y="32"/> + <variable formalParameter="Y"> + <relPosition x="120" y="48"/> + <block localId="11" width="136" height="40" typeName="INT_TO_REAL"> + <position x="880" y="408"/> + <variable formalParameter="IN"> + <relPosition x="0" y="32"/> + <connection refLocalId="5"> + <position x="880" y="440"/> + <position x="856" y="440"/> + <variable formalParameter="OUT"> + <relPosition x="136" y="32"/> + <block localId="15" width="136" height="40" typeName="BOOL_TO_INT"> + <position x="240" y="384"/> + <variable formalParameter="IN"> + <relPosition x="0" y="32"/> + <connection refLocalId="1"> + <position x="240" y="416"/> + <position x="200" y="416"/> + <variable formalParameter="OUT"> + <relPosition x="136" y="32"/> + <block localId="16" width="136" height="40" typeName="BOOL_TO_INT"> + <position x="168" y="272"/> + <variable formalParameter="IN"> + <relPosition x="0" y="32"/> + <connection refLocalId="2"> + <position x="168" y="304"/> + <position x="128" y="304"/> + <variable formalParameter="OUT"> + <relPosition x="136" y="32"/> + <block localId="17" width="80" height="64" typeName="SUB"> + <position x="480" y="288"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="19" formalParameter="OUT"> + <position x="480" y="320"/> + <position x="432" y="320"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="15" formalParameter="OUT"> + <position x="480" y="344"/> + <position x="456" y="344"/> + <position x="456" y="416"/> + <position x="376" y="416"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <block localId="19" width="80" height="64" typeName="ADD"> + <position x="352" y="288"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="16" formalParameter="OUT"> + <position x="352" y="320"/> + <position x="332" y="320"/> + <position x="332" y="304"/> + <position x="304" y="304"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="25"> + <position x="352" y="344"/> + <position x="296" y="344"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <block localId="20" width="80" height="64" typeName="LT"> + <position x="304" y="568"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="28"> + <position x="304" y="600"/> + <position x="176" y="600"/> + <position x="176" y="568"/> + <position x="136" y="568"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="22"> + <position x="304" y="624"/> + <position x="256" y="624"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <block localId="21" width="80" height="64" typeName="GT"> + <position x="304" y="488"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="28"> + <position x="304" y="520"/> + <position x="176" y="520"/> + <position x="176" y="568"/> + <position x="136" y="568"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="23"> + <position x="304" y="544"/> + <position x="264" y="544"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <inVariable localId="22" height="32" width="64"> + <position x="192" y="608"/> + <relPosition x="64" y="16"/> + <expression>INT#1</expression> + <inVariable localId="23" height="32" width="72"> + <position x="192" y="528"/> + <relPosition x="72" y="16"/> + <expression>INT#99</expression> + <inVariable localId="25" height="32" width="104"> + <position x="192" y="328"/> + <relPosition x="104" y="16"/> + <expression>gauge_out</expression> + <outVariable localId="27" height="32" width="104"> + <position x="600" y="304"/> + <relPosition x="0" y="16"/> + <connection refLocalId="17" formalParameter="OUT"> + <position x="600" y="320"/> + <position x="560" y="320"/> + <expression>gauge_out</expression> + <inVariable localId="28" height="32" width="104"> + <position x="32" y="552"/> + <relPosition x="104" y="16"/> + <expression>gauge_out</expression> + <inVariable localId="5" height="32" width="104"> + <position x="752" y="424"/> + <relPosition x="104" y="16"/> + <expression>gauge_out</expression> + <inVariable localId="29" height="32" width="112"> + <position x="752" y="528"/> + <relPosition x="112" y="16"/> + <expression>REAL#245.0</expression> + <inVariable localId="30" height="32" width="104"> + <position x="752" y="480"/> + <relPosition x="104" y="16"/> + <expression>REAL#15.0</expression> + <block localId="31" width="80" height="64" typeName="SUB"> + <position x="920" y="464"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="30"> + <position x="920" y="496"/> + <position x="856" y="496"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="29"> + <position x="920" y="520"/> + <position x="892" y="520"/> + <position x="892" y="544"/> + <position x="864" y="544"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <block localId="32" width="80" height="64" typeName="MUL"> + <position x="1048" y="408"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="11" formalParameter="OUT"> + <position x="1048" y="440"/> + <position x="1016" y="440"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="31" formalParameter="OUT"> + <position x="1048" y="464"/> + <position x="1030" y="464"/> + <position x="1030" y="496"/> + <position x="1000" y="496"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <block localId="33" width="80" height="64" typeName="DIV"> + <position x="1160" y="408"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="32" formalParameter="OUT"> + <position x="1160" y="440"/> + <position x="1128" y="440"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="34"> + <position x="1160" y="464"/> + <position x="1146" y="464"/> + <position x="1146" y="520"/> + <position x="1136" y="520"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <inVariable localId="34" height="32" width="112"> + <position x="1024" y="504"/> + <relPosition x="112" y="16"/> + <expression>REAL#100.0</expression> + <block localId="35" width="80" height="64" typeName="ADD"> + <position x="1264" y="488"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="32"/> + <connection refLocalId="33" formalParameter="OUT"> + <position x="1264" y="520"/> + <position x="1254" y="520"/> + <position x="1254" y="440"/> + <position x="1240" y="440"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="56"/> + <connection refLocalId="29"> + <position x="1264" y="544"/> + <position x="864" y="544"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="32"/> + <inVariable localId="4" height="32" width="104"> + <position x="768" y="288"/> + <relPosition x="104" y="16"/> + <expression>empty_out</expression> + <inVariable localId="3" height="32" width="96"> + <position x="768" y="144"/> + <relPosition x="96" y="16"/> + <expression>full_out</expression> + <outVariable localId="37" height="32" width="96"> + <position x="432" y="504"/> + <relPosition x="0" y="16"/> + <connection refLocalId="21" formalParameter="OUT"> + <position x="432" y="520"/> + <position x="384" y="520"/> + <expression>full_out</expression> + <outVariable localId="38" height="32" width="104"> + <position x="432" y="584"/> + <relPosition x="0" y="16"/> + <connection refLocalId="20" formalParameter="OUT"> + <position x="432" y="600"/> + <position x="384" y="600"/> + <expression>empty_out</expression> + <inVariable localId="2" height="32" width="112"> + <position x="16" y="288"/> + <relPosition x="112" y="16"/> + <expression>pump_in</expression> + <inVariable localId="1" height="32" width="104"> + <position x="96" y="400"/> + <relPosition x="104" y="16"/> + <expression>sink_in</expression> + <outVariable localId="41" height="32" width="48"> + <position x="1520" y="496"/> + <relPosition x="0" y="16"/> + <connection refLocalId="35" formalParameter="OUT"> + <position x="1520" y="512"/> + <position x="1432" y="512"/> + <position x="1432" y="520"/> + <position x="1344" y="520"/> + <expression>tmp1</expression> + <inVariable localId="39" height="32" width="80"> + <position x="1096" y="288"/> + <relPosition x="80" y="16"/> + <expression>sink_in</expression> + <inVariable localId="40" height="32" width="80"> + <position x="1096" y="144"/> + <relPosition x="80" y="16"/> + <expression>pump_in</expression> + <outVariable localId="42" height="32" width="56"> + <position x="624" y="368"/> + <relPosition x="0" y="16"/> + <connection refLocalId="17" formalParameter="OUT"> + <position x="624" y="384"/> + <position x="558" y="384"/> + <position x="558" y="360"/> + <position x="570" y="360"/> + <position x="570" y="320"/> + <position x="560" y="320"/> + <expression>tmp2</expression> + <configuration name="conf"> + <task name="matache" interval="00:00:00.100000" priority="0"> + <pouInstance name="moninst" type="main"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/spy@c_ext/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="spy" IEC_Channel="1"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/spy@c_ext/myfile@C_File/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="myfile" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/spy@c_ext/myfile@C_File/cfile.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<CFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="cext_xsd.xsd"> +<![CDATA[#include <stdio.h> + <variable name="spy1" type="INT" class="output"/> + <variable name="spy2" type="REAL" class="output"/> +<![CDATA[//printf("spy1 : %hd\n", spy1); +//printf("spy2 : %f\n", spy2);]]> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/spy@c_ext/myfile@C_File/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CExtension CFLAGS="" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/visu@svgui/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="visu" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/visu@svgui/gui.svg Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,454 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + sodipodi:version="0.32" + inkscape:version="0.46" + sodipodi:docname="gui.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + id="linearGradient3481"> + style="stop-color:#767676;stop-opacity:1;" + style="stop-color:#ffffff;stop-opacity:1;" + id="linearGradient3280"> + style="stop-color:#0077ff;stop-opacity:1;" + style="stop-color:#d7eaff;stop-opacity:1;" + id="linearGradient3266"> + style="stop-color:#ffffff;stop-opacity:1;" /> + style="stop-color:#00ff00;stop-opacity:1;" /> + id="linearGradient3254"> + style="stop-color:#a0a0a0;stop-opacity:1;" + style="stop-color:#004400;stop-opacity:1;" + id="linearGradient3230"> + style="stop-color:#005881;stop-opacity:1;" + style="stop-color:#007dae;stop-opacity:1;" + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + maskUnits="userSpaceOnUse" + style="opacity:0.45846157;fill:#00ff00;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:20;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + inkscape:collect="always" + xlink:href="#linearGradient3280" + id="linearGradient3459" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-108.49242,-485.94429)" /> + inkscape:collect="always" + xlink:href="#linearGradient3481" + id="linearGradient3487" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-208.49242,-491.94429)" /> + inkscape:collect="always" + xlink:href="#linearGradient3481" + id="linearGradient3491" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-208.49242,-418.61096)" /> + inkscape:collect="always" + xlink:href="#linearGradient3481" + id="linearGradient3495" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-208.49242,-345.27763)" + inkscape:collect="always" + xlink:href="#linearGradient3481" + id="linearGradient3499" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-208.49242,-271.94427)" + inkscape:collect="always" + xlink:href="#linearGradient3254" + id="radialGradient3513" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3266" + id="radialGradient3519" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3254" + id="radialGradient3521" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3254" + id="radialGradient3523" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3266" + id="radialGradient3529" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3266" + id="radialGradient3531" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3266" + id="radialGradient3533" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3254" + id="radialGradient3535" + gradientUnits="userSpaceOnUse" + inkscape:collect="always" + xlink:href="#linearGradient3230" + id="linearGradient3537" + gradientUnits="userSpaceOnUse" + spreadMethod="reflect" /> + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.98994949" + inkscape:cx="263.89378" + inkscape:cy="165.49567" + inkscape:document-units="px" + inkscape:current-layer="layer1" + inkscape:window-width="1625" + inkscape:window-height="994" + inkscape:window-y="25" /> + <dc:format>image/svg+xml</dc:format> + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + inkscape:label="Calque 1" + inkscape:groupmode="layer" + style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="fill:url(#linearGradient3459);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:20;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 228.28824,301.16807 C 228.2757,294.88832 241.08299,302.38346 247.12752,301.16807 C 253.64252,299.85808 260.11251,292.65021 265.96681,293.59192 C 272.67204,294.67051 278.0206,305.8646 284.80609,307.22898 C 290.58012,308.38998 296.70595,300.18278 303.14031,299.14776 C 309.26548,298.16248 317.72013,305.20868 323.99989,305.20868 C 330.27966,305.20868 338.57972,296.62238 344.85949,296.62238 C 351.13925,296.62238 353.88347,301.16807 360.16323,301.16807 C 366.443,301.16807 378.98998,294.88832 379.00252,301.16807 L 379.5076,553.98931 L 228.79332,553.98931 L 228.28824,301.16807 z" + sodipodi:nodetypes="cssssssssccs" /> + style="fill:url(#linearGradient3537);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 4.3647258,1.8464504 L 4.3647258,351.1277 L 387.92723,351.1277 L 387.92723,1.8464504 L 4.3647258,1.8464504 z M 258.64598,71.1277 L 354.36473,71.1277 L 354.36473,305.40895 L 258.64598,305.40895 L 258.64598,71.1277 z" + sodipodi:nodetypes="cccccccccc" /> + style="opacity:1;fill:url(#linearGradient3499);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:url(#linearGradient3491);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + style="opacity:1;fill:url(#linearGradient3495);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="opacity:1;fill:url(#linearGradient3487);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + transform="translate(6.3647258,-8.1535696)" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + sodipodi:ry="15.152288" + sodipodi:rx="15.152288" + sodipodi:cy="87.453148" + sodipodi:cx="155.56349" + style="fill:url(#radialGradient3523);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + transform="translate(6.3647258,65.17977)" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + sodipodi:ry="15.152288" + sodipodi:rx="15.152288" + sodipodi:cy="87.453148" + sodipodi:cx="155.56349" + style="opacity:1;fill:url(#radialGradient3521);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + style="font-size:20px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="86.755661">Plein</tspan></text> + style="font-size:20px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + sodipodi:role="line">Pompe</tspan></text> + style="font-size:20px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="231.48381">Vidange</tspan></text> + style="font-size:20px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + sodipodi:role="line">Vide</tspan></text> + style="font-size:40px;font-style:oblique;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold Oblique" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line">Visualisation</tspan></text> + style="fill:url(#radialGradient3529);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:cx="155.56349" + sodipodi:cy="87.453148" + sodipodi:rx="15.152288" + sodipodi:ry="15.152288" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + transform="translate(6.3647258,-8.1535696)" /> + style="opacity:1;fill:url(#radialGradient3519);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:cx="155.56349" + sodipodi:cy="87.453148" + sodipodi:rx="15.152288" + sodipodi:ry="15.152288" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + transform="translate(6.3647258,65.17977)" /> + style="opacity:1;fill:url(#radialGradient3513);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:cx="155.56349" + sodipodi:cy="87.453148" + sodipodi:rx="15.152288" + sodipodi:ry="15.152288" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + transform="translate(6.3647258,138.51311)" /> + style="opacity:1;fill:url(#radialGradient3535);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:cx="155.56349" + sodipodi:cy="87.453148" + sodipodi:rx="15.152288" + sodipodi:ry="15.152288" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + transform="translate(6.3647258,211.84645)" /> + transform="translate(6.3647258,211.84645)" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + sodipodi:ry="15.152288" + sodipodi:rx="15.152288" + sodipodi:cy="87.453148" + sodipodi:cx="155.56349" + style="opacity:1;fill:url(#radialGradient3533);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + transform="translate(6.3647258,138.51311)" + d="M 170.71578,87.453148 A 15.152288,15.152288 0 1 1 140.4112,87.453148 A 15.152288,15.152288 0 1 1 170.71578,87.453148 z" + sodipodi:ry="15.152288" + sodipodi:rx="15.152288" + sodipodi:cy="87.453148" + sodipodi:cx="155.56349" + style="opacity:1;fill:url(#radialGradient3531);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/simul_visu/visu@svgui/gui.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="def_xsd.xsd" id="1" name="Interface"> + <Button toggle="true" unselected_id="led_full_off" selected_id="led_full_on" id="3" name="led_full" enable="false" background_id="rect3479"/> + <Button toggle="true" unselected_id="led_pompe_off" selected_id="led_pompe_on" id="4" name="led_pump" enable="false" background_id="rect3489"/> + <Button toggle="true" unselected_id="led_vidange_off" selected_id="led_vidange_on" id="5" name="led_sink" enable="false" background_id="rect3493"/> + <Button toggle="true" unselected_id="led_empty_off" selected_id="led_empty_on" id="6" name="led_empty" enable="false" background_id="rect3497"/> + <Transform moving_id="rect3244" id="2" name="movewater" enable="false" background_id="rect3246"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/.cvsignore Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/Master@CanOpenNode/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="Master" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/Master@CanOpenNode/eds/DS401_Slave_Gui.eds Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1142 @@
+FileName=DS401_Slave_Gui.eds +ModificationTime=05:58PM +ModificationDate=10-02-2007 +ProductNumber=0x00100000 +RevisionNumber=0x00010001 +DynamicChannelsSupported=0 +ParameterName=Device Type +ParameterName=Error Register +ParameterName=Number of Entries +ParameterName=Product Code +ParameterName=Revision Number +ParameterName=Manufacturer Status Register +ParameterName=SYNC COB ID +ParameterName=Manufacturer Device Name +ParameterName=Manufacturer Hardware Version +ParameterName=Manufacturer Software Version +ParameterName=Guard Time +ParameterName=Life Time Factor +ParameterName=Store parameters +ParameterName=Number of Entries +ParameterName=Save All Parameters +ParameterName=Restore Default Parameters +ParameterName=Number of Entries +ParameterName=Restore All Default Parameters +ParameterName=Consumer Heartbeat Time +ParameterName=Number of Entries +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Producer Heartbeat Time +ParameterName=Verify Configuration +ParameterName=Number of Entries +ParameterName=Configuration Date +ParameterName=Configuration Time +ParameterName=Server SDO Parameter +ParameterName=Number of Entries +ParameterName=COB ID Client to Server (Receive SDO) +DefaultValue=$NODEID+0x600 +ParameterName=COB ID Server to Client (Transmit SDO) +DefaultValue=$NODEID+0x580 +ParameterName=Receive PDO 1 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x200 +ParameterName=Transmission Type +ParameterName=Receive PDO 2 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x300 +ParameterName=Transmission Type +ParameterName=Receive PDO 1 Mapping +ParameterName=Number of Entries +ParameterName=PDO 1 Mapping for an application object 1 +ParameterName=Receive PDO 2 Mapping +ParameterName=Number of Entries +ParameterName=PDO 2 Mapping for an application object 1 +ParameterName=PDO 2 Mapping for an application object 2 +ParameterName=PDO 2 Mapping for an application object 3 +ParameterName=PDO 2 Mapping for an application object 4 +ParameterName=Transmit PDO 1 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x180 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO 2 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x280 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO 3 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x380 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO 1 Mapping +ParameterName=Number of Entries +ParameterName=PDO 1 Mapping for a process data variable 1 +ParameterName=Transmit PDO 2 Mapping +ParameterName=Number of Entries +ParameterName=PDO 2 Mapping for a process data variable 1 +ParameterName=PDO 2 Mapping for a process data variable 2 +ParameterName=PDO 2 Mapping for a process data variable 3 +ParameterName=PDO 2 Mapping for a process data variable 4 +ParameterName=Transmit PDO 3 Mapping +ParameterName=Number of Entries +ParameterName=PDO 3 Mapping for a process data variable 1 +ParameterName=PDO 3 Mapping for a process data variable 2 +ParameterName=PDO 3 Mapping for a process data variable 3 +ParameterName=PDO 3 Mapping for a process data variable 4 +ParameterName=Read Inputs 8 Bit +ParameterName=Number of Input 8 bit +ParameterName=Read Inputs 0x1 to 0x8 +ParameterName=Polarity Input 8 Bit +ParameterName=Number of Input 8 bit +ParameterName=Polarity Input 0x1 to 0x8 +ParameterName=Write Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Write Outputs 0x1 to 0x8 +ParameterName=Change Polarity Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Change Polarity Outputs 0x1 to 0x8 +ParameterName=Error Mode Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Error Mode Outputs 0x1 to 0x8 +ParameterName=Error Value Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Error Value Outputs 0x1 to 0x8 +ParameterName=Read Analogue Input 16 Bit +ParameterName=Number of Analogue Input 16 Bit +ParameterName=Analogue Input 1 +ParameterName=Analogue Input 2 +ParameterName=Analogue Input 3 +ParameterName=Analogue Input 4 +ParameterName=Analogue Input 5 +ParameterName=Analogue Input 6 +ParameterName=Analogue Input 7 +ParameterName=Analogue Input 8 +ParameterName=Write Analogue Output 16 Bit +ParameterName=Number of Analogue Input 16 Bit +ParameterName=Analogue Output 1 +ParameterName=Analogue Output 2 +ParameterName=Analogue Output 3 +ParameterName=Analogue Output 4 +ParameterName=Analogue Input Global Interrupt Enable +ParameterName=Analogue Input Interrupt Delta Unsigned +ParameterName=Number of Analogue Inputs +ParameterName=Analogue Input 1 +ParameterName=Analogue Input 2 +ParameterName=Analogue Input 3 +ParameterName=Analogue Input 4 +ParameterName=Analogue Input 5 +ParameterName=Analogue Input 6 +ParameterName=Analogue Input 7 +ParameterName=Analogue Input 8 +ParameterName=Analogue Output Error Mode +ParameterName=Number of Analogue Outputs +ParameterName=Error Mode Analogue Output 1 +ParameterName=Error Mode Analogue Output 2 +ParameterName=Error Mode Analogue Output 3 +ParameterName=Error Mode Analogue Output 4 +ParameterName=Analogue Output Error Value Integer +ParameterName=Number of Analogue Outputs +ParameterName=Analogue Output 1 +ParameterName=Analogue Output 2 +ParameterName=Analogue Output 3 +ParameterName=Analogue Output 4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/Master@CanOpenNode/eds/PEAK MicroMod.eds Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1289 @@
+Description=PEAK MicroMod CANopenIA Generic +ModificationTime=05:05PM +ModificationDate=03-23-2005 +FileName=C:\CANopenCT\Tests\PEAK MicroMod.eds +VendorName=PEAK System Technik +ProductName=PEAK MicroMod CANopenIA Generic +ProductNumber=0x00100000 +RevisionNumber=0x00010001 +DynamicChannelsSupported=0 +ParameterName=Device Type +ParameterName=Error Register +ParameterName=Identity Object +ParameterName=number of entries +ParameterName=Product Code +ParameterName=Revision number +ParameterName=PEAK Status Register +ParameterName=COB-ID SYNC +ParameterName=Manufacturer Device Name +ParameterName=Manufacturer Hardware Version +ParameterName=Manufacturer Software Version +ParameterName=Guard Time +ParameterName=Life Time Factor +ParameterName=Store Parameter Field +ParameterName=Number of Entries +ParameterName=Save all Parameters +ParameterName=Restore Default Parameters +ParameterName=Number of Entries +ParameterName=Restore all Default Parameters +ParameterName=Consumer Heartbeat Time +ParameterName=Number of Entries +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Producer Heartbeat Time +ParameterName=Verify Configuration +ParameterName=Number of entries +ParameterName=Configuration date +ParameterName=Configuration time +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x200 +ParameterName=Transmission Type +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x300 +ParameterName=Transmission Type +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x80000400 +ParameterName=Transmission Type +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x80000500 +ParameterName=Transmission Type +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x180 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x280 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x380 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x80000480 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=Download Program Data +ParameterName=Number of elements +ParameterName=Download Program Data - HW Settings +ParameterName=Read Digital Input 8-bit +ParameterName=Number of Elements +ParameterName=DigInput8_1 +ParameterName=Polarity Digital Input +ParameterName=Number of Elements +ParameterName=Polarity8_1 +ParameterName=Write Digital Output 8-bit +ParameterName=Number of elements +ParameterName=DigOutput8_1 +ParameterName=Polarity Digital Output +ParameterName=Number of Elements +ParameterName=Polarity8_1 +ParameterName=Error Mode Digital Output +ParameterName=Number of elements +ParameterName=Error Mode 1 +ParameterName=Error Value Digital Output +ParameterName=Number of elements +ParameterName=Error Value 1 +ParameterName=Read Analog Input 16-bit +ParameterName=Number of elements +ParameterName=AnalogInput16_1 +ParameterName=AnalogInput16_2 +ParameterName=AnalogInput16_3 +ParameterName=AnalogInput16_4 +ParameterName=AnalogInput16_5 +ParameterName=AnalogInput16_6 +ParameterName=AnalogInput16_7 +ParameterName=AnalogInput16_8 +ParameterName=Write Analog Output 16-bit +ParameterName=Number of elements +ParameterName=AnalogOutput16_1 +ParameterName=AnalogOutput16_2 +ParameterName=AnalogOutput16_3 +ParameterName=AnalogOutput16_4 +ParameterName=Analog Input Global Interrupt +ParameterName=Analog Input Interrupt Delta +ParameterName=NrOfObjects +ParameterName=Analog Input Delta 1 +ParameterName=Analog Input Delta 2 +ParameterName=Analog Input Delta 3 +ParameterName=Analog Input Delta 4 +ParameterName=Analog Input Delta 5 +ParameterName=Analog Input Delta 6 +ParameterName=Analog Input Delta 7 +ParameterName=Analog Input Delta 8 +ParameterName=Error Mode Analog Output +ParameterName=Number of elements +ParameterName=Error Mode 1 +ParameterName=Error Mode 2 +ParameterName=Error Mode 3 +ParameterName=Error Mode 4 +ParameterName=Error Value Analog Output +ParameterName=Number of elements +ParameterName=Error Value 1 +ParameterName=Error Value 2 +ParameterName=Error Value 3 +ParameterName=Error Value 4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/Master@CanOpenNode/master.od Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,224 @@
+<!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> +<PyObject module="node" class="Node" id="39952300"> +<attr name="Profile" type="dict" id="39977004" > +<attr name="Description" type="string" value="" /> +<attr name="Dictionary" type="dict" id="39968388" > + <key type="numeric" value="4096" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4097" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4120" /> + <val type="list" id="39969036" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> +<attr name="SpecificMenu" type="list" id="39968876" > +<attr name="ParamsDictionary" type="dict" id="39967980" > +<attr name="UserMapping" type="dict" id="39967708" > +<attr name="DS302" type="dict" id="36260148" > + <key type="numeric" value="7968" /> + <val type="dict" id="39363692" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="39969132" > + <item type="dict" id="39977412" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="39967844" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF for node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7969" /> + <val type="dict" id="39968252" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="39969292" > + <item type="dict" id="39977684" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="39977956" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="2" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7970" /> + <val type="dict" id="39978092" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="39969324" > + <item type="dict" id="39977140" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="39978364" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> +<attr name="ProfileName" type="string" value="None" /> +<attr name="Type" type="string" value="master" /> +<attr name="ID" type="numeric" value="0" /> +<attr name="Name" type="string" value="MasterNode" /> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/Master@CanOpenNode/nodelist.cpj Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,10 @@
+Node16Name=DS401_Slave_GUI +Node16DCFName=DS401_Slave_Gui.eds +Node32DCFName=DS401_Slave_Gui.eds --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/Master@CanOpenNode/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalNode CAN_Device="127.0.0.1" CAN_Baudrate="125K" NodeId="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="CANopen" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/CANopen@canfestival/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalInstance CAN_Driver="can_tcp_win32"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/beremiz.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BeremizRoot URI_location="LOCAL://"> + <Win32 CFLAGS="" Linker="g++" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/methods.py Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,66 @@
+self.logger.write_error("Welcome to the Beremiz Demo\n\n") +self.logger.write("This demo provides a PLC working with the CANopen plugin\n") +self.logger.write("""Some external programs are also provided:\n +- a CAN TCP server to simulate the CANopen network +- a virtual slave node to simulate input block +- a virtual slave node to simulate output block +self.logger.write("\nInfo: For this demo, %s plugin has some special methods to run external programs.\nThese methods are defined in methods.py\n" % (PlugName or "Root")) +#open_pdf(os.path.join(os.path.split(__file__)[0], "doc", "manual_beremiz.pdf"), pagenum=21) +if wx.Platform == '__WXMSW__': + self.listLaunchProg = [ + {'name' : 'Can Tcp Server', + 'command' : 'can_tcp_win32_server.exe', + {'name' : 'DS401 Slave Gui NodeId 32', + 'command' : 'DS401_Slave_Gui.exe -sI -l can_tcp_win32.dll -b 127.0.0.1 -i 20 -B 125K', + {'name' : 'DS401 Slave Gui NodeId 16', + 'command' : 'DS401_Slave_Gui.exe -sO -l can_tcp_win32.dll -b 127.0.0.1 -i 10 -B 125K', + self.listLaunchProg = [ + {'name' : 'DS401 Slave Gui NodeId 32', + 'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sI -l libcanfestival_can_socket.so -b vcan0 -i 20 -B 125K', + {'name' : 'DS401 Slave Gui NodeId 16', + 'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sO -l libcanfestival_can_socket.so -b vcan0 -i 10 -B 125K', + # External programs list + # Launch them and get their pid + for prog in self.listLaunchProg: + self.logger.write("Starting %s\n" % prog['name']) + prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui']) + keyword = prog['keyword'], + PluginsRoot._Stop(self) + for prog in self.listLaunchProg: + self.logger.write("Stopping %s\n" % prog['name']) +self._Run, self._Stop = my_methods(self) \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test/plc.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2389 @@
+<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://www.plcopen.org/xml/tc6.xsd" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd"> + <fileHeader companyName="LOLITECH" + companyURL="www.lolitech.com" + creationDateTime="2007-07-07 11:58:26" + contentDescription="This tests as most as possible IEC standard library"/> + <contentHeader name="STD_TEST" + modificationDateTime="2008-08-27 16:29:04"> + <dataType name="MYTYPE"> + <range lower="0" upper="1000"/> + <dataType name="MYTYPE2"> + <simpleValue value="CLOSED"/> + <dataType name="MYTYPE3"> + <dimension lower="1" upper="8"/> + <dimension lower="1" upper="8"/> + <derived name="MYTYPE5"/> + <value repetitionValue="32"> + <simpleValue value="0"/> + <value repetitionValue="30"> + <simpleValue value="1"/> + <dataType name="MYTYPE4"> + <range lower="1" upper="100"/> + <dataType name="MYTYPE5"> + <derived name="MYTYPE4"/> + <simpleValue value="10"/> + <pou name="MAIN_TEST" pouType="program"> + <variable name="DigitalOut" address="%QB0.0.16.25088.1"> + <variable name="DigitalIn" address="%IB0.0.32.24576.1"> + <variable name="AnalogOut1" address="%QW0.0.16.25617.1"> + <derived name="MYTYPE"/> + <variable name="AnalogOut2" address="%QW0.0.16.25617.2"> + <derived name="MYTYPE"/> + <variable name="AnalogOut3" address="%QW0.0.16.25617.3"> + <variable name="AnalogIn1" address="%IW0.0.32.25601.1"> + <variable name="AnalogIn2" address="%IW0.0.32.25601.2"> + <derived name="Bitwise_Block"/> + <variable name="Test2"> + <derived name="Test_SFC"/> + <variable name="latch"> + <comment localId="26" height="80" width="475"> + <position x="25" y="5"/> +<![CDATA[Main program]]> + <inVariable localId="34" height="30" width="95"> + <position x="40" y="535"/> + <relPosition x="95" y="15"/> + <expression>DigitalIn</expression> + <outVariable localId="36" height="30" width="100"> + <position x="915" y="450"/> + <relPosition x="0" y="15"/> + <connection refLocalId="39"> + <position x="915" y="465"/> + <position x="885" y="465"/> + <position x="885" y="465"/> + <position x="925" y="465"/> + <position x="925" y="465"/> + <position x="865" y="465"/> + <expression>DigitalOut</expression> + <block localId="37" width="107" height="60" typeName="GETBIT"> + <position x="195" y="520"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="34"> + <position x="195" y="550"/> + <position x="135" y="550"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="38"> + <position x="195" y="570"/> + <position x="165" y="570"/> + <position x="165" y="585"/> + <position x="105" y="585"/> + <variable formalParameter=""> + <relPosition x="107" y="30"/> + <inVariable localId="38" height="30" width="65"> + <position x="40" y="570"/> + <relPosition x="65" y="15"/> + <expression>UINT#0</expression> + <block localId="39" width="120" height="80" typeName="SETBIT"> + <position x="745" y="435"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="95"> + <position x="745" y="465"/> + <position x="695" y="465"/> + <variable formalParameter="INPUT_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="52" formalParameter="OUT_AND"> + <position x="745" y="485"/> + <position x="569" y="485"/> + <position x="569" y="550"/> + <position x="513" y="550"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="70"/> + <connection refLocalId="96"> + <position x="745" y="505"/> + <position x="690" y="505"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <inVariable localId="40" height="30" width="100"> + <position x="25" y="155"/> + <relPosition x="100" y="15"/> + <expression>DigitalOut</expression> + <block localId="42" width="120" height="85" typeName="SETBIT"> + <position x="745" y="530"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="94"> + <position x="745" y="560"/> + <position x="690" y="560"/> + <variable formalParameter="INPUT_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="52" formalParameter="OUT_OR"> + <position x="745" y="580"/> + <position x="513" y="580"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="70"/> + <connection refLocalId="93"> + <position x="745" y="600"/> + <position x="690" y="600"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <outVariable localId="43" height="30" width="100"> + <position x="910" y="545"/> + <relPosition x="0" y="15"/> + <connection refLocalId="42"> + <position x="910" y="560"/> + <position x="865" y="560"/> + <expression>DigitalOut</expression> + <block localId="44" width="115" height="60" typeName="GETBIT"> + <position x="195" y="595"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="97"> + <position x="195" y="625"/> + <position x="135" y="625"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="45"> + <position x="195" y="645"/> + <position x="154" y="645"/> + <position x="154" y="660"/> + <position x="105" y="660"/> + <variable formalParameter=""> + <relPosition x="115" y="30"/> + <inVariable localId="45" height="30" width="65"> + <position x="40" y="645"/> + <relPosition x="65" y="15"/> + <expression>UINT#1</expression> + <block localId="46" width="120" height="80" typeName="SETBIT"> + <position x="745" y="630"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="92"> + <position x="745" y="660"/> + <position x="690" y="660"/> + <variable formalParameter="INPUT_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="52" formalParameter="OUT_XOR"> + <position x="745" y="680"/> + <position x="555" y="680"/> + <position x="555" y="610"/> + <position x="513" y="610"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="70"/> + <connection refLocalId="49"> + <position x="745" y="700"/> + <position x="690" y="700"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <outVariable localId="47" height="30" width="105"> + <position x="910" y="645"/> + <relPosition x="0" y="15"/> + <connection refLocalId="46"> + <position x="910" y="660"/> + <position x="865" y="660"/> + <expression>DigitalOut</expression> + <inVariable localId="49" height="30" width="65"> + <position x="625" y="685"/> + <relPosition x="65" y="15"/> + <expression>UINT#2</expression> + <block localId="50" width="120" height="80" typeName="SETBIT"> + <position x="745" y="725"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="91"> + <position x="745" y="755"/> + <position x="690" y="755"/> + <variable formalParameter="INPUT_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="52" formalParameter="OUT_SR"> + <position x="745" y="775"/> + <position x="525" y="775"/> + <position x="525" y="640"/> + <position x="513" y="640"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="70"/> + <connection refLocalId="53"> + <position x="745" y="795"/> + <position x="692" y="795"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <outVariable localId="51" height="30" width="100"> + <position x="910" y="740"/> + <relPosition x="0" y="15"/> + <connection refLocalId="50"> + <position x="910" y="755"/> + <position x="865" y="755"/> + <expression>DigitalOut</expression> + <block localId="52" width="127" height="141" typeName="Bitwise_Block" instanceName="Test"> + <position x="386" y="515"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="37"> + <position x="386" y="550"/> + <position x="302" y="550"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="65"/> + <connection refLocalId="44"> + <position x="386" y="580"/> + <position x="365" y="580"/> + <position x="365" y="625"/> + <position x="310" y="625"/> + <variable formalParameter="OUT_AND"> + <relPosition x="127" y="35"/> + <variable formalParameter="OUT_OR"> + <relPosition x="127" y="65"/> + <variable formalParameter="OUT_XOR"> + <relPosition x="127" y="95"/> + <variable formalParameter="OUT_SR"> + <relPosition x="127" y="125"/> + <inVariable localId="53" height="30" width="67"> + <position x="625" y="780"/> + <relPosition x="67" y="15"/> + <expression>UINT#3</expression> + <inVariable localId="59" height="30" width="100"> + <position x="45" y="910"/> + <relPosition x="100" y="15"/> + <expression>AnalogOut1</expression> + <outVariable localId="60" height="30" width="100"> + <position x="910" y="840"/> + <relPosition x="0" y="15"/> + <connection refLocalId="69" formalParameter="OUT1"> + <position x="910" y="855"/> + <position x="610" y="855"/> + <expression>AnalogOut1</expression> + <inVariable localId="64" height="30" width="95"> + <position x="45" y="980"/> + <relPosition x="95" y="15"/> + <expression>AnalogIn1</expression> + <block localId="69" width="160" height="230" typeName="Test_SFC" instanceName="Test2"> + <position x="450" y="820"/> + <variable formalParameter="CNT1"> + <relPosition x="0" y="35"/> + <connection refLocalId="37"> + <position x="450" y="855"/> + <position x="340" y="855"/> + <position x="340" y="550"/> + <position x="302" y="550"/> + <variable formalParameter="CNT2"> + <relPosition x="0" y="70"/> + <connection refLocalId="44"> + <position x="450" y="890"/> + <position x="365" y="890"/> + <position x="365" y="625"/> + <position x="310" y="625"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="105"/> + <connection refLocalId="59"> + <position x="450" y="925"/> + <position x="145" y="925"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="140"/> + <connection refLocalId="71"> + <position x="450" y="960"/> + <position x="145" y="960"/> + <variable formalParameter="UPPER1"> + <relPosition x="0" y="175"/> + <connection refLocalId="64"> + <position x="450" y="995"/> + <position x="140" y="995"/> + <variable formalParameter="UPPER2"> + <relPosition x="0" y="210"/> + <connection refLocalId="72"> + <position x="450" y="1030"/> + <position x="140" y="1030"/> + <variable formalParameter="OUT1"> + <relPosition x="160" y="35"/> + <variable formalParameter="OUT2"> + <relPosition x="160" y="70"/> + <outVariable localId="70" height="30" width="100"> + <position x="910" y="875"/> + <relPosition x="0" y="15"/> + <connection refLocalId="69" formalParameter="OUT2"> + <position x="910" y="890"/> + <position x="610" y="890"/> + <expression>AnalogOut2</expression> + <inVariable localId="71" height="30" width="100"> + <position x="45" y="945"/> + <relPosition x="100" y="15"/> + <expression>AnalogOut2</expression> + <inVariable localId="72" height="35" width="95"> + <position x="45" y="1015"/> + <relPosition x="95" y="15"/> + <expression>AnalogIn2</expression> + <block localId="73" width="120" height="80" typeName="SETBIT"> + <position x="745" y="140"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="40"> + <position x="745" y="170"/> + <position x="125" y="170"/> + <variable formalParameter="INPUT_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="77" formalParameter="Q"> + <position x="745" y="190"/> + <position x="526" y="190"/> + <position x="526" y="220"/> + <position x="507" y="220"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="70"/> + <connection refLocalId="74"> + <position x="745" y="210"/> + <position x="540" y="210"/> + <position x="540" y="295"/> + <position x="95" y="295"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <inVariable localId="74" height="30" width="65"> + <position x="30" y="280"/> + <relPosition x="65" y="15"/> + <expression>UINT#7</expression> + <block localId="75" width="120" height="60" typeName="GETBIT"> + <position x="170" y="190"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="40"> + <position x="170" y="220"/> + <position x="150" y="220"/> + <position x="150" y="170"/> + <position x="125" y="170"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="74"> + <position x="170" y="240"/> + <position x="151" y="240"/> + <position x="151" y="295"/> + <position x="95" y="295"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <outVariable localId="76" height="30" width="100"> + <position x="910" y="155"/> + <relPosition x="0" y="15"/> + <connection refLocalId="73"> + <position x="910" y="170"/> + <position x="865" y="170"/> + <expression>DigitalOut</expression> + <block localId="77" width="57" height="60" typeName="TP" instanceName="t1"> + <position x="450" y="190"/> + <variable formalParameter="IN" negated="true"> + <relPosition x="0" y="30"/> + <connection refLocalId="85" formalParameter="Q"> + <position x="450" y="220"/> + <position x="400" y="220"/> + <variable formalParameter="PT"> + <relPosition x="0" y="50"/> + <connection refLocalId="80"> + <position x="450" y="240"/> + <position x="420" y="240"/> + <position x="420" y="270"/> + <position x="220" y="270"/> + <variable formalParameter="Q"> + <relPosition x="57" y="30"/> + <variable formalParameter="ET"> + <relPosition x="57" y="50"/> + <inVariable localId="80" height="27" width="50"> + <position x="170" y="255"/> + <relPosition x="50" y="15"/> + <expression>T#1s</expression> + <block localId="85" width="60" height="60" typeName="TOF" instanceName="t2"> + <position x="340" y="190"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="75"> + <position x="340" y="220"/> + <position x="290" y="220"/> + <variable formalParameter="PT"> + <relPosition x="0" y="50"/> + <connection refLocalId="80"> + <position x="340" y="240"/> + <position x="296" y="240"/> + <position x="296" y="270"/> + <position x="220" y="270"/> + <variable formalParameter="Q"> + <relPosition x="60" y="30"/> + <variable formalParameter="ET"> + <relPosition x="60" y="50"/> + <outVariable localId="86" height="30" width="100"> + <position x="910" y="330"/> + <relPosition x="0" y="15"/> + <connection refLocalId="90" formalParameter="OUT"> + <position x="910" y="345"/> + <position x="865" y="345"/> + <expression>AnalogOut3</expression> + <block localId="87" width="120" height="40" typeName="TIME_TO_REAL"> + <position x="455" y="315"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="77" formalParameter="ET"> + <position x="455" y="345"/> + <position x="445" y="345"/> + <position x="445" y="275"/> + <position x="517" y="275"/> + <position x="517" y="240"/> + <position x="507" y="240"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <block localId="88" width="80" height="60" typeName="MUL"> + <position x="630" y="315"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="87" formalParameter="OUT"> + <position x="630" y="345"/> + <position x="575" y="345"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="89"> + <position x="630" y="365"/> + <position x="607" y="365"/> + <position x="607" y="400"/> + <position x="585" y="400"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="30"/> + <inVariable localId="89" height="35" width="120"> + <position x="465" y="385"/> + <relPosition x="120" y="15"/> + <expression>REAL#10000.0</expression> + <block localId="90" width="120" height="40" typeName="REAL_TO_INT"> + <position x="745" y="315"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="88" formalParameter="OUT"> + <position x="745" y="345"/> + <position x="710" y="345"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <inVariable localId="91" height="30" width="100"> + <position x="590" y="740"/> + <relPosition x="100" y="15"/> + <expression>DigitalOut</expression> + <inVariable localId="92" height="30" width="100"> + <position x="590" y="645"/> + <relPosition x="100" y="15"/> + <expression>DigitalOut</expression> + <inVariable localId="93" height="30" width="65"> + <position x="625" y="585"/> + <relPosition x="65" y="15"/> + <expression>UINT#1</expression> + <inVariable localId="94" height="30" width="100"> + <position x="590" y="545"/> + <relPosition x="100" y="15"/> + <expression>DigitalOut</expression> + <inVariable localId="95" height="30" width="100"> + <position x="595" y="450"/> + <relPosition x="100" y="15"/> + <expression>DigitalOut</expression> + <inVariable localId="96" height="30" width="95"> + <position x="595" y="490"/> + <relPosition x="95" y="15"/> + <expression>UINT#0</expression> + <inVariable localId="97" height="30" width="95"> + <position x="40" y="610"/> + <relPosition x="95" y="15"/> + <expression>DigitalIn</expression> + <comment localId="100" height="40" width="400"> + <position x="25" y="100"/> +<![CDATA[A simple blinking output (2s period)]]> + <comment localId="102" height="40" width="430"> + <position x="580" y="255"/> +<![CDATA[Output value of TP block as analog output #3]]> + <comment localId="103" height="65" width="420"> + <position x="25" y="425"/> +<![CDATA[Map input and output of bitwise_block test to bits of DigitalIn and Digital out]]> + <comment localId="104" height="85" width="285"> + <position x="40" y="805"/> +<![CDATA[Map AnalogIN #1 #2 and AnalogOUT #1 #2 to SFC test interface]]> + <pou name="GETBIT" pouType="function"> + <variable name="INPUT_BYTE"> + <variable name="NUM_BIT"> + <block localId="1" width="70" height="60" typeName="SHR"> + <position x="175" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="2"> + <position x="175" y="140"/> + <position x="135" y="140"/> + <variable formalParameter="N"> + <relPosition x="0" y="50"/> + <connection refLocalId="3"> + <position x="175" y="160"/> + <position x="140" y="160"/> + <position x="140" y="180"/> + <position x="105" y="180"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <inVariable localId="2" height="30" width="105"> + <position x="30" y="125"/> + <relPosition x="105" y="15"/> + <expression>INPUT_BYTE</expression> + <inVariable localId="3" height="30" width="75"> + <position x="30" y="165"/> + <relPosition x="75" y="15"/> + <expression>NUM_BIT</expression> + <outVariable localId="4" height="30" width="65"> + <position x="555" y="125"/> + <relPosition x="0" y="15"/> + <connection refLocalId="7" formalParameter="OUT"> + <position x="555" y="140"/> + <position x="515" y="140"/> + <expression>GETBIT</expression> + <block localId="5" width="85" height="60" typeName="AND"> + <position x="275" y="110"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="1" formalParameter="OUT"> + <position x="275" y="140"/> + <position x="245" y="140"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="6"> + <position x="275" y="160"/> + <position x="255" y="160"/> + <position x="255" y="195"/> + <position x="240" y="195"/> + <variable formalParameter="OUT"> + <relPosition x="85" y="30"/> + <inVariable localId="6" height="30" width="65"> + <position x="175" y="180"/> + <relPosition x="65" y="15"/> + <expression>BYTE#1</expression> + <block localId="7" width="120" height="40" typeName="BYTE_TO_BOOL"> + <position x="395" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="5" formalParameter="OUT"> + <position x="395" y="140"/> + <position x="360" y="140"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <comment localId="8" height="70" width="545"> + <position x="30" y="20"/> +<![CDATA[Function that return NUM_BIT'th bit value of INPUT_BYTE]]> + <pou name="SETBIT" pouType="function"> + <variable name="INPUT_BYTE"> + <variable name="INPUT_BIT"> + <variable name="NUM_BIT"> + <inVariable localId="1" height="30" width="100"> + <position x="40" y="255"/> + <relPosition x="100" y="15"/> + <expression>INPUT_BYTE</expression> + <inVariable localId="2" height="30" width="95"> + <position x="40" y="125"/> + <relPosition x="95" y="15"/> + <expression>INPUT_BIT</expression> + <block localId="3" width="120" height="45" typeName="BOOL_TO_BYTE"> + <position x="165" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="2"> + <position x="165" y="140"/> + <position x="135" y="140"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <block localId="4" width="70" height="60" typeName="SHL"> + <position x="335" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="3" formalParameter="OUT"> + <position x="335" y="140"/> + <position x="285" y="140"/> + <variable formalParameter="N"> + <relPosition x="0" y="50"/> + <connection refLocalId="5"> + <position x="335" y="160"/> + <position x="130" y="160"/> + <position x="130" y="230"/> + <position x="115" y="230"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <inVariable localId="5" height="30" width="75"> + <position x="40" y="215"/> + <relPosition x="75" y="15"/> + <expression>NUM_BIT</expression> + <block localId="7" width="70" height="60" typeName="SHL"> + <position x="235" y="180"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="8"> + <position x="235" y="210"/> + <position x="215" y="210"/> + <position x="220" y="210"/> + <position x="220" y="210"/> + <position x="220" y="210"/> + <position x="210" y="210"/> + <variable formalParameter="N"> + <relPosition x="0" y="50"/> + <connection refLocalId="5"> + <position x="235" y="230"/> + <position x="115" y="230"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <inVariable localId="8" height="30" width="65"> + <position x="145" y="195"/> + <relPosition x="65" y="15"/> + <expression>BYTE#1</expression> + <block localId="9" width="70" height="40" typeName="NOT"> + <position x="335" y="180"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="7" formalParameter="OUT"> + <position x="335" y="210"/> + <position x="305" y="210"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <block localId="10" width="80" height="60" typeName="AND"> + <position x="440" y="180"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="9" formalParameter="OUT"> + <position x="440" y="210"/> + <position x="405" y="210"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="1"> + <position x="440" y="230"/> + <position x="320" y="230"/> + <position x="320" y="270"/> + <position x="140" y="270"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="30"/> + <block localId="11" width="80" height="60" typeName="OR"> + <position x="565" y="110"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="4" formalParameter="OUT"> + <position x="565" y="140"/> + <position x="405" y="140"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="10" formalParameter="OUT"> + <position x="565" y="160"/> + <position x="545" y="160"/> + <position x="545" y="210"/> + <position x="520" y="210"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="30"/> + <outVariable localId="12" height="30" width="70"> + <position x="695" y="125"/> + <relPosition x="0" y="15"/> + <connection refLocalId="11" formalParameter="OUT"> + <position x="695" y="140"/> + <position x="645" y="140"/> + <expression>SETBIT</expression> + <comment localId="13" height="75" width="435"> + <position x="35" y="15"/> +<![CDATA[Function that return INPUT_BYTE with NUM_BIT'th bit set to INPUT_BIT value]]> + <pou name="Bitwise_Block" pouType="functionBlock"> + <variable name="OUT_AND"> + <variable name="OUT_OR"> + <variable name="OUT_XOR"> + <variable name="OUT_SR"> + <leftPowerRail localId="1" height="80" width="3"> + <position x="40" y="180"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="55"/> + <contact localId="2" height="15" width="25"> + <position x="90" y="190"/> + <relPosition x="0" y="10"/> + <connection refLocalId="1"> + <position x="90" y="200"/> + <position x="43" y="200"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="3" height="20" width="25"> + <position x="90" y="225"/> + <relPosition x="0" y="10"/> + <connection refLocalId="1"> + <position x="90" y="235"/> + <position x="43" y="235"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <coil localId="4" height="20" width="25"> + <position x="225" y="190"/> + <relPosition x="0" y="10"/> + <connection refLocalId="2"> + <position x="225" y="200"/> + <position x="115" y="200"/> + <connection refLocalId="3"> + <position x="225" y="200"/> + <position x="189" y="200"/> + <position x="189" y="235"/> + <position x="115" y="235"/> + <relPosition x="25" y="10"/> + <variable>OUT_OR</variable> + <rightPowerRail localId="5" height="40" width="3"> + <position x="350" y="180"/> + <relPosition x="0" y="20"/> + <connection refLocalId="4"> + <position x="350" y="200"/> + <position x="250" y="200"/> + <leftPowerRail localId="6" height="40" width="3"> + <position x="40" y="315"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <contact localId="7" height="20" width="25"> + <position x="100" y="325"/> + <relPosition x="0" y="10"/> + <connection refLocalId="6"> + <position x="100" y="335"/> + <position x="43" y="335"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="8" height="20" width="25"> + <position x="185" y="325"/> + <relPosition x="0" y="10"/> + <connection refLocalId="7"> + <position x="185" y="335"/> + <position x="125" y="335"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <coil localId="9" height="20" width="25"> + <position x="275" y="325"/> + <relPosition x="0" y="10"/> + <connection refLocalId="8"> + <position x="275" y="335"/> + <position x="210" y="335"/> + <relPosition x="25" y="10"/> + <variable>OUT_AND</variable> + <rightPowerRail localId="10" height="40" width="3"> + <position x="350" y="315"/> + <relPosition x="0" y="20"/> + <connection refLocalId="9"> + <position x="350" y="335"/> + <position x="300" y="335"/> + <leftPowerRail localId="11" height="80" width="3"> + <position x="40" y="415"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="60"/> + <contact localId="12" height="20" width="25"> + <position x="100" y="425"/> + <relPosition x="0" y="10"/> + <connection refLocalId="11"> + <position x="100" y="435"/> + <position x="43" y="435"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="13" height="20" width="25" negated="true"> + <position x="100" y="465"/> + <relPosition x="0" y="10"/> + <connection refLocalId="11"> + <position x="100" y="475"/> + <position x="43" y="475"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="14" height="20" width="25" negated="true"> + <position x="190" y="425"/> + <relPosition x="0" y="10"/> + <connection refLocalId="12"> + <position x="190" y="435"/> + <position x="125" y="435"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <contact localId="15" height="20" width="25"> + <position x="190" y="465"/> + <relPosition x="0" y="10"/> + <connection refLocalId="13"> + <position x="190" y="475"/> + <position x="125" y="475"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <coil localId="16" height="20" width="30"> + <position x="295" y="425"/> + <relPosition x="0" y="10"/> + <connection refLocalId="14"> + <position x="295" y="435"/> + <position x="215" y="435"/> + <connection refLocalId="15"> + <position x="295" y="435"/> + <position x="270" y="435"/> + <position x="270" y="475"/> + <position x="215" y="475"/> + <relPosition x="30" y="10"/> + <variable>OUT_XOR</variable> + <rightPowerRail localId="17" height="40" width="3"> + <position x="350" y="415"/> + <relPosition x="0" y="20"/> + <connection refLocalId="16"> + <position x="350" y="435"/> + <position x="325" y="435"/> + <leftPowerRail localId="18" height="80" width="3"> + <position x="40" y="550"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="60"/> + <contact localId="19" height="20" width="25"> + <position x="100" y="560"/> + <relPosition x="0" y="10"/> + <connection refLocalId="18"> + <position x="100" y="570"/> + <position x="43" y="570"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="21" height="20" width="25"> + <position x="100" y="600"/> + <relPosition x="0" y="10"/> + <connection refLocalId="18"> + <position x="100" y="610"/> + <position x="43" y="610"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <block localId="22" width="60" height="100" typeName="SR" instanceName="SR1"> + <position x="170" y="530"/> + <variable formalParameter="S1"> + <relPosition x="0" y="40"/> + <connection refLocalId="19"> + <position x="170" y="570"/> + <position x="125" y="570"/> + <variable formalParameter="R"> + <relPosition x="0" y="80"/> + <connection refLocalId="21"> + <position x="170" y="610"/> + <position x="125" y="610"/> + <variable formalParameter="Q1"> + <relPosition x="60" y="40"/> + <coil localId="24" height="20" width="25"> + <position x="295" y="560"/> + <relPosition x="0" y="10"/> + <connection refLocalId="22" formalParameter="Q1"> + <position x="295" y="570"/> + <position x="230" y="570"/> + <relPosition x="25" y="10"/> + <variable>OUT_SR</variable> + <rightPowerRail localId="25" height="40" width="3"> + <position x="350" y="550"/> + <relPosition x="0" y="20"/> + <connection refLocalId="24"> + <position x="350" y="570"/> + <position x="320" y="570"/> + <comment localId="26" height="85" width="385"> + <position x="25" y="35"/> +<![CDATA[A LD function block that embeds some FB and check basic LD]]> + <pou name="Test_SFC" pouType="functionBlock"> + <derived name="MYTYPE"/> + <derived name="MYTYPE"/> + <variable name="UPPER1"> + <variable name="UPPER2"> + <derived name="MYTYPE"/> + <derived name="MYTYPE"/> + <variable name="TEST_ENUM"> + <derived name="MYTYPE2"/> + <variable name="TEST_ARRAY"> + <derived name="MYTYPE3"/> +TEST_ARRAY[0,0] := TEST_ARRAY[0,1] + 50; + <transition name="REACH_UPPER1"> +<![CDATA[:= OUT1 >= UPPER1;]]> + <transition name="REACH_UPPER2"> +<![CDATA[:= OUT2 >= UPPER2;]]> + <step localId="1" height="31" width="55" name="Start" initialStep="true"> + <position x="125" y="170"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="31"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <step localId="4" height="30" width="55" name="Step3"> + <position x="440" y="370"/> + <relPosition x="25" y="0"/> + <connection refLocalId="22"> + <position x="465" y="370"/> + <position x="465" y="348"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="30"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <jumpStep localId="5" height="13" width="20" targetName="Start"> + <position x="205" y="630"/> + <relPosition x="10" y="0"/> + <connection refLocalId="12"> + <position x="215" y="630"/> + <position x="215" y="601"/> + <transition localId="8" height="2" width="20"> + <position x="560" y="565"/> + <relPosition x="10" y="0"/> + <connection refLocalId="25"> + <position x="570" y="565"/> + <position x="570" y="523"/> + <relPosition x="10" y="2"/> + <actionBlock localId="9" height="30" width="84"> + <position x="325" y="375"/> + <relPosition x="0" y="15"/> + <connection refLocalId="13"> + <position x="325" y="390"/> + <position x="300" y="390"/> + <reference name="COUNT1"/> + <actionBlock localId="10" height="30" width="105"> + <position x="520" y="370"/> + <relPosition x="0" y="15"/> + <connection refLocalId="4"> + <position x="520" y="385"/> + <position x="495" y="385"/> + <reference name="COUNT1"/> + <selectionDivergence localId="11" height="1" width="530"> + <position x="45" y="230"/> + <relPosition x="105" y="0"/> + <connection refLocalId="1"> + <position x="150" y="230"/> + <position x="150" y="201"/> + <connectionPointOut formalParameter=""> + <relPosition x="0" y="1"/> + <connectionPointOut formalParameter=""> + <relPosition x="225" y="1"/> + <connectionPointOut formalParameter=""> + <relPosition x="530" y="1"/> + <selectionConvergence localId="12" height="1" width="525"> + <position x="45" y="600"/> + <relPosition x="0" y="0"/> + <connection refLocalId="38"> + <position x="45" y="600"/> + <position x="45" y="472"/> + <relPosition x="225" y="0"/> + <connection refLocalId="15"> + <position x="270" y="600"/> + <position x="270" y="472"/> + <relPosition x="525" y="0"/> + <connection refLocalId="8"> + <position x="570" y="600"/> + <position x="570" y="567"/> + <relPosition x="170" y="1"/> + </selectionConvergence> + <step localId="13" height="30" width="55" name="Step1"> + <position x="245" y="375"/> + <relPosition x="25" y="0"/> + <connection refLocalId="44"> + <position x="270" y="375"/> + <position x="270" y="280"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="30"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <transition localId="15" height="2" width="20"> + <position x="260" y="470"/> + <relPosition x="10" y="0"/> + <connection refLocalId="13"> + <position x="270" y="470"/> + <position x="270" y="405"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER1"/> + <simultaneousDivergence localId="22" height="3" width="210"> + <position x="465" y="345"/> + <relPosition x="110" y="0"/> + <connection refLocalId="45"> + <position x="575" y="345"/> + <position x="575" y="280"/> + <connectionPointOut formalParameter=""> + <relPosition x="0" y="3"/> + <connectionPointOut formalParameter=""> + <relPosition x="210" y="3"/> + </simultaneousDivergence> + <transition localId="23" height="2" width="20"> + <position x="455" y="430"/> + <relPosition x="10" y="0"/> + <connection refLocalId="4"> + <position x="465" y="430"/> + <position x="465" y="400"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER1"/> + <step localId="24" height="27" width="55" name="WAIT1"> + <position x="440" y="465"/> + <relPosition x="25" y="0"/> + <connection refLocalId="23"> + <position x="465" y="465"/> + <position x="465" y="432"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="27"/> + <simultaneousConvergence localId="25" height="3" width="210"> + <position x="465" y="520"/> + <relPosition x="0" y="0"/> + <connection refLocalId="24"> + <position x="465" y="520"/> + <position x="465" y="492"/> + <relPosition x="210" y="0"/> + <connection refLocalId="29"> + <position x="675" y="520"/> + <position x="675" y="492"/> + <relPosition x="105" y="3"/> + </simultaneousConvergence> + <step localId="26" height="30" width="55" name="Step4"> + <position x="650" y="370"/> + <relPosition x="25" y="0"/> + <connection refLocalId="22"> + <position x="675" y="370"/> + <position x="675" y="348"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="30"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <transition localId="28" height="2" width="20"> + <position x="665" y="430"/> + <relPosition x="10" y="0"/> + <connection refLocalId="26"> + <position x="675" y="430"/> + <position x="675" y="400"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER2"/> + <step localId="29" height="27" width="55" name="WAIT2"> + <position x="650" y="465"/> + <relPosition x="25" y="0"/> + <connection refLocalId="28"> + <position x="675" y="465"/> + <position x="675" y="432"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="27"/> + <actionBlock localId="31" height="30" width="100"> + <position x="730" y="370"/> + <relPosition x="0" y="15"/> + <connection refLocalId="26"> + <position x="730" y="385"/> + <position x="705" y="385"/> + <reference name="COUNT2"/> + <actionBlock localId="32" height="30" width="235"> + <position x="200" y="170"/> + <relPosition x="0" y="15"/> + <connection refLocalId="1"> + <position x="200" y="185"/> + <position x="180" y="185"/> +<![CDATA[OUT1 := 0;OUT2 := 0;]]> + <transition localId="33" height="2" width="20"> + <position x="35" y="325"/> + <relPosition x="10" y="0"/> + <connection refLocalId="11"> + <position x="45" y="325"/> + <position x="45" y="231"/> + <relPosition x="10" y="2"/> +<![CDATA[CNT2 AND NOT CNT1]]> + <block localId="34" width="80" height="90" typeName="AND"> + <position x="435" y="240"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="35"> + <position x="435" y="275"/> + <position x="410" y="275"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="70"/> + <connection refLocalId="39"> + <position x="435" y="310"/> + <position x="410" y="310"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="35"/> + <inVariable localId="35" height="30" width="50"> + <position x="360" y="260"/> + <relPosition x="50" y="15"/> + <expression>CNT1</expression> + <step localId="36" height="27" width="60" name="Step2"> + <position x="15" y="375"/> + <relPosition x="30" y="0"/> + <connection refLocalId="33"> + <position x="45" y="375"/> + <position x="45" y="327"/> + <connectionPointOut formalParameter=""> + <relPosition x="30" y="27"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="60" y="15"/> + </connectionPointOutAction> + <actionBlock localId="37" height="30" width="84"> + <position x="100" y="375"/> + <relPosition x="0" y="15"/> + <connection refLocalId="36"> + <position x="100" y="390"/> + <position x="75" y="390"/> + <reference name="COUNT2"/> + <transition localId="38" height="2" width="20"> + <position x="35" y="470"/> + <relPosition x="10" y="0"/> + <connection refLocalId="36"> + <position x="45" y="470"/> + <position x="45" y="402"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER2"/> + <inVariable localId="39" height="30" width="50"> + <position x="360" y="295"/> + <relPosition x="50" y="15"/> + <expression>CNT2</expression> + <leftPowerRail localId="40" height="40" width="3"> + <position x="70" y="255"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <contact localId="41" height="20" width="25"> + <position x="110" y="265"/> + <relPosition x="0" y="10"/> + <connection refLocalId="40"> + <position x="110" y="275"/> + <position x="73" y="275"/> + <relPosition x="25" y="10"/> + <variable>CNT1</variable> + <contact localId="42" height="20" width="25" negated="true"> + <position x="190" y="265"/> + <relPosition x="0" y="10"/> + <connection refLocalId="41"> + <position x="190" y="275"/> + <position x="135" y="275"/> + <relPosition x="25" y="10"/> + <variable>CNT2</variable> + <transition localId="44" height="10" width="20"> + <position x="260" y="270"/> + <relPosition x="10" y="0"/> + <connection refLocalId="11"> + <position x="270" y="270"/> + <position x="270" y="231"/> + <relPosition x="10" y="10"/> + <connection refLocalId="42"> + <position x="260" y="275"/> + <position x="215" y="275"/> + <transition localId="45" height="10" width="20"> + <position x="565" y="270"/> + <relPosition x="10" y="0"/> + <connection refLocalId="11"> + <position x="575" y="270"/> + <position x="575" y="231"/> + <relPosition x="10" y="10"/> + <connection refLocalId="34" formalParameter="OUT"> + <position x="565" y="275"/> + <position x="515" y="275"/> + <comment localId="46" height="120" width="785"> + <position x="15" y="25"/> +<![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions. +It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]> + <configuration name="STD_CONF"> + <resource name="STD_RESSOURCE"> + <task name="STD_TASK" interval="00:00:00.100000" priority="0"> + <pouInstance name="MAIN_INSTANCE" type="MAIN_TEST"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/.cvsignore Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/beremiz.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BeremizRoot URI_location="LOCAL://"> + <Win32 CFLAGS="" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/canopen@canfestival/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="canopen" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/canopen@canfestival/master@CanOpenNode/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="master" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/canopen@canfestival/master@CanOpenNode/eds/slave.eds Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,169 @@
+ModificationTime=09:10AM +ModificationDate=10-27-2008 +ProductNumber=0x00000000 +RevisionNumber=0x00000000 +DynamicChannelsSupported=0 +ParameterName=Device Type +ParameterName=Error Register +ParameterName=Number of Entries +ParameterName=Product Code +ParameterName=Revision Number +ParameterName=Serial Number +ParameterName=Server SDO Parameter +ParameterName=Number of Entries +ParameterName=COB ID Client to Server (Receive SDO) +DefaultValue=$NODEID+0x600 +ParameterName=COB ID Server to Client (Transmit SDO) +DefaultValue=$NODEID+0x580 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/canopen@canfestival/master@CanOpenNode/master.od Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,224 @@
+<!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> +<PyObject module="node" class="Node" id="36848268"> +<attr name="Profile" type="dict" id="36846692" > +<attr name="Description" type="string" value="" /> +<attr name="Dictionary" type="dict" id="36846420" > + <key type="numeric" value="4096" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4097" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4120" /> + <val type="list" id="35690412" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> +<attr name="SpecificMenu" type="list" id="35704492" > +<attr name="ParamsDictionary" type="dict" id="36846012" > +<attr name="UserMapping" type="dict" id="36845740" > +<attr name="DS302" type="dict" id="36399412" > + <key type="numeric" value="7968" /> + <val type="dict" id="36400636" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="35715692" > + <item type="dict" id="36847100" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="36845876" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF for node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7969" /> + <val type="dict" id="36846284" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="36389676" > + <item type="dict" id="36847372" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="36851892" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="2" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7970" /> + <val type="dict" id="36852028" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="36389708" > + <item type="dict" id="36846828" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="36852300" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> +<attr name="ProfileName" type="string" value="None" /> +<attr name="Type" type="string" value="master" /> +<attr name="ID" type="numeric" value="0" /> +<attr name="Name" type="string" value="MasterNode" /> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/canopen@canfestival/master@CanOpenNode/nodelist.cpj Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,7 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/canopen@canfestival/master@CanOpenNode/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalNode CAN_Device="127.0.0.1" CAN_Baudrate="125K" NodeId="1"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/canopen@canfestival/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalInstance CAN_Driver="can_tcp_win32"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_master/plc.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://www.plcopen.org/xml/tc6.xsd" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd"> + <fileHeader companyName="lolitech" + creationDateTime="2008-06-24T18:44:00"/> + <contentHeader name="test_slave" + modificationDateTime="2008-10-27T09:47:24" + <pou name="test_main" pouType="program"> + <variable name="PLC_OUT" address="%QW0.0.3.8193.0"> + <variable name="PLC_IN" address="%IW0.0.3.8192.0"> + <outVariable localId="1" height="29" width="80"> + <position x="362" y="140"/> + <relPosition x="0" y="14"/> + <connection refLocalId="4" formalParameter="OUT"> + <position x="362" y="154"/> + <position x="330" y="154"/> + <position x="330" y="153"/> + <position x="299" y="153"/> + <expression>PLC_OUT</expression> + <inVariable localId="2" height="29" width="20"> + <position x="100" y="115"/> + <relPosition x="20" y="14"/> + <expression>1</expression> + <block localId="4" width="75" height="60" typeName="ADD"> + <position x="224" y="123"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="2"> + <position x="224" y="153"/> + <position x="183" y="153"/> + <position x="183" y="129"/> + <position x="120" y="129"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="5"> + <position x="224" y="173"/> + <position x="199" y="173"/> + <position x="199" y="201"/> + <position x="174" y="201"/> + <variable formalParameter="OUT"> + <relPosition x="75" y="30"/> + <inVariable localId="5" height="29" width="70"> + <position x="104" y="187"/> + <relPosition x="70" y="14"/> + <expression>PLC_IN</expression> + <configuration name="conf"> + <task name="tache" interval="00:00:00.050000" priority="0"> + <pouInstance name="toto" type="test_main"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/.cvsignore Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/beremiz.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BeremizRoot URI_location="LOCAL://"> + <Win32 CFLAGS="" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/canopen@canfestival/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="canopen" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/canopen@canfestival/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalInstance CAN_Driver="can_tcp_win32"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/canopen@canfestival/slave@CanOpenSlave/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="slave" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/canopen@canfestival/slave@CanOpenSlave/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalSlaveNode CAN_Device="127.0.0.1" CAN_Baudrate="125K" NodeId="3" Sync_Align="100"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/canopen@canfestival/slave@CanOpenSlave/slave.eds Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,169 @@
+ModificationTime=09:10AM +ModificationDate=10-27-2008 +ProductNumber=0x00000000 +RevisionNumber=0x00000000 +DynamicChannelsSupported=0 +ParameterName=Device Type +ParameterName=Error Register +ParameterName=Number of Entries +ParameterName=Product Code +ParameterName=Revision Number +ParameterName=Serial Number +ParameterName=Server SDO Parameter +ParameterName=Number of Entries +ParameterName=COB ID Client to Server (Receive SDO) +DefaultValue=$NODEID+0x600 +ParameterName=COB ID Server to Client (Transmit SDO) +DefaultValue=$NODEID+0x580 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/canopen@canfestival/slave@CanOpenSlave/slave.od Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,317 @@
+<!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> +<PyObject module="node" class="Node" id="157806348"> +<attr name="Profile" type="dict" id="157588716" > +<attr name="Description" type="string" value="" /> +<attr name="Dictionary" type="dict" id="157588580" > + <key type="numeric" value="4096" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4097" /> + <val type="numeric" value="0" /> + <key type="numeric" value="5122" /> + <val type="list" id="160478380" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5123" /> + <val type="list" id="158303244" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="8192" /> + <val type="numeric" value="0" /> + <key type="numeric" value="8193" /> + <val type="numeric" value="0" /> + <key type="numeric" value="5634" /> + <val type="list" id="158305356" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5635" /> + <val type="list" id="158305388" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6146" /> + <val type="list" id="158305420" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6658" /> + <val type="list" id="158305932" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6147" /> + <val type="list" id="158305516" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="4608" /> + <val type="list" id="158305068" > + <item type="string" value=""$NODEID+0x600"" /> + <item type="string" value=""$NODEID+0x580"" /> + <key type="numeric" value="4120" /> + <val type="list" id="158304940" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5120" /> + <val type="list" id="158051500" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6659" /> + <val type="list" id="158052300" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5632" /> + <val type="list" id="158049740" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5121" /> + <val type="list" id="158048716" > + <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6144" /> + <val type="list" id="158048428" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="5633" /> + <val type="list" id="158052172" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6656" /> + <val type="list" id="158052204" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6145" /> + <val type="list" id="158052108" > + <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <key type="numeric" value="6657" /> + <val type="list" id="158048588" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> +<attr name="SpecificMenu" type="list" id="158048396" > +<attr name="ParamsDictionary" type="dict" id="157588308" > +<attr name="UserMapping" type="dict" id="157588852" > + <key type="numeric" value="8192" /> + <val type="dict" id="157602516" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="158052332" > + <item type="dict" id="157586676" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="True" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="3" /> + <key type="string" value="name" /> + <val type="string">OutVar</val> + <key type="string" value="name" /> + <val type="string">OutVar</val> + <key type="string" value="struct" /> + <val type="numeric" value="1" /> + <key type="numeric" value="8193" /> + <val type="dict" id="157535468" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="158305004" > + <item type="dict" id="158343620" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="True" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="3" /> + <key type="string" value="name" /> + <val type="string">InVar</val> + <key type="string" value="name" /> + <val type="string">InVar</val> + <key type="string" value="struct" /> + <val type="numeric" value="1" /> +<attr name="DS302" type="dict" id="158328188" > +<attr name="ProfileName" type="string" value="None" /> +<attr name="Type" type="string" value="slave" /> +<attr name="ID" type="numeric" value="0" /> +<attr name="Name" type="string" value="SlaveNode" /> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/methods.py Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,55 @@
+self.logger.write_error("Welcome to the Beremiz Demo\n\n") +self.logger.write("This demo provides a PLC working with the CANopen plugin\n") +self.logger.write("""Some external programs are also provided:\n +- a CAN TCP server to simulate the CANopen network +- a virtual slave node to simulate input block +- a virtual slave node to simulate output block +self.logger.write("\nInfo: For this demo, %s plugin has some special methods to run external programs.\nThese methods are defined in methods.py\n" % (PlugName or "Root")) +#open_pdf(os.path.join(os.path.split(__file__)[0], "doc", "manual_beremiz.pdf"), pagenum=21) +if wx.Platform == '__WXMSW__': + self.listLaunchProg = [ + {'name' : 'Can Tcp Server', + 'command' : 'can_tcp_win32_server.exe', + # External programs list + # Launch them and get their pid + for prog in self.listLaunchProg: + self.logger.write("Starting %s\n" % prog['name']) + prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui']) + keyword = prog['keyword'], + # External programs list + # Launch them and get their pid + for prog in self.listLaunchProg: + self.logger.write("Starting %s\n" % prog['name']) + prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui']) + keyword = prog['keyword'], + PluginsRoot._Debug(self) + PluginsRoot._Stop(self) + for prog in self.listLaunchProg: + self.logger.write("Stopping %s\n" % prog['name']) + return _Run, _Stop, _Debug +self._Run, self._Stop, self._Debug = my_methods(self) --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_slave/plc.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://www.plcopen.org/xml/tc6.xsd" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd"> + <fileHeader companyName="lolitech" + creationDateTime="2008-06-24T18:44:00"/> + <contentHeader name="test_slave" + modificationDateTime="2008-10-27T09:42:54" + <pou name="test_main" pouType="program"> + <variable name="outvar" address="%QW0.0.8192.0"> + <variable name="invar" address="%IW0.0.8193.0"> + <outVariable localId="1" height="29" width="80"> + <position x="362" y="140"/> + <relPosition x="0" y="14"/> + <connection refLocalId="4" formalParameter="OUT"> + <position x="362" y="154"/> + <position x="330" y="154"/> + <position x="330" y="153"/> + <position x="299" y="153"/> + <expression>outvar</expression> + <inVariable localId="2" height="29" width="20"> + <position x="100" y="115"/> + <relPosition x="20" y="14"/> + <expression>1</expression> + <block localId="4" width="75" height="60" typeName="ADD"> + <position x="224" y="123"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="2"> + <position x="224" y="153"/> + <position x="183" y="153"/> + <position x="183" y="129"/> + <position x="120" y="129"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="5"> + <position x="224" y="173"/> + <position x="187" y="173"/> + <position x="187" y="187"/> + <position x="150" y="187"/> + <variable formalParameter="OUT"> + <relPosition x="75" y="30"/> + <inVariable localId="5" height="29" width="60"> + <position x="90" y="173"/> + <relPosition x="60" y="14"/> + <expression>invar</expression> + <configuration name="conf"> + <task name="tache" interval="00:00:00.010000" priority="0"> + <pouInstance name="toto" type="test_main"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/.cvsignore Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1 @@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/Master@CanOpenNode/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="Master" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/Master@CanOpenNode/eds/DS401_Slave_Gui.eds Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1142 @@
+FileName=DS401_Slave_Gui.eds +ModificationTime=05:58PM +ModificationDate=10-02-2007 +ProductNumber=0x00100000 +RevisionNumber=0x00010001 +DynamicChannelsSupported=0 +ParameterName=Device Type +ParameterName=Error Register +ParameterName=Number of Entries +ParameterName=Product Code +ParameterName=Revision Number +ParameterName=Manufacturer Status Register +ParameterName=SYNC COB ID +ParameterName=Manufacturer Device Name +ParameterName=Manufacturer Hardware Version +ParameterName=Manufacturer Software Version +ParameterName=Guard Time +ParameterName=Life Time Factor +ParameterName=Store parameters +ParameterName=Number of Entries +ParameterName=Save All Parameters +ParameterName=Restore Default Parameters +ParameterName=Number of Entries +ParameterName=Restore All Default Parameters +ParameterName=Consumer Heartbeat Time +ParameterName=Number of Entries +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Producer Heartbeat Time +ParameterName=Verify Configuration +ParameterName=Number of Entries +ParameterName=Configuration Date +ParameterName=Configuration Time +ParameterName=Server SDO Parameter +ParameterName=Number of Entries +ParameterName=COB ID Client to Server (Receive SDO) +DefaultValue=$NODEID+0x600 +ParameterName=COB ID Server to Client (Transmit SDO) +DefaultValue=$NODEID+0x580 +ParameterName=Receive PDO 1 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x200 +ParameterName=Transmission Type +ParameterName=Receive PDO 2 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x300 +ParameterName=Transmission Type +ParameterName=Receive PDO 1 Mapping +ParameterName=Number of Entries +ParameterName=PDO 1 Mapping for an application object 1 +ParameterName=Receive PDO 2 Mapping +ParameterName=Number of Entries +ParameterName=PDO 2 Mapping for an application object 1 +ParameterName=PDO 2 Mapping for an application object 2 +ParameterName=PDO 2 Mapping for an application object 3 +ParameterName=PDO 2 Mapping for an application object 4 +ParameterName=Transmit PDO 1 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x180 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO 2 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x280 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO 3 Parameter +ParameterName=Highest SubIndex Supported +ParameterName=COB ID used by PDO +DefaultValue=$NODEID+0x380 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO 1 Mapping +ParameterName=Number of Entries +ParameterName=PDO 1 Mapping for a process data variable 1 +ParameterName=Transmit PDO 2 Mapping +ParameterName=Number of Entries +ParameterName=PDO 2 Mapping for a process data variable 1 +ParameterName=PDO 2 Mapping for a process data variable 2 +ParameterName=PDO 2 Mapping for a process data variable 3 +ParameterName=PDO 2 Mapping for a process data variable 4 +ParameterName=Transmit PDO 3 Mapping +ParameterName=Number of Entries +ParameterName=PDO 3 Mapping for a process data variable 1 +ParameterName=PDO 3 Mapping for a process data variable 2 +ParameterName=PDO 3 Mapping for a process data variable 3 +ParameterName=PDO 3 Mapping for a process data variable 4 +ParameterName=Read Inputs 8 Bit +ParameterName=Number of Input 8 bit +ParameterName=Read Inputs 0x1 to 0x8 +ParameterName=Polarity Input 8 Bit +ParameterName=Number of Input 8 bit +ParameterName=Polarity Input 0x1 to 0x8 +ParameterName=Write Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Write Outputs 0x1 to 0x8 +ParameterName=Change Polarity Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Change Polarity Outputs 0x1 to 0x8 +ParameterName=Error Mode Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Error Mode Outputs 0x1 to 0x8 +ParameterName=Error Value Outputs 8 Bit +ParameterName=Number of Output 8 Bit +ParameterName=Error Value Outputs 0x1 to 0x8 +ParameterName=Read Analogue Input 16 Bit +ParameterName=Number of Analogue Input 16 Bit +ParameterName=Analogue Input 1 +ParameterName=Analogue Input 2 +ParameterName=Analogue Input 3 +ParameterName=Analogue Input 4 +ParameterName=Analogue Input 5 +ParameterName=Analogue Input 6 +ParameterName=Analogue Input 7 +ParameterName=Analogue Input 8 +ParameterName=Write Analogue Output 16 Bit +ParameterName=Number of Analogue Input 16 Bit +ParameterName=Analogue Output 1 +ParameterName=Analogue Output 2 +ParameterName=Analogue Output 3 +ParameterName=Analogue Output 4 +ParameterName=Analogue Input Global Interrupt Enable +ParameterName=Analogue Input Interrupt Delta Unsigned +ParameterName=Number of Analogue Inputs +ParameterName=Analogue Input 1 +ParameterName=Analogue Input 2 +ParameterName=Analogue Input 3 +ParameterName=Analogue Input 4 +ParameterName=Analogue Input 5 +ParameterName=Analogue Input 6 +ParameterName=Analogue Input 7 +ParameterName=Analogue Input 8 +ParameterName=Analogue Output Error Mode +ParameterName=Number of Analogue Outputs +ParameterName=Error Mode Analogue Output 1 +ParameterName=Error Mode Analogue Output 2 +ParameterName=Error Mode Analogue Output 3 +ParameterName=Error Mode Analogue Output 4 +ParameterName=Analogue Output Error Value Integer +ParameterName=Number of Analogue Outputs +ParameterName=Analogue Output 1 +ParameterName=Analogue Output 2 +ParameterName=Analogue Output 3 +ParameterName=Analogue Output 4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/Master@CanOpenNode/eds/PEAK MicroMod.eds Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,1289 @@
+Description=PEAK MicroMod CANopenIA Generic +ModificationTime=05:05PM +ModificationDate=03-23-2005 +FileName=C:\CANopenCT\Tests\PEAK MicroMod.eds +VendorName=PEAK System Technik +ProductName=PEAK MicroMod CANopenIA Generic +ProductNumber=0x00100000 +RevisionNumber=0x00010001 +DynamicChannelsSupported=0 +ParameterName=Device Type +ParameterName=Error Register +ParameterName=Identity Object +ParameterName=number of entries +ParameterName=Product Code +ParameterName=Revision number +ParameterName=PEAK Status Register +ParameterName=COB-ID SYNC +ParameterName=Manufacturer Device Name +ParameterName=Manufacturer Hardware Version +ParameterName=Manufacturer Software Version +ParameterName=Guard Time +ParameterName=Life Time Factor +ParameterName=Store Parameter Field +ParameterName=Number of Entries +ParameterName=Save all Parameters +ParameterName=Restore Default Parameters +ParameterName=Number of Entries +ParameterName=Restore all Default Parameters +ParameterName=Consumer Heartbeat Time +ParameterName=Number of Entries +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Consumer Heartbeat Time +ParameterName=Producer Heartbeat Time +ParameterName=Verify Configuration +ParameterName=Number of entries +ParameterName=Configuration date +ParameterName=Configuration time +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x200 +ParameterName=Transmission Type +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x300 +ParameterName=Transmission Type +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x80000400 +ParameterName=Transmission Type +ParameterName=Receive PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x80000500 +ParameterName=Transmission Type +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=Receive PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x180 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x280 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x380 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Communication Parameter +ParameterName=Number of Entries +DefaultValue=$NODEID+0x80000480 +ParameterName=Transmission Type +ParameterName=Inhibit Time +ParameterName=Event Timer +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=PDO Mapping Entry +ParameterName=Transmit PDO Mapping Parameter +ParameterName=Number of Entries +ParameterName=Download Program Data +ParameterName=Number of elements +ParameterName=Download Program Data - HW Settings +ParameterName=Read Digital Input 8-bit +ParameterName=Number of Elements +ParameterName=DigInput8_1 +ParameterName=Polarity Digital Input +ParameterName=Number of Elements +ParameterName=Polarity8_1 +ParameterName=Write Digital Output 8-bit +ParameterName=Number of elements +ParameterName=DigOutput8_1 +ParameterName=Polarity Digital Output +ParameterName=Number of Elements +ParameterName=Polarity8_1 +ParameterName=Error Mode Digital Output +ParameterName=Number of elements +ParameterName=Error Mode 1 +ParameterName=Error Value Digital Output +ParameterName=Number of elements +ParameterName=Error Value 1 +ParameterName=Read Analog Input 16-bit +ParameterName=Number of elements +ParameterName=AnalogInput16_1 +ParameterName=AnalogInput16_2 +ParameterName=AnalogInput16_3 +ParameterName=AnalogInput16_4 +ParameterName=AnalogInput16_5 +ParameterName=AnalogInput16_6 +ParameterName=AnalogInput16_7 +ParameterName=AnalogInput16_8 +ParameterName=Write Analog Output 16-bit +ParameterName=Number of elements +ParameterName=AnalogOutput16_1 +ParameterName=AnalogOutput16_2 +ParameterName=AnalogOutput16_3 +ParameterName=AnalogOutput16_4 +ParameterName=Analog Input Global Interrupt +ParameterName=Analog Input Interrupt Delta +ParameterName=NrOfObjects +ParameterName=Analog Input Delta 1 +ParameterName=Analog Input Delta 2 +ParameterName=Analog Input Delta 3 +ParameterName=Analog Input Delta 4 +ParameterName=Analog Input Delta 5 +ParameterName=Analog Input Delta 6 +ParameterName=Analog Input Delta 7 +ParameterName=Analog Input Delta 8 +ParameterName=Error Mode Analog Output +ParameterName=Number of elements +ParameterName=Error Mode 1 +ParameterName=Error Mode 2 +ParameterName=Error Mode 3 +ParameterName=Error Mode 4 +ParameterName=Error Value Analog Output +ParameterName=Number of elements +ParameterName=Error Value 1 +ParameterName=Error Value 2 +ParameterName=Error Value 3 +ParameterName=Error Value 4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/Master@CanOpenNode/master.od Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,224 @@
+<!DOCTYPE PyObject SYSTEM "PyObjects.dtd"> +<PyObject module="node" class="Node" id="40886828"> +<attr name="Profile" type="dict" id="40892588" > +<attr name="Description" type="string" value="" /> +<attr name="Dictionary" type="dict" id="40892316" > + <key type="numeric" value="4096" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4097" /> + <val type="numeric" value="0" /> + <key type="numeric" value="4120" /> + <val type="list" id="40887148" > + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> + <item type="numeric" value="0" /> +<attr name="SpecificMenu" type="list" id="40886892" > +<attr name="ParamsDictionary" type="dict" id="40891908" > +<attr name="UserMapping" type="dict" id="40891636" > +<attr name="DS302" type="dict" id="37803660" > + <key type="numeric" value="7968" /> + <val type="dict" id="39181548" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="40887244" > + <item type="dict" id="40892996" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="40891772" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF for node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Store DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7969" /> + <val type="dict" id="40892180" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="40887404" > + <item type="dict" id="40893268" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="40893540" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="2" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Storage Format" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> + <key type="numeric" value="7970" /> + <val type="dict" id="40893676" > + <key type="string" value="need" /> + <val type="False" value="" /> + <key type="string" value="values" /> + <val type="list" id="40887436" > + <item type="dict" id="40892724" > + <key type="string" value="access" /> + <val type="string" value="ro" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="5" /> + <key type="string" value="name" /> + <val type="string" value="Number of Entries" /> + <item type="dict" id="40893948" > + <key type="string" value="access" /> + <val type="string" value="rw" /> + <key type="string" value="pdo" /> + <val type="False" value="" /> + <key type="string" value="type" /> + <val type="numeric" value="15" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF for Node %d[(sub)]" /> + <key type="string" value="nbmax" /> + <val type="numeric" value="127" /> + <key type="string" value="name" /> + <val type="string" value="Concise DCF" /> + <key type="string" value="struct" /> + <val type="numeric" value="7" /> +<attr name="ProfileName" type="string" value="None" /> +<attr name="Type" type="string" value="master" /> +<attr name="ID" type="numeric" value="0" /> +<attr name="Name" type="string" value="MasterNode" /> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/Master@CanOpenNode/nodelist.cpj Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,10 @@
+Node16Name=DS401_Slave_GUI +Node16DCFName=DS401_Slave_Gui.eds +Node32DCFName=DS401_Slave_Gui.eds --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/Master@CanOpenNode/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalNode CAN_Device="127.0.0.1" CAN_Baudrate="125K" NodeId="1"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="CANopen" IEC_Channel="0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/CANopen@canfestival/plugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<CanFestivalInstance CAN_Driver="can_tcp_win32"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/beremiz.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BeremizRoot URI_location="LOCAL://"> + <Win32 CFLAGS="" Linker="g++" LDFLAGS=""/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/methods.py Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,79 @@
+self.logger.write_error("Welcome to the Beremiz Demo\n\n") +self.logger.write("This demo provides a PLC working with the CANopen plugin\n") +self.logger.write("""Some external programs are also provided:\n +- a CAN TCP server to simulate the CANopen network +- a virtual slave node to simulate input block +- a virtual slave node to simulate output block +self.logger.write("\nInfo: For this demo, %s plugin has some special methods to run external programs.\nThese methods are defined in methods.py\n" % (PlugName or "Root")) +#open_pdf(os.path.join(os.path.split(__file__)[0], "doc", "manual_beremiz.pdf"), pagenum=21) +if wx.Platform == '__WXMSW__': + self.listLaunchProg = [ + {'name' : 'Can Tcp Server', + 'command' : 'can_tcp_win32_server.exe', + {'name' : 'DS401 Slave Gui NodeId 32', + 'command' : 'DS401_Slave_Gui.exe -sI -l can_tcp_win32.dll -b 127.0.0.1 -i 20 -B 125K', + {'name' : 'DS401 Slave Gui NodeId 16', + 'command' : 'DS401_Slave_Gui.exe -sO -l can_tcp_win32.dll -b 127.0.0.1 -i 10 -B 125K', + self.listLaunchProg = [ + {'name' : 'DS401 Slave Gui NodeId 32', + 'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sI -l ../CanFestival-3/drivers/can_socket/libcanfestival_can_socket.so -b vcan0 -i 20 -B 125K', + {'name' : 'DS401 Slave Gui NodeId 16', + 'command' : '../CanFestival-3/examples/DS401_Slave_Gui/DS401_Slave_Gui -sO -l ../CanFestival-3/drivers/can_socket/libcanfestival_can_socket.so -b vcan0 -i 10 -B 125K', + # External programs list + # Launch them and get their pid + for prog in self.listLaunchProg: + self.logger.write("Starting %s\n" % prog['name']) + prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui']) + keyword = prog['keyword'], + # External programs list + # Launch them and get their pid + for prog in self.listLaunchProg: + self.logger.write("Starting %s\n" % prog['name']) + prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui']) + keyword = prog['keyword'], + PluginsRoot._Debug(self) + PluginsRoot._Stop(self) + for prog in self.listLaunchProg: + self.logger.write("Stopping %s\n" % prog['name']) + return _Run, _Stop, _Debug +self._Run, self._Stop, self._Debug = my_methods(self) --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/plc.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2702 @@
+<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://www.plcopen.org/xml/tc6.xsd" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd http://www.plcopen.org/xml/tc6.xsd"> + <fileHeader companyName="LOLITECH" + companyURL="www.lolitech.com" + creationDateTime="2007-07-07 11:58:26" + contentDescription="This tests as most as possible IEC standard library"/> + <contentHeader name="STD_TEST" + modificationDateTime="2008-08-28 10:09:01"> + <dataType name="MYTYPE"> + <range lower="0" upper="1000"/> + <dataType name="MYTYPE2"> + <simpleValue value="CLOSED"/> + <dataType name="MYTYPE3"> + <dimension lower="0" upper="7"/> + <dimension lower="1" upper="8"/> + <derived name="MYTYPE5"/> + <value repetitionValue="32"> + <simpleValue value="0"/> + <value repetitionValue="30"> + <simpleValue value="1"/> + <dataType name="MYTYPE4"> + <range lower="1" upper="100"/> + <dataType name="MYTYPE5"> + <derived name="MYTYPE4"/> + <simpleValue value="10"/> + <pou name="MAIN_TEST" pouType="program"> + <variable name="DigitalOut" address="%QB0.0.16.25088.1"> + <variable name="DigitalIn" address="%IB0.0.32.24576.1"> + <variable name="AnalogOut1" address="%QW0.0.16.25617.1"> + <derived name="MYTYPE"/> + <variable name="AnalogOut2" address="%QW0.0.16.25617.2"> + <derived name="MYTYPE"/> + <variable name="AnalogOut3" address="%QW0.0.16.25617.3"> + <variable name="AnalogIn1" address="%IW0.0.32.25601.1"> + <variable name="AnalogIn2" address="%IW0.0.32.25601.2"> + <derived name="Bitwise_Block"/> + <variable name="Test2"> + <derived name="Test_SFC"/> + <variable name="latch"> + <variable name="test1"> + <derived name="Button"/> + <variable name="test2"> + <derived name="Button"/> + <derived name="Button"/> + <derived name="Button"/> + <derived name="Button"/> + <derived name="Button"/> + <variable name="counter1"> + <derived name="RotatingCtrl"/> + <variable name="counter2"> + <derived name="RotatingCtrl"/> + <comment localId="26" height="80" width="475"> + <position x="25" y="5"/> +<![CDATA[Main program]]> + <inVariable localId="40" height="30" width="100"> + <position x="25" y="155"/> + <relPosition x="100" y="15"/> + <expression>DigitalOut</expression> + <block localId="52" width="127" height="141" typeName="Bitwise_Block" instanceName="Test"> + <position x="410" y="535"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="105" formalParameter="State"> + <position x="410" y="570"/> + <position x="240" y="570"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="65"/> + <connection refLocalId="106" formalParameter="State"> + <position x="410" y="600"/> + <position x="350" y="600"/> + <position x="350" y="710"/> + <position x="240" y="710"/> + <variable formalParameter="OUT_AND"> + <relPosition x="127" y="35"/> + <variable formalParameter="OUT_OR"> + <relPosition x="127" y="65"/> + <variable formalParameter="OUT_XOR"> + <relPosition x="127" y="95"/> + <variable formalParameter="OUT_SR"> + <relPosition x="127" y="125"/> + <inVariable localId="59" height="30" width="100"> + <position x="45" y="910"/> + <relPosition x="100" y="15"/> + <expression>AnalogOut1</expression> + <outVariable localId="60" height="30" width="100"> + <position x="910" y="840"/> + <relPosition x="0" y="15"/> + <connection refLocalId="69" formalParameter="OUT1"> + <position x="910" y="855"/> + <position x="610" y="855"/> + <expression>AnalogOut1</expression> + <inVariable localId="64" height="30" width="95"> + <position x="45" y="980"/> + <relPosition x="95" y="15"/> + <expression>AnalogIn1</expression> + <block localId="69" width="160" height="230" typeName="Test_SFC" instanceName="Test2"> + <position x="450" y="820"/> + <variable formalParameter="CNT1"> + <relPosition x="0" y="35"/> + <connection refLocalId="105" formalParameter="State"> + <position x="450" y="855"/> + <position x="380" y="855"/> + <position x="380" y="570"/> + <position x="240" y="570"/> + <variable formalParameter="CNT2"> + <relPosition x="0" y="70"/> + <connection refLocalId="106" formalParameter="State"> + <position x="450" y="890"/> + <position x="350" y="890"/> + <position x="350" y="710"/> + <position x="240" y="710"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="105"/> + <connection refLocalId="59"> + <position x="450" y="925"/> + <position x="145" y="925"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="140"/> + <connection refLocalId="71"> + <position x="450" y="960"/> + <position x="145" y="960"/> + <variable formalParameter="UPPER1"> + <relPosition x="0" y="175"/> + <connection refLocalId="64"> + <position x="450" y="995"/> + <position x="140" y="995"/> + <variable formalParameter="UPPER2"> + <relPosition x="0" y="210"/> + <connection refLocalId="72"> + <position x="450" y="1030"/> + <position x="140" y="1030"/> + <variable formalParameter="OUT1"> + <relPosition x="160" y="35"/> + <variable formalParameter="OUT2"> + <relPosition x="160" y="70"/> + <outVariable localId="70" height="30" width="100"> + <position x="910" y="875"/> + <relPosition x="0" y="15"/> + <connection refLocalId="69" formalParameter="OUT2"> + <position x="910" y="890"/> + <position x="610" y="890"/> + <expression>AnalogOut2</expression> + <inVariable localId="71" height="30" width="100"> + <position x="45" y="945"/> + <relPosition x="100" y="15"/> + <expression>AnalogOut2</expression> + <inVariable localId="72" height="35" width="95"> + <position x="45" y="1015"/> + <relPosition x="95" y="15"/> + <expression>AnalogIn2</expression> + <block localId="73" width="120" height="80" typeName="SETBIT"> + <position x="745" y="140"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="40"> + <position x="745" y="170"/> + <position x="125" y="170"/> + <variable formalParameter="INPUT_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="77" formalParameter="Q"> + <position x="745" y="190"/> + <position x="526" y="190"/> + <position x="526" y="220"/> + <position x="507" y="220"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="70"/> + <connection refLocalId="74"> + <position x="745" y="210"/> + <position x="540" y="210"/> + <position x="540" y="295"/> + <position x="95" y="295"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <inVariable localId="74" height="30" width="65"> + <position x="30" y="280"/> + <relPosition x="65" y="15"/> + <expression>UINT#7</expression> + <block localId="75" width="120" height="60" typeName="GETBIT"> + <position x="170" y="190"/> + <variable formalParameter="INPUT_BYTE"> + <relPosition x="0" y="30"/> + <connection refLocalId="40"> + <position x="170" y="220"/> + <position x="150" y="220"/> + <position x="150" y="170"/> + <position x="125" y="170"/> + <variable formalParameter="NUM_BIT"> + <relPosition x="0" y="50"/> + <connection refLocalId="74"> + <position x="170" y="240"/> + <position x="151" y="240"/> + <position x="151" y="295"/> + <position x="95" y="295"/> + <variable formalParameter=""> + <relPosition x="120" y="30"/> + <outVariable localId="76" height="30" width="100"> + <position x="910" y="155"/> + <relPosition x="0" y="15"/> + <connection refLocalId="73"> + <position x="910" y="170"/> + <position x="865" y="170"/> + <expression>DigitalOut</expression> + <block localId="77" width="57" height="60" typeName="TP" instanceName="t1"> + <position x="450" y="190"/> + <variable formalParameter="IN" negated="true"> + <relPosition x="0" y="30"/> + <connection refLocalId="85" formalParameter="Q"> + <position x="450" y="220"/> + <position x="400" y="220"/> + <variable formalParameter="PT"> + <relPosition x="0" y="50"/> + <connection refLocalId="80"> + <position x="450" y="240"/> + <position x="420" y="240"/> + <position x="420" y="270"/> + <position x="220" y="270"/> + <variable formalParameter="Q"> + <relPosition x="57" y="30"/> + <variable formalParameter="ET"> + <relPosition x="57" y="50"/> + <inVariable localId="80" height="27" width="50"> + <position x="170" y="255"/> + <relPosition x="50" y="15"/> + <expression>T#1s</expression> + <block localId="85" width="60" height="60" typeName="TOF" instanceName="t2"> + <position x="340" y="190"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="75"> + <position x="340" y="220"/> + <position x="290" y="220"/> + <variable formalParameter="PT"> + <relPosition x="0" y="50"/> + <connection refLocalId="80"> + <position x="340" y="240"/> + <position x="296" y="240"/> + <position x="296" y="270"/> + <position x="220" y="270"/> + <variable formalParameter="Q"> + <relPosition x="60" y="30"/> + <variable formalParameter="ET"> + <relPosition x="60" y="50"/> + <outVariable localId="86" height="30" width="100"> + <position x="910" y="330"/> + <relPosition x="0" y="15"/> + <connection refLocalId="90" formalParameter="OUT"> + <position x="910" y="345"/> + <position x="865" y="345"/> + <expression>AnalogOut3</expression> + <block localId="87" width="120" height="40" typeName="TIME_TO_REAL"> + <position x="455" y="315"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="77" formalParameter="ET"> + <position x="455" y="345"/> + <position x="445" y="345"/> + <position x="445" y="275"/> + <position x="517" y="275"/> + <position x="517" y="240"/> + <position x="507" y="240"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <block localId="88" width="80" height="60" typeName="MUL"> + <position x="630" y="315"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="87" formalParameter="OUT"> + <position x="630" y="345"/> + <position x="575" y="345"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="89"> + <position x="630" y="365"/> + <position x="607" y="365"/> + <position x="607" y="400"/> + <position x="585" y="400"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="30"/> + <inVariable localId="89" height="35" width="120"> + <position x="465" y="385"/> + <relPosition x="120" y="15"/> + <expression>REAL#10000.0</expression> + <block localId="90" width="120" height="40" typeName="REAL_TO_INT"> + <position x="745" y="315"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="88" formalParameter="OUT"> + <position x="745" y="345"/> + <position x="710" y="345"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <comment localId="100" height="40" width="400"> + <position x="25" y="100"/> +<![CDATA[A simple blinking output (2s period)]]> + <comment localId="102" height="40" width="430"> + <position x="580" y="255"/> +<![CDATA[Output value of TP block as analog output #3]]> + <comment localId="103" height="65" width="420"> + <position x="25" y="425"/> +<![CDATA[Map input and output of bitwise_block test to bits of DigitalIn and Digital out]]> + <comment localId="104" height="85" width="285"> + <position x="40" y="805"/> +<![CDATA[Map AnalogIN #1 #2 and AnalogOUT #1 #2 to SFC test interface]]> + <block localId="105" width="150" height="100" typeName="Button" instanceName="test1"> + <position x="90" y="535"/> + <variable formalParameter="Show"> + <relPosition x="0" y="35"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="60"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="85"/> + <variable formalParameter="State"> + <relPosition x="150" y="35"/> + <block localId="106" width="150" height="100" typeName="Button" instanceName="test2"> + <position x="90" y="675"/> + <variable formalParameter="Show"> + <relPosition x="0" y="35"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="60"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="85"/> + <variable formalParameter="State"> + <relPosition x="150" y="35"/> + <block localId="107" width="150" height="90" typeName="Button" instanceName="LED1"> + <position x="675" y="405"/> + <variable formalParameter="Show"> + <relPosition x="0" y="30"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="55"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="75"/> + <connection refLocalId="52" formalParameter="OUT_AND"> + <position x="675" y="480"/> + <position x="650" y="480"/> + <position x="650" y="570"/> + <position x="537" y="570"/> + <variable formalParameter="State"> + <relPosition x="150" y="30"/> + <block localId="108" width="150" height="90" typeName="Button" instanceName="LED2"> + <position x="675" y="525"/> + <variable formalParameter="Show"> + <relPosition x="0" y="30"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="55"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="75"/> + <connection refLocalId="52" formalParameter="OUT_OR"> + <position x="675" y="600"/> + <position x="537" y="600"/> + <variable formalParameter="State"> + <relPosition x="150" y="30"/> + <block localId="109" width="150" height="85" typeName="Button" instanceName="LED3"> + <position x="675" y="640"/> + <variable formalParameter="Show"> + <relPosition x="0" y="30"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="50"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="70"/> + <connection refLocalId="52" formalParameter="OUT_XOR"> + <position x="675" y="710"/> + <position x="650" y="710"/> + <position x="650" y="630"/> + <position x="537" y="630"/> + <variable formalParameter="State"> + <relPosition x="150" y="30"/> + <block localId="110" width="150" height="85" typeName="Button" instanceName="LED4"> + <position x="675" y="750"/> + <variable formalParameter="Show"> + <relPosition x="0" y="30"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="50"/> + <variable formalParameter="Toggle"> + <relPosition x="0" y="70"/> + <connection refLocalId="52" formalParameter="OUT_SR"> + <position x="675" y="820"/> + <position x="630" y="820"/> + <position x="630" y="660"/> + <position x="537" y="660"/> + <variable formalParameter="State"> + <relPosition x="150" y="30"/> + <block localId="111" width="150" height="105" typeName="RotatingCtrl" instanceName="counter1"> + <position x="1195" y="880"/> + <variable formalParameter="Show"> + <relPosition x="0" y="35"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="60"/> + <variable formalParameter="SetAngle"> + <relPosition x="0" y="90"/> + <connection refLocalId="113" formalParameter="OUT"> + <position x="1195" y="970"/> + <position x="1130" y="970"/> + <variable formalParameter="Angle"> + <relPosition x="150" y="35"/> + <block localId="112" width="120" height="45" typeName="INT_TO_REAL"> + <position x="680" y="940"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="69" formalParameter="OUT1"> + <position x="680" y="970"/> + <position x="645" y="970"/> + <position x="645" y="855"/> + <position x="610" y="855"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <block localId="113" width="100" height="85" typeName="MUL"> + <position x="1030" y="935"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="114" formalParameter="OUT"> + <position x="1030" y="970"/> + <position x="960" y="970"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="70"/> + <connection refLocalId="116"> + <position x="1030" y="1005"/> + <position x="1002" y="1005"/> + <position x="1002" y="1045"/> + <position x="975" y="1045"/> + <variable formalParameter="OUT"> + <relPosition x="100" y="35"/> + <block localId="114" width="95" height="80" typeName="DIV"> + <position x="865" y="935"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="112" formalParameter="OUT"> + <position x="865" y="970"/> + <position x="800" y="970"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="65"/> + <connection refLocalId="115"> + <position x="865" y="1000"/> + <position x="830" y="1000"/> + <position x="830" y="1025"/> + <position x="795" y="1025"/> + <variable formalParameter="OUT"> + <relPosition x="95" y="35"/> + <inVariable localId="115" height="25" width="110"> + <position x="685" y="1015"/> + <relPosition x="110" y="10"/> + <expression>REAL#400.0</expression> + <inVariable localId="116" height="25" width="120"> + <position x="855" y="1035"/> + <relPosition x="120" y="10"/> + <expression>REAL#-180.0</expression> + <block localId="117" width="100" height="85" typeName="MUL"> + <position x="1035" y="1080"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="118" formalParameter="OUT"> + <position x="1035" y="1115"/> + <position x="965" y="1115"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="70"/> + <connection refLocalId="119"> + <position x="1035" y="1150"/> + <position x="1007" y="1150"/> + <position x="1007" y="1190"/> + <position x="980" y="1190"/> + <variable formalParameter="OUT"> + <relPosition x="100" y="35"/> + <block localId="118" width="95" height="80" typeName="DIV"> + <position x="870" y="1080"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="121" formalParameter="OUT"> + <position x="870" y="1115"/> + <position x="805" y="1115"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="65"/> + <connection refLocalId="120"> + <position x="870" y="1145"/> + <position x="835" y="1145"/> + <position x="835" y="1170"/> + <position x="800" y="1170"/> + <variable formalParameter="OUT"> + <relPosition x="95" y="35"/> + <inVariable localId="119" height="25" width="120"> + <position x="860" y="1180"/> + <relPosition x="120" y="10"/> + <expression>REAL#-180.0</expression> + <inVariable localId="120" height="25" width="110"> + <position x="690" y="1160"/> + <relPosition x="110" y="10"/> + <expression>REAL#400.0</expression> + <block localId="121" width="120" height="45" typeName="INT_TO_REAL"> + <position x="685" y="1085"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="69" formalParameter="OUT2"> + <position x="685" y="1115"/> + <position x="630" y="1115"/> + <position x="630" y="890"/> + <position x="610" y="890"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <block localId="122" width="150" height="105" typeName="RotatingCtrl" instanceName="counter2"> + <position x="1195" y="1025"/> + <variable formalParameter="Show"> + <relPosition x="0" y="35"/> + <variable formalParameter="Enable"> + <relPosition x="0" y="60"/> + <variable formalParameter="SetAngle"> + <relPosition x="0" y="90"/> + <connection refLocalId="117" formalParameter="OUT"> + <position x="1195" y="1115"/> + <position x="1135" y="1115"/> + <variable formalParameter="Angle"> + <relPosition x="150" y="35"/> + <pou name="GETBIT" pouType="function"> + <variable name="INPUT_BYTE"> + <variable name="NUM_BIT"> + <block localId="1" width="70" height="60" typeName="SHR"> + <position x="175" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="2"> + <position x="175" y="140"/> + <position x="135" y="140"/> + <variable formalParameter="N"> + <relPosition x="0" y="50"/> + <connection refLocalId="3"> + <position x="175" y="160"/> + <position x="140" y="160"/> + <position x="140" y="180"/> + <position x="105" y="180"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <inVariable localId="2" height="30" width="105"> + <position x="30" y="125"/> + <relPosition x="105" y="15"/> + <expression>INPUT_BYTE</expression> + <inVariable localId="3" height="30" width="75"> + <position x="30" y="165"/> + <relPosition x="75" y="15"/> + <expression>NUM_BIT</expression> + <outVariable localId="4" height="30" width="65"> + <position x="555" y="125"/> + <relPosition x="0" y="15"/> + <connection refLocalId="7" formalParameter="OUT"> + <position x="555" y="140"/> + <position x="525" y="140"/> + <expression>GETBIT</expression> + <block localId="5" width="85" height="60" typeName="AND"> + <position x="275" y="110"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="1" formalParameter="OUT"> + <position x="275" y="140"/> + <position x="245" y="140"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="6"> + <position x="275" y="160"/> + <position x="255" y="160"/> + <position x="255" y="195"/> + <position x="240" y="195"/> + <variable formalParameter="OUT"> + <relPosition x="85" y="30"/> + <inVariable localId="6" height="30" width="65"> + <position x="175" y="180"/> + <relPosition x="65" y="15"/> + <expression>BYTE#1</expression> + <block localId="7" width="120" height="40" typeName="BYTE_TO_BOOL"> + <position x="405" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="5" formalParameter="OUT"> + <position x="405" y="140"/> + <position x="360" y="140"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <comment localId="8" height="70" width="545"> + <position x="30" y="20"/> +<![CDATA[Function that return NUM_BIT'th bit value of INPUT_BYTE]]> + <pou name="SETBIT" pouType="function"> + <variable name="INPUT_BYTE"> + <variable name="INPUT_BIT"> + <variable name="NUM_BIT"> + <inVariable localId="1" height="30" width="100"> + <position x="40" y="255"/> + <relPosition x="100" y="15"/> + <expression>INPUT_BYTE</expression> + <inVariable localId="2" height="30" width="95"> + <position x="40" y="125"/> + <relPosition x="95" y="15"/> + <expression>INPUT_BIT</expression> + <block localId="3" width="120" height="45" typeName="BOOL_TO_BYTE"> + <position x="165" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="2"> + <position x="165" y="140"/> + <position x="135" y="140"/> + <variable formalParameter="OUT"> + <relPosition x="120" y="30"/> + <block localId="4" width="70" height="60" typeName="SHL"> + <position x="335" y="110"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="3" formalParameter="OUT"> + <position x="335" y="140"/> + <position x="285" y="140"/> + <variable formalParameter="N"> + <relPosition x="0" y="50"/> + <connection refLocalId="5"> + <position x="335" y="160"/> + <position x="130" y="160"/> + <position x="130" y="230"/> + <position x="115" y="230"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <inVariable localId="5" height="30" width="75"> + <position x="40" y="215"/> + <relPosition x="75" y="15"/> + <expression>NUM_BIT</expression> + <block localId="7" width="70" height="60" typeName="SHL"> + <position x="235" y="180"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="8"> + <position x="235" y="210"/> + <position x="215" y="210"/> + <position x="220" y="210"/> + <position x="220" y="210"/> + <position x="220" y="210"/> + <position x="210" y="210"/> + <variable formalParameter="N"> + <relPosition x="0" y="50"/> + <connection refLocalId="5"> + <position x="235" y="230"/> + <position x="115" y="230"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <inVariable localId="8" height="30" width="65"> + <position x="145" y="195"/> + <relPosition x="65" y="15"/> + <expression>BYTE#1</expression> + <block localId="9" width="70" height="40" typeName="NOT"> + <position x="335" y="180"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="7" formalParameter="OUT"> + <position x="335" y="210"/> + <position x="305" y="210"/> + <variable formalParameter="OUT"> + <relPosition x="70" y="30"/> + <block localId="10" width="80" height="60" typeName="AND"> + <position x="440" y="180"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="9" formalParameter="OUT"> + <position x="440" y="210"/> + <position x="405" y="210"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="1"> + <position x="440" y="230"/> + <position x="320" y="230"/> + <position x="320" y="270"/> + <position x="140" y="270"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="30"/> + <block localId="11" width="80" height="60" typeName="OR"> + <position x="565" y="110"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="4" formalParameter="OUT"> + <position x="565" y="140"/> + <position x="405" y="140"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="10" formalParameter="OUT"> + <position x="565" y="160"/> + <position x="545" y="160"/> + <position x="545" y="210"/> + <position x="520" y="210"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="30"/> + <outVariable localId="12" height="30" width="70"> + <position x="695" y="125"/> + <relPosition x="0" y="15"/> + <connection refLocalId="11" formalParameter="OUT"> + <position x="695" y="140"/> + <position x="645" y="140"/> + <expression>SETBIT</expression> + <comment localId="13" height="75" width="435"> + <position x="35" y="15"/> +<![CDATA[Function that return INPUT_BYTE with NUM_BIT'th bit set to INPUT_BIT value]]> + <pou name="Bitwise_Block" pouType="functionBlock"> + <variable name="OUT_AND"> + <variable name="OUT_OR"> + <variable name="OUT_XOR"> + <variable name="OUT_SR"> + <leftPowerRail localId="1" height="80" width="3"> + <position x="40" y="180"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="55"/> + <contact localId="2" height="15" width="25"> + <position x="90" y="190"/> + <relPosition x="0" y="10"/> + <connection refLocalId="1"> + <position x="90" y="200"/> + <position x="43" y="200"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="3" height="20" width="25"> + <position x="90" y="225"/> + <relPosition x="0" y="10"/> + <connection refLocalId="1"> + <position x="90" y="235"/> + <position x="43" y="235"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <coil localId="4" height="20" width="25"> + <position x="225" y="190"/> + <relPosition x="0" y="10"/> + <connection refLocalId="2"> + <position x="225" y="200"/> + <position x="115" y="200"/> + <connection refLocalId="3"> + <position x="225" y="200"/> + <position x="189" y="200"/> + <position x="189" y="235"/> + <position x="115" y="235"/> + <relPosition x="25" y="10"/> + <variable>OUT_OR</variable> + <rightPowerRail localId="5" height="40" width="3"> + <position x="350" y="180"/> + <relPosition x="0" y="20"/> + <connection refLocalId="4"> + <position x="350" y="200"/> + <position x="250" y="200"/> + <leftPowerRail localId="6" height="40" width="3"> + <position x="40" y="315"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <contact localId="7" height="20" width="25"> + <position x="100" y="325"/> + <relPosition x="0" y="10"/> + <connection refLocalId="6"> + <position x="100" y="335"/> + <position x="43" y="335"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="8" height="20" width="25"> + <position x="185" y="325"/> + <relPosition x="0" y="10"/> + <connection refLocalId="7"> + <position x="185" y="335"/> + <position x="125" y="335"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <coil localId="9" height="20" width="25"> + <position x="275" y="325"/> + <relPosition x="0" y="10"/> + <connection refLocalId="8"> + <position x="275" y="335"/> + <position x="210" y="335"/> + <relPosition x="25" y="10"/> + <variable>OUT_AND</variable> + <rightPowerRail localId="10" height="40" width="3"> + <position x="350" y="315"/> + <relPosition x="0" y="20"/> + <connection refLocalId="9"> + <position x="350" y="335"/> + <position x="300" y="335"/> + <leftPowerRail localId="11" height="80" width="3"> + <position x="40" y="415"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="60"/> + <contact localId="12" height="20" width="25"> + <position x="100" y="425"/> + <relPosition x="0" y="10"/> + <connection refLocalId="11"> + <position x="100" y="435"/> + <position x="43" y="435"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="13" height="20" width="25" negated="true"> + <position x="100" y="465"/> + <relPosition x="0" y="10"/> + <connection refLocalId="11"> + <position x="100" y="475"/> + <position x="43" y="475"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="14" height="20" width="25" negated="true"> + <position x="190" y="425"/> + <relPosition x="0" y="10"/> + <connection refLocalId="12"> + <position x="190" y="435"/> + <position x="125" y="435"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <contact localId="15" height="20" width="25"> + <position x="190" y="465"/> + <relPosition x="0" y="10"/> + <connection refLocalId="13"> + <position x="190" y="475"/> + <position x="125" y="475"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <coil localId="16" height="20" width="30"> + <position x="295" y="425"/> + <relPosition x="0" y="10"/> + <connection refLocalId="14"> + <position x="295" y="435"/> + <position x="215" y="435"/> + <connection refLocalId="15"> + <position x="295" y="435"/> + <position x="270" y="435"/> + <position x="270" y="475"/> + <position x="215" y="475"/> + <relPosition x="30" y="10"/> + <variable>OUT_XOR</variable> + <rightPowerRail localId="17" height="40" width="3"> + <position x="350" y="415"/> + <relPosition x="0" y="20"/> + <connection refLocalId="16"> + <position x="350" y="435"/> + <position x="325" y="435"/> + <leftPowerRail localId="18" height="80" width="3"> + <position x="40" y="550"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="60"/> + <contact localId="19" height="20" width="25"> + <position x="100" y="560"/> + <relPosition x="0" y="10"/> + <connection refLocalId="18"> + <position x="100" y="570"/> + <position x="43" y="570"/> + <relPosition x="25" y="10"/> + <variable>IN1</variable> + <contact localId="21" height="20" width="25"> + <position x="100" y="600"/> + <relPosition x="0" y="10"/> + <connection refLocalId="18"> + <position x="100" y="610"/> + <position x="43" y="610"/> + <relPosition x="25" y="10"/> + <variable>IN2</variable> + <block localId="22" width="60" height="100" typeName="SR" instanceName="SR1"> + <position x="170" y="530"/> + <variable formalParameter="S1"> + <relPosition x="0" y="40"/> + <connection refLocalId="19"> + <position x="170" y="570"/> + <position x="125" y="570"/> + <variable formalParameter="R"> + <relPosition x="0" y="80"/> + <connection refLocalId="21"> + <position x="170" y="610"/> + <position x="125" y="610"/> + <variable formalParameter="Q1"> + <relPosition x="60" y="40"/> + <coil localId="24" height="20" width="25"> + <position x="295" y="560"/> + <relPosition x="0" y="10"/> + <connection refLocalId="22" formalParameter="Q1"> + <position x="295" y="570"/> + <position x="230" y="570"/> + <relPosition x="25" y="10"/> + <variable>OUT_SR</variable> + <rightPowerRail localId="25" height="40" width="3"> + <position x="350" y="550"/> + <relPosition x="0" y="20"/> + <connection refLocalId="24"> + <position x="350" y="570"/> + <position x="320" y="570"/> + <comment localId="26" height="85" width="385"> + <position x="25" y="35"/> +<![CDATA[A LD function block that embeds some FB and check basic LD]]> + <pou name="Test_SFC" pouType="functionBlock"> + <derived name="MYTYPE"/> + <derived name="MYTYPE"/> + <variable name="UPPER1"> + <variable name="UPPER2"> + <derived name="MYTYPE"/> + <derived name="MYTYPE"/> + <variable name="TEST_ENUM"> + <derived name="MYTYPE2"/> + <variable name="TEST_ARRAY"> + <derived name="MYTYPE3"/> +<![CDATA[OUT1 := IN1 + 1; +<![CDATA[OUT2 := IN2 + 1; +TEST_ARRAY[0,1] := TEST_ARRAY[0,2] + 50; + <transition name="REACH_UPPER1"> +<![CDATA[:= OUT1 >= UPPER1;]]> + <transition name="REACH_UPPER2"> +<![CDATA[:= OUT2 >= UPPER2;]]> + <step localId="1" height="31" width="55" name="Start" initialStep="true"> + <position x="125" y="170"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="31"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <step localId="4" height="30" width="55" name="Step3"> + <position x="440" y="370"/> + <relPosition x="25" y="0"/> + <connection refLocalId="22"> + <position x="465" y="370"/> + <position x="465" y="348"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="30"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <jumpStep localId="5" height="13" width="20" targetName="Start"> + <position x="205" y="755"/> + <relPosition x="10" y="0"/> + <connection refLocalId="56"> + <position x="215" y="755"/> + <position x="215" y="715"/> + <transition localId="8" height="2" width="20"> + <position x="560" y="565"/> + <relPosition x="10" y="0"/> + <connection refLocalId="25"> + <position x="570" y="565"/> + <position x="570" y="523"/> + <relPosition x="10" y="2"/> + <actionBlock localId="9" height="30" width="90"> + <position x="325" y="375"/> + <relPosition x="0" y="15"/> + <connection refLocalId="13"> + <position x="325" y="390"/> + <position x="300" y="390"/> + <reference name="COUNT1"/> + <actionBlock localId="10" height="30" width="90"> + <position x="520" y="370"/> + <relPosition x="0" y="15"/> + <connection refLocalId="4"> + <position x="520" y="385"/> + <position x="495" y="385"/> + <reference name="COUNT1"/> + <selectionDivergence localId="11" height="1" width="530"> + <position x="45" y="230"/> + <relPosition x="105" y="0"/> + <connection refLocalId="1"> + <position x="150" y="230"/> + <position x="150" y="201"/> + <connectionPointOut formalParameter=""> + <relPosition x="0" y="1"/> + <connectionPointOut formalParameter=""> + <relPosition x="225" y="1"/> + <connectionPointOut formalParameter=""> + <relPosition x="530" y="1"/> + <selectionConvergence localId="12" height="1" width="525"> + <position x="45" y="600"/> + <relPosition x="0" y="0"/> + <connection refLocalId="38"> + <position x="45" y="600"/> + <position x="45" y="472"/> + <relPosition x="225" y="0"/> + <connection refLocalId="15"> + <position x="270" y="600"/> + <position x="270" y="472"/> + <relPosition x="525" y="0"/> + <connection refLocalId="8"> + <position x="570" y="600"/> + <position x="570" y="567"/> + <relPosition x="170" y="1"/> + </selectionConvergence> + <step localId="13" height="30" width="55" name="Step1"> + <position x="245" y="375"/> + <relPosition x="25" y="0"/> + <connection refLocalId="44"> + <position x="270" y="375"/> + <position x="270" y="280"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="30"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <transition localId="15" height="2" width="20"> + <position x="260" y="470"/> + <relPosition x="10" y="0"/> + <connection refLocalId="13"> + <position x="270" y="470"/> + <position x="270" y="405"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER1"/> + <simultaneousDivergence localId="22" height="3" width="210"> + <position x="465" y="345"/> + <relPosition x="110" y="0"/> + <connection refLocalId="45"> + <position x="575" y="345"/> + <position x="575" y="280"/> + <connectionPointOut formalParameter=""> + <relPosition x="0" y="3"/> + <connectionPointOut formalParameter=""> + <relPosition x="210" y="3"/> + </simultaneousDivergence> + <transition localId="23" height="2" width="20"> + <position x="455" y="430"/> + <relPosition x="10" y="0"/> + <connection refLocalId="4"> + <position x="465" y="430"/> + <position x="465" y="400"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER1"/> + <step localId="24" height="27" width="55" name="WAIT1"> + <position x="440" y="465"/> + <relPosition x="25" y="0"/> + <connection refLocalId="23"> + <position x="465" y="465"/> + <position x="465" y="432"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="27"/> + <simultaneousConvergence localId="25" height="3" width="210"> + <position x="465" y="520"/> + <relPosition x="0" y="0"/> + <connection refLocalId="24"> + <position x="465" y="520"/> + <position x="465" y="492"/> + <relPosition x="210" y="0"/> + <connection refLocalId="29"> + <position x="675" y="520"/> + <position x="675" y="492"/> + <relPosition x="105" y="3"/> + </simultaneousConvergence> + <step localId="26" height="30" width="55" name="Step4"> + <position x="650" y="370"/> + <relPosition x="25" y="0"/> + <connection refLocalId="22"> + <position x="675" y="370"/> + <position x="675" y="348"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="30"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="55" y="15"/> + </connectionPointOutAction> + <transition localId="28" height="2" width="20"> + <position x="665" y="430"/> + <relPosition x="10" y="0"/> + <connection refLocalId="26"> + <position x="675" y="430"/> + <position x="675" y="400"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER2"/> + <step localId="29" height="27" width="55" name="WAIT2"> + <position x="650" y="465"/> + <relPosition x="25" y="0"/> + <connection refLocalId="28"> + <position x="675" y="465"/> + <position x="675" y="432"/> + <connectionPointOut formalParameter=""> + <relPosition x="25" y="27"/> + <actionBlock localId="31" height="30" width="90"> + <position x="730" y="370"/> + <relPosition x="0" y="15"/> + <connection refLocalId="26"> + <position x="730" y="385"/> + <position x="705" y="385"/> + <reference name="COUNT2"/> + <actionBlock localId="32" height="30" width="350"> + <position x="200" y="170"/> + <relPosition x="0" y="15"/> + <connection refLocalId="1"> + <position x="200" y="185"/> + <position x="180" y="185"/> +<![CDATA[OUT1 := 0;OUT2 := 0;GO := FALSE;]]> + <transition localId="33" height="2" width="20"> + <position x="35" y="325"/> + <relPosition x="10" y="0"/> + <connection refLocalId="11"> + <position x="45" y="325"/> + <position x="45" y="231"/> + <relPosition x="10" y="2"/> +<![CDATA[CNT2 AND NOT CNT1]]> + <block localId="34" width="80" height="90" typeName="AND"> + <position x="435" y="240"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="35"> + <position x="435" y="275"/> + <position x="410" y="275"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="70"/> + <connection refLocalId="39"> + <position x="435" y="310"/> + <position x="410" y="310"/> + <variable formalParameter="OUT"> + <relPosition x="80" y="35"/> + <inVariable localId="35" height="30" width="50"> + <position x="360" y="260"/> + <relPosition x="50" y="15"/> + <expression>CNT1</expression> + <step localId="36" height="27" width="60" name="Step2"> + <position x="15" y="375"/> + <relPosition x="30" y="0"/> + <connection refLocalId="33"> + <position x="45" y="375"/> + <position x="45" y="327"/> + <connectionPointOut formalParameter=""> + <relPosition x="30" y="27"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="60" y="15"/> + </connectionPointOutAction> + <actionBlock localId="37" height="30" width="90"> + <position x="100" y="375"/> + <relPosition x="0" y="15"/> + <connection refLocalId="36"> + <position x="100" y="390"/> + <position x="75" y="390"/> + <reference name="COUNT2"/> + <transition localId="38" height="2" width="20"> + <position x="35" y="470"/> + <relPosition x="10" y="0"/> + <connection refLocalId="36"> + <position x="45" y="470"/> + <position x="45" y="402"/> + <relPosition x="10" y="2"/> + <reference name="REACH_UPPER2"/> + <inVariable localId="39" height="30" width="50"> + <position x="360" y="295"/> + <relPosition x="50" y="15"/> + <expression>CNT2</expression> + <leftPowerRail localId="40" height="40" width="3"> + <position x="70" y="255"/> + <connectionPointOut formalParameter=""> + <relPosition x="3" y="20"/> + <contact localId="41" height="20" width="25"> + <position x="110" y="265"/> + <relPosition x="0" y="10"/> + <connection refLocalId="40"> + <position x="110" y="275"/> + <position x="73" y="275"/> + <relPosition x="25" y="10"/> + <variable>CNT1</variable> + <contact localId="42" height="20" width="25" negated="true"> + <position x="190" y="265"/> + <relPosition x="0" y="10"/> + <connection refLocalId="41"> + <position x="190" y="275"/> + <position x="135" y="275"/> + <relPosition x="25" y="10"/> + <variable>CNT2</variable> + <transition localId="44" height="10" width="20"> + <position x="260" y="270"/> + <relPosition x="10" y="0"/> + <connection refLocalId="11"> + <position x="270" y="270"/> + <position x="270" y="231"/> + <relPosition x="10" y="10"/> + <connection refLocalId="42"> + <position x="260" y="275"/> + <position x="215" y="275"/> + <transition localId="45" height="10" width="20"> + <position x="565" y="270"/> + <relPosition x="10" y="0"/> + <connection refLocalId="11"> + <position x="575" y="270"/> + <position x="575" y="231"/> + <relPosition x="10" y="10"/> + <connection refLocalId="34" formalParameter="OUT"> + <position x="565" y="275"/> + <position x="515" y="275"/> + <comment localId="46" height="120" width="785"> + <position x="15" y="25"/> +<![CDATA[A SFC that make use of different kinds of divergences, and mix LD and FBD and inline transitions. +It is supposed to increment OUT1 and OUT2 according CNT1 and CNT2, and untill UPPER1 and UPPER2 limits are reached.]]> + <step localId="47" height="45" width="75" name="Start2" initialStep="true"> + <position x="1010" y="215"/> + <connectionPointOut formalParameter=""> + <relPosition x="35" y="45"/> + <transition localId="48" height="10" width="20"> + <position x="1035" y="285"/> + <relPosition x="10" y="0"/> + <connection refLocalId="47"> + <position x="1045" y="285"/> + <position x="1045" y="260"/> + <relPosition x="10" y="10"/> + <connection refLocalId="54" formalParameter="OUT"> + <position x="1035" y="290"/> + <position x="1000" y="290"/> + <transition localId="49" height="5" width="20"> + <position x="1035" y="380"/> + <relPosition x="10" y="0"/> + <connection refLocalId="50"> + <position x="1045" y="380"/> + <position x="1045" y="355"/> + <relPosition x="10" y="5"/> + <step localId="50" height="35" width="60" name="WAIT3"> + <position x="1015" y="320"/> + <relPosition x="30" y="0"/> + <connection refLocalId="48"> + <position x="1045" y="320"/> + <position x="1045" y="310"/> + <position x="1045" y="310"/> + <position x="1045" y="295"/> + <connectionPointOut formalParameter=""> + <relPosition x="30" y="35"/> + <jumpStep localId="51" height="15" width="20" targetName="Start2"> + <position x="1035" y="415"/> + <relPosition x="10" y="0"/> + <connection refLocalId="49"> + <position x="1045" y="415"/> + <position x="1045" y="385"/> + <inVariable localId="52" height="30" width="170"> + <position x="700" y="245"/> + <relPosition x="170" y="15"/> + <expression>TEST_ARRAY[0, 1]</expression> + <inVariable localId="53" height="30" width="70"> + <position x="800" y="320"/> + <relPosition x="70" y="15"/> + <expression>UINT#0</expression> + <block localId="54" width="75" height="70" typeName="GT"> + <position x="925" y="260"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="52"> + <position x="925" y="290"/> + <position x="900" y="290"/> + <position x="900" y="260"/> + <position x="870" y="260"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="55"/> + <connection refLocalId="53"> + <position x="925" y="315"/> + <position x="900" y="315"/> + <position x="900" y="335"/> + <position x="870" y="335"/> + <variable formalParameter="OUT"> + <relPosition x="75" y="30"/> + <step localId="55" height="40" width="120" name="TIMED_WAIT"> + <position x="155" y="635"/> + <relPosition x="60" y="0"/> + <connection refLocalId="12"> + <position x="215" y="635"/> + <position x="215" y="601"/> + <connectionPointOut formalParameter=""> + <relPosition x="60" y="40"/> + <connectionPointOutAction formalParameter=""> + <relPosition x="120" y="20"/> + </connectionPointOutAction> + <transition localId="56" height="5" width="20"> + <position x="205" y="710"/> + <relPosition x="10" y="0"/> + <connection refLocalId="55"> + <position x="215" y="710"/> + <position x="215" y="675"/> + <relPosition x="10" y="5"/> + <actionBlock localId="57" height="35" width="170"> + <position x="320" y="640"/> + <relPosition x="0" y="15"/> + <connection refLocalId="55"> + <position x="320" y="655"/> + <position x="275" y="655"/> + <action qualifier="D" duration="T#2s"> + <configuration name="STD_CONF"> + <resource name="STD_RESSOURCE"> + <task name="STD_TASK" interval="00:00:00.100000" priority="0"> + <pouInstance name="MAIN_INSTANCE" type="MAIN_TEST"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/supervisor@svgui/baseplugin.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?> +<BaseParams Name="supervisor" IEC_Channel="1"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/supervisor@svgui/gui.svg Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,834 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://web.resource.org/cc/" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + sodipodi:version="0.32" + inkscape:version="0.45.1" + sodipodi:docbase="/taf/Pim/workspace_laurent/Beremiz/test/supervisor@svgui" + sodipodi:docname="gui.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + id="linearGradient9073"> + style="stop-color:#929292;stop-opacity:1;" + style="stop-color:#ffffff;stop-opacity:1;" + id="linearGradient8094"> + style="stop-color:#464637;stop-opacity:1" + style="stop-color:#467d37;stop-opacity:1;" + id="linearGradient5177"> + style="stop-color:#ffffff;stop-opacity:1;" + style="stop-color:#ffffff;stop-opacity:0;" + id="linearGradient6435"> + style="stop-color:#ffffff;stop-opacity:1;" /> + style="stop-color:#000000;stop-opacity:1;" /> + inkscape:collect="always" + xlink:href="#linearGradient6435" + id="linearGradient6406" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-397.14282,-761.42857)" + maskUnits="userSpaceOnUse" + transform="translate(397.14282,761.42857)" + id="linearGradient8142"> + style="stop-color:#ffffff;stop-opacity:1;" + style="stop-color:#dcdcdc;stop-opacity:1;" + inkscape:collect="always" + xlink:href="#linearGradient8142" + id="linearGradient8148" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7352941,0,0,1.4285714,1228.5128,-4080.0482)" /> + inkscape:collect="always" + xlink:href="#linearGradient8094" + id="radialGradient8100" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2670353,1.6569583e-2,-1.6571845e-2,1.2672083,-6.3869815,-6.6630278)" /> + inkscape:collect="always" + xlink:href="#linearGradient9073" + id="radialGradient9081" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.6730924,6.1221359e-3,-6.9425482e-3,1.8972995,-23.992621,-6.8292465)" /> + inkscape:collect="always" + xlink:href="#linearGradient5177" + id="radialGradient10056" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.4617839,-2.8861501e-2,3.1134805e-2,1.5769227,-19.270392,2.2543889)" + inkscape:collect="always" + xlink:href="#linearGradient9073" + id="radialGradient10074" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.6730924,6.1221359e-3,-6.9425482e-3,1.8972995,-23.992621,-6.8292465)" + inkscape:collect="always" + xlink:href="#linearGradient8094" + id="radialGradient10076" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2670353,1.6569583e-2,-1.6571845e-2,1.2672083,-6.3869815,-6.6630278)" + inkscape:collect="always" + xlink:href="#linearGradient5177" + id="radialGradient10084" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.4617839,-2.8861501e-2,3.1134805e-2,1.5769227,-19.270392,2.2543889)" + inkscape:collect="always" + xlink:href="#linearGradient5177" + id="radialGradient10092" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.4617839,-2.8861501e-2,3.1134805e-2,1.5769227,-19.270392,2.2543889)" + inkscape:collect="always" + xlink:href="#linearGradient5177" + id="radialGradient10100" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.4617839,-2.8861501e-2,3.1134805e-2,1.5769227,-19.270392,2.2543889)" + inkscape:collect="always" + xlink:href="#linearGradient9073" + id="radialGradient10108" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.6730924,6.1221359e-3,-6.9425482e-3,1.8972995,-23.992621,-6.8292465)" + inkscape:collect="always" + xlink:href="#linearGradient8094" + id="radialGradient10110" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2670353,1.6569583e-2,-1.6571845e-2,1.2672083,-6.3869815,-6.6630278)" + inkscape:collect="always" + xlink:href="#linearGradient9073" + id="radialGradient10118" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.6730924,6.1221359e-3,-6.9425482e-3,1.8972995,-23.992621,-6.8292465)" + inkscape:collect="always" + xlink:href="#linearGradient8094" + id="radialGradient10120" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2670353,1.6569583e-2,-1.6571845e-2,1.2672083,-6.3869815,-6.6630278)" + inkscape:collect="always" + xlink:href="#linearGradient9073" + id="radialGradient10128" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.6730924,6.1221359e-3,-6.9425482e-3,1.8972995,-23.992621,-6.8292465)" + inkscape:collect="always" + xlink:href="#linearGradient8094" + id="radialGradient10130" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2670353,1.6569583e-2,-1.6571845e-2,1.2672083,-6.3869815,-6.6630278)" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:cx="70.388142" + inkscape:cy="143.56774" + inkscape:document-units="px" + inkscape:current-layer="layer1" + inkscape:window-width="1272" + inkscape:window-height="937" + inkscape:window-y="0" /> + <dc:format>image/svg+xml</dc:format> + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + inkscape:label="Calque 1" + inkscape:groupmode="layer" + style="display:inline"> + style="fill:url(#linearGradient8148);fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10.43299961;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 0,3.1974423e-14 L 350,3.1974423e-14 L 350,300 L 0,300 L 0,3.1974423e-14 z " + sodipodi:nodetypes="ccccc" + inkscape:export-filename="Y:\LoLiTech\Solutions_Techniques\beremiz\splash.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + style="font-size:11.23303699px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Arial Black" + sodipodi:linespacing="125%"><tspan + y="282.53265">Pre-Alpha Release. Copyright © LOLITECH 2008</tspan></text> + transform="translate(21.642857,18.214286)"> + transform="matrix(1.5916608,0,0,1.5916608,-4.534839,45.738269)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:url(#radialGradient10074);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.25654912;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="translate(18.32595,46.778151)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:url(#radialGradient10076);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="translate(-18.357143,16.214286)"> + transform="translate(58.32595,48.778151)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:#46e837;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="matrix(0.9170232,0,0,0.9170232,61.532035,48.923988)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:url(#radialGradient10056);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="translate(81.642857,18.214286)" + style="opacity:1;color:#000000;fill:url(#radialGradient10108);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.25654912;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="38.638336" + sodipodi:cy="1.7575644" + sodipodi:rx="12.374369" + sodipodi:ry="12.374369" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + transform="matrix(1.5916608,0,0,1.5916608,-4.534839,45.738269)" /> + style="opacity:1;color:#000000;fill:url(#radialGradient10110);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="38.638336" + sodipodi:cy="1.7575644" + sodipodi:rx="12.374369" + sodipodi:ry="12.374369" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + transform="translate(18.32595,46.778151)" /> + transform="translate(41.642857,16.214286)"> + transform="translate(58.32595,48.778151)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:#46e837;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="matrix(0.9170232,0,0,0.9170232,61.532035,48.923988)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:url(#radialGradient10084);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="translate(141.64286,18.214286)" + style="opacity:1;color:#000000;fill:url(#radialGradient10118);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.25654912;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="38.638336" + sodipodi:cy="1.7575644" + sodipodi:rx="12.374369" + sodipodi:ry="12.374369" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + transform="matrix(1.5916608,0,0,1.5916608,-4.534839,45.738269)" /> + style="opacity:1;color:#000000;fill:url(#radialGradient10120);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="38.638336" + sodipodi:cy="1.7575644" + sodipodi:rx="12.374369" + sodipodi:ry="12.374369" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + transform="translate(18.32595,46.778151)" /> + transform="translate(101.64286,16.214286)"> + transform="translate(58.32595,48.778151)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:#46e837;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="matrix(0.9170232,0,0,0.9170232,61.532035,48.923988)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:url(#radialGradient10092);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="translate(201.64286,18.214286)" + style="opacity:1;color:#000000;fill:url(#radialGradient10128);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.25654912;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="38.638336" + sodipodi:cy="1.7575644" + sodipodi:rx="12.374369" + sodipodi:ry="12.374369" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + transform="matrix(1.5916608,0,0,1.5916608,-4.534839,45.738269)" /> + style="opacity:1;color:#000000;fill:url(#radialGradient10130);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="38.638336" + sodipodi:cy="1.7575644" + sodipodi:rx="12.374369" + sodipodi:ry="12.374369" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + transform="translate(18.32595,46.778151)" /> + transform="translate(161.64286,16.214286)"> + transform="translate(58.32595,48.778151)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:#46e837;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="matrix(0.9170232,0,0,0.9170232,61.532035,48.923988)" + d="M 51.012705 1.7575644 A 12.374369 12.374369 0 1 1 26.263968,1.7575644 A 12.374369 12.374369 0 1 1 51.012705 1.7575644 z" + sodipodi:ry="12.374369" + sodipodi:rx="12.374369" + sodipodi:cy="1.7575644" + sodipodi:cx="38.638336" + style="opacity:1;color:#000000;fill:url(#radialGradient10100);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + transform="translate(51.753807,188.92012)"> + style="opacity:1;color:#000000;fill:#d19f34;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + style="font-size:19.83609772px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + sodipodi:role="line">Test 1</tspan></text> + transform="translate(125.52799,188.72465)"> + style="opacity:1;color:#000000;fill:#469837;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + style="font-size:19.83609772px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="59.792866">Test 1</tspan></text> + transform="translate(183.75381,188.92012)"> + style="opacity:1;color:#000000;fill:#d19f34;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + style="font-size:19.83609772px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + xml:space="preserve"><tspan + id="tspan22908">Test 2</tspan></text> + transform="translate(177.52798,188.72465)"> + style="opacity:1;color:#000000;fill:#469837;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + style="font-size:19.83609772px;font-style:normal;font-weight:normal;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="59.923622">Test 2</tspan></text> + style="font-size:16.68435478px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + y="41.062721">AND</tspan></text> + style="font-size:16.68435478px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + y="41.054573">OR</tspan></text> + style="font-size:16.68435478px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + y="41.054573">XOR</tspan></text> + style="font-size:16.68435478px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + y="41.054573">SR</tspan></text> + transform="matrix(0.7823622,0,0,-0.7804636,-14.93274,367.15766)" + sodipodi:end="3.1415927" + d="M 209.99999,218.57143 A 76.785713,76.785713 0 1 1 56.428566,218.57142 L 133.21428,218.57143 z" + sodipodi:ry="76.785713" + sodipodi:rx="76.785713" + sodipodi:cy="218.57143" + sodipodi:cx="133.21428" + style="opacity:1;color:#000000;fill:#d19f34;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.55946827;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + d="M 47.131352,154.48975 L 52.879275,160.22814" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + d="M 89.21358,137.37676 L 89.21358,145.49207" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline" /> + d="M 131.42332,154.60011 L 125.6754,160.3385" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline" /> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="152.96327">100</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="131.48071">200</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="152.66052">300</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="199.39355">400</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="199.64346">0</tspan></text> + transform="matrix(0.7823622,0,0,-0.7804636,146.35389,367.13373)" + sodipodi:end="3.1415927" + d="M 209.99999,218.57143 A 76.785713,76.785713 0 1 1 56.428566,218.57142 L 133.21428,218.57143 z" + sodipodi:ry="76.785713" + sodipodi:rx="76.785713" + sodipodi:cy="218.57143" + sodipodi:cx="133.21428" + style="opacity:1;color:#000000;fill:#d19f34;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.55946827;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + d="M 208.41798,154.46582 L 214.1659,160.20421" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline" /> + d="M 250.50021,137.35283 L 250.50021,145.46814" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline" /> + d="M 292.70994,154.57618 L 286.96202,160.31457" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.99999988;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline" /> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="152.93927">100</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="131.45671">200</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="152.63652">300</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="199.36955">400</tspan></text> + style="font-size:10.49618816px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;display:inline;font-family:Bitstream Vera Sans" + transform="scale(1.0008304,0.9991703)"><tspan + y="199.61946">0</tspan></text> + style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.99999988;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 39.875,192.09375 L 36.09375,194.34375 L 32.46875,196.5 L 36.25,198.78125 L 39.84375,200.9375 L 39.84375,197.53125 L 88.15625,197.53125 L 89.15625,197.53125 L 89.15625,195.53125 L 88.15625,195.53125 L 39.84375,195.53125 L 39.875,192.09375 z " + id="counter1_rotating" /> + style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.99999988;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline" + d="M 201.1377,192.09375 L 197.35645,194.34375 L 193.73145,196.5 L 197.5127,198.78125 L 201.10645,200.9375 L 201.10645,197.53125 L 249.41895,197.53125 L 250.41895,197.53125 L 250.41895,195.53125 L 249.41895,195.53125 L 201.10645,195.53125 L 201.1377,192.09375 z " + id="counter2_rotating" /> + style="opacity:1;color:#000000;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="91.923882" + sodipodi:cy="199.42668" + sodipodi:rx="4.9244938" + sodipodi:ry="4.8613591" + d="M 96.848375 199.42668 A 4.9244938 4.8613591 0 1 1 86.999388,199.42668 A 4.9244938 4.8613591 0 1 1 96.848375 199.42668 z" + transform="matrix(0.5324675,0,0,0.5324675,40.296231,90.33426)" /> + style="opacity:1;color:#000000;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-linecap:square;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" + sodipodi:cx="91.923882" + sodipodi:cy="199.42668" + sodipodi:rx="4.9244938" + sodipodi:ry="4.8613591" + d="M 96.848375 199.42668 A 4.9244938 4.8613591 0 1 1 86.999388,199.42668 A 4.9244938 4.8613591 0 1 1 96.848375 199.42668 z" + transform="matrix(0.5324675,0,0,0.5324675,201.57135,90.271137)" /> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/win32/test_svgui/supervisor@svgui/gui.xml Mon Oct 27 09:35:23 2008 +0100
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="def_xsd.xsd" id="1" name="Interface" background_id="fond"> + <Button toggle="true" selected_id="test1_on" id="2" name="test1" background_id="test1_off"/> + <Button toggle="true" selected_id="test2_on" id="3" name="test2" background_id="test2_off"/> + <Button toggle="true" selected_id="LED1_on" id="4" name="LED1" enable="false" background_id="LED1_off"/> + <Button toggle="true" selected_id="LED2_on" id="5" name="LED2" enable="false" background_id="LED2_off"/> + <Button toggle="true" selected_id="LED3_on" id="6" name="LED3" enable="false" background_id="LED3_off"/> + <Button toggle="true" selected_id="LED4_on" id="7" name="LED4" enable="false" background_id="LED4_off"/> + <RotatingCtrl rotating_id="counter1_rotating" center_id="counter1_center" min_angle="-180" show_center="true" max_angle="0" id="8" name="counter1" enable="false" background_id="counter1_back"/> + <RotatingCtrl rotating_id="counter2_rotating" center_id="counter2_center" min_angle="-180" show_center="true" max_angle="0" id="9" name="counter2" enable="false" background_id="counter2_back"/>