|
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="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/> |
|
4 <contentHeader name="Unnamed" modificationDateTime="2024-10-09T11:37:00"> |
|
5 <coordinateInfo> |
|
6 <fbd> |
|
7 <scaling x="5" y="5"/> |
|
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="MainStuff" pouType="program"> |
|
21 <interface> |
|
22 <localVars> |
|
23 <variable name="Pump0"> |
|
24 <type> |
|
25 <derived name="PumpControl"/> |
|
26 </type> |
|
27 </variable> |
|
28 <variable name="Pump1"> |
|
29 <type> |
|
30 <derived name="PumpControl"/> |
|
31 </type> |
|
32 </variable> |
|
33 <variable name="Pump2"> |
|
34 <type> |
|
35 <derived name="PumpControl"/> |
|
36 </type> |
|
37 </variable> |
|
38 <variable name="Pump3"> |
|
39 <type> |
|
40 <derived name="PumpControl"/> |
|
41 </type> |
|
42 </variable> |
|
43 <variable name="Pump4"> |
|
44 <type> |
|
45 <derived name="PumpControl"/> |
|
46 </type> |
|
47 </variable> |
|
48 <variable name="Pump5"> |
|
49 <type> |
|
50 <derived name="PumpControl"/> |
|
51 </type> |
|
52 </variable> |
|
53 <variable name="Pump6"> |
|
54 <type> |
|
55 <derived name="PumpControl"/> |
|
56 </type> |
|
57 </variable> |
|
58 <variable name="Pump7"> |
|
59 <type> |
|
60 <derived name="PumpControl"/> |
|
61 </type> |
|
62 </variable> |
|
63 </localVars> |
|
64 </interface> |
|
65 <body> |
|
66 <FBD> |
|
67 <block localId="4" typeName="PumpControl" instanceName="Pump0" executionOrderId="0" height="60" width="127"> |
|
68 <position x="595" y="50"/> |
|
69 <inputVariables> |
|
70 <variable formalParameter="Pump"> |
|
71 <connectionPointIn> |
|
72 <relPosition x="0" y="30"/> |
|
73 </connectionPointIn> |
|
74 </variable> |
|
75 <variable formalParameter="strin"> |
|
76 <connectionPointIn> |
|
77 <relPosition x="0" y="50"/> |
|
78 <connection refLocalId="12"> |
|
79 <position x="595" y="100"/> |
|
80 <position x="520" y="100"/> |
|
81 </connection> |
|
82 </connectionPointIn> |
|
83 </variable> |
|
84 </inputVariables> |
|
85 <inOutVariables/> |
|
86 <outputVariables/> |
|
87 </block> |
|
88 <block localId="1" typeName="PumpControl" instanceName="Pump1" executionOrderId="0" height="60" width="127"> |
|
89 <position x="595" y="280"/> |
|
90 <inputVariables> |
|
91 <variable formalParameter="Pump"> |
|
92 <connectionPointIn> |
|
93 <relPosition x="0" y="30"/> |
|
94 </connectionPointIn> |
|
95 </variable> |
|
96 <variable formalParameter="strin"> |
|
97 <connectionPointIn> |
|
98 <relPosition x="0" y="50"/> |
|
99 <connection refLocalId="13"> |
|
100 <position x="595" y="330"/> |
|
101 <position x="525" y="330"/> |
|
102 </connection> |
|
103 </connectionPointIn> |
|
104 </variable> |
|
105 </inputVariables> |
|
106 <inOutVariables/> |
|
107 <outputVariables/> |
|
108 </block> |
|
109 <block localId="2" typeName="PumpControl" instanceName="Pump2" executionOrderId="0" height="60" width="127"> |
|
110 <position x="595" y="160"/> |
|
111 <inputVariables> |
|
112 <variable formalParameter="Pump"> |
|
113 <connectionPointIn> |
|
114 <relPosition x="0" y="30"/> |
|
115 </connectionPointIn> |
|
116 </variable> |
|
117 <variable formalParameter="strin"> |
|
118 <connectionPointIn> |
|
119 <relPosition x="0" y="50"/> |
|
120 <connection refLocalId="5"> |
|
121 <position x="595" y="210"/> |
|
122 <position x="520" y="210"/> |
|
123 </connection> |
|
124 </connectionPointIn> |
|
125 </variable> |
|
126 </inputVariables> |
|
127 <inOutVariables/> |
|
128 <outputVariables/> |
|
129 </block> |
|
130 <block localId="3" typeName="PumpControl" instanceName="Pump3" executionOrderId="0" height="60" width="127"> |
|
131 <position x="595" y="395"/> |
|
132 <inputVariables> |
|
133 <variable formalParameter="Pump"> |
|
134 <connectionPointIn> |
|
135 <relPosition x="0" y="30"/> |
|
136 </connectionPointIn> |
|
137 </variable> |
|
138 <variable formalParameter="strin"> |
|
139 <connectionPointIn> |
|
140 <relPosition x="0" y="50"/> |
|
141 <connection refLocalId="14"> |
|
142 <position x="595" y="445"/> |
|
143 <position x="525" y="445"/> |
|
144 </connection> |
|
145 </connectionPointIn> |
|
146 </variable> |
|
147 </inputVariables> |
|
148 <inOutVariables/> |
|
149 <outputVariables/> |
|
150 </block> |
|
151 <block localId="6" typeName="PumpControl" instanceName="Pump4" executionOrderId="0" height="60" width="127"> |
|
152 <position x="595" y="515"/> |
|
153 <inputVariables> |
|
154 <variable formalParameter="Pump"> |
|
155 <connectionPointIn> |
|
156 <relPosition x="0" y="30"/> |
|
157 </connectionPointIn> |
|
158 </variable> |
|
159 <variable formalParameter="strin"> |
|
160 <connectionPointIn> |
|
161 <relPosition x="0" y="50"/> |
|
162 <connection refLocalId="15"> |
|
163 <position x="595" y="565"/> |
|
164 <position x="520" y="565"/> |
|
165 </connection> |
|
166 </connectionPointIn> |
|
167 </variable> |
|
168 </inputVariables> |
|
169 <inOutVariables/> |
|
170 <outputVariables/> |
|
171 </block> |
|
172 <block localId="7" typeName="PumpControl" instanceName="Pump5" executionOrderId="0" height="60" width="127"> |
|
173 <position x="595" y="645"/> |
|
174 <inputVariables> |
|
175 <variable formalParameter="Pump"> |
|
176 <connectionPointIn> |
|
177 <relPosition x="0" y="30"/> |
|
178 <connection refLocalId="11"> |
|
179 <position x="595" y="675"/> |
|
180 <position x="582" y="675"/> |
|
181 <position x="582" y="665"/> |
|
182 <position x="570" y="665"/> |
|
183 </connection> |
|
184 </connectionPointIn> |
|
185 </variable> |
|
186 <variable formalParameter="strin"> |
|
187 <connectionPointIn> |
|
188 <relPosition x="0" y="50"/> |
|
189 <connection refLocalId="16"> |
|
190 <position x="595" y="695"/> |
|
191 <position x="525" y="695"/> |
|
192 </connection> |
|
193 </connectionPointIn> |
|
194 </variable> |
|
195 </inputVariables> |
|
196 <inOutVariables/> |
|
197 <outputVariables/> |
|
198 </block> |
|
199 <block localId="8" typeName="PumpControl" instanceName="Pump6" executionOrderId="0" height="60" width="127"> |
|
200 <position x="595" y="775"/> |
|
201 <inputVariables> |
|
202 <variable formalParameter="Pump"> |
|
203 <connectionPointIn> |
|
204 <relPosition x="0" y="30"/> |
|
205 </connectionPointIn> |
|
206 </variable> |
|
207 <variable formalParameter="strin"> |
|
208 <connectionPointIn> |
|
209 <relPosition x="0" y="50"/> |
|
210 <connection refLocalId="17"> |
|
211 <position x="595" y="825"/> |
|
212 <position x="530" y="825"/> |
|
213 </connection> |
|
214 </connectionPointIn> |
|
215 </variable> |
|
216 </inputVariables> |
|
217 <inOutVariables/> |
|
218 <outputVariables/> |
|
219 </block> |
|
220 <block localId="9" typeName="PumpControl" instanceName="Pump7" executionOrderId="0" height="60" width="127"> |
|
221 <position x="595" y="895"/> |
|
222 <inputVariables> |
|
223 <variable formalParameter="Pump"> |
|
224 <connectionPointIn> |
|
225 <relPosition x="0" y="30"/> |
|
226 <connection refLocalId="10"> |
|
227 <position x="595" y="925"/> |
|
228 <position x="577" y="925"/> |
|
229 <position x="577" y="905"/> |
|
230 <position x="560" y="905"/> |
|
231 </connection> |
|
232 </connectionPointIn> |
|
233 </variable> |
|
234 <variable formalParameter="strin"> |
|
235 <connectionPointIn> |
|
236 <relPosition x="0" y="50"/> |
|
237 <connection refLocalId="18"> |
|
238 <position x="595" y="945"/> |
|
239 <position x="530" y="945"/> |
|
240 </connection> |
|
241 </connectionPointIn> |
|
242 </variable> |
|
243 </inputVariables> |
|
244 <inOutVariables/> |
|
245 <outputVariables/> |
|
246 </block> |
|
247 <inVariable localId="10" executionOrderId="0" height="27" width="20" negated="false"> |
|
248 <position x="540" y="890"/> |
|
249 <connectionPointOut> |
|
250 <relPosition x="20" y="15"/> |
|
251 </connectionPointOut> |
|
252 <expression>0</expression> |
|
253 </inVariable> |
|
254 <inVariable localId="11" executionOrderId="0" height="27" width="20" negated="false"> |
|
255 <position x="550" y="650"/> |
|
256 <connectionPointOut> |
|
257 <relPosition x="20" y="15"/> |
|
258 </connectionPointOut> |
|
259 <expression>0</expression> |
|
260 </inVariable> |
|
261 <inVariable localId="12" executionOrderId="0" height="30" width="35" negated="false"> |
|
262 <position x="485" y="85"/> |
|
263 <connectionPointOut> |
|
264 <relPosition x="35" y="15"/> |
|
265 </connectionPointOut> |
|
266 <expression>'1'</expression> |
|
267 </inVariable> |
|
268 <inVariable localId="5" executionOrderId="0" height="30" width="35" negated="false"> |
|
269 <position x="485" y="195"/> |
|
270 <connectionPointOut> |
|
271 <relPosition x="35" y="15"/> |
|
272 </connectionPointOut> |
|
273 <expression>'B'</expression> |
|
274 </inVariable> |
|
275 <inVariable localId="13" executionOrderId="0" height="30" width="50" negated="false"> |
|
276 <position x="490" y="315"/> |
|
277 <connectionPointOut> |
|
278 <relPosition x="50" y="15"/> |
|
279 </connectionPointOut> |
|
280 <expression>'red'</expression> |
|
281 </inVariable> |
|
282 <inVariable localId="14" executionOrderId="0" height="30" width="70" negated="false"> |
|
283 <position x="490" y="430"/> |
|
284 <connectionPointOut> |
|
285 <relPosition x="70" y="15"/> |
|
286 </connectionPointOut> |
|
287 <expression>'three'</expression> |
|
288 </inVariable> |
|
289 <inVariable localId="15" executionOrderId="0" height="30" width="35" negated="false"> |
|
290 <position x="485" y="550"/> |
|
291 <connectionPointOut> |
|
292 <relPosition x="35" y="15"/> |
|
293 </connectionPointOut> |
|
294 <expression>'4'</expression> |
|
295 </inVariable> |
|
296 <inVariable localId="16" executionOrderId="0" height="30" width="35" negated="false"> |
|
297 <position x="490" y="680"/> |
|
298 <connectionPointOut> |
|
299 <relPosition x="35" y="15"/> |
|
300 </connectionPointOut> |
|
301 <expression>'5'</expression> |
|
302 </inVariable> |
|
303 <inVariable localId="17" executionOrderId="0" height="30" width="35" negated="false"> |
|
304 <position x="495" y="810"/> |
|
305 <connectionPointOut> |
|
306 <relPosition x="35" y="15"/> |
|
307 </connectionPointOut> |
|
308 <expression>'6'</expression> |
|
309 </inVariable> |
|
310 <inVariable localId="18" executionOrderId="0" height="30" width="60" negated="false"> |
|
311 <position x="495" y="930"/> |
|
312 <connectionPointOut> |
|
313 <relPosition x="60" y="15"/> |
|
314 </connectionPointOut> |
|
315 <expression>'last'</expression> |
|
316 </inVariable> |
|
317 </FBD> |
|
318 </body> |
|
319 </pou> |
|
320 <pou name="PumpControl" pouType="functionBlock"> |
|
321 <interface> |
|
322 <inputVars> |
|
323 <variable name="Pump"> |
|
324 <type> |
|
325 <derived name="HMI_NODE"/> |
|
326 </type> |
|
327 <initialValue> |
|
328 <simpleValue value="1"/> |
|
329 </initialValue> |
|
330 </variable> |
|
331 </inputVars> |
|
332 <localVars> |
|
333 <variable name="strout"> |
|
334 <type> |
|
335 <derived name="HMI_STRING"/> |
|
336 </type> |
|
337 </variable> |
|
338 </localVars> |
|
339 <inputVars> |
|
340 <variable name="strin"> |
|
341 <type> |
|
342 <derived name="HMI_STRING"/> |
|
343 </type> |
|
344 <initialValue> |
|
345 <simpleValue value="blup"/> |
|
346 </initialValue> |
|
347 </variable> |
|
348 </inputVars> |
|
349 </interface> |
|
350 <body> |
|
351 <FBD> |
|
352 <block localId="10" typeName="CONCAT" executionOrderId="0" height="60" width="65"> |
|
353 <position x="360" y="345"/> |
|
354 <inputVariables> |
|
355 <variable formalParameter="IN1"> |
|
356 <connectionPointIn> |
|
357 <relPosition x="0" y="30"/> |
|
358 <connection refLocalId="1"> |
|
359 <position x="360" y="375"/> |
|
360 <position x="322" y="375"/> |
|
361 <position x="322" y="370"/> |
|
362 <position x="285" y="370"/> |
|
363 </connection> |
|
364 </connectionPointIn> |
|
365 </variable> |
|
366 <variable formalParameter="IN2"> |
|
367 <connectionPointIn> |
|
368 <relPosition x="0" y="50"/> |
|
369 <connection refLocalId="14"> |
|
370 <position x="360" y="395"/> |
|
371 <position x="312" y="395"/> |
|
372 <position x="312" y="405"/> |
|
373 <position x="260" y="405"/> |
|
374 </connection> |
|
375 </connectionPointIn> |
|
376 </variable> |
|
377 </inputVariables> |
|
378 <inOutVariables/> |
|
379 <outputVariables> |
|
380 <variable formalParameter="OUT"> |
|
381 <connectionPointOut> |
|
382 <relPosition x="65" y="30"/> |
|
383 </connectionPointOut> |
|
384 </variable> |
|
385 </outputVariables> |
|
386 </block> |
|
387 <outVariable localId="11" executionOrderId="0" height="30" width="58" negated="false"> |
|
388 <position x="495" y="355"/> |
|
389 <connectionPointIn> |
|
390 <relPosition x="0" y="15"/> |
|
391 <connection refLocalId="10" formalParameter="OUT"> |
|
392 <position x="495" y="370"/> |
|
393 <position x="450" y="370"/> |
|
394 <position x="450" y="375"/> |
|
395 <position x="425" y="375"/> |
|
396 </connection> |
|
397 </connectionPointIn> |
|
398 <expression>strout</expression> |
|
399 </outVariable> |
|
400 <inVariable localId="14" executionOrderId="0" height="30" width="50" negated="false"> |
|
401 <position x="210" y="390"/> |
|
402 <connectionPointOut> |
|
403 <relPosition x="50" y="15"/> |
|
404 </connectionPointOut> |
|
405 <expression>strin</expression> |
|
406 </inVariable> |
|
407 <inVariable localId="1" executionOrderId="0" height="30" width="75" negated="false"> |
|
408 <position x="210" y="355"/> |
|
409 <connectionPointOut> |
|
410 <relPosition x="75" y="15"/> |
|
411 </connectionPointOut> |
|
412 <expression>'Pump '</expression> |
|
413 </inVariable> |
|
414 </FBD> |
|
415 </body> |
|
416 </pou> |
|
417 </pous> |
|
418 </types> |
|
419 <instances> |
|
420 <configurations> |
|
421 <configuration name="config"> |
|
422 <resource name="resource1"> |
|
423 <task name="task0" priority="0" interval="T#20ms"> |
|
424 <pouInstance name="instance0" typeName="MainStuff"/> |
|
425 </task> |
|
426 </resource> |
|
427 </configuration> |
|
428 </configurations> |
|
429 </instances> |
|
430 </project> |