|
1 <?xml version='1.0' encoding='utf-8'?> |
|
2 <project xmlns:ns1="http://www.plcopen.org/xml/tc6_0201" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201"> |
|
3 <fileHeader companyName="Beremiz" productName="Beremiz" productVersion="1" creationDateTime="2015-02-05T11:44:55" contentDescription=" "/> |
|
4 <contentHeader name="WAMPTest" modificationDateTime="2015-02-18T23:59:50"> |
|
5 <coordinateInfo> |
|
6 <fbd> |
|
7 <scaling x="0" y="0"/> |
|
8 </fbd> |
|
9 <ld> |
|
10 <scaling x="0" y="0"/> |
|
11 </ld> |
|
12 <sfc> |
|
13 <scaling x="0" y="0"/> |
|
14 </sfc> |
|
15 </coordinateInfo> |
|
16 </contentHeader> |
|
17 <types> |
|
18 <dataTypes/> |
|
19 <pous> |
|
20 <pou name="program0" pouType="program"> |
|
21 <interface> |
|
22 <localVars> |
|
23 <variable name="LocalVar0"> |
|
24 <type> |
|
25 <DINT/> |
|
26 </type> |
|
27 </variable> |
|
28 </localVars> |
|
29 <externalVars> |
|
30 <variable name="PyVar0"> |
|
31 <type> |
|
32 <DINT/> |
|
33 </type> |
|
34 </variable> |
|
35 <variable name="PyVar1"> |
|
36 <type> |
|
37 <DINT/> |
|
38 </type> |
|
39 </variable> |
|
40 </externalVars> |
|
41 </interface> |
|
42 <body> |
|
43 <FBD> |
|
44 <inVariable localId="1" executionOrderId="0" height="25" width="55" negated="false"> |
|
45 <position x="144" y="70"/> |
|
46 <connectionPointOut> |
|
47 <relPosition x="55" y="12"/> |
|
48 </connectionPointOut> |
|
49 <expression>PyVar0</expression> |
|
50 </inVariable> |
|
51 <block localId="3" typeName="ADD" executionOrderId="0" height="60" width="65"> |
|
52 <position x="245" y="52"/> |
|
53 <inputVariables> |
|
54 <variable formalParameter="IN1"> |
|
55 <connectionPointIn> |
|
56 <relPosition x="0" y="30"/> |
|
57 <connection refLocalId="1"> |
|
58 <position x="245" y="82"/> |
|
59 <position x="199" y="82"/> |
|
60 </connection> |
|
61 </connectionPointIn> |
|
62 </variable> |
|
63 <variable formalParameter="IN2"> |
|
64 <connectionPointIn> |
|
65 <relPosition x="0" y="50"/> |
|
66 <connection refLocalId="4"> |
|
67 <position x="245" y="102"/> |
|
68 <position x="228" y="102"/> |
|
69 <position x="228" y="113"/> |
|
70 <position x="198" y="113"/> |
|
71 </connection> |
|
72 </connectionPointIn> |
|
73 </variable> |
|
74 </inputVariables> |
|
75 <inOutVariables/> |
|
76 <outputVariables> |
|
77 <variable formalParameter="OUT"> |
|
78 <connectionPointOut> |
|
79 <relPosition x="65" y="30"/> |
|
80 </connectionPointOut> |
|
81 </variable> |
|
82 </outputVariables> |
|
83 </block> |
|
84 <inVariable localId="4" executionOrderId="0" height="25" width="73" negated="false"> |
|
85 <position x="125" y="101"/> |
|
86 <connectionPointOut> |
|
87 <relPosition x="73" y="12"/> |
|
88 </connectionPointOut> |
|
89 <expression>LocalVar0</expression> |
|
90 </inVariable> |
|
91 <outVariable localId="2" executionOrderId="0" height="25" width="55" negated="false"> |
|
92 <position x="344" y="70"/> |
|
93 <connectionPointIn> |
|
94 <relPosition x="0" y="12"/> |
|
95 <connection refLocalId="3" formalParameter="OUT"> |
|
96 <position x="344" y="82"/> |
|
97 <position x="310" y="82"/> |
|
98 </connection> |
|
99 </connectionPointIn> |
|
100 <expression>PyVar1</expression> |
|
101 </outVariable> |
|
102 </FBD> |
|
103 </body> |
|
104 </pou> |
|
105 </pous> |
|
106 </types> |
|
107 <instances> |
|
108 <configurations> |
|
109 <configuration name="config"> |
|
110 <resource name="resource1"> |
|
111 <task name="Task0" priority="0" interval="T#100ms"> |
|
112 <pouInstance name="Instance0" typeName="program0"/> |
|
113 </task> |
|
114 </resource> |
|
115 </configuration> |
|
116 </configurations> |
|
117 </instances> |
|
118 </project> |