1 <?xml version='1.0' encoding='utf-8'?> |
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"> |
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"/> |
3 <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2019-08-06T14:23:42"/> |
4 <contentHeader name="Unnamed" modificationDateTime="2019-08-09T11:20:07"> |
4 <contentHeader name="Unnamed" modificationDateTime="2019-08-13T10:34:09"> |
5 <coordinateInfo> |
5 <coordinateInfo> |
6 <fbd> |
6 <fbd> |
7 <scaling x="5" y="5"/> |
7 <scaling x="5" y="5"/> |
8 </fbd> |
8 </fbd> |
9 <ld> |
9 <ld> |
83 <inVariable localId="3" executionOrderId="0" height="25" width="60" negated="false"> |
88 <inVariable localId="3" executionOrderId="0" height="25" width="60" negated="false"> |
84 <position x="130" y="225"/> |
89 <position x="130" y="225"/> |
85 <connectionPointOut> |
90 <connectionPointOut> |
86 <relPosition x="60" y="10"/> |
91 <relPosition x="60" y="10"/> |
87 </connectionPointOut> |
92 </connectionPointOut> |
88 <expression>DINT#1</expression> |
93 <expression>1</expression> |
|
94 </inVariable> |
|
95 <block localId="4" typeName="Pump" instanceName="Pump0" executionOrderId="0" height="20" width="45"> |
|
96 <position x="595" y="50"/> |
|
97 <inputVariables/> |
|
98 <inOutVariables/> |
|
99 <outputVariables/> |
|
100 </block> |
|
101 </FBD> |
|
102 </body> |
|
103 </pou> |
|
104 <pou name="Pump" pouType="functionBlock"> |
|
105 <interface> |
|
106 <localVars> |
|
107 <variable name="hmi"> |
|
108 <type> |
|
109 <derived name="HMI_LABEL"/> |
|
110 </type> |
|
111 </variable> |
|
112 <variable name="Pressure"> |
|
113 <type> |
|
114 <derived name="HMI_INT"/> |
|
115 </type> |
|
116 </variable> |
|
117 </localVars> |
|
118 </interface> |
|
119 <body> |
|
120 <FBD> |
|
121 <inOutVariable localId="1" executionOrderId="0" height="30" width="75" negatedOut="false" negatedIn="false"> |
|
122 <position x="285" y="105"/> |
|
123 <connectionPointIn> |
|
124 <relPosition x="0" y="15"/> |
|
125 <connection refLocalId="2" formalParameter="OUT"> |
|
126 <position x="285" y="120"/> |
|
127 <position x="275" y="120"/> |
|
128 <position x="275" y="95"/> |
|
129 <position x="550" y="95"/> |
|
130 <position x="550" y="135"/> |
|
131 <position x="540" y="135"/> |
|
132 </connection> |
|
133 </connectionPointIn> |
|
134 <connectionPointOut> |
|
135 <relPosition x="75" y="15"/> |
|
136 </connectionPointOut> |
|
137 <expression>Pressure</expression> |
|
138 </inOutVariable> |
|
139 <block localId="2" typeName="ADD" executionOrderId="0" height="60" width="65"> |
|
140 <position x="475" y="105"/> |
|
141 <inputVariables> |
|
142 <variable formalParameter="IN1"> |
|
143 <connectionPointIn> |
|
144 <relPosition x="0" y="30"/> |
|
145 <connection refLocalId="1"> |
|
146 <position x="475" y="135"/> |
|
147 <position x="417" y="135"/> |
|
148 <position x="417" y="120"/> |
|
149 <position x="360" y="120"/> |
|
150 </connection> |
|
151 </connectionPointIn> |
|
152 </variable> |
|
153 <variable formalParameter="IN2"> |
|
154 <connectionPointIn> |
|
155 <relPosition x="0" y="50"/> |
|
156 <connection refLocalId="3"> |
|
157 <position x="475" y="155"/> |
|
158 <position x="432" y="155"/> |
|
159 <position x="432" y="150"/> |
|
160 <position x="410" y="150"/> |
|
161 </connection> |
|
162 </connectionPointIn> |
|
163 </variable> |
|
164 </inputVariables> |
|
165 <inOutVariables/> |
|
166 <outputVariables> |
|
167 <variable formalParameter="OUT"> |
|
168 <connectionPointOut> |
|
169 <relPosition x="65" y="30"/> |
|
170 </connectionPointOut> |
|
171 </variable> |
|
172 </outputVariables> |
|
173 </block> |
|
174 <inVariable localId="3" executionOrderId="0" height="25" width="30" negated="false"> |
|
175 <position x="380" y="140"/> |
|
176 <connectionPointOut> |
|
177 <relPosition x="30" y="10"/> |
|
178 </connectionPointOut> |
|
179 <expression>23</expression> |
89 </inVariable> |
180 </inVariable> |
90 </FBD> |
181 </FBD> |
91 </body> |
182 </body> |
92 </pou> |
183 </pou> |
93 </pous> |
184 </pous> |