25 <derived name="HMI_REAL"/> |
25 <derived name="HMI_REAL"/> |
26 </type> |
26 </type> |
27 </variable> |
27 </variable> |
28 <variable name="var1"> |
28 <variable name="var1"> |
29 <type> |
29 <type> |
|
30 <derived name="HMI_SINT"/> |
|
31 </type> |
|
32 </variable> |
|
33 <variable name="var2"> |
|
34 <type> |
30 <derived name="HMI_INT"/> |
35 <derived name="HMI_INT"/> |
|
36 </type> |
|
37 </variable> |
|
38 <variable name="var3"> |
|
39 <type> |
|
40 <derived name="HMI_DINT"/> |
|
41 </type> |
|
42 </variable> |
|
43 <variable name="var4"> |
|
44 <type> |
|
45 <derived name="HMI_LINT"/> |
|
46 </type> |
|
47 </variable> |
|
48 <variable name="var5"> |
|
49 <type> |
|
50 <derived name="HMI_USINT"/> |
|
51 </type> |
|
52 </variable> |
|
53 <variable name="var6"> |
|
54 <type> |
|
55 <derived name="HMI_UINT"/> |
|
56 </type> |
|
57 </variable> |
|
58 <variable name="var7"> |
|
59 <type> |
|
60 <derived name="HMI_UDINT"/> |
|
61 </type> |
|
62 </variable> |
|
63 <variable name="var8"> |
|
64 <type> |
|
65 <derived name="HMI_ULINT"/> |
|
66 </type> |
|
67 </variable> |
|
68 <variable name="var9"> |
|
69 <type> |
|
70 <derived name="HMI_UDINT"/> |
31 </type> |
71 </type> |
32 </variable> |
72 </variable> |
33 </localVars> |
73 </localVars> |
34 </interface> |
74 </interface> |
35 <body> |
75 <body> |
36 <FBD> |
76 <FBD> |
37 <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false"> |
77 <inVariable localId="5" executionOrderId="0" height="30" width="125" negated="false"> |
38 <position x="240" y="45"/> |
78 <position x="320" y="60"/> |
39 <connectionPointOut> |
79 <connectionPointOut> |
40 <relPosition x="125" y="15"/> |
80 <relPosition x="125" y="15"/> |
41 </connectionPointOut> |
81 </connectionPointOut> |
42 <expression>var0</expression> |
82 <expression>var0</expression> |
43 </inVariable> |
83 </inVariable> |
44 <outVariable localId="10" executionOrderId="0" height="25" width="85" negated="false"> |
84 <block localId="11" typeName="REAL_TO_INT" executionOrderId="0" height="40" width="100"> |
45 <position x="720" y="70"/> |
85 <position x="495" y="95"/> |
|
86 <inputVariables> |
|
87 <variable formalParameter="IN"> |
|
88 <connectionPointIn> |
|
89 <relPosition x="0" y="30"/> |
|
90 <connection refLocalId="5"> |
|
91 <position x="495" y="125"/> |
|
92 <position x="470" y="125"/> |
|
93 <position x="470" y="75"/> |
|
94 <position x="445" y="75"/> |
|
95 </connection> |
|
96 </connectionPointIn> |
|
97 </variable> |
|
98 </inputVariables> |
|
99 <inOutVariables/> |
|
100 <outputVariables> |
|
101 <variable formalParameter="OUT"> |
|
102 <connectionPointOut> |
|
103 <relPosition x="100" y="30"/> |
|
104 </connectionPointOut> |
|
105 </variable> |
|
106 </outputVariables> |
|
107 </block> |
|
108 <outVariable localId="12" executionOrderId="0" height="25" width="45" negated="false"> |
|
109 <position x="680" y="65"/> |
|
110 <connectionPointIn> |
|
111 <relPosition x="0" y="10"/> |
|
112 <connection refLocalId="1" formalParameter="OUT"> |
|
113 <position x="680" y="75"/> |
|
114 <position x="610" y="75"/> |
|
115 </connection> |
|
116 </connectionPointIn> |
|
117 <expression>var1</expression> |
|
118 </outVariable> |
|
119 <outVariable localId="13" executionOrderId="0" height="25" width="45" negated="false"> |
|
120 <position x="680" y="115"/> |
46 <connectionPointIn> |
121 <connectionPointIn> |
47 <relPosition x="0" y="10"/> |
122 <relPosition x="0" y="10"/> |
48 <connection refLocalId="11" formalParameter="OUT"> |
123 <connection refLocalId="11" formalParameter="OUT"> |
49 <position x="720" y="80"/> |
124 <position x="680" y="125"/> |
50 <position x="667" y="80"/> |
125 <position x="595" y="125"/> |
51 <position x="667" y="75"/> |
126 </connection> |
52 <position x="605" y="75"/> |
127 </connectionPointIn> |
53 </connection> |
128 <expression>var2</expression> |
54 </connectionPointIn> |
129 </outVariable> |
55 <expression>var1</expression> |
130 <outVariable localId="14" executionOrderId="0" height="25" width="45" negated="false"> |
56 </outVariable> |
131 <position x="680" y="165"/> |
57 <block localId="11" typeName="REAL_TO_INT" executionOrderId="0" height="40" width="100"> |
132 <connectionPointIn> |
58 <position x="505" y="45"/> |
133 <relPosition x="0" y="10"/> |
59 <inputVariables> |
134 <connection refLocalId="21" formalParameter="OUT"> |
60 <variable formalParameter="IN"> |
135 <position x="680" y="175"/> |
61 <connectionPointIn> |
136 <position x="605" y="175"/> |
62 <relPosition x="0" y="30"/> |
137 </connection> |
63 <connection refLocalId="5"> |
138 </connectionPointIn> |
64 <position x="505" y="75"/> |
139 <expression>var3</expression> |
65 <position x="445" y="75"/> |
140 </outVariable> |
66 <position x="445" y="60"/> |
141 <outVariable localId="15" executionOrderId="0" height="25" width="45" negated="false"> |
67 <position x="365" y="60"/> |
142 <position x="680" y="215"/> |
68 </connection> |
143 <connectionPointIn> |
69 </connectionPointIn> |
144 <relPosition x="0" y="10"/> |
70 </variable> |
145 <connection refLocalId="20" formalParameter="OUT"> |
71 </inputVariables> |
146 <position x="680" y="225"/> |
72 <inOutVariables/> |
147 <position x="605" y="225"/> |
73 <outputVariables> |
148 </connection> |
74 <variable formalParameter="OUT"> |
149 </connectionPointIn> |
75 <connectionPointOut> |
150 <expression>var4</expression> |
76 <relPosition x="100" y="30"/> |
151 </outVariable> |
|
152 <outVariable localId="16" executionOrderId="0" height="25" width="45" negated="false"> |
|
153 <position x="680" y="265"/> |
|
154 <connectionPointIn> |
|
155 <relPosition x="0" y="10"/> |
|
156 <connection refLocalId="22" formalParameter="OUT"> |
|
157 <position x="680" y="275"/> |
|
158 <position x="610" y="275"/> |
|
159 </connection> |
|
160 </connectionPointIn> |
|
161 <expression>var5</expression> |
|
162 </outVariable> |
|
163 <outVariable localId="17" executionOrderId="0" height="25" width="45" negated="false"> |
|
164 <position x="680" y="315"/> |
|
165 <connectionPointIn> |
|
166 <relPosition x="0" y="10"/> |
|
167 <connection refLocalId="23" formalParameter="OUT"> |
|
168 <position x="680" y="325"/> |
|
169 <position x="605" y="325"/> |
|
170 </connection> |
|
171 </connectionPointIn> |
|
172 <expression>var6</expression> |
|
173 </outVariable> |
|
174 <outVariable localId="18" executionOrderId="0" height="25" width="45" negated="false"> |
|
175 <position x="680" y="365"/> |
|
176 <connectionPointIn> |
|
177 <relPosition x="0" y="10"/> |
|
178 <connection refLocalId="24" formalParameter="OUT"> |
|
179 <position x="680" y="375"/> |
|
180 <position x="610" y="375"/> |
|
181 </connection> |
|
182 </connectionPointIn> |
|
183 <expression>var7</expression> |
|
184 </outVariable> |
|
185 <outVariable localId="19" executionOrderId="0" height="25" width="45" negated="false"> |
|
186 <position x="680" y="415"/> |
|
187 <connectionPointIn> |
|
188 <relPosition x="0" y="10"/> |
|
189 <connection refLocalId="25" formalParameter="OUT"> |
|
190 <position x="680" y="425"/> |
|
191 <position x="610" y="425"/> |
|
192 </connection> |
|
193 </connectionPointIn> |
|
194 <expression>var8</expression> |
|
195 </outVariable> |
|
196 <block localId="1" typeName="REAL_TO_SINT" executionOrderId="0" height="40" width="115"> |
|
197 <position x="495" y="45"/> |
|
198 <inputVariables> |
|
199 <variable formalParameter="IN"> |
|
200 <connectionPointIn> |
|
201 <relPosition x="0" y="30"/> |
|
202 <connection refLocalId="5"> |
|
203 <position x="495" y="75"/> |
|
204 <position x="445" y="75"/> |
|
205 </connection> |
|
206 </connectionPointIn> |
|
207 </variable> |
|
208 </inputVariables> |
|
209 <inOutVariables/> |
|
210 <outputVariables> |
|
211 <variable formalParameter="OUT"> |
|
212 <connectionPointOut> |
|
213 <relPosition x="115" y="30"/> |
|
214 </connectionPointOut> |
|
215 </variable> |
|
216 </outputVariables> |
|
217 </block> |
|
218 <block localId="20" typeName="REAL_TO_LINT" executionOrderId="0" height="40" width="110"> |
|
219 <position x="495" y="195"/> |
|
220 <inputVariables> |
|
221 <variable formalParameter="IN"> |
|
222 <connectionPointIn> |
|
223 <relPosition x="0" y="30"/> |
|
224 <connection refLocalId="5"> |
|
225 <position x="495" y="225"/> |
|
226 <position x="470" y="225"/> |
|
227 <position x="470" y="75"/> |
|
228 <position x="445" y="75"/> |
|
229 </connection> |
|
230 </connectionPointIn> |
|
231 </variable> |
|
232 </inputVariables> |
|
233 <inOutVariables/> |
|
234 <outputVariables> |
|
235 <variable formalParameter="OUT"> |
|
236 <connectionPointOut> |
|
237 <relPosition x="110" y="30"/> |
|
238 </connectionPointOut> |
|
239 </variable> |
|
240 </outputVariables> |
|
241 </block> |
|
242 <block localId="21" typeName="REAL_TO_DINT" executionOrderId="0" height="40" width="110"> |
|
243 <position x="495" y="145"/> |
|
244 <inputVariables> |
|
245 <variable formalParameter="IN"> |
|
246 <connectionPointIn> |
|
247 <relPosition x="0" y="30"/> |
|
248 <connection refLocalId="5"> |
|
249 <position x="495" y="175"/> |
|
250 <position x="470" y="175"/> |
|
251 <position x="470" y="75"/> |
|
252 <position x="445" y="75"/> |
|
253 </connection> |
|
254 </connectionPointIn> |
|
255 </variable> |
|
256 </inputVariables> |
|
257 <inOutVariables/> |
|
258 <outputVariables> |
|
259 <variable formalParameter="OUT"> |
|
260 <connectionPointOut> |
|
261 <relPosition x="110" y="30"/> |
|
262 </connectionPointOut> |
|
263 </variable> |
|
264 </outputVariables> |
|
265 </block> |
|
266 <block localId="22" typeName="REAL_TO_USINT" executionOrderId="0" height="40" width="115"> |
|
267 <position x="495" y="245"/> |
|
268 <inputVariables> |
|
269 <variable formalParameter="IN"> |
|
270 <connectionPointIn> |
|
271 <relPosition x="0" y="30"/> |
|
272 <connection refLocalId="5"> |
|
273 <position x="495" y="275"/> |
|
274 <position x="470" y="275"/> |
|
275 <position x="470" y="75"/> |
|
276 <position x="445" y="75"/> |
|
277 </connection> |
|
278 </connectionPointIn> |
|
279 </variable> |
|
280 </inputVariables> |
|
281 <inOutVariables/> |
|
282 <outputVariables> |
|
283 <variable formalParameter="OUT"> |
|
284 <connectionPointOut> |
|
285 <relPosition x="115" y="30"/> |
|
286 </connectionPointOut> |
|
287 </variable> |
|
288 </outputVariables> |
|
289 </block> |
|
290 <block localId="23" typeName="REAL_TO_UINT" executionOrderId="0" height="40" width="110"> |
|
291 <position x="495" y="295"/> |
|
292 <inputVariables> |
|
293 <variable formalParameter="IN"> |
|
294 <connectionPointIn> |
|
295 <relPosition x="0" y="30"/> |
|
296 <connection refLocalId="5"> |
|
297 <position x="495" y="325"/> |
|
298 <position x="470" y="325"/> |
|
299 <position x="470" y="75"/> |
|
300 <position x="445" y="75"/> |
|
301 </connection> |
|
302 </connectionPointIn> |
|
303 </variable> |
|
304 </inputVariables> |
|
305 <inOutVariables/> |
|
306 <outputVariables> |
|
307 <variable formalParameter="OUT"> |
|
308 <connectionPointOut> |
|
309 <relPosition x="110" y="30"/> |
|
310 </connectionPointOut> |
|
311 </variable> |
|
312 </outputVariables> |
|
313 </block> |
|
314 <block localId="24" typeName="REAL_TO_UDINT" executionOrderId="0" height="40" width="115"> |
|
315 <position x="495" y="345"/> |
|
316 <inputVariables> |
|
317 <variable formalParameter="IN"> |
|
318 <connectionPointIn> |
|
319 <relPosition x="0" y="30"/> |
|
320 <connection refLocalId="5"> |
|
321 <position x="495" y="375"/> |
|
322 <position x="470" y="375"/> |
|
323 <position x="470" y="75"/> |
|
324 <position x="445" y="75"/> |
|
325 </connection> |
|
326 </connectionPointIn> |
|
327 </variable> |
|
328 </inputVariables> |
|
329 <inOutVariables/> |
|
330 <outputVariables> |
|
331 <variable formalParameter="OUT"> |
|
332 <connectionPointOut> |
|
333 <relPosition x="115" y="30"/> |
|
334 </connectionPointOut> |
|
335 </variable> |
|
336 </outputVariables> |
|
337 </block> |
|
338 <block localId="25" typeName="REAL_TO_ULINT" executionOrderId="0" height="40" width="115"> |
|
339 <position x="495" y="395"/> |
|
340 <inputVariables> |
|
341 <variable formalParameter="IN"> |
|
342 <connectionPointIn> |
|
343 <relPosition x="0" y="30"/> |
|
344 <connection refLocalId="5"> |
|
345 <position x="495" y="425"/> |
|
346 <position x="470" y="425"/> |
|
347 <position x="470" y="75"/> |
|
348 <position x="445" y="75"/> |
|
349 </connection> |
|
350 </connectionPointIn> |
|
351 </variable> |
|
352 </inputVariables> |
|
353 <inOutVariables/> |
|
354 <outputVariables> |
|
355 <variable formalParameter="OUT"> |
|
356 <connectionPointOut> |
|
357 <relPosition x="115" y="30"/> |
77 </connectionPointOut> |
358 </connectionPointOut> |
78 </variable> |
359 </variable> |
79 </outputVariables> |
360 </outputVariables> |
80 </block> |
361 </block> |
81 </FBD> |
362 </FBD> |