a | b/tags/v1.0.0.0/CfUnitTimedTestExample.project.xml | ||
---|---|---|---|
1 | <?xml version="1.0" encoding="utf-8"?> |
||
2 | <project xmlns="http://www.plcopen.org/xml/tc6_0200"> |
||
3 | <fileHeader companyName="" productName="CODESYS" productVersion="CODESYS V3.5 SP14 Patch 2" creationDateTime="2019-08-31T20:36:36.201118" /> |
||
4 | <contentHeader name="CfUnitTimedTestExample.project" modificationDateTime="2019-08-31T18:41:02.3508983"> |
||
5 | <coordinateInfo> |
||
6 | <fbd> |
||
7 | <scaling x="1" y="1" /> |
||
8 | </fbd> |
||
9 | <ld> |
||
10 | <scaling x="1" y="1" /> |
||
11 | </ld> |
||
12 | <sfc> |
||
13 | <scaling x="1" y="1" /> |
||
14 | </sfc> |
||
15 | </coordinateInfo> |
||
16 | <addData> |
||
17 | <data name="http://www.3s-software.com/plcopenxml/projectinformation" handleUnknown="implementation"> |
||
18 | <ProjectInformation> |
||
19 | <property name="Project" type="string">CfUnitTimedTestExample</property> |
||
20 | </ProjectInformation> |
||
21 | </data> |
||
22 | </addData> |
||
23 | </contentHeader> |
||
24 | <types> |
||
25 | <dataTypes /> |
||
26 | <pous /> |
||
27 | </types> |
||
28 | <instances> |
||
29 | <configurations> |
||
30 | <configuration name="Device"> |
||
31 | <resource name="Application"> |
||
32 | <task name="MainTask" interval="PT0.02S" priority="1"> |
||
33 | <pouInstance name="MAIN" typeName=""> |
||
34 | <documentation> |
||
35 | <xhtml xmlns="http://www.w3.org/1999/xhtml" /> |
||
36 | </documentation> |
||
37 | </pouInstance> |
||
38 | <addData> |
||
39 | <data name="http://www.3s-software.com/plcopenxml/tasksettings" handleUnknown="implementation"> |
||
40 | <TaskSettings KindOfTask="Cyclic" Interval="t#20ms" IntervalUnit="ms" WithinSPSTimeSlicing="true"> |
||
41 | <Watchdog Enabled="false" TimeUnit="ms" Sensitivity="1" /> |
||
42 | </TaskSettings> |
||
43 | </data> |
||
44 | </addData> |
||
45 | </task> |
||
46 | <addData> |
||
47 | <data name="http://www.3s-software.com/plcopenxml/pou" handleUnknown="implementation"> |
||
48 | <pou name="FB_Timer" pouType="functionBlock"> |
||
49 | <interface> |
||
50 | <inputVars> |
||
51 | <variable name="xSwitch"> |
||
52 | <type> |
||
53 | <BOOL /> |
||
54 | </type> |
||
55 | </variable> |
||
56 | <variable name="xOff"> |
||
57 | <type> |
||
58 | <BOOL /> |
||
59 | </type> |
||
60 | </variable> |
||
61 | <variable name="tDuration"> |
||
62 | <type> |
||
63 | <TIME /> |
||
64 | </type> |
||
65 | <initialValue> |
||
66 | <simpleValue value="TIME#10s0ms" /> |
||
67 | </initialValue> |
||
68 | </variable> |
||
69 | </inputVars> |
||
70 | <outputVars> |
||
71 | <variable name="xOut"> |
||
72 | <type> |
||
73 | <BOOL /> |
||
74 | </type> |
||
75 | </variable> |
||
76 | </outputVars> |
||
77 | <localVars> |
||
78 | <variable name="tonDuration"> |
||
79 | <type> |
||
80 | <derived name="TON" /> |
||
81 | </type> |
||
82 | </variable> |
||
83 | <variable name="rtrigSwitch"> |
||
84 | <type> |
||
85 | <derived name="R_TRIG" /> |
||
86 | </type> |
||
87 | </variable> |
||
88 | <variable name="rtrigOff"> |
||
89 | <type> |
||
90 | <derived name="R_TRIG" /> |
||
91 | </type> |
||
92 | </variable> |
||
93 | <variable name="bStart"> |
||
94 | <type> |
||
95 | <BOOL /> |
||
96 | </type> |
||
97 | </variable> |
||
98 | </localVars> |
||
99 | </interface> |
||
100 | <body> |
||
101 | <ST> |
||
102 | <xhtml xmlns="http://www.w3.org/1999/xhtml">rtrigSwitch(CLK := xSwitch); |
||
103 | IF (rtrigSwitch.Q) THEN |
||
104 | bStart := TRUE; |
||
105 | xOut := TRUE; |
||
106 | tonDuration(IN := FALSE); |
||
107 | END_IF |
||
108 | |||
109 | rtrigOff(CLK := xOff); |
||
110 | IF (rtrigOff.Q) THEN |
||
111 | bStart := FALSE; |
||
112 | xOut := FALSE; |
||
113 | tonDuration(IN := FALSE); |
||
114 | END_IF |
||
115 | |||
116 | IF (bStart) THEN |
||
117 | tonDuration(IN := TRUE, PT := tDuration); |
||
118 | IF (tonDuration.Q) THEN |
||
119 | tonDuration(IN := FALSE); |
||
120 | xOut := FALSE; |
||
121 | bStart := FALSE; |
||
122 | END_IF |
||
123 | END_IF |
||
124 | </xhtml> |
||
125 | </ST> |
||
126 | </body> |
||
127 | <addData /> |
||
128 | </pou> |
||
129 | </data> |
||
130 | <data name="http://www.3s-software.com/plcopenxml/pou" handleUnknown="implementation"> |
||
131 | <pou name="MAIN" pouType="program"> |
||
132 | <interface> |
||
133 | <localVars> |
||
134 | <variable name="fbFoo_Tests"> |
||
135 | <type> |
||
136 | <derived name="FB_Timer_Tests" /> |
||
137 | </type> |
||
138 | </variable> |
||
139 | </localVars> |
||
140 | </interface> |
||
141 | <body> |
||
142 | <ST> |
||
143 | <xhtml xmlns="http://www.w3.org/1999/xhtml">CfUnit.RUN();</xhtml> |
||
144 | </ST> |
||
145 | </body> |
||
146 | <addData /> |
||
147 | </pou> |
||
148 | </data> |
||
149 | <data name="http://www.3s-software.com/plcopenxml/pou" handleUnknown="implementation"> |
||
150 | <pou name="FB_Timer_Tests" pouType="functionBlock"> |
||
151 | <interface> |
||
152 | <localVars> |
||
153 | <variable name="State"> |
||
154 | <type> |
||
155 | <WORD /> |
||
156 | </type> |
||
157 | <initialValue> |
||
158 | <simpleValue value="0" /> |
||
159 | </initialValue> |
||
160 | </variable> |
||
161 | <variable name="tonDelay"> |
||
162 | <type> |
||
163 | <derived name="TON" /> |
||
164 | </type> |
||
165 | </variable> |
||
166 | <variable name="fbTimer_0100"> |
||
167 | <type> |
||
168 | <derived name="FB_Timer" /> |
||
169 | </type> |
||
170 | </variable> |
||
171 | <variable name="fbTimer_0200"> |
||
172 | <type> |
||
173 | <derived name="FB_Timer" /> |
||
174 | </type> |
||
175 | </variable> |
||
176 | <variable name="fbTimer_0300"> |
||
177 | <type> |
||
178 | <derived name="FB_Timer" /> |
||
179 | </type> |
||
180 | </variable> |
||
181 | <variable name="fbTimer_0400"> |
||
182 | <type> |
||
183 | <derived name="FB_Timer" /> |
||
184 | </type> |
||
185 | </variable> |
||
186 | <variable name="xError"> |
||
187 | <type> |
||
188 | <BOOL /> |
||
189 | </type> |
||
190 | </variable> |
||
191 | <variable name="xDone"> |
||
192 | <type> |
||
193 | <BOOL /> |
||
194 | </type> |
||
195 | </variable> |
||
196 | </localVars> |
||
197 | <addData> |
||
198 | <data name="http://www.3s-software.com/plcopenxml/pouinheritance" handleUnknown="implementation"> |
||
199 | <Inheritance> |
||
200 | <Extends>CfUnit.FB_TestSuite</Extends> |
||
201 | </Inheritance> |
||
202 | </data> |
||
203 | </addData> |
||
204 | </interface> |
||
205 | <body> |
||
206 | <ST> |
||
207 | <xhtml xmlns="http://www.w3.org/1999/xhtml">SomeTimerTest( xError => xError, |
||
208 | xDone => xDone );</xhtml> |
||
209 | </ST> |
||
210 | </body> |
||
211 | <addData> |
||
212 | <data name="http://www.3s-software.com/plcopenxml/method" handleUnknown="implementation"> |
||
213 | <Method name="SomeTimerTest"> |
||
214 | <interface> |
||
215 | <outputVars> |
||
216 | <variable name="xDone"> |
||
217 | <type> |
||
218 | <BOOL /> |
||
219 | </type> |
||
220 | </variable> |
||
221 | <variable name="xError"> |
||
222 | <type> |
||
223 | <BOOL /> |
||
224 | </type> |
||
225 | </variable> |
||
226 | </outputVars> |
||
227 | </interface> |
||
228 | <body> |
||
229 | <ST> |
||
230 | <xhtml xmlns="http://www.w3.org/1999/xhtml">CASE State OF |
||
231 | {region "start"} |
||
232 | 0: |
||
233 | TEST('SomeFooTest'); |
||
234 | LOGSTR( 1, 'Test start: %s' , CfUnit.GVL_CfUnit.CurrentTestNameBeingCalled ); // send a message to the log as information(1), warning(2), or error(4) |
||
235 | xError := FALSE; |
||
236 | xDone := FALSE; |
||
237 | State := 100; |
||
238 | {endregion} |
||
239 | |||
240 | {region "Switch_RisingEdgeAndDuration1s_OutIsTrueFor1s"} |
||
241 | 100: |
||
242 | fbTimer_0100(xSwitch := TRUE, tDuration := T#1S); |
||
243 | AssertEquals_BOOL(TRUE, fbTimer_0100.xOut, 'Switch_RisingEdgeAndDuration1s_OutIsTrueFor1s'); |
||
244 | tonDelay(IN := TRUE, PT := T#900MS); |
||
245 | IF (tonDelay.Q) THEN |
||
246 | tonDelay(IN := FALSE); |
||
247 | State := 200; |
||
248 | END_IF |
||
249 | {endregion} |
||
250 | |||
251 | {region "Switch_RisingEdgeAndDuration1s_OutIsFalseAfter1100ms"} |
||
252 | 200: |
||
253 | fbTimer_0200(xSwitch := TRUE, tDuration := T#1S); |
||
254 | tonDelay(IN := TRUE, PT := T#1100MS); |
||
255 | IF (tonDelay.Q) THEN |
||
256 | tonDelay(IN := FALSE); |
||
257 | AssertEquals_BOOL(FALSE, fbTimer_0200.xOut, 'Switch_RisingEdgeAndDuration1s_OutIsFalseAfter1100ms'); |
||
258 | State := 300; |
||
259 | END_IF |
||
260 | {endregion} |
||
261 | |||
262 | {region "Switch_RetriggerSwitch_OutKeepsTrue"} |
||
263 | 300: |
||
264 | fbTimer_0300(xSwitch := TRUE, tDuration := T#500MS); |
||
265 | AssertEquals_BOOL(TRUE, fbTimer_0300.xOut, 'Switch_RetriggerSwitch_OutKeepsTrue'); |
||
266 | tonDelay(IN := TRUE, PT := T#400MS); |
||
267 | IF (tonDelay.Q) THEN |
||
268 | tonDelay(IN := FALSE); |
||
269 | fbTimer_0300(xSwitch := FALSE); |
||
270 | State := 310; |
||
271 | END_IF |
||
272 | |||
273 | 310: |
||
274 | fbTimer_0300(xSwitch := TRUE, tDuration := T#500MS); |
||
275 | AssertEquals_BOOL(TRUE, fbTimer_0300.xOut, 'Switch_RetriggerSwitch_OutKeepsTrue'); |
||
276 | tonDelay(IN := TRUE, PT := T#400MS); |
||
277 | IF (tonDelay.Q) THEN |
||
278 | tonDelay(IN := FALSE); |
||
279 | State := 400; |
||
280 | END_IF |
||
281 | {endregion} |
||
282 | |||
283 | {region "Off_RisingEdgeAndOutIsTrue_OutIsFalse"} |
||
284 | 400: |
||
285 | fbTimer_0400(xSwitch := TRUE, tDuration := T#200MS); |
||
286 | AssertEquals_BOOL(TRUE, fbTimer_0400.xOut, 'Off_RisingEdgeAndOutIsTrue_OutIsFalse'); |
||
287 | tonDelay(IN := TRUE, PT := T#100MS); |
||
288 | IF (tonDelay.Q) THEN |
||
289 | tonDelay(IN := FALSE); |
||
290 | fbTimer_0400(xOff := TRUE); |
||
291 | AssertEquals_BOOL(FALSE, fbTimer_0400.xOut, 'Off_RisingEdgeAndOutIsTrue_OutIsFalse'); |
||
292 | State := 1000; |
||
293 | END_IF |
||
294 | {endregion} |
||
295 | |||
296 | {region "done"} |
||
297 | 1000: |
||
298 | State := 1010; |
||
299 | LOGSTR( 1, 'Test finished: %s' , CfUnit.GVL_CfUnit.CurrentTestNameBeingCalled ); |
||
300 | |||
301 | 1010: |
||
302 | TEST_FINISHED(); |
||
303 | xDone := TRUE; |
||
304 | {endregion} |
||
305 | |||
306 | {region "error"} |
||
307 | 1200: |
||
308 | xError := TRUE; |
||
309 | |||
310 | {endregion} |
||
311 | ELSE |
||
312 | state := 1200; |
||
313 | END_CASE</xhtml> |
||
314 | </ST> |
||
315 | </body> |
||
316 | <addData /> |
||
317 | </Method> |
||
318 | </data> |
||
319 | </addData> |
||
320 | </pou> |
||
321 | </data> |
||
322 | <data name="http://www.3s-software.com/plcopenxml/libraries" handleUnknown="implementation"> |
||
323 | <Libraries> |
||
324 | <Library Name="#Standard" Namespace="Standard" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="false" LinkAllContent="false" DefaultResolution="Standard, * (System)" /> |
||
325 | <Library Name="#BreakpointLogging" Namespace="BPLog" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="Breakpoint Logging Functions, 3.5.5.0 (3S - Smart Software Solutions GmbH)" /> |
||
326 | <Library Name="CfUnit, 1.0.0.0 (Open Source)" Namespace="CfUnit" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="false" LinkAllContent="false"> |
||
327 | <Parameters> |
||
328 | <Parameter Name="MAXAMOUNTOFTESTSUITES" Value="300" /> |
||
329 | <Parameter Name="MAXAMOUNTOFTESTSFOREACHTESTSUITE" Value="100" /> |
||
330 | <Parameter Name="MAXAMOUNTOFASSERTS" Value="300" /> |
||
331 | <Parameter Name="MAXNUMBEROFTESTSUITES" Value="300" /> |
||
332 | <Parameter Name="MAXNUMBEROFTESTSFOREACHTESTSUITE" Value="100" /> |
||
333 | <Parameter Name="MAXNUMBEROFASSERTS" Value="300" /> |
||
334 | <Parameter Name="MAXFILESIZE" Value="4096" /> |
||
335 | </Parameters> |
||
336 | </Library> |
||
337 | <Library Name="#IoStandard" Namespace="IoStandard" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="true" DefaultResolution="IoStandard, 3.5.13.0 (System)" /> |
||
338 | <Library Name="#3SLicense" Namespace="_3S_LICENSE" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="3SLicense, 0.0.0.0 (3S - Smart Software Solutions GmbH)" ResolverGuid="97c3b452-d9fa-4ac2-9d0c-3d420aa6d95b" /> |
||
339 | <Library Name="#SM3_Basic" Namespace="SM3_Basic" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Basic, 4.5.0.0 (3S - Smart Software Solutions GmbH)" /> |
||
340 | <Library Name="#SM3_CNC" Namespace="SM3_CNC" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_CNC, 4.5.0.0 (3S - Smart Software Solutions GmbH)" /> |
||
341 | <Library Name="IoDrvGPIO, 3.5.11.0 (3S - Smart Software Solutions GmbH)" Namespace="IoDrvGPIO" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" /> |
||
342 | <Library Name="#SM3_Robotics" Namespace="SM3_Robotics" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Robotics, 4.5.0.1 (3S - Smart Software Solutions GmbH)" /> |
||
343 | <Library Name="#SM3_Robotics_Visu" Namespace="SM3_Robotics_Visu" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Robotics_Visu, 4.5.0.0 (3S - Smart Software Solutions GmbH)" /> |
||
344 | <Library Name="#SM3_Transformation" Namespace="TRAFO" HideWhenReferencedAsDependency="false" PublishSymbolsInContainer="false" SystemLibrary="true" LinkAllContent="false" DefaultResolution="SM3_Transformation, 4.5.0.1 (3S - Smart Software Solutions GmbH)" /> |
||
345 | <addData /> |
||
346 | </Libraries> |
||
347 | </data> |
||
348 | </addData> |
||
349 | </resource> |
||
350 | <addData> |
||
351 | <data name="Device" handleUnknown="discard"> |
||
352 | <Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> |
||
353 | <DeviceType> |
||
354 | <DeviceIdentification> |
||
355 | <Type>4102</Type> |
||
356 | <Id>0000 0010</Id> |
||
357 | <Version>3.5.14.20</Version> |
||
358 | </DeviceIdentification> |
||
359 | <Connector moduleType="256" interface="Common.PCI" connectorId="0"> |
||
360 | <HostParameterSet /> |
||
361 | </Connector> |
||
362 | <Connector moduleType="769" interface="SafetyInterface" connectorId="1"> |
||
363 | <HostParameterSet /> |
||
364 | </Connector> |
||
365 | <Connector moduleType="1279" interface="Common.SoftMotion.General" connectorId="2"> |
||
366 | <HostParameterSet /> |
||
367 | </Connector> |
||
368 | <Connector moduleType="496" interface="Raspberry.I2CMaster" connectorId="3"> |
||
369 | <HostParameterSet /> |
||
370 | </Connector> |
||
371 | <Connector moduleType="497" interface="Raspberry.SPIMaster" connectorId="4"> |
||
372 | <HostParameterSet /> |
||
373 | </Connector> |
||
374 | <Connector moduleType="504" interface="Raspberry.GPIOs" connectorId="5"> |
||
375 | <HostParameterSet /> |
||
376 | </Connector> |
||
377 | <Connector moduleType="499" interface="Raspberry.OnewireMaster" connectorId="6"> |
||
378 | <HostParameterSet /> |
||
379 | </Connector> |
||
380 | <Connector moduleType="502" interface="Raspberry.Camera2" connectorId="7"> |
||
381 | <HostParameterSet /> |
||
382 | </Connector> |
||
383 | <DeviceParameterSet /> |
||
384 | </DeviceType> |
||
385 | </Device> |
||
386 | </data> |
||
387 | <data name="configurations" handleUnknown="discard"> |
||
388 | <configurations> |
||
389 | <configuration name="SoftMotion General Axis Pool"> |
||
390 | <addData> |
||
391 | <data name="ExplicitConnector" handleUnknown="discard"> |
||
392 | <ExplicitConnector connectorID="2" /> |
||
393 | </data> |
||
394 | </addData> |
||
395 | </configuration> |
||
396 | <configuration name="I²C"> |
||
397 | <addData> |
||
398 | <data name="ExplicitConnector" handleUnknown="discard"> |
||
399 | <ExplicitConnector connectorID="3" /> |
||
400 | </data> |
||
401 | </addData> |
||
402 | </configuration> |
||
403 | <configuration name="SPI"> |
||
404 | <addData> |
||
405 | <data name="ExplicitConnector" handleUnknown="discard"> |
||
406 | <ExplicitConnector connectorID="4" /> |
||
407 | </data> |
||
408 | </addData> |
||
409 | </configuration> |
||
410 | <configuration name="GPIOs_A_B"> |
||
411 | <addData> |
||
412 | <data name="Device" handleUnknown="discard"> |
||
413 | <Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> |
||
414 | <DeviceType> |
||
415 | <DeviceIdentification> |
||
416 | <Type>504</Type> |
||
417 | <Id>0000 0000</Id> |
||
418 | <Version>3.5.11.0</Version> |
||
419 | </DeviceIdentification> |
||
420 | <Connector moduleType="504" role="child" interface="Raspberry.GPIOs" connectorId="1"> |
||
421 | <HostParameterSet> |
||
422 | <Parameter ParameterId="4" type="local:GPIOType" IndexInDevDesc="0"> |
||
423 | <Attributes onlineaccess="read" /> |
||
424 | <Value name="_x0034_" visiblename="GPIO4" onlineaccess="read" desc="configuration of GPIO4">255</Value> |
||
425 | <Name>GPIO4</Name> |
||
426 | <Description>configuration of GPIO4</Description> |
||
427 | </Parameter> |
||
428 | <Parameter ParameterId="17" type="local:GPIOType" IndexInDevDesc="1"> |
||
429 | <Attributes onlineaccess="read" /> |
||
430 | <Value name="_x0031_7" visiblename="GPIO17" onlineaccess="read" desc="configuration of GPIO17">255</Value> |
||
431 | <Name>GPIO17</Name> |
||
432 | <Description>configuration of GPIO17</Description> |
||
433 | </Parameter> |
||
434 | <Parameter ParameterId="18" type="local:GPIOType" IndexInDevDesc="2"> |
||
435 | <Attributes onlineaccess="read" /> |
||
436 | <Value name="_x0031_8" visiblename="GPIO18" onlineaccess="read" desc="configuration of GPIO18">255</Value> |
||
437 | <Name>GPIO18</Name> |
||
438 | <Description>configuration of GPIO18</Description> |
||
439 | </Parameter> |
||
440 | <Parameter ParameterId="22" type="local:GPIOType" IndexInDevDesc="3"> |
||
441 | <Attributes onlineaccess="read" /> |
||
442 | <Value name="_x0032_2" visiblename="GPIO22" onlineaccess="read" desc="configuration of GPIO22">255</Value> |
||
443 | <Name>GPIO22</Name> |
||
444 | <Description>configuration of GPIO22</Description> |
||
445 | </Parameter> |
||
446 | <Parameter ParameterId="23" type="local:GPIOType" IndexInDevDesc="4"> |
||
447 | <Attributes onlineaccess="read" /> |
||
448 | <Value name="_x0032_3" visiblename="GPIO23" onlineaccess="read" desc="configuration of GPIO23">255</Value> |
||
449 | <Name>GPIO23</Name> |
||
450 | <Description>configuration of GPIO23</Description> |
||
451 | </Parameter> |
||
452 | <Parameter ParameterId="24" type="local:GPIOType" IndexInDevDesc="5"> |
||
453 | <Attributes onlineaccess="read" /> |
||
454 | <Value name="_x0032_4" visiblename="GPIO24" onlineaccess="read" desc="configuration of GPIO24">255</Value> |
||
455 | <Name>GPIO24</Name> |
||
456 | <Description>configuration of GPIO24</Description> |
||
457 | </Parameter> |
||
458 | <Parameter ParameterId="25" type="local:GPIOType" IndexInDevDesc="6"> |
||
459 | <Attributes onlineaccess="read" /> |
||
460 | <Value name="_x0032_5" visiblename="GPIO25" onlineaccess="read" desc="configuration of GPIO25">255</Value> |
||
461 | <Name>GPIO25</Name> |
||
462 | <Description>configuration of GPIO25</Description> |
||
463 | </Parameter> |
||
464 | <Parameter ParameterId="27" type="local:GPIOType" IndexInDevDesc="7"> |
||
465 | <Attributes onlineaccess="read" /> |
||
466 | <Value name="_x0032_7" visiblename="GPIO27" onlineaccess="read" desc="configuration of GPIO27">255</Value> |
||
467 | <Name>GPIO27</Name> |
||
468 | <Description>configuration of GPIO27</Description> |
||
469 | </Parameter> |
||
470 | <Parameter ParameterId="28" type="local:GPIOType" IndexInDevDesc="8"> |
||
471 | <Attributes onlineaccess="read" /> |
||
472 | <Value name="_x0032_8" visiblename="GPIO28" onlineaccess="read" desc="configuration of GPIO28">255</Value> |
||
473 | <Name>GPIO28</Name> |
||
474 | <Description>configuration of GPIO28</Description> |
||
475 | </Parameter> |
||
476 | <Parameter ParameterId="29" type="local:GPIOType" IndexInDevDesc="9"> |
||
477 | <Attributes onlineaccess="read" /> |
||
478 | <Value name="_x0032_9" visiblename="GPIO29" onlineaccess="read" desc="configuration of GPIO29">255</Value> |
||
479 | <Name>GPIO29</Name> |
||
480 | <Description>configuration of GPIO29</Description> |
||
481 | </Parameter> |
||
482 | <Parameter ParameterId="30" type="local:GPIOType" IndexInDevDesc="10"> |
||
483 | <Attributes onlineaccess="read" /> |
||
484 | <Value name="_x0033_0" visiblename="GPIO30" onlineaccess="read" desc="configuration of GPIO30">255</Value> |
||
485 | <Name>GPIO30</Name> |
||
486 | <Description>configuration of GPIO30</Description> |
||
487 | </Parameter> |
||
488 | <Parameter ParameterId="31" type="local:GPIOType" IndexInDevDesc="11"> |
||
489 | <Attributes onlineaccess="read" /> |
||
490 | <Value name="_x0033_1" visiblename="GPIO31" onlineaccess="read" desc="configuration of GPIO31">255</Value> |
||
491 | <Name>GPIO31</Name> |
||
492 | <Description>configuration of GPIO31</Description> |
||
493 | </Parameter> |
||
494 | <Parameter ParameterId="1000" type="local:BITFIELD_GPIO" IndexInDevDesc="12"> |
||
495 | <Attributes channel="input" /> |
||
496 | <Value name="_x0031_000" visiblename="digital inputs (GPIO0..GPIO31)"> |
||
497 | <Element name="Bit0" visiblename="Bit0" offlineaccess="none" onlineaccess="none" /> |
||
498 | <Element name="Bit1" visiblename="Bit1" offlineaccess="none" onlineaccess="none" /> |
||
499 | <Element name="Bit2" visiblename="Bit2" offlineaccess="none" onlineaccess="none" /> |
||
500 | <Element name="Bit3" visiblename="Bit3" offlineaccess="none" onlineaccess="none" /> |
||
501 | <Element name="Bit4" visiblename="Bit4" onlineaccess="read" /> |
||
502 | <Element name="Bit5" visiblename="Bit5" offlineaccess="none" onlineaccess="none" /> |
||
503 | <Element name="Bit6" visiblename="Bit6" offlineaccess="none" onlineaccess="none" /> |
||
504 | <Element name="Bit7" visiblename="Bit7" offlineaccess="none" onlineaccess="none" /> |
||
505 | <Element name="Bit8" visiblename="Bit8" offlineaccess="none" onlineaccess="none" /> |
||
506 | <Element name="Bit9" visiblename="Bit9" offlineaccess="none" onlineaccess="none" /> |
||
507 | <Element name="Bit10" visiblename="Bit10" offlineaccess="none" onlineaccess="none" /> |
||
508 | <Element name="Bit11" visiblename="Bit11" offlineaccess="none" onlineaccess="none" /> |
||
509 | <Element name="Bit12" visiblename="Bit12" offlineaccess="none" onlineaccess="none" /> |
||
510 | <Element name="Bit13" visiblename="Bit13" offlineaccess="none" onlineaccess="none" /> |
||
511 | <Element name="Bit14" visiblename="Bit14" offlineaccess="none" onlineaccess="none" /> |
||
512 | <Element name="Bit15" visiblename="Bit15" offlineaccess="none" onlineaccess="none" /> |
||
513 | <Element name="Bit16" visiblename="Bit16" offlineaccess="none" onlineaccess="none" /> |
||
514 | <Element name="Bit17" visiblename="Bit17" onlineaccess="read" /> |
||
515 | <Element name="Bit18" visiblename="Bit18" onlineaccess="read" /> |
||
516 | <Element name="Bit19" visiblename="Bit19" offlineaccess="none" onlineaccess="none" /> |
||
517 | <Element name="Bit20" visiblename="Bit20" offlineaccess="none" onlineaccess="none" /> |
||
518 | <Element name="Bit21" visiblename="Bit21" offlineaccess="none" onlineaccess="none" /> |
||
519 | <Element name="Bit22" visiblename="Bit22" onlineaccess="read" /> |
||
520 | <Element name="Bit23" visiblename="Bit23" onlineaccess="read" /> |
||
521 | <Element name="Bit24" visiblename="Bit24" onlineaccess="read" /> |
||
522 | <Element name="Bit25" visiblename="Bit25" onlineaccess="read" /> |
||
523 | <Element name="Bit26" visiblename="Bit26" offlineaccess="none" onlineaccess="none" /> |
||
524 | <Element name="Bit27" visiblename="Bit27" onlineaccess="read" /> |
||
525 | <Element name="Bit28" visiblename="Bit28" onlineaccess="read" /> |
||
526 | <Element name="Bit29" visiblename="Bit29" onlineaccess="read" /> |
||
527 | <Element name="Bit30" visiblename="Bit30" onlineaccess="read" /> |
||
528 | <Element name="Bit31" visiblename="Bit31" onlineaccess="read" /> |
||
529 | </Value> |
||
530 | <Name>digital inputs (GPIO0..GPIO31)</Name> |
||
531 | </Parameter> |
||
532 | <Parameter ParameterId="2000" type="local:BITFIELD_GPIO" IndexInDevDesc="13"> |
||
533 | <Attributes channel="output" /> |
||
534 | <Value name="_x0032_000" visiblename="digital outputs (GPIO0..GPIO31)"> |
||
535 | <Element name="Bit0" visiblename="Bit0" offlineaccess="none" onlineaccess="none" /> |
||
536 | <Element name="Bit1" visiblename="Bit1" offlineaccess="none" onlineaccess="none" /> |
||
537 | <Element name="Bit2" visiblename="Bit2" offlineaccess="none" onlineaccess="none" /> |
||
538 | <Element name="Bit3" visiblename="Bit3" offlineaccess="none" onlineaccess="none" /> |
||
539 | <Element name="Bit4" visiblename="Bit4" onlineaccess="read" /> |
||
540 | <Element name="Bit5" visiblename="Bit5" offlineaccess="none" onlineaccess="none" /> |
||
541 | <Element name="Bit6" visiblename="Bit6" offlineaccess="none" onlineaccess="none" /> |
||
542 | <Element name="Bit7" visiblename="Bit7" offlineaccess="none" onlineaccess="none" /> |
||
543 | <Element name="Bit8" visiblename="Bit8" offlineaccess="none" onlineaccess="none" /> |
||
544 | <Element name="Bit9" visiblename="Bit9" offlineaccess="none" onlineaccess="none" /> |
||
545 | <Element name="Bit10" visiblename="Bit10" offlineaccess="none" onlineaccess="none" /> |
||
546 | <Element name="Bit11" visiblename="Bit11" offlineaccess="none" onlineaccess="none" /> |
||
547 | <Element name="Bit12" visiblename="Bit12" offlineaccess="none" onlineaccess="none" /> |
||
548 | <Element name="Bit13" visiblename="Bit13" offlineaccess="none" onlineaccess="none" /> |
||
549 | <Element name="Bit14" visiblename="Bit14" offlineaccess="none" onlineaccess="none" /> |
||
550 | <Element name="Bit15" visiblename="Bit15" offlineaccess="none" onlineaccess="none" /> |
||
551 | <Element name="Bit16" visiblename="Bit16" offlineaccess="none" onlineaccess="none" /> |
||
552 | <Element name="Bit17" visiblename="Bit17" onlineaccess="read" /> |
||
553 | <Element name="Bit18" visiblename="Bit18" onlineaccess="read" /> |
||
554 | <Element name="Bit19" visiblename="Bit19" offlineaccess="none" onlineaccess="none" /> |
||
555 | <Element name="Bit20" visiblename="Bit20" offlineaccess="none" onlineaccess="none" /> |
||
556 | <Element name="Bit21" visiblename="Bit21" offlineaccess="none" onlineaccess="none" /> |
||
557 | <Element name="Bit22" visiblename="Bit22" onlineaccess="read" /> |
||
558 | <Element name="Bit23" visiblename="Bit23" onlineaccess="read" /> |
||
559 | <Element name="Bit24" visiblename="Bit24" onlineaccess="read" /> |
||
560 | <Element name="Bit25" visiblename="Bit25" onlineaccess="read" /> |
||
561 | <Element name="Bit26" visiblename="Bit26" offlineaccess="none" onlineaccess="none" /> |
||
562 | <Element name="Bit27" visiblename="Bit27" onlineaccess="read" /> |
||
563 | <Element name="Bit28" visiblename="Bit28" onlineaccess="read" /> |
||
564 | <Element name="Bit29" visiblename="Bit29" onlineaccess="read" /> |
||
565 | <Element name="Bit30" visiblename="Bit30" onlineaccess="read" /> |
||
566 | <Element name="Bit31" visiblename="Bit31" onlineaccess="read" /> |
||
567 | </Value> |
||
568 | <Name>digital outputs (GPIO0..GPIO31)</Name> |
||
569 | </Parameter> |
||
570 | </HostParameterSet> |
||
571 | </Connector> |
||
572 | <DeviceParameterSet /> |
||
573 | </DeviceType> |
||
574 | </Device> |
||
575 | </data> |
||
576 | </addData> |
||
577 | </configuration> |
||
578 | <configuration name="Onewire"> |
||
579 | <addData> |
||
580 | <data name="ExplicitConnector" handleUnknown="discard"> |
||
581 | <ExplicitConnector connectorID="6" /> |
||
582 | </data> |
||
583 | </addData> |
||
584 | </configuration> |
||
585 | <configuration name="Camera device"> |
||
586 | <addData> |
||
587 | <data name="ExplicitConnector" handleUnknown="discard"> |
||
588 | <ExplicitConnector connectorID="7" /> |
||
589 | </data> |
||
590 | <data name="configurations" handleUnknown="discard"> |
||
591 | <configurations> |
||
592 | <configuration name="<Empty>"> |
||
593 | <addData> |
||
594 | <data name="Device" handleUnknown="discard" /> |
||
595 | </addData> |
||
596 | </configuration> |
||
597 | </configurations> |
||
598 | </data> |
||
599 | </addData> |
||
600 | </configuration> |
||
601 | </configurations> |
||
602 | </data> |
||
603 | </addData> |
||
604 | </configuration> |
||
605 | </configurations> |
||
606 | </instances> |
||
607 | </project> |