|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <project xmlns="http://www.plcopen.org/xml/tc6.xsd" |
|
3 xsi:schemaLocation="http://www.plcopen.org/xml/tc6.xsd" |
|
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
5 xmlns:xhtml="http://www.w3.org/1999/xhtml"> |
|
6 <fileHeader companyName="Unknown" |
|
7 productName="Unnamed" |
|
8 productVersion="1" |
|
9 creationDateTime="2012-09-12T23:30:19"/> |
|
10 <contentHeader name="Unnamed" |
|
11 modificationDateTime="2013-05-28T18:28:14"> |
|
12 <coordinateInfo> |
|
13 <fbd> |
|
14 <scaling x="5" y="5"/> |
|
15 </fbd> |
|
16 <ld> |
|
17 <scaling x="0" y="0"/> |
|
18 </ld> |
|
19 <sfc> |
|
20 <scaling x="0" y="0"/> |
|
21 </sfc> |
|
22 </coordinateInfo> |
|
23 </contentHeader> |
|
24 <types> |
|
25 <dataTypes/> |
|
26 <pous> |
|
27 <pou name="main" pouType="program"> |
|
28 <interface> |
|
29 <localVars> |
|
30 <variable name="x"> |
|
31 <type> |
|
32 <INT/> |
|
33 </type> |
|
34 </variable> |
|
35 <variable name="y"> |
|
36 <type> |
|
37 <INT/> |
|
38 </type> |
|
39 </variable> |
|
40 <variable name="a"> |
|
41 <type> |
|
42 <INT/> |
|
43 </type> |
|
44 </variable> |
|
45 <variable name="b"> |
|
46 <type> |
|
47 <INT/> |
|
48 </type> |
|
49 </variable> |
|
50 <variable name="c"> |
|
51 <type> |
|
52 <INT/> |
|
53 </type> |
|
54 </variable> |
|
55 <variable name="b1"> |
|
56 <type> |
|
57 <WORD/> |
|
58 </type> |
|
59 </variable> |
|
60 <variable name="b0"> |
|
61 <type> |
|
62 <WORD/> |
|
63 </type> |
|
64 </variable> |
|
65 </localVars> |
|
66 <externalVars> |
|
67 <variable name="WiiNunchuckStickX"> |
|
68 <type> |
|
69 <INT/> |
|
70 </type> |
|
71 </variable> |
|
72 <variable name="WiiNunchuckStickY"> |
|
73 <type> |
|
74 <INT/> |
|
75 </type> |
|
76 </variable> |
|
77 <variable name="WiiNunchuckButtons"> |
|
78 <type> |
|
79 <WORD/> |
|
80 </type> |
|
81 </variable> |
|
82 <variable name="WiiButtons"> |
|
83 <type> |
|
84 <WORD/> |
|
85 </type> |
|
86 </variable> |
|
87 <variable name="WiiNunchuckAccX"> |
|
88 <type> |
|
89 <INT/> |
|
90 </type> |
|
91 </variable> |
|
92 <variable name="WiiNunchuckAccY"> |
|
93 <type> |
|
94 <INT/> |
|
95 </type> |
|
96 </variable> |
|
97 <variable name="WiiNunchuckAccZ"> |
|
98 <type> |
|
99 <INT/> |
|
100 </type> |
|
101 </variable> |
|
102 </externalVars> |
|
103 </interface> |
|
104 <body> |
|
105 <FBD> |
|
106 <outVariable localId="1" height="30" width="20"> |
|
107 <position x="345" y="40"/> |
|
108 <connectionPointIn> |
|
109 <relPosition x="0" y="15"/> |
|
110 <connection refLocalId="3"> |
|
111 <position x="345" y="55"/> |
|
112 <position x="295" y="55"/> |
|
113 </connection> |
|
114 </connectionPointIn> |
|
115 <expression>x</expression> |
|
116 </outVariable> |
|
117 <inVariable localId="3" height="30" width="150"> |
|
118 <position x="145" y="40"/> |
|
119 <connectionPointOut> |
|
120 <relPosition x="150" y="15"/> |
|
121 </connectionPointOut> |
|
122 <expression>WiiNunchuckStickX</expression> |
|
123 </inVariable> |
|
124 <inVariable localId="4" height="30" width="150"> |
|
125 <position x="145" y="100"/> |
|
126 <connectionPointOut> |
|
127 <relPosition x="150" y="15"/> |
|
128 </connectionPointOut> |
|
129 <expression>WiiNunchuckStickY</expression> |
|
130 </inVariable> |
|
131 <inVariable localId="5" height="30" width="155"> |
|
132 <position x="115" y="175"/> |
|
133 <connectionPointOut> |
|
134 <relPosition x="155" y="15"/> |
|
135 </connectionPointOut> |
|
136 <expression>WiiNunchuckButtons</expression> |
|
137 </inVariable> |
|
138 <inVariable localId="6" height="30" width="90"> |
|
139 <position x="180" y="225"/> |
|
140 <connectionPointOut> |
|
141 <relPosition x="90" y="15"/> |
|
142 </connectionPointOut> |
|
143 <expression>WiiButtons</expression> |
|
144 </inVariable> |
|
145 <outVariable localId="8" height="30" width="20"> |
|
146 <position x="345" y="100"/> |
|
147 <connectionPointIn> |
|
148 <relPosition x="0" y="15"/> |
|
149 <connection refLocalId="4"> |
|
150 <position x="345" y="115"/> |
|
151 <position x="295" y="115"/> |
|
152 </connection> |
|
153 </connectionPointIn> |
|
154 <expression>y</expression> |
|
155 </outVariable> |
|
156 <outVariable localId="9" height="30" width="30"> |
|
157 <position x="345" y="175"/> |
|
158 <connectionPointIn> |
|
159 <relPosition x="0" y="15"/> |
|
160 <connection refLocalId="5"> |
|
161 <position x="345" y="190"/> |
|
162 <position x="270" y="190"/> |
|
163 </connection> |
|
164 </connectionPointIn> |
|
165 <expression>b1</expression> |
|
166 </outVariable> |
|
167 <outVariable localId="10" height="30" width="30"> |
|
168 <position x="345" y="225"/> |
|
169 <connectionPointIn> |
|
170 <relPosition x="0" y="15"/> |
|
171 <connection refLocalId="6"> |
|
172 <position x="345" y="240"/> |
|
173 <position x="270" y="240"/> |
|
174 </connection> |
|
175 </connectionPointIn> |
|
176 <expression>b0</expression> |
|
177 </outVariable> |
|
178 <inVariable localId="11" height="30" width="135"> |
|
179 <position x="135" y="295"/> |
|
180 <connectionPointOut> |
|
181 <relPosition x="135" y="15"/> |
|
182 </connectionPointOut> |
|
183 <expression>WiiNunchuckAccX</expression> |
|
184 </inVariable> |
|
185 <inVariable localId="12" height="30" width="135"> |
|
186 <position x="135" y="340"/> |
|
187 <connectionPointOut> |
|
188 <relPosition x="135" y="15"/> |
|
189 </connectionPointOut> |
|
190 <expression>WiiNunchuckAccY</expression> |
|
191 </inVariable> |
|
192 <inVariable localId="13" height="30" width="130"> |
|
193 <position x="140" y="385"/> |
|
194 <connectionPointOut> |
|
195 <relPosition x="130" y="15"/> |
|
196 </connectionPointOut> |
|
197 <expression>WiiNunchuckAccZ</expression> |
|
198 </inVariable> |
|
199 <outVariable localId="14" height="30" width="20"> |
|
200 <position x="345" y="295"/> |
|
201 <connectionPointIn> |
|
202 <relPosition x="0" y="15"/> |
|
203 <connection refLocalId="11"> |
|
204 <position x="345" y="310"/> |
|
205 <position x="270" y="310"/> |
|
206 </connection> |
|
207 </connectionPointIn> |
|
208 <expression>a</expression> |
|
209 </outVariable> |
|
210 <outVariable localId="15" height="30" width="20"> |
|
211 <position x="345" y="340"/> |
|
212 <connectionPointIn> |
|
213 <relPosition x="0" y="15"/> |
|
214 <connection refLocalId="12"> |
|
215 <position x="345" y="355"/> |
|
216 <position x="270" y="355"/> |
|
217 </connection> |
|
218 </connectionPointIn> |
|
219 <expression>b</expression> |
|
220 </outVariable> |
|
221 <outVariable localId="16" height="30" width="20"> |
|
222 <position x="345" y="385"/> |
|
223 <connectionPointIn> |
|
224 <relPosition x="0" y="15"/> |
|
225 <connection refLocalId="13"> |
|
226 <position x="345" y="400"/> |
|
227 <position x="270" y="400"/> |
|
228 </connection> |
|
229 </connectionPointIn> |
|
230 <expression>c</expression> |
|
231 </outVariable> |
|
232 </FBD> |
|
233 </body> |
|
234 <documentation> |
|
235 <![CDATA[]]> |
|
236 </documentation> |
|
237 </pou> |
|
238 </pous> |
|
239 </types> |
|
240 <instances> |
|
241 <configurations> |
|
242 <configuration name="config"> |
|
243 <resource name="resource1"> |
|
244 <task name="tsk1" interval="T#1ms" priority="0"> |
|
245 <pouInstance name="inst1" typeName="main"/> |
|
246 </task> |
|
247 </resource> |
|
248 </configuration> |
|
249 </configurations> |
|
250 </instances> |
|
251 </project> |