a/branches/IoDrvMEGAIO/IoDrvMEGAIO.devdesc.xml | b/branches/IoDrvMEGAIO/IoDrvMEGAIO.devdesc.xml | ||
---|---|---|---|
1 | <?xml version="1.0" encoding="utf-8"?> |
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!--created with CoDeSys 3.0 (http://www.3s-software.com) by DeviceDescriptionBuilder (3S-Smart Software Solutions GmbH)--> |
2 | <!--created with CoDeSys 3.0 (http://www.3s-software.com) by DeviceDescriptionBuilder (3S-Smart Software Solutions GmbH)--> |
3 | <DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
3 | <DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
4 | <Types namespace="local"> |
4 | <Types namespace="local"> |
5 | |||
6 | <StructType name="Channel8BOOL"> |
5 | <StructType name="Channel8BOOL"> |
7 | <Component identifier="BOOL0" type="std:BOOL"> |
6 | <Component identifier="BOOL0" type="std:BOOL"> |
8 | <Default /> |
7 | <Default /> |
9 | <VisibleName name="Local:Bool0">Bit0</VisibleName> |
8 | <VisibleName name="Local:Bool0">Bit0</VisibleName> |
10 | </Component> |
9 | </Component> |
... |
... |
||
35 | <Component identifier="BOOL7" type="std:BOOL"> |
34 | <Component identifier="BOOL7" type="std:BOOL"> |
36 | <Default /> |
35 | <Default /> |
37 | <VisibleName name="Local:Bool7">Bit7</VisibleName> |
36 | <VisibleName name="Local:Bool7">Bit7</VisibleName> |
38 | </Component> |
37 | </Component> |
39 | </StructType> |
38 | </StructType> |
40 | |||
41 | <StructType name="Ch5BOOL"> |
39 | <StructType name="Ch5BOOL"> |
42 | <Component identifier="Bit0" type="std:BOOL"> |
40 | <Component identifier="Bit0" type="std:BOOL"> |
43 | <Default /> |
41 | <Default /> |
44 | <VisibleName name="Bit0">Bit0</VisibleName> |
42 | <VisibleName name="Bit0">Bit0</VisibleName> |
45 | </Component> |
43 | </Component> |
... |
... |
||
62 | <Component identifier="Bit5" type="std:BOOL"> |
60 | <Component identifier="Bit5" type="std:BOOL"> |
63 | <Default /> |
61 | <Default /> |
64 | <VisibleName name="Bit5">Bit5</VisibleName> |
62 | <VisibleName name="Bit5">Bit5</VisibleName> |
65 | </Component> |
63 | </Component> |
66 | </StructType> |
64 | </StructType> |
67 | |||
68 | <StructType name="OpenDrainState"> |
65 | <StructType name="OpenDrainState"> |
69 | <Component identifier="Bit0" type="std:BOOL"> |
66 | <Component identifier="Bit0" type="std:BOOL"> |
70 | <Default /> |
67 | <Default /> |
71 | <VisibleName name="Bit0">Bit0</VisibleName> |
68 | <VisibleName name="Bit0">Bit0</VisibleName> |
72 | </Component> |
69 | </Component> |
... |
... |
||
81 | <Component identifier="Bit3" type="std:BOOL"> |
78 | <Component identifier="Bit3" type="std:BOOL"> |
82 | <Default /> |
79 | <Default /> |
83 | <VisibleName name="Bit3">Bit3</VisibleName> |
80 | <VisibleName name="Bit3">Bit3</VisibleName> |
84 | </Component> |
81 | </Component> |
85 | </StructType> |
82 | </StructType> |
86 | |||
87 | <StructType name="Ch8REAL"> |
83 | <StructType name="Ch8REAL"> |
88 | <Component identifier="REAL0" type="std:REAL"> |
84 | <Component identifier="REAL0" type="std:REAL"> |
89 | <Default /> |
85 | <Default /> |
90 | <VisibleName name="REAL0">REAL0</VisibleName> |
86 | <VisibleName name="REAL0">REAL0</VisibleName> |
91 | </Component> |
87 | </Component> |
... |
... |
||
116 | <Component identifier="REAL7" type="std:REAL"> |
112 | <Component identifier="REAL7" type="std:REAL"> |
117 | <Default /> |
113 | <Default /> |
118 | <VisibleName name="REAL7">REAL7</VisibleName> |
114 | <VisibleName name="REAL7">REAL7</VisibleName> |
119 | </Component> |
115 | </Component> |
120 | </StructType> |
116 | </StructType> |
121 | |||
122 | <StructType name="Ch8UINT"> |
117 | <StructType name="Ch8UINT"> |
123 | <Component identifier="UINT0" type="std:UINT"> |
118 | <Component identifier="UINT0" type="std:UINT"> |
124 | <Default /> |
119 | <Default /> |
125 | <VisibleName name="UINT0">UINT0</VisibleName> |
120 | <VisibleName name="UINT0">UINT0</VisibleName> |
126 | </Component> |
121 | </Component> |
... |
... |
||
151 | <Component identifier="UINT7" type="std:UINT"> |
146 | <Component identifier="UINT7" type="std:UINT"> |
152 | <Default /> |
147 | <Default /> |
153 | <VisibleName name="UINT7">UINT7</VisibleName> |
148 | <VisibleName name="UINT7">UINT7</VisibleName> |
154 | </Component> |
149 | </Component> |
155 | </StructType> |
150 | </StructType> |
156 | 151 | <StructType name="IoDrvOutput"> |
|
157 | <StructType name="IoDrvInput"> |
||
158 | <Component identifier="dwIn" type="std:DWORD"> |
152 | <Component identifier="dwIn" type="std:DWORD"> |
159 | <Default /> |
153 | <Default /> |
160 | <VisibleName name="local:Input">Input</VisibleName> |
154 | <VisibleName name="local:Input">Input</VisibleName> |
161 | </Component> |
155 | </Component> |
162 | <Component identifier="adcVoltages" type="local:Ch8REAL"> |
156 | <Component identifier="adcVoltages" type="local:Ch8REAL"> |
... |
... |
||
174 | <Component identifier="gpioIn" type="local:Ch5BOOL"> |
168 | <Component identifier="gpioIn" type="local:Ch5BOOL"> |
175 | <Default /> |
169 | <Default /> |
176 | <VisibleName name="local:gpioIn">gpioIn</VisibleName> |
170 | <VisibleName name="local:gpioIn">gpioIn</VisibleName> |
177 | </Component> |
171 | </Component> |
178 | </StructType> |
172 | </StructType> |
179 | 173 | <StructType name="IoDrvInput"> |
|
180 | <StructType name="IoDrvOutput"> |
||
181 | <Component identifier="dwOut" type="std:DWORD"> |
174 | <Component identifier="dwOut" type="std:DWORD"> |
182 | <Default /> |
175 | <Default /> |
183 | <VisibleName name="local:Output">Output</VisibleName> |
176 | <VisibleName name="local:Output">Output</VisibleName> |
184 | </Component> |
177 | </Component> |
185 | <Component identifier="dacVoltage" type="std:REAL"> |
178 | <Component identifier="dacVoltage" type="std:REAL"> |
... |
... |
||
190 | <Default /> |
183 | <Default /> |
191 | <VisibleName name="local:relayState">relayState</VisibleName> |
184 | <VisibleName name="local:relayState">relayState</VisibleName> |
192 | </Component> |
185 | </Component> |
193 | <Component identifier="openDrainState" type="local:OpenDrainState"> |
186 | <Component identifier="openDrainState" type="local:OpenDrainState"> |
194 | <Default /> |
187 | <Default /> |
195 | <VisibleName name="openDrain State">openDrain State</VisibleName> |
188 | <VisibleName name="openDrain State">OpenDrain State</VisibleName> |
196 | </Component> |
189 | </Component> |
197 | <Component identifier="gpioOut" type="local:Ch5BOOL"> |
190 | <Component identifier="gpioDir" type="local:Ch5BOOL"> |
198 | <Default /> |
191 | <Default /> |
199 | <VisibleName name="gpioOut">gpioOut</VisibleName> |
192 | <VisibleName name="gpioDir">GPIO Direction</VisibleName> |
200 | </Component> |
193 | </Component> |
201 | <Component identifier="gpioDir" type="local:Ch5BOOL"> |
194 | <Component identifier="gpioOut" type="local:Ch5BOOL"> |
202 | <Default /> |
195 | <Default /> |
203 | <VisibleName name="gpioDir">gpioDir</VisibleName> |
196 | <VisibleName name="gpioOut">gpioOut</VisibleName> |
204 | </Component> |
197 | </Component> |
205 | </StructType> |
198 | </StructType> |
206 | |||
207 | <StructType name="IoDrvConfig"> |
199 | <StructType name="IoDrvConfig"> |
208 | <Component identifier="dwConfig" type="std:DWORD"> |
200 | <Component identifier="dwConfig" type="std:DWORD"> |
209 | <Default>2</Default> |
201 | <Default>2</Default> |
210 | <VisibleName name="local:Config">Config</VisibleName> |
202 | <VisibleName name="local:Config">Config</VisibleName> |
211 | </Component> |
203 | </Component> |
212 | </StructType> |
204 | </StructType> |
205 | |||
213 | <!-- |
206 | <!-- |
214 | <Component identifier="StackLevel" type="std:USINT"> |
207 | <Component identifier="StackLevel" type="std:USINT"> |
215 | <Default>16#1</Default> |
208 | <Default>16#1</Default> |
216 | <VisibleName name="local:StackLevel">StackLevel</VisibleName> |
209 | <VisibleName name="local:StackLevel">StackLevel</VisibleName> |
217 | <Description name="local:StackLevel.Desc">Stack level of MegaIO boards</Description> |
210 | <Description name="local:StackLevel.Desc">Stack level of MegaIO boards</Description> |
218 | </Component> |
211 | </Component> |
219 | --> |
212 | --> |
213 | |||
220 | </Types> |
214 | </Types> |
221 | <Strings namespace="local"> |
215 | <Strings namespace="local"> |
222 | <Language lang="en"> |
216 | <Language lang="en"> |
223 | </Language> |
217 | </Language> |
224 | </Strings> |
218 | </Strings> |
... |
... |
||
238 | <Id>0004 0006</Id> |
232 | <Id>0004 0006</Id> |
239 | <Version>2.0.0.0</Version> |
233 | <Version>2.0.0.0</Version> |
240 | </DeviceIdentification> |
234 | </DeviceIdentification> |
241 | <DeviceInfo> |
235 | <DeviceInfo> |
242 | <Name name="local:ModelName">IO Driver for MEGAIO</Name> |
236 | <Name name="local:ModelName">IO Driver for MEGAIO</Name> |
243 | <Description name="local:DeviceDescription">An I/O driver for MEGAIO</Description> |
237 | <Description name="local:DeviceDescription">An I/O driver for MEGAIO written by Aliazzz</Description> |
244 | <Vendor name="local:VendorName">Open Source</Vendor> |
238 | <Vendor name="local:VendorName">Open Source</Vendor> |
245 | <OrderNumber>-</OrderNumber> |
239 | <OrderNumber>-</OrderNumber> |
246 | <Image name="local:ImageFile">device.png</Image> |
240 | <Image name="local:ImageFile">device.png</Image> |
247 | <Icon name="local:Icon">device.ico</Icon> |
241 | <Icon name="local:Icon">device.ico</Icon> |
248 | </DeviceInfo> |
242 | </DeviceInfo> |
... |
... |
||
256 | <Initialize methodName="Initialize" /> |
250 | <Initialize methodName="Initialize" /> |
257 | </FBInstance> |
251 | </FBInstance> |
258 | </RequiredLib> |
252 | </RequiredLib> |
259 | </DriverInfo> |
253 | </DriverInfo> |
260 | <HostParameterSet> |
254 | <HostParameterSet> |
261 | <Parameter ParameterId="1" type="std:USINT"> |
255 | <ParameterSection> |
256 | <Name name="local:GeneralParameters">General Parameters</Name> |
||
257 | <Parameter ParameterId="1" type="std:USINT"> |
||
262 | <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> |
258 | <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> |
263 | <Default>16#31</Default> |
259 | <Default>16#31</Default> |
264 | <Name name="local:I2cAddress">I²C address</Name> |
260 | <Name name="local:I2cAddress">I²C address</Name> |
265 | <Description name="local:I2cAddress.Desc">Address of I²C Device</Description> |
261 | <Description name="local:I2cAddress.Desc">Address of I²C Device</Description> |
266 | </Parameter> |
262 | </Parameter> |
267 | <Parameter ParameterId="1000" type="local:IoDrvInput"> |
263 | </ParameterSection> |
264 | <ParameterSection> |
||
265 | <Name name="local:GeneralParameters">Inputs</Name> |
||
266 | <Parameter ParameterId="1000" type="local:IoDrvInput"> |
||
268 | <Attributes channel="input" /> |
267 | <Attributes channel="Input" /> |
269 | <Name name="local:Input">Inputs</Name> |
268 | <Name name="local:Input">Inputs</Name> |
270 | </Parameter> |
269 | </Parameter> |
271 | <Parameter ParameterId="2000" type="local:IoDrvOutput"> |
270 | </ParameterSection> |
271 | <ParameterSection> |
||
272 | <Name name="local:GeneralParameters">Outputs</Name> |
||
273 | <Parameter ParameterId="2000" type="local:IoDrvOutput"> |
||
272 | <Attributes channel="Output" /> |
274 | <Attributes channel="Output" /> |
273 | <Name name="local:Output">Outputs</Name> |
275 | <Name name="local:Output">Outputs</Name> |
274 | </Parameter> |
276 | </Parameter> |
275 | <Parameter ParameterId="3000" type="local:IoDrvConfig"> |
277 | </ParameterSection> |
278 | <ParameterSection> |
||
279 | <Name name="local:GeneralParameters">Configuration</Name> |
||
280 | <Parameter ParameterId="3000" type="local:IoDrvConfig"> |
||
276 | <Attributes channel="none" /> |
281 | <Attributes channel="none" /> |
277 | <Name name="local:Config">Config</Name> |
282 | <Name name="local:Config">Config</Name> |
278 | </Parameter> |
283 | </Parameter> |
284 | </ParameterSection> |
||
279 | </HostParameterSet> |
285 | </HostParameterSet> |
280 | </Connector> |
286 | </Connector> |
281 | <ExtendedSettings> |
287 | <ExtendedSettings> |
282 | <ts:TargetSettings> |
288 | <ts:TargetSettings> |
283 | <ts:section name="deviceconfiguration"> |
289 | <ts:section name="deviceconfiguration"> |
... |
... |
||
291 | </DeviceDescription> |
297 | </DeviceDescription> |