author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Mon, 18 Oct 2021 12:40:53 +0200 | |
changeset 3364 | fa2365fa6154 |
parent 3359 | 2c924cf26161 |
permissions | -rw-r--r-- |
1383 | 1 |
<?xml version='1.0' encoding='utf-8'?> |
2 |
<project xmlns="http://www.plcopen.org/xml/tc6_0201" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.plcopen.org/xml/tc6_0201"> |
|
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
3 |
<fileHeader companyName="Beremiz" productName="Unnamed" productVersion="1" creationDateTime="2012-09-04T16:16:33"/> |
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
4 |
<contentHeader name="traffic_lights" modificationDateTime="2021-10-01T22:28:55"> |
1383 | 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="traffic_light_sequence" pouType="functionBlock"> |
|
21 |
<interface> |
|
22 |
<inputVars> |
|
23 |
<variable name="SWITCH_BUTTON"> |
|
24 |
<type> |
|
25 |
<BOOL/> |
|
26 |
</type> |
|
27 |
</variable> |
|
28 |
<variable name="PEDESTRIAN_BUTTON"> |
|
29 |
<type> |
|
30 |
<BOOL/> |
|
31 |
</type> |
|
32 |
</variable> |
|
33 |
</inputVars> |
|
34 |
<outputVars> |
|
35 |
<variable name="RED_LIGHT"> |
|
36 |
<type> |
|
37 |
<BOOL/> |
|
38 |
</type> |
|
39 |
</variable> |
|
40 |
<variable name="ORANGE_LIGHT"> |
|
41 |
<type> |
|
42 |
<BOOL/> |
|
43 |
</type> |
|
44 |
</variable> |
|
45 |
<variable name="GREEN_LIGHT"> |
|
46 |
<type> |
|
47 |
<BOOL/> |
|
48 |
</type> |
|
49 |
</variable> |
|
50 |
<variable name="PEDESTRIAN_RED_LIGHT"> |
|
51 |
<type> |
|
52 |
<BOOL/> |
|
53 |
</type> |
|
54 |
</variable> |
|
55 |
<variable name="PEDESTRIAN_GREEN_LIGHT"> |
|
56 |
<type> |
|
57 |
<BOOL/> |
|
58 |
</type> |
|
59 |
</variable> |
|
60 |
</outputVars> |
|
61 |
<localVars> |
|
62 |
<variable name="TON1"> |
|
63 |
<type> |
|
64 |
<derived name="TON"/> |
|
65 |
</type> |
|
66 |
</variable> |
|
67 |
<variable name="TON2"> |
|
68 |
<type> |
|
69 |
<derived name="TON"/> |
|
70 |
</type> |
|
71 |
</variable> |
|
72 |
<variable name="ALLOW_CARS"> |
|
73 |
<type> |
|
74 |
<BOOL/> |
|
75 |
</type> |
|
76 |
</variable> |
|
77 |
<variable name="WARN_CARS"> |
|
78 |
<type> |
|
79 |
<BOOL/> |
|
80 |
</type> |
|
81 |
</variable> |
|
82 |
<variable name="STOP_CARS"> |
|
83 |
<type> |
|
84 |
<BOOL/> |
|
85 |
</type> |
|
86 |
</variable> |
|
87 |
<variable name="ALLOW_PEDESTRIANS"> |
|
88 |
<type> |
|
89 |
<BOOL/> |
|
90 |
</type> |
|
91 |
</variable> |
|
92 |
<variable name="STOP_PEDESTRIANS"> |
|
93 |
<type> |
|
94 |
<BOOL/> |
|
95 |
</type> |
|
96 |
</variable> |
|
97 |
<variable name="TON3"> |
|
98 |
<type> |
|
99 |
<derived name="TON"/> |
|
100 |
</type> |
|
101 |
</variable> |
|
102 |
<variable name="R_TRIG0"> |
|
103 |
<type> |
|
104 |
<derived name="R_TRIG"/> |
|
105 |
</type> |
|
106 |
</variable> |
|
107 |
<variable name="R_TRIG1"> |
|
108 |
<type> |
|
109 |
<derived name="R_TRIG"/> |
|
110 |
</type> |
|
111 |
</variable> |
|
112 |
<variable name="SR0"> |
|
113 |
<type> |
|
114 |
<derived name="SR"/> |
|
115 |
</type> |
|
116 |
</variable> |
|
117 |
</localVars> |
|
118 |
</interface> |
|
119 |
<actions> |
|
120 |
<action name="BLINK_ORANGE_LIGHT"> |
|
121 |
<body> |
|
122 |
<LD> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
123 |
<leftPowerRail localId="1" height="40" width="3"> |
1383 | 124 |
<position x="54" y="123"/> |
125 |
<connectionPointOut formalParameter=""> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
126 |
<relPosition x="3" y="20"/> |
1383 | 127 |
</connectionPointOut> |
128 |
</leftPowerRail> |
|
129 |
<contact localId="2" height="15" width="21" negated="true"> |
|
130 |
<position x="121" y="135"/> |
|
131 |
<connectionPointIn> |
|
132 |
<relPosition x="0" y="8"/> |
|
133 |
<connection refLocalId="1"> |
|
134 |
<position x="121" y="143"/> |
|
135 |
<position x="56" y="143"/> |
|
136 |
</connection> |
|
137 |
</connectionPointIn> |
|
138 |
<connectionPointOut> |
|
139 |
<relPosition x="21" y="8"/> |
|
140 |
</connectionPointOut> |
|
141 |
<variable>ORANGE_LIGHT</variable> |
|
142 |
</contact> |
|
143 |
<block localId="3" width="97" height="102" typeName="TON" instanceName="TON1"> |
|
144 |
<position x="216" y="103"/> |
|
145 |
<inputVariables> |
|
146 |
<variable formalParameter="IN"> |
|
147 |
<connectionPointIn> |
|
148 |
<relPosition x="0" y="40"/> |
|
149 |
<connection refLocalId="2"> |
|
150 |
<position x="216" y="143"/> |
|
151 |
<position x="142" y="143"/> |
|
152 |
</connection> |
|
153 |
</connectionPointIn> |
|
154 |
</variable> |
|
155 |
<variable formalParameter="PT"> |
|
156 |
<connectionPointIn> |
|
157 |
<relPosition x="0" y="81"/> |
|
158 |
<connection refLocalId="4"> |
|
159 |
<position x="216" y="184"/> |
|
160 |
<position x="151" y="184"/> |
|
161 |
</connection> |
|
162 |
</connectionPointIn> |
|
163 |
</variable> |
|
164 |
</inputVariables> |
|
165 |
<inOutVariables/> |
|
166 |
<outputVariables> |
|
167 |
<variable formalParameter="Q"> |
|
168 |
<connectionPointOut> |
|
169 |
<relPosition x="97" y="40"/> |
|
170 |
</connectionPointOut> |
|
171 |
</variable> |
|
172 |
<variable formalParameter="ET"> |
|
173 |
<connectionPointOut> |
|
174 |
<relPosition x="97" y="81"/> |
|
175 |
</connectionPointOut> |
|
176 |
</variable> |
|
177 |
</outputVariables> |
|
178 |
</block> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
179 |
<inVariable localId="4" height="37" width="76" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
180 |
<position x="75" y="166"/> |
1383 | 181 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
182 |
<relPosition x="76" y="18"/> |
1383 | 183 |
</connectionPointOut> |
184 |
<expression>T#500ms</expression> |
|
185 |
</inVariable> |
|
186 |
<block localId="5" width="97" height="106" typeName="TON" instanceName="TON2"> |
|
187 |
<position x="216" y="251"/> |
|
188 |
<inputVariables> |
|
189 |
<variable formalParameter="IN"> |
|
190 |
<connectionPointIn> |
|
191 |
<relPosition x="0" y="41"/> |
|
192 |
<connection refLocalId="14"> |
|
193 |
<position x="216" y="292"/> |
|
194 |
<position x="155" y="292"/> |
|
195 |
</connection> |
|
196 |
</connectionPointIn> |
|
197 |
</variable> |
|
198 |
<variable formalParameter="PT"> |
|
199 |
<connectionPointIn> |
|
200 |
<relPosition x="0" y="84"/> |
|
201 |
<connection refLocalId="15"> |
|
202 |
<position x="216" y="335"/> |
|
203 |
<position x="162" y="335"/> |
|
204 |
</connection> |
|
205 |
</connectionPointIn> |
|
206 |
</variable> |
|
207 |
</inputVariables> |
|
208 |
<inOutVariables/> |
|
209 |
<outputVariables> |
|
210 |
<variable formalParameter="Q"> |
|
211 |
<connectionPointOut> |
|
212 |
<relPosition x="97" y="41"/> |
|
213 |
</connectionPointOut> |
|
214 |
</variable> |
|
215 |
<variable formalParameter="ET"> |
|
216 |
<connectionPointOut> |
|
217 |
<relPosition x="97" y="84"/> |
|
218 |
</connectionPointOut> |
|
219 |
</variable> |
|
220 |
</outputVariables> |
|
221 |
</block> |
|
222 |
<coil localId="6" height="15" width="21" storage="reset"> |
|
223 |
<position x="517" y="284"/> |
|
224 |
<connectionPointIn> |
|
225 |
<relPosition x="0" y="8"/> |
|
226 |
<connection refLocalId="10" formalParameter="Q"> |
|
227 |
<position x="517" y="292"/> |
|
228 |
<position x="427" y="292"/> |
|
229 |
</connection> |
|
230 |
</connectionPointIn> |
|
231 |
<connectionPointOut> |
|
232 |
<relPosition x="21" y="8"/> |
|
233 |
</connectionPointOut> |
|
234 |
<variable>ORANGE_LIGHT</variable> |
|
235 |
</coil> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
236 |
<rightPowerRail localId="7" height="40" width="3"> |
1383 | 237 |
<position x="598" y="123"/> |
238 |
<connectionPointIn> |
|
239 |
<relPosition x="0" y="20"/> |
|
240 |
<connection refLocalId="8"> |
|
241 |
<position x="598" y="143"/> |
|
242 |
<position x="530" y="143"/> |
|
243 |
</connection> |
|
244 |
</connectionPointIn> |
|
245 |
</rightPowerRail> |
|
246 |
<coil localId="8" height="15" width="21" storage="set"> |
|
247 |
<position x="509" y="135"/> |
|
248 |
<connectionPointIn> |
|
249 |
<relPosition x="0" y="8"/> |
|
250 |
<connection refLocalId="11" formalParameter="Q"> |
|
251 |
<position x="509" y="143"/> |
|
252 |
<position x="428" y="143"/> |
|
253 |
</connection> |
|
254 |
</connectionPointIn> |
|
255 |
<connectionPointOut> |
|
256 |
<relPosition x="21" y="8"/> |
|
257 |
</connectionPointOut> |
|
258 |
<variable>ORANGE_LIGHT</variable> |
|
259 |
</coil> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
260 |
<comment localId="9" height="52" width="318"> |
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
261 |
<position x="51" y="11"/> |
1383 | 262 |
<content> |
263 |
<xhtml:p><![CDATA[This action makes the orange light blink]]></xhtml:p> |
|
264 |
</content> |
|
265 |
</comment> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
266 |
<block localId="10" width="58" height="40" typeName="R_TRIG" instanceName="R_TRIG0"> |
1383 | 267 |
<position x="370" y="262"/> |
268 |
<inputVariables> |
|
269 |
<variable formalParameter="CLK"> |
|
270 |
<connectionPointIn> |
|
271 |
<relPosition x="0" y="30"/> |
|
272 |
<connection refLocalId="5" formalParameter="Q"> |
|
273 |
<position x="370" y="292"/> |
|
274 |
<position x="313" y="292"/> |
|
275 |
</connection> |
|
276 |
</connectionPointIn> |
|
277 |
</variable> |
|
278 |
</inputVariables> |
|
279 |
<inOutVariables/> |
|
280 |
<outputVariables> |
|
281 |
<variable formalParameter="Q"> |
|
282 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
283 |
<relPosition x="58" y="30"/> |
1383 | 284 |
</connectionPointOut> |
285 |
</variable> |
|
286 |
</outputVariables> |
|
287 |
</block> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
288 |
<block localId="11" width="58" height="40" typeName="R_TRIG" instanceName="R_TRIG1"> |
1383 | 289 |
<position x="371" y="113"/> |
290 |
<inputVariables> |
|
291 |
<variable formalParameter="CLK"> |
|
292 |
<connectionPointIn> |
|
293 |
<relPosition x="0" y="30"/> |
|
294 |
<connection refLocalId="3" formalParameter="Q"> |
|
295 |
<position x="371" y="143"/> |
|
296 |
<position x="313" y="143"/> |
|
297 |
</connection> |
|
298 |
</connectionPointIn> |
|
299 |
</variable> |
|
300 |
</inputVariables> |
|
301 |
<inOutVariables/> |
|
302 |
<outputVariables> |
|
303 |
<variable formalParameter="Q"> |
|
304 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
305 |
<relPosition x="58" y="30"/> |
1383 | 306 |
</connectionPointOut> |
307 |
</variable> |
|
308 |
</outputVariables> |
|
309 |
</block> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
310 |
<rightPowerRail localId="12" height="40" width="3"> |
1383 | 311 |
<position x="597" y="272"/> |
312 |
<connectionPointIn> |
|
313 |
<relPosition x="0" y="20"/> |
|
314 |
<connection refLocalId="6"> |
|
315 |
<position x="597" y="292"/> |
|
316 |
<position x="538" y="292"/> |
|
317 |
</connection> |
|
318 |
</connectionPointIn> |
|
319 |
</rightPowerRail> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
320 |
<leftPowerRail localId="13" height="40" width="3"> |
1383 | 321 |
<position x="67" y="272"/> |
322 |
<connectionPointOut formalParameter=""> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
323 |
<relPosition x="3" y="20"/> |
1383 | 324 |
</connectionPointOut> |
325 |
</leftPowerRail> |
|
326 |
<contact localId="14" height="15" width="21"> |
|
327 |
<position x="134" y="284"/> |
|
328 |
<connectionPointIn> |
|
329 |
<relPosition x="0" y="8"/> |
|
330 |
<connection refLocalId="13"> |
|
331 |
<position x="134" y="292"/> |
|
332 |
<position x="69" y="292"/> |
|
333 |
</connection> |
|
334 |
</connectionPointIn> |
|
335 |
<connectionPointOut> |
|
336 |
<relPosition x="21" y="8"/> |
|
337 |
</connectionPointOut> |
|
338 |
<variable>ORANGE_LIGHT</variable> |
|
339 |
</contact> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
340 |
<inVariable localId="15" height="36" width="77" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
341 |
<position x="85" y="317"/> |
1383 | 342 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
343 |
<relPosition x="77" y="18"/> |
1383 | 344 |
</connectionPointOut> |
345 |
<expression>T#500ms</expression> |
|
346 |
</inVariable> |
|
347 |
</LD> |
|
348 |
</body> |
|
349 |
</action> |
|
350 |
</actions> |
|
351 |
<transitions> |
|
352 |
<transition name="STOP"> |
|
353 |
<body> |
|
354 |
<FBD> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
355 |
<block localId="42" width="59" height="53" typeName="NOT" executionOrderId="0"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
356 |
<position x="237" y="31"/> |
1383 | 357 |
<inputVariables> |
358 |
<variable formalParameter="IN"> |
|
359 |
<connectionPointIn> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
360 |
<relPosition x="0" y="36"/> |
1383 | 361 |
<connection refLocalId="43"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
362 |
<position x="237" y="67"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
363 |
<position x="202" y="67"/> |
1383 | 364 |
</connection> |
365 |
</connectionPointIn> |
|
366 |
</variable> |
|
367 |
</inputVariables> |
|
368 |
<inOutVariables/> |
|
369 |
<outputVariables> |
|
370 |
<variable formalParameter="OUT"> |
|
371 |
<connectionPointOut> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
372 |
<relPosition x="59" y="36"/> |
1383 | 373 |
</connectionPointOut> |
374 |
</variable> |
|
375 |
</outputVariables> |
|
376 |
</block> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
377 |
<inVariable localId="43" height="39" width="164" executionOrderId="0" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
378 |
<position x="38" y="48"/> |
1383 | 379 |
<connectionPointOut> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
380 |
<relPosition x="164" y="19"/> |
1383 | 381 |
</connectionPointOut> |
382 |
<expression>SWITCH_BUTTON</expression> |
|
383 |
</inVariable> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
384 |
<outVariable localId="44" height="40" width="46" executionOrderId="0" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
385 |
<position x="351" y="47"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
386 |
<connectionPointIn> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
387 |
<relPosition x="0" y="20"/> |
1383 | 388 |
<connection refLocalId="42" formalParameter="OUT"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
389 |
<position x="351" y="67"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
390 |
<position x="296" y="67"/> |
1383 | 391 |
</connection> |
392 |
</connectionPointIn> |
|
393 |
<expression>STOP</expression> |
|
394 |
</outVariable> |
|
395 |
</FBD> |
|
396 |
</body> |
|
397 |
</transition> |
|
398 |
</transitions> |
|
399 |
<body> |
|
400 |
<SFC> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
401 |
<step localId="1" height="37" width="121" name="Standstill" initialStep="true"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
402 |
<position x="509" y="31"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
403 |
<connectionPointIn> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
404 |
<relPosition x="60" y="0"/> |
1383 | 405 |
<connection refLocalId="39"> |
406 |
<position x="569" y="31"/> |
|
407 |
<position x="569" y="11"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
408 |
<position x="963" y="11"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
409 |
<position x="963" y="1151"/> |
1383 | 410 |
<position x="776" y="1151"/> |
411 |
<position x="776" y="1097"/> |
|
412 |
</connection> |
|
413 |
</connectionPointIn> |
|
414 |
<connectionPointOut formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
415 |
<relPosition x="60" y="37"/> |
1383 | 416 |
</connectionPointOut> |
417 |
<connectionPointOutAction formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
418 |
<relPosition x="121" y="18"/> |
1383 | 419 |
</connectionPointOutAction> |
420 |
</step> |
|
421 |
<transition localId="2" height="2" width="20"> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
422 |
<position x="559" y="222"/> |
1383 | 423 |
<connectionPointIn> |
424 |
<relPosition x="10" y="0"/> |
|
425 |
<connection refLocalId="1"> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
426 |
<position x="569" y="222"/> |
1383 | 427 |
<position x="569" y="68"/> |
428 |
</connection> |
|
429 |
</connectionPointIn> |
|
430 |
<connectionPointOut> |
|
431 |
<relPosition x="10" y="2"/> |
|
432 |
</connectionPointOut> |
|
433 |
<condition> |
|
434 |
<inline name=""> |
|
435 |
<ST> |
|
436 |
<xhtml:p><![CDATA[SWITCH_BUTTON]]></xhtml:p> |
|
437 |
</ST> |
|
438 |
</inline> |
|
439 |
</condition> |
|
440 |
</transition> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
441 |
<step localId="3" height="30" width="118" name="ORANGE"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
442 |
<position x="510" y="250"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
443 |
<connectionPointIn> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
444 |
<relPosition x="59" y="0"/> |
1383 | 445 |
<connection refLocalId="2"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
446 |
<position x="569" y="250"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
447 |
<position x="569" y="224"/> |
1383 | 448 |
</connection> |
449 |
</connectionPointIn> |
|
450 |
<connectionPointOut formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
451 |
<relPosition x="59" y="30"/> |
1383 | 452 |
</connectionPointOut> |
453 |
<connectionPointOutAction formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
454 |
<relPosition x="118" y="15"/> |
1383 | 455 |
</connectionPointOutAction> |
456 |
</step> |
|
457 |
<transition localId="6" height="2" width="20"> |
|
458 |
<position x="559" y="376"/> |
|
459 |
<connectionPointIn> |
|
460 |
<relPosition x="10" y="0"/> |
|
461 |
<connection refLocalId="15"> |
|
462 |
<position x="569" y="376"/> |
|
463 |
<position x="569" y="336"/> |
|
464 |
</connection> |
|
465 |
</connectionPointIn> |
|
466 |
<connectionPointOut> |
|
467 |
<relPosition x="10" y="2"/> |
|
468 |
</connectionPointOut> |
|
469 |
<condition> |
|
470 |
<inline name=""> |
|
471 |
<ST> |
|
472 |
<xhtml:p><![CDATA[STOP_CARS]]></xhtml:p> |
|
473 |
</ST> |
|
474 |
</inline> |
|
475 |
</condition> |
|
476 |
</transition> |
|
477 |
<actionBlock localId="8" width="231" height="162"> |
|
478 |
<position x="711" y="34"/> |
|
479 |
<connectionPointIn> |
|
480 |
<relPosition x="0" y="15"/> |
|
481 |
<connection refLocalId="1"> |
|
482 |
<position x="711" y="49"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
483 |
<position x="630" y="49"/> |
1383 | 484 |
</connection> |
485 |
</connectionPointIn> |
|
486 |
<action localId="0" qualifier="P"> |
|
487 |
<relPosition x="0" y="0"/> |
|
488 |
<inline> |
|
489 |
<ST> |
|
490 |
<xhtml:p><![CDATA[ORANGE_LIGHT := 1;]]></xhtml:p> |
|
491 |
</ST> |
|
492 |
</inline> |
|
493 |
</action> |
|
494 |
<action localId="0"> |
|
495 |
<relPosition x="0" y="0"/> |
|
496 |
<reference name="BLINK_ORANGE_LIGHT"/> |
|
497 |
</action> |
|
498 |
<action localId="0" qualifier="R"> |
|
499 |
<relPosition x="0" y="0"/> |
|
500 |
<reference name="PEDESTRIAN_RED_LIGHT"/> |
|
501 |
</action> |
|
502 |
<action localId="0" qualifier="R"> |
|
503 |
<relPosition x="0" y="0"/> |
|
504 |
<reference name="PEDESTRIAN_GREEN_LIGHT"/> |
|
505 |
</action> |
|
506 |
<action localId="0" qualifier="R"> |
|
507 |
<relPosition x="0" y="0"/> |
|
508 |
<reference name="RED_LIGHT"/> |
|
509 |
</action> |
|
510 |
<action localId="0" qualifier="R"> |
|
511 |
<relPosition x="0" y="0"/> |
|
512 |
<reference name="GREEN_LIGHT"/> |
|
513 |
</action> |
|
514 |
</actionBlock> |
|
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
515 |
<actionBlock localId="9" width="232" height="125"> |
1383 | 516 |
<position x="711" y="250"/> |
517 |
<connectionPointIn> |
|
518 |
<relPosition x="0" y="15"/> |
|
519 |
<connection refLocalId="3"> |
|
520 |
<position x="711" y="265"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
521 |
<position x="628" y="265"/> |
1383 | 522 |
</connection> |
523 |
</connectionPointIn> |
|
524 |
<action localId="0" qualifier="R"> |
|
525 |
<relPosition x="0" y="0"/> |
|
526 |
<reference name="GREEN_LIGHT"/> |
|
527 |
</action> |
|
528 |
<action localId="0" qualifier="S"> |
|
529 |
<relPosition x="0" y="0"/> |
|
530 |
<reference name="ORANGE_LIGHT"/> |
|
531 |
</action> |
|
532 |
<action localId="0" qualifier="S"> |
|
533 |
<relPosition x="0" y="0"/> |
|
534 |
<reference name="PEDESTRIAN_RED_LIGHT"/> |
|
535 |
</action> |
|
536 |
<action localId="0" qualifier="D" duration="T#2s"> |
|
537 |
<relPosition x="0" y="0"/> |
|
538 |
<reference name="STOP_CARS"/> |
|
539 |
</action> |
|
540 |
</actionBlock> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
541 |
<step localId="10" height="34" width="92" name="RED"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
542 |
<position x="523" y="411"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
543 |
<connectionPointIn> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
544 |
<relPosition x="46" y="0"/> |
1383 | 545 |
<connection refLocalId="6"> |
546 |
<position x="569" y="411"/> |
|
547 |
<position x="569" y="378"/> |
|
548 |
</connection> |
|
549 |
</connectionPointIn> |
|
550 |
<connectionPointOut formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
551 |
<relPosition x="46" y="34"/> |
1383 | 552 |
</connectionPointOut> |
553 |
<connectionPointOutAction formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
554 |
<relPosition x="92" y="17"/> |
1383 | 555 |
</connectionPointOutAction> |
556 |
</step> |
|
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
557 |
<actionBlock localId="11" width="235" height="103"> |
1383 | 558 |
<position x="710" y="413"/> |
559 |
<connectionPointIn> |
|
560 |
<relPosition x="0" y="15"/> |
|
561 |
<connection refLocalId="10"> |
|
562 |
<position x="710" y="428"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
563 |
<position x="615" y="428"/> |
1383 | 564 |
</connection> |
565 |
</connectionPointIn> |
|
566 |
<action localId="0" qualifier="R"> |
|
567 |
<relPosition x="0" y="0"/> |
|
568 |
<reference name="ORANGE_LIGHT"/> |
|
569 |
</action> |
|
570 |
<action localId="0" qualifier="S"> |
|
571 |
<relPosition x="0" y="0"/> |
|
572 |
<reference name="RED_LIGHT"/> |
|
573 |
</action> |
|
574 |
<action localId="0" qualifier="D" duration="T#2s"> |
|
575 |
<relPosition x="0" y="0"/> |
|
576 |
<reference name="ALLOW_PEDESTRIANS"/> |
|
577 |
</action> |
|
578 |
</actionBlock> |
|
579 |
<transition localId="12" height="2" width="20"> |
|
580 |
<position x="559" y="533"/> |
|
581 |
<connectionPointIn> |
|
582 |
<relPosition x="10" y="0"/> |
|
583 |
<connection refLocalId="7"> |
|
584 |
<position x="569" y="533"/> |
|
585 |
<position x="569" y="487"/> |
|
586 |
</connection> |
|
587 |
</connectionPointIn> |
|
588 |
<connectionPointOut> |
|
589 |
<relPosition x="10" y="2"/> |
|
590 |
</connectionPointOut> |
|
591 |
<condition> |
|
592 |
<inline name=""> |
|
593 |
<ST> |
|
594 |
<xhtml:p><![CDATA[ALLOW_PEDESTRIANS]]></xhtml:p> |
|
595 |
</ST> |
|
596 |
</inline> |
|
597 |
</condition> |
|
598 |
</transition> |
|
599 |
<selectionDivergence localId="15" height="1" width="154"> |
|
600 |
<position x="415" y="335"/> |
|
601 |
<connectionPointIn> |
|
602 |
<relPosition x="154" y="0"/> |
|
603 |
<connection refLocalId="3"> |
|
604 |
<position x="569" y="335"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
605 |
<position x="569" y="280"/> |
1383 | 606 |
</connection> |
607 |
</connectionPointIn> |
|
608 |
<connectionPointOut formalParameter=""> |
|
609 |
<relPosition x="0" y="1"/> |
|
610 |
</connectionPointOut> |
|
611 |
<connectionPointOut formalParameter=""> |
|
612 |
<relPosition x="154" y="1"/> |
|
613 |
</connectionPointOut> |
|
614 |
</selectionDivergence> |
|
615 |
<transition localId="16" height="2" width="20"> |
|
616 |
<position x="405" y="377"/> |
|
617 |
<connectionPointIn> |
|
618 |
<relPosition x="10" y="0"/> |
|
619 |
<connection refLocalId="15"> |
|
620 |
<position x="415" y="377"/> |
|
621 |
<position x="415" y="336"/> |
|
622 |
</connection> |
|
623 |
</connectionPointIn> |
|
624 |
<connectionPointOut> |
|
625 |
<relPosition x="10" y="2"/> |
|
626 |
</connectionPointOut> |
|
627 |
<condition> |
|
628 |
<reference name="STOP"/> |
|
629 |
</condition> |
|
630 |
</transition> |
|
631 |
<jumpStep localId="17" height="13" width="12" targetName="Standstill"> |
|
632 |
<position x="409" y="418"/> |
|
633 |
<connectionPointIn> |
|
634 |
<relPosition x="6" y="0"/> |
|
635 |
<connection refLocalId="16"> |
|
636 |
<position x="415" y="418"/> |
|
637 |
<position x="415" y="379"/> |
|
638 |
</connection> |
|
639 |
</connectionPointIn> |
|
640 |
</jumpStep> |
|
641 |
<transition localId="4" height="2" width="20"> |
|
642 |
<position x="400" y="528"/> |
|
643 |
<connectionPointIn> |
|
644 |
<relPosition x="10" y="0"/> |
|
645 |
<connection refLocalId="7"> |
|
646 |
<position x="410" y="528"/> |
|
647 |
<position x="410" y="487"/> |
|
648 |
</connection> |
|
649 |
</connectionPointIn> |
|
650 |
<connectionPointOut> |
|
651 |
<relPosition x="10" y="2"/> |
|
652 |
</connectionPointOut> |
|
653 |
<condition> |
|
654 |
<reference name="STOP"/> |
|
655 |
</condition> |
|
656 |
</transition> |
|
657 |
<jumpStep localId="5" height="13" width="12" targetName="Standstill"> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
658 |
<position x="404" y="553"/> |
1383 | 659 |
<connectionPointIn> |
660 |
<relPosition x="6" y="0"/> |
|
661 |
<connection refLocalId="4"> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
662 |
<position x="410" y="553"/> |
1383 | 663 |
<position x="410" y="530"/> |
664 |
</connection> |
|
665 |
</connectionPointIn> |
|
666 |
</jumpStep> |
|
667 |
<selectionDivergence localId="7" height="1" width="159"> |
|
668 |
<position x="410" y="486"/> |
|
669 |
<connectionPointIn> |
|
670 |
<relPosition x="159" y="0"/> |
|
671 |
<connection refLocalId="10"> |
|
672 |
<position x="569" y="486"/> |
|
673 |
<position x="569" y="445"/> |
|
674 |
</connection> |
|
675 |
</connectionPointIn> |
|
676 |
<connectionPointOut formalParameter=""> |
|
677 |
<relPosition x="0" y="1"/> |
|
678 |
</connectionPointOut> |
|
679 |
<connectionPointOut formalParameter=""> |
|
680 |
<relPosition x="159" y="1"/> |
|
681 |
</connectionPointOut> |
|
682 |
</selectionDivergence> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
683 |
<step localId="18" height="32" width="177" name="PEDESTRIAN_GREEN"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
684 |
<position x="481" y="572"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
685 |
<connectionPointIn> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
686 |
<relPosition x="88" y="0"/> |
1383 | 687 |
<connection refLocalId="12"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
688 |
<position x="569" y="572"/> |
1383 | 689 |
<position x="569" y="535"/> |
690 |
</connection> |
|
691 |
</connectionPointIn> |
|
692 |
<connectionPointOut formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
693 |
<relPosition x="88" y="32"/> |
1383 | 694 |
</connectionPointOut> |
695 |
<connectionPointOutAction formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
696 |
<relPosition x="177" y="16"/> |
1383 | 697 |
</connectionPointOutAction> |
698 |
</step> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
699 |
<actionBlock localId="19" width="247" height="110"> |
1383 | 700 |
<position x="708" y="573"/> |
701 |
<connectionPointIn> |
|
702 |
<relPosition x="0" y="15"/> |
|
703 |
<connection refLocalId="18"> |
|
704 |
<position x="708" y="588"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
705 |
<position x="658" y="588"/> |
1383 | 706 |
</connection> |
707 |
</connectionPointIn> |
|
708 |
<action localId="0" qualifier="S"> |
|
709 |
<relPosition x="0" y="0"/> |
|
710 |
<reference name="PEDESTRIAN_GREEN_LIGHT"/> |
|
711 |
</action> |
|
712 |
<action localId="0" qualifier="R"> |
|
713 |
<relPosition x="0" y="0"/> |
|
714 |
<reference name="PEDESTRIAN_RED_LIGHT"/> |
|
715 |
</action> |
|
716 |
<action localId="0" qualifier="D" duration="T#10s"> |
|
717 |
<relPosition x="0" y="0"/> |
|
718 |
<reference name="STOP_PEDESTRIANS"/> |
|
719 |
</action> |
|
720 |
</actionBlock> |
|
721 |
<transition localId="20" height="2" width="20"> |
|
722 |
<position x="400" y="653"/> |
|
723 |
<connectionPointIn> |
|
724 |
<relPosition x="10" y="0"/> |
|
725 |
<connection refLocalId="22"> |
|
726 |
<position x="410" y="653"/> |
|
727 |
<position x="410" y="626"/> |
|
728 |
</connection> |
|
729 |
</connectionPointIn> |
|
730 |
<connectionPointOut> |
|
731 |
<relPosition x="10" y="2"/> |
|
732 |
</connectionPointOut> |
|
733 |
<condition> |
|
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
734 |
<inline name=""> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
735 |
<ST> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
736 |
<xhtml:p><![CDATA[NOT SWITCH_BUTTON]]></xhtml:p> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
737 |
</ST> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
738 |
</inline> |
1383 | 739 |
</condition> |
740 |
</transition> |
|
741 |
<jumpStep localId="21" height="13" width="12" targetName="Standstill"> |
|
742 |
<position x="404" y="694"/> |
|
743 |
<connectionPointIn> |
|
744 |
<relPosition x="6" y="0"/> |
|
745 |
<connection refLocalId="20"> |
|
746 |
<position x="410" y="694"/> |
|
747 |
<position x="410" y="655"/> |
|
748 |
</connection> |
|
749 |
</connectionPointIn> |
|
750 |
</jumpStep> |
|
751 |
<selectionDivergence localId="22" height="1" width="159"> |
|
752 |
<position x="410" y="625"/> |
|
753 |
<connectionPointIn> |
|
754 |
<relPosition x="159" y="0"/> |
|
755 |
<connection refLocalId="18"> |
|
756 |
<position x="569" y="625"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
757 |
<position x="569" y="615"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
758 |
<position x="569" y="615"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
759 |
<position x="569" y="604"/> |
1383 | 760 |
</connection> |
761 |
</connectionPointIn> |
|
762 |
<connectionPointOut formalParameter=""> |
|
763 |
<relPosition x="0" y="1"/> |
|
764 |
</connectionPointOut> |
|
765 |
<connectionPointOut formalParameter=""> |
|
766 |
<relPosition x="159" y="1"/> |
|
767 |
</connectionPointOut> |
|
768 |
</selectionDivergence> |
|
769 |
<transition localId="23" height="2" width="20"> |
|
770 |
<position x="559" y="709"/> |
|
771 |
<connectionPointIn> |
|
772 |
<relPosition x="10" y="0"/> |
|
773 |
<connection refLocalId="22"> |
|
774 |
<position x="569" y="709"/> |
|
775 |
<position x="569" y="626"/> |
|
776 |
</connection> |
|
777 |
</connectionPointIn> |
|
778 |
<connectionPointOut> |
|
779 |
<relPosition x="10" y="2"/> |
|
780 |
</connectionPointOut> |
|
781 |
<condition> |
|
782 |
<inline name=""> |
|
783 |
<ST> |
|
784 |
<xhtml:p><![CDATA[STOP_PEDESTRIANS]]></xhtml:p> |
|
785 |
</ST> |
|
786 |
</inline> |
|
787 |
</condition> |
|
788 |
</transition> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
789 |
<step localId="24" height="30" width="148" name="PEDESTRIAN_RED"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
790 |
<position x="495" y="748"/> |
1383 | 791 |
<connectionPointIn> |
792 |
<relPosition x="74" y="0"/> |
|
793 |
<connection refLocalId="23"> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
794 |
<position x="569" y="748"/> |
1383 | 795 |
<position x="569" y="711"/> |
796 |
</connection> |
|
797 |
</connectionPointIn> |
|
798 |
<connectionPointOut formalParameter=""> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
799 |
<relPosition x="74" y="30"/> |
1383 | 800 |
</connectionPointOut> |
801 |
<connectionPointOutAction formalParameter=""> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
802 |
<relPosition x="148" y="15"/> |
1383 | 803 |
</connectionPointOutAction> |
804 |
</step> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
805 |
<actionBlock localId="25" width="239" height="110"> |
1383 | 806 |
<position x="708" y="748"/> |
807 |
<connectionPointIn> |
|
808 |
<relPosition x="0" y="15"/> |
|
809 |
<connection refLocalId="24"> |
|
810 |
<position x="708" y="763"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
811 |
<position x="643" y="763"/> |
1383 | 812 |
</connection> |
813 |
</connectionPointIn> |
|
814 |
<action localId="0" qualifier="S"> |
|
815 |
<relPosition x="0" y="0"/> |
|
816 |
<reference name="PEDESTRIAN_RED_LIGHT"/> |
|
817 |
</action> |
|
818 |
<action localId="0" qualifier="R"> |
|
819 |
<relPosition x="0" y="0"/> |
|
820 |
<reference name="PEDESTRIAN_GREEN_LIGHT"/> |
|
821 |
</action> |
|
822 |
<action localId="0" qualifier="D" duration="T#2s"> |
|
823 |
<relPosition x="0" y="0"/> |
|
824 |
<reference name="ALLOW_CARS"/> |
|
825 |
</action> |
|
826 |
</actionBlock> |
|
827 |
<transition localId="26" height="2" width="20"> |
|
828 |
<position x="400" y="857"/> |
|
829 |
<connectionPointIn> |
|
830 |
<relPosition x="10" y="0"/> |
|
831 |
<connection refLocalId="28"> |
|
832 |
<position x="410" y="857"/> |
|
833 |
<position x="410" y="816"/> |
|
834 |
</connection> |
|
835 |
</connectionPointIn> |
|
836 |
<connectionPointOut> |
|
837 |
<relPosition x="10" y="2"/> |
|
838 |
</connectionPointOut> |
|
839 |
<condition> |
|
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
840 |
<connectionPointIn> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
841 |
<connection refLocalId="48"> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
842 |
<position x="400" y="858"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
843 |
<position x="290" y="858"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
844 |
</connection> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
845 |
</connectionPointIn> |
1383 | 846 |
</condition> |
847 |
</transition> |
|
848 |
<jumpStep localId="27" height="13" width="12" targetName="Standstill"> |
|
849 |
<position x="404" y="898"/> |
|
850 |
<connectionPointIn> |
|
851 |
<relPosition x="6" y="0"/> |
|
852 |
<connection refLocalId="26"> |
|
853 |
<position x="410" y="898"/> |
|
854 |
<position x="410" y="859"/> |
|
855 |
</connection> |
|
856 |
</connectionPointIn> |
|
857 |
</jumpStep> |
|
858 |
<selectionDivergence localId="28" height="1" width="159"> |
|
859 |
<position x="410" y="815"/> |
|
860 |
<connectionPointIn> |
|
861 |
<relPosition x="159" y="0"/> |
|
862 |
<connection refLocalId="24"> |
|
863 |
<position x="569" y="815"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
864 |
<position x="569" y="778"/> |
1383 | 865 |
</connection> |
866 |
</connectionPointIn> |
|
867 |
<connectionPointOut formalParameter=""> |
|
868 |
<relPosition x="0" y="1"/> |
|
869 |
</connectionPointOut> |
|
870 |
<connectionPointOut formalParameter=""> |
|
871 |
<relPosition x="159" y="1"/> |
|
872 |
</connectionPointOut> |
|
873 |
</selectionDivergence> |
|
874 |
<transition localId="29" height="2" width="20"> |
|
875 |
<position x="559" y="879"/> |
|
876 |
<connectionPointIn> |
|
877 |
<relPosition x="10" y="0"/> |
|
878 |
<connection refLocalId="28"> |
|
879 |
<position x="569" y="879"/> |
|
880 |
<position x="569" y="816"/> |
|
881 |
</connection> |
|
882 |
</connectionPointIn> |
|
883 |
<connectionPointOut> |
|
884 |
<relPosition x="10" y="2"/> |
|
885 |
</connectionPointOut> |
|
886 |
<condition> |
|
887 |
<inline name=""> |
|
888 |
<ST> |
|
889 |
<xhtml:p><![CDATA[ALLOW_CARS]]></xhtml:p> |
|
890 |
</ST> |
|
891 |
</inline> |
|
892 |
</condition> |
|
893 |
</transition> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
894 |
<step localId="30" height="33" width="92" name="GREEN"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
895 |
<position x="523" y="930"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
896 |
<connectionPointIn> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
897 |
<relPosition x="46" y="0"/> |
1383 | 898 |
<connection refLocalId="29"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
899 |
<position x="569" y="930"/> |
1383 | 900 |
<position x="569" y="881"/> |
901 |
</connection> |
|
902 |
</connectionPointIn> |
|
903 |
<connectionPointOut formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
904 |
<relPosition x="46" y="33"/> |
1383 | 905 |
</connectionPointOut> |
906 |
<connectionPointOutAction formalParameter=""> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
907 |
<relPosition x="92" y="16"/> |
1383 | 908 |
</connectionPointOutAction> |
909 |
</step> |
|
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
910 |
<actionBlock localId="31" width="227" height="110"> |
1383 | 911 |
<position x="709" y="931"/> |
912 |
<connectionPointIn> |
|
913 |
<relPosition x="0" y="15"/> |
|
914 |
<connection refLocalId="30"> |
|
915 |
<position x="709" y="946"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
916 |
<position x="615" y="946"/> |
1383 | 917 |
</connection> |
918 |
</connectionPointIn> |
|
919 |
<action localId="0" qualifier="S"> |
|
920 |
<relPosition x="0" y="0"/> |
|
921 |
<reference name="GREEN_LIGHT"/> |
|
922 |
</action> |
|
923 |
<action localId="0" qualifier="R"> |
|
924 |
<relPosition x="0" y="0"/> |
|
925 |
<reference name="RED_LIGHT"/> |
|
926 |
</action> |
|
927 |
<action localId="0" qualifier="D" duration="T#20s"> |
|
928 |
<relPosition x="0" y="0"/> |
|
929 |
<reference name="WARN_CARS"/> |
|
930 |
</action> |
|
931 |
</actionBlock> |
|
932 |
<block localId="32" width="89" height="94" typeName="TON" instanceName="TON3"> |
|
933 |
<position x="308" y="1053"/> |
|
934 |
<inputVariables> |
|
935 |
<variable formalParameter="IN"> |
|
936 |
<connectionPointIn> |
|
937 |
<relPosition x="0" y="38"/> |
|
938 |
<connection refLocalId="44" formalParameter="Q1"> |
|
939 |
<position x="308" y="1091"/> |
|
940 |
<position x="291" y="1091"/> |
|
941 |
<position x="291" y="1065"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
942 |
<position x="275" y="1065"/> |
1383 | 943 |
</connection> |
944 |
</connectionPointIn> |
|
945 |
</variable> |
|
946 |
<variable formalParameter="PT"> |
|
947 |
<connectionPointIn> |
|
948 |
<relPosition x="0" y="75"/> |
|
949 |
<connection refLocalId="34"> |
|
950 |
<position x="308" y="1128"/> |
|
951 |
<position x="270" y="1128"/> |
|
952 |
</connection> |
|
953 |
</connectionPointIn> |
|
954 |
</variable> |
|
955 |
</inputVariables> |
|
956 |
<inOutVariables/> |
|
957 |
<outputVariables> |
|
958 |
<variable formalParameter="Q"> |
|
959 |
<connectionPointOut> |
|
960 |
<relPosition x="89" y="38"/> |
|
961 |
</connectionPointOut> |
|
962 |
</variable> |
|
963 |
<variable formalParameter="ET"> |
|
964 |
<connectionPointOut> |
|
965 |
<relPosition x="89" y="75"/> |
|
966 |
</connectionPointOut> |
|
967 |
</variable> |
|
968 |
</outputVariables> |
|
969 |
</block> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
970 |
<inVariable localId="33" height="36" width="168" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
971 |
<position x="15" y="1047"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
972 |
<connectionPointOut> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
973 |
<relPosition x="168" y="18"/> |
1383 | 974 |
</connectionPointOut> |
975 |
<expression>PEDESTRIAN_BUTTON</expression> |
|
976 |
</inVariable> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
977 |
<inVariable localId="34" height="33" width="53" negated="false"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
978 |
<position x="217" y="1112"/> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
979 |
<connectionPointOut> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
980 |
<relPosition x="53" y="16"/> |
1383 | 981 |
</connectionPointOut> |
982 |
<expression>T#2s</expression> |
|
983 |
</inVariable> |
|
984 |
<block localId="35" width="67" height="60" typeName="OR"> |
|
985 |
<position x="459" y="1061"/> |
|
986 |
<inputVariables> |
|
987 |
<variable formalParameter="IN1"> |
|
988 |
<connectionPointIn> |
|
989 |
<relPosition x="0" y="30"/> |
|
990 |
<connection refLocalId="32" formalParameter="Q"> |
|
991 |
<position x="459" y="1091"/> |
|
992 |
<position x="397" y="1091"/> |
|
993 |
</connection> |
|
994 |
</connectionPointIn> |
|
995 |
</variable> |
|
996 |
<variable formalParameter="IN2"> |
|
997 |
<connectionPointIn> |
|
998 |
<relPosition x="0" y="50"/> |
|
999 |
<connection refLocalId="36"> |
|
1000 |
<position x="459" y="1111"/> |
|
1001 |
<position x="427" y="1111"/> |
|
1002 |
<position x="427" y="1195"/> |
|
1003 |
<position x="260" y="1195"/> |
|
1004 |
</connection> |
|
1005 |
</connectionPointIn> |
|
1006 |
</variable> |
|
1007 |
</inputVariables> |
|
1008 |
<inOutVariables/> |
|
1009 |
<outputVariables> |
|
1010 |
<variable formalParameter="OUT"> |
|
1011 |
<connectionPointOut> |
|
1012 |
<relPosition x="67" y="30"/> |
|
1013 |
</connectionPointOut> |
|
1014 |
</variable> |
|
1015 |
</outputVariables> |
|
1016 |
</block> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1017 |
<inVariable localId="36" height="30" width="97" negated="false"> |
1383 | 1018 |
<position x="163" y="1182"/> |
1019 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1020 |
<relPosition x="97" y="15"/> |
1383 | 1021 |
</connectionPointOut> |
1022 |
<expression>WARN_CARS</expression> |
|
1023 |
</inVariable> |
|
1024 |
<transition localId="37" height="2" width="20"> |
|
1025 |
<position x="559" y="1090"/> |
|
1026 |
<connectionPointIn> |
|
1027 |
<relPosition x="10" y="0"/> |
|
1028 |
<connection refLocalId="38"> |
|
1029 |
<position x="569" y="1090"/> |
|
1030 |
<position x="569" y="1060"/> |
|
1031 |
</connection> |
|
1032 |
</connectionPointIn> |
|
1033 |
<connectionPointOut> |
|
1034 |
<relPosition x="10" y="2"/> |
|
1035 |
</connectionPointOut> |
|
1036 |
<condition> |
|
1037 |
<connectionPointIn> |
|
1038 |
<connection refLocalId="35" formalParameter="OUT"> |
|
1039 |
<position x="559" y="1091"/> |
|
1040 |
<position x="526" y="1091"/> |
|
1041 |
</connection> |
|
1042 |
</connectionPointIn> |
|
1043 |
</condition> |
|
1044 |
</transition> |
|
1045 |
<selectionDivergence localId="38" height="1" width="207"> |
|
1046 |
<position x="569" y="1059"/> |
|
1047 |
<connectionPointIn> |
|
1048 |
<relPosition x="0" y="0"/> |
|
1049 |
<connection refLocalId="30"> |
|
1050 |
<position x="569" y="1059"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1051 |
<position x="569" y="963"/> |
1383 | 1052 |
</connection> |
1053 |
</connectionPointIn> |
|
1054 |
<connectionPointOut formalParameter=""> |
|
1055 |
<relPosition x="0" y="1"/> |
|
1056 |
</connectionPointOut> |
|
1057 |
<connectionPointOut formalParameter=""> |
|
1058 |
<relPosition x="207" y="1"/> |
|
1059 |
</connectionPointOut> |
|
1060 |
</selectionDivergence> |
|
1061 |
<transition localId="39" height="2" width="20"> |
|
1062 |
<position x="766" y="1095"/> |
|
1063 |
<connectionPointIn> |
|
1064 |
<relPosition x="10" y="0"/> |
|
1065 |
<connection refLocalId="38"> |
|
1066 |
<position x="776" y="1095"/> |
|
1067 |
<position x="776" y="1060"/> |
|
1068 |
</connection> |
|
1069 |
</connectionPointIn> |
|
1070 |
<connectionPointOut> |
|
1071 |
<relPosition x="10" y="2"/> |
|
1072 |
</connectionPointOut> |
|
1073 |
<condition> |
|
1074 |
<inline name=""> |
|
1075 |
<ST> |
|
1076 |
<xhtml:p><![CDATA[NOT SWITCH_BUTTON]]></xhtml:p> |
|
1077 |
</ST> |
|
1078 |
</inline> |
|
1079 |
</condition> |
|
1080 |
</transition> |
|
1081 |
<jumpStep localId="41" height="13" width="12" targetName="ORANGE"> |
|
1082 |
<position x="563" y="1137"/> |
|
1083 |
<connectionPointIn> |
|
1084 |
<relPosition x="6" y="0"/> |
|
1085 |
<connection refLocalId="37"> |
|
1086 |
<position x="569" y="1137"/> |
|
1087 |
<position x="569" y="1092"/> |
|
1088 |
</connection> |
|
1089 |
</connectionPointIn> |
|
1090 |
</jumpStep> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1091 |
<block localId="44" width="51" height="60" typeName="SR" instanceName="SR0"> |
1383 | 1092 |
<position x="224" y="1035"/> |
1093 |
<inputVariables> |
|
1094 |
<variable formalParameter="S1"> |
|
1095 |
<connectionPointIn> |
|
1096 |
<relPosition x="0" y="30"/> |
|
1097 |
<connection refLocalId="33"> |
|
1098 |
<position x="224" y="1065"/> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1099 |
<position x="183" y="1065"/> |
1383 | 1100 |
</connection> |
1101 |
</connectionPointIn> |
|
1102 |
</variable> |
|
1103 |
<variable formalParameter="R"> |
|
1104 |
<connectionPointIn> |
|
1105 |
<relPosition x="0" y="50"/> |
|
1106 |
<connection refLocalId="32" formalParameter="Q"> |
|
1107 |
<position x="224" y="1085"/> |
|
1108 |
<position x="203" y="1085"/> |
|
1109 |
<position x="203" y="1167"/> |
|
1110 |
<position x="416" y="1167"/> |
|
1111 |
<position x="416" y="1091"/> |
|
1112 |
<position x="397" y="1091"/> |
|
1113 |
</connection> |
|
1114 |
</connectionPointIn> |
|
1115 |
</variable> |
|
1116 |
</inputVariables> |
|
1117 |
<inOutVariables/> |
|
1118 |
<outputVariables> |
|
1119 |
<variable formalParameter="Q1"> |
|
1120 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1121 |
<relPosition x="51" y="30"/> |
1383 | 1122 |
</connectionPointOut> |
1123 |
</variable> |
|
1124 |
</outputVariables> |
|
1125 |
</block> |
|
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1126 |
<comment localId="45" height="767" width="753"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1127 |
<position x="973" y="21"/> |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1128 |
<content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1129 |
<xhtml:p><![CDATA[*** Description of SFC action qualifiers *** |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1130 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1131 |
N : non-stored - The action code body is executed or the Boolean variable is set as |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1132 |
long as the step is active. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1133 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1134 |
R : overriding reset – When the step has previously been executed with the S |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1135 |
(including DS, DS, and SL) qualifier, the R qualifier will stop the execution of the |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1136 |
code or reset the Boolean variable. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1137 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1138 |
S : set (stored) - The action code body is executed or the Boolean variable is set. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1139 |
This state is stored as soon as the step becomes active. It can only be reset |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1140 |
explicitly by associating the same action to a different step using the qualifier 'R'. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1141 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1142 |
L : time limited - The action code body is executed or the Boolean variable is set as |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1143 |
long as the step is active but maximal for the fixed time interval. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1144 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1145 |
D : time delayed - The action code body is executed or the Boolean variable is set |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1146 |
after the fixed delay time has elapsed. The action remains active as long as the step |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1147 |
is active. If the step is active shorter than the fixed delay time the action does not |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1148 |
become active. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1149 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1150 |
P : pulse - As soon as the step is active the action code body is executed or the |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1151 |
Boolean variable is set for one operating cycle. (Note: The code body will then |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1152 |
execute for one additional operating cycle with the Step.X variable FALSE.) |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1153 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1154 |
SD : stored and time delayed - the action code body is executed or the Boolean |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1155 |
variable is stored and set when the fixed delay time has elapsed after the step |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1156 |
activation, even if the step becomes inactive. The action remains active until it is |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1157 |
reset. If the step is active shorter than the fixed delay time the action becomes active |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1158 |
anyway. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1159 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1160 |
DS : delayed and stored - The action code body is executed or the Boolean variable |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1161 |
is set when the fixed delay time has elapsed after the step activation. The action |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1162 |
remains active until it is reset. If the step is active shorter than the fixed delay time |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1163 |
the action does not become active. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1164 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1165 |
SL : stored and time limited - The action code body is executed or the Boolean |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1166 |
variable is set and stored for a fixed time interval as soon as the step is active. If the |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1167 |
step is active shorter than the time interval the action is active for the whole time |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1168 |
interval anyway. If the action is reset during the time interval the action becomes |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1169 |
inactive as soon as the action is reset. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1170 |
]]></xhtml:p> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1171 |
</content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1172 |
</comment> |
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1173 |
<comment localId="46" height="224" width="375"> |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1174 |
<position x="8" y="326"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1175 |
<content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1176 |
<xhtml:p><![CDATA[Conditions can be written in any IEC 61131-3 language. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1177 |
They can be implemented in defferent ways: |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1178 |
- reference to external implementation; |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1179 |
- inline implementation; |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1180 |
- written in FBD or LD on SFC diagram and connected to the condition. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1181 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1182 |
See below examples of all these types.]]></xhtml:p> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1183 |
</content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1184 |
</comment> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1185 |
<leftPowerRail localId="47" height="40" width="3"> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1186 |
<position x="189" y="838"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1187 |
<connectionPointOut formalParameter=""> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1188 |
<relPosition x="3" y="20"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1189 |
</connectionPointOut> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1190 |
</leftPowerRail> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1191 |
<contact localId="48" height="15" width="21" negated="true"> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1192 |
<position x="269" y="850"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1193 |
<connectionPointIn> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1194 |
<relPosition x="0" y="8"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1195 |
<connection refLocalId="47"> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1196 |
<position x="269" y="858"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1197 |
<position x="192" y="858"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1198 |
</connection> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1199 |
</connectionPointIn> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1200 |
<connectionPointOut> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1201 |
<relPosition x="21" y="8"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1202 |
</connectionPointOut> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1203 |
<variable>SWITCH_BUTTON</variable> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1204 |
</contact> |
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1205 |
<comment localId="13" height="86" width="379"> |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1206 |
<position x="9" y="28"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1207 |
<content> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1208 |
<xhtml:p><![CDATA[Sequential function chart (SFC) is commonly used to describe state machines.]]></xhtml:p> |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1209 |
</content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1210 |
</comment> |
1383 | 1211 |
</SFC> |
1212 |
</body> |
|
1213 |
</pou> |
|
1214 |
<pou name="main_program" pouType="program"> |
|
1215 |
<interface> |
|
1216 |
<localVars> |
|
1217 |
<variable name="trafic_light_sequence0"> |
|
1218 |
<type> |
|
1219 |
<derived name="traffic_light_sequence"/> |
|
1220 |
</type> |
|
1221 |
</variable> |
|
1222 |
<variable name="SwitchButton"> |
|
1223 |
<type> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1224 |
<derived name="HMI_BOOL"/> |
1383 | 1225 |
</type> |
1226 |
</variable> |
|
1227 |
<variable name="PedestrianButton"> |
|
1228 |
<type> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1229 |
<derived name="HMI_BOOL"/> |
1383 | 1230 |
</type> |
1231 |
</variable> |
|
1232 |
<variable name="RedLight"> |
|
1233 |
<type> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1234 |
<derived name="HMI_BOOL"/> |
1383 | 1235 |
</type> |
1236 |
</variable> |
|
1237 |
<variable name="OrangeLight"> |
|
1238 |
<type> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1239 |
<derived name="HMI_BOOL"/> |
1383 | 1240 |
</type> |
1241 |
</variable> |
|
1242 |
<variable name="GreenLight"> |
|
1243 |
<type> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1244 |
<derived name="HMI_BOOL"/> |
1383 | 1245 |
</type> |
1246 |
</variable> |
|
1247 |
<variable name="PedestrianRedLight"> |
|
1248 |
<type> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1249 |
<derived name="HMI_BOOL"/> |
1383 | 1250 |
</type> |
1251 |
</variable> |
|
1252 |
<variable name="PedestrianGreenLight"> |
|
1253 |
<type> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1254 |
<derived name="HMI_BOOL"/> |
1383 | 1255 |
</type> |
1256 |
</variable> |
|
1257 |
</localVars> |
|
1258 |
</interface> |
|
1259 |
<body> |
|
1260 |
<FBD> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1261 |
<block localId="1" width="350" height="836" typeName="traffic_light_sequence" instanceName="trafic_light_sequence0" executionOrderId="0"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1262 |
<position x="494" y="462"/> |
1383 | 1263 |
<inputVariables> |
1264 |
<variable formalParameter="SWITCH_BUTTON"> |
|
1265 |
<connectionPointIn> |
|
1266 |
<relPosition x="0" y="101"/> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1267 |
<connection refLocalId="103"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1268 |
<position x="494" y="563"/> |
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1269 |
<position x="446" y="563"/> |
1383 | 1270 |
</connection> |
1271 |
</connectionPointIn> |
|
1272 |
</variable> |
|
1273 |
<variable formalParameter="PEDESTRIAN_BUTTON"> |
|
1274 |
<connectionPointIn> |
|
1275 |
<relPosition x="0" y="264"/> |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1276 |
<connection refLocalId="104"> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1277 |
<position x="494" y="726"/> |
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1278 |
<position x="438" y="726"/> |
1383 | 1279 |
</connection> |
1280 |
</connectionPointIn> |
|
1281 |
</variable> |
|
1282 |
</inputVariables> |
|
1283 |
<inOutVariables/> |
|
1284 |
<outputVariables> |
|
1285 |
<variable formalParameter="RED_LIGHT"> |
|
1286 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1287 |
<relPosition x="350" y="101"/> |
1383 | 1288 |
</connectionPointOut> |
1289 |
</variable> |
|
1290 |
<variable formalParameter="ORANGE_LIGHT"> |
|
1291 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1292 |
<relPosition x="350" y="264"/> |
1383 | 1293 |
</connectionPointOut> |
1294 |
</variable> |
|
1295 |
<variable formalParameter="GREEN_LIGHT"> |
|
1296 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1297 |
<relPosition x="350" y="427"/> |
1383 | 1298 |
</connectionPointOut> |
1299 |
</variable> |
|
1300 |
<variable formalParameter="PEDESTRIAN_RED_LIGHT"> |
|
1301 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1302 |
<relPosition x="350" y="590"/> |
1383 | 1303 |
</connectionPointOut> |
1304 |
</variable> |
|
1305 |
<variable formalParameter="PEDESTRIAN_GREEN_LIGHT"> |
|
1306 |
<connectionPointOut> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1307 |
<relPosition x="350" y="753"/> |
1383 | 1308 |
</connectionPointOut> |
1309 |
</variable> |
|
1310 |
</outputVariables> |
|
1311 |
</block> |
|
2296
a2ab363f9e90
Make comment blocks in examples slightly bigger so text inside is always visible
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1546
diff
changeset
|
1312 |
<comment localId="24" height="287" width="1008"> |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1313 |
<position x="22" y="13"/> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1314 |
<content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1315 |
<xhtml:p><![CDATA[This example implements control of traffic lights. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1316 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1317 |
Basically it shows following features of Beremiz: |
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1318 |
- web interface (SCADA) using integrated web server in SVGHMI extension; |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1319 |
- interaction with web UI; |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1320 |
- functional blocks in SFC language. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1321 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1322 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1323 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1324 |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1325 |
SVGHMI is extensions to build web interface to PLC. It has *integrated* web-server. So it's NOT necessary to install Apache, lighttpd or nginx for that!!! |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1326 |
|
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1327 |
As the program is running in PLC, web UI will be available at http://localhost:8009/. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1328 |
|
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1329 |
Web interface is build as SVG file in Inkscape. To edit SVG file click 'Inkscape' button in 0x: SVGHMI extension. |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1330 |
Inkscape is a free and open-source vector graphics editor. It's not part of Beremiz and needs to be installed separately. |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1331 |
]]></xhtml:p> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1332 |
</content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1333 |
</comment> |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1334 |
<comment localId="102" height="134" width="734"> |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1335 |
<position x="21" y="303"/> |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1336 |
<content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1337 |
<xhtml:p><![CDATA[In this example FB like 'Button', 'Led' and 'Text' are used. |
2346
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1338 |
Back_id and sele_id inputs of these blocks are IDs of graphic primitives in SVG file. |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1339 |
This is the way how elements in SVG are bound to elements in PLC program. |
ac16bad593cf
Cleanup examples so they look clean, nice and almost the same on Windows and GNU/Linux
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
2296
diff
changeset
|
1340 |
You can find out or edit these IDs in Inkscape.]]></xhtml:p> |
1546
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1341 |
</content> |
f1840d27823d
cleanup traffic lights example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1383
diff
changeset
|
1342 |
</comment> |
3359
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1343 |
<inVariable localId="103" executionOrderId="0" height="24" width="106" negated="false"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1344 |
<position x="340" y="551"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1345 |
<connectionPointOut> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1346 |
<relPosition x="106" y="12"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1347 |
</connectionPointOut> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1348 |
<expression>SwitchButton</expression> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1349 |
</inVariable> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1350 |
<inVariable localId="104" executionOrderId="0" height="24" width="138" negated="false"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1351 |
<position x="300" y="714"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1352 |
<connectionPointOut> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1353 |
<relPosition x="138" y="12"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1354 |
</connectionPointOut> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1355 |
<expression>PedestrianButton</expression> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1356 |
</inVariable> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1357 |
<outVariable localId="105" executionOrderId="0" height="24" width="74" negated="false"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1358 |
<position x="891" y="551"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1359 |
<connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1360 |
<relPosition x="0" y="12"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1361 |
<connection refLocalId="1" formalParameter="RED_LIGHT"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1362 |
<position x="891" y="563"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1363 |
<position x="844" y="563"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1364 |
</connection> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1365 |
</connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1366 |
<expression>RedLight</expression> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1367 |
</outVariable> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1368 |
<outVariable localId="106" executionOrderId="0" height="24" width="98" negated="false"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1369 |
<position x="880" y="714"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1370 |
<connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1371 |
<relPosition x="0" y="12"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1372 |
<connection refLocalId="1" formalParameter="ORANGE_LIGHT"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1373 |
<position x="880" y="726"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1374 |
<position x="844" y="726"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1375 |
</connection> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1376 |
</connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1377 |
<expression>OrangeLight</expression> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1378 |
</outVariable> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1379 |
<outVariable localId="107" executionOrderId="0" height="24" width="90" negated="false"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1380 |
<position x="881" y="877"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1381 |
<connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1382 |
<relPosition x="0" y="12"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1383 |
<connection refLocalId="1" formalParameter="GREEN_LIGHT"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1384 |
<position x="881" y="889"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1385 |
<position x="844" y="889"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1386 |
</connection> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1387 |
</connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1388 |
<expression>GreenLight</expression> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1389 |
</outVariable> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1390 |
<outVariable localId="108" executionOrderId="0" height="24" width="154" negated="false"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1391 |
<position x="882" y="1040"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1392 |
<connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1393 |
<relPosition x="0" y="12"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1394 |
<connection refLocalId="1" formalParameter="PEDESTRIAN_RED_LIGHT"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1395 |
<position x="882" y="1052"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1396 |
<position x="844" y="1052"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1397 |
</connection> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1398 |
</connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1399 |
<expression>PedestrianRedLight</expression> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1400 |
</outVariable> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1401 |
<outVariable localId="109" executionOrderId="0" height="24" width="170" negated="false"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1402 |
<position x="873" y="1203"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1403 |
<connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1404 |
<relPosition x="0" y="12"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1405 |
<connection refLocalId="1" formalParameter="PEDESTRIAN_GREEN_LIGHT"> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1406 |
<position x="873" y="1215"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1407 |
<position x="844" y="1215"/> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1408 |
</connection> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1409 |
</connectionPointIn> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1410 |
<expression>PedestrianGreenLight</expression> |
2c924cf26161
Dropped SVGUI, deprecated and replaced by SVGHMI. Transformed traffic_lights exemple so that it uses SVGHMI instead.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2346
diff
changeset
|
1411 |
</outVariable> |
1383 | 1412 |
</FBD> |
1413 |
</body> |
|
1414 |
</pou> |
|
1415 |
</pous> |
|
1416 |
</types> |
|
1417 |
<instances> |
|
1418 |
<configurations> |
|
1419 |
<configuration name="config"> |
|
1420 |
<resource name="resource1"> |
|
1421 |
<task name="test_task" interval="T#100ms" priority="0"> |
|
1422 |
<pouInstance name="main_instance" typeName="main_program"/> |
|
1423 |
</task> |
|
1424 |
</resource> |
|
1425 |
</configuration> |
|
1426 |
</configurations> |
|
1427 |
</instances> |
|
1428 |
</project> |