|
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="2021-02-16T10:38:12"> |
|
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="var0"> |
|
24 <type> |
|
25 <derived name="HMI_REAL"/> |
|
26 </type> |
|
27 </variable> |
|
28 <variable name="var1"> |
|
29 <type> |
|
30 <derived name="HMI_INT"/> |
|
31 </type> |
|
32 </variable> |
|
33 </localVars> |
|
34 </interface> |
|
35 <body> |
|
36 <FBD> |
|
37 <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false"> |
|
38 <position x="240" y="45"/> |
|
39 <connectionPointOut> |
|
40 <relPosition x="125" y="15"/> |
|
41 </connectionPointOut> |
|
42 <expression>var0</expression> |
|
43 </inVariable> |
|
44 <outVariable localId="10" executionOrderId="0" height="25" width="85" negated="false"> |
|
45 <position x="720" y="70"/> |
|
46 <connectionPointIn> |
|
47 <relPosition x="0" y="10"/> |
|
48 <connection refLocalId="11" formalParameter="OUT"> |
|
49 <position x="720" y="80"/> |
|
50 <position x="667" y="80"/> |
|
51 <position x="667" y="75"/> |
|
52 <position x="605" y="75"/> |
|
53 </connection> |
|
54 </connectionPointIn> |
|
55 <expression>var1</expression> |
|
56 </outVariable> |
|
57 <block localId="11" typeName="REAL_TO_INT" executionOrderId="0" height="40" width="100"> |
|
58 <position x="505" y="45"/> |
|
59 <inputVariables> |
|
60 <variable formalParameter="IN"> |
|
61 <connectionPointIn> |
|
62 <relPosition x="0" y="30"/> |
|
63 <connection refLocalId="5"> |
|
64 <position x="505" y="75"/> |
|
65 <position x="445" y="75"/> |
|
66 <position x="445" y="60"/> |
|
67 <position x="365" y="60"/> |
|
68 </connection> |
|
69 </connectionPointIn> |
|
70 </variable> |
|
71 </inputVariables> |
|
72 <inOutVariables/> |
|
73 <outputVariables> |
|
74 <variable formalParameter="OUT"> |
|
75 <connectionPointOut> |
|
76 <relPosition x="100" y="30"/> |
|
77 </connectionPointOut> |
|
78 </variable> |
|
79 </outputVariables> |
|
80 </block> |
|
81 </FBD> |
|
82 </body> |
|
83 </pou> |
|
84 </pous> |
|
85 </types> |
|
86 <instances> |
|
87 <configurations> |
|
88 <configuration name="config"> |
|
89 <resource name="resource1"> |
|
90 <task name="task0" priority="0" interval="T#20ms"> |
|
91 <pouInstance name="instance0" typeName="MainStuff"/> |
|
92 </task> |
|
93 </resource> |
|
94 </configuration> |
|
95 </configurations> |
|
96 </instances> |
|
97 </project> |