Diff of /branches/IoDrvMEGAIO/IoDrvMEGAIO.devdesc.xml [r62] .. [r63]  Maximize  Restore

Switch to unified view

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
  
5
    <StructType name="Channel8BOOL">
6
    <StructType name="Channel8BOOL">
6
        <Component identifier="BOOL0" type="std:BOOL">
7
        <Component identifier="BOOL0" type="std:BOOL">
7
          <Default />
8
          <Default />
8
          <VisibleName name="Local:Bool0">Bit0</VisibleName>
9
          <VisibleName name="Local:Bool0">Bit0</VisibleName>
9
        </Component>
10
        </Component>
...
...
34
        <Component identifier="BOOL7" type="std:BOOL">
35
        <Component identifier="BOOL7" type="std:BOOL">
35
          <Default />
36
          <Default />
36
          <VisibleName name="Local:Bool7">Bit7</VisibleName>
37
          <VisibleName name="Local:Bool7">Bit7</VisibleName>
37
        </Component>
38
        </Component>
38
    </StructType>
39
    </StructType>
40
  
39
    <StructType name="Ch5BOOL">
41
    <StructType name="Ch5BOOL">
40
        <Component identifier="Bit0" type="std:BOOL">
42
        <Component identifier="Bit0" type="std:BOOL">
41
          <Default />
43
          <Default />
42
          <VisibleName name="Bit0">Bit0</VisibleName>
44
          <VisibleName name="Bit0">Bit0</VisibleName>
43
        </Component>
45
        </Component>
...
...
60
        <Component identifier="Bit5" type="std:BOOL">
62
        <Component identifier="Bit5" type="std:BOOL">
61
          <Default />
63
          <Default />
62
          <VisibleName name="Bit5">Bit5</VisibleName>
64
          <VisibleName name="Bit5">Bit5</VisibleName>
63
        </Component>
65
        </Component>
64
    </StructType>
66
    </StructType>
65
  <StructType name="Ch3BOOL">
67
  
68
  <StructType name="OpenDrainState">
66
        <Component identifier="Bit0" type="std:BOOL">
69
        <Component identifier="Bit0" type="std:BOOL">
67
          <Default />
70
          <Default />
68
          <VisibleName name="Bit0">Bit0</VisibleName>
71
          <VisibleName name="Bit0">Bit0</VisibleName>
69
        </Component>
72
        </Component>
70
        <Component identifier="Bit1" type="std:BOOL">
73
        <Component identifier="Bit1" type="std:BOOL">
...
...
78
        <Component identifier="Bit3" type="std:BOOL">
81
        <Component identifier="Bit3" type="std:BOOL">
79
          <Default />
82
          <Default />
80
          <VisibleName name="Bit3">Bit3</VisibleName>
83
          <VisibleName name="Bit3">Bit3</VisibleName>
81
        </Component>
84
        </Component>
82
    </StructType>
85
    </StructType>
86
  
83
    <StructType name="Ch8REAL">
87
    <StructType name="Ch8REAL">
84
        <Component identifier="REAL0" type="std:REAL">
88
        <Component identifier="REAL0" type="std:REAL">
85
          <Default />
89
          <Default />
86
          <VisibleName name="REAL0">REAL0</VisibleName>
90
          <VisibleName name="REAL0">REAL0</VisibleName>
87
        </Component>
91
        </Component>
...
...
112
        <Component identifier="REAL7" type="std:REAL">
116
        <Component identifier="REAL7" type="std:REAL">
113
          <Default />
117
          <Default />
114
          <VisibleName name="REAL7">REAL7</VisibleName>
118
          <VisibleName name="REAL7">REAL7</VisibleName>
115
        </Component>
119
        </Component>
116
    </StructType>
120
    </StructType>
121
  
117
    <StructType name="Ch8UINT">
122
    <StructType name="Ch8UINT">
118
        <Component identifier="UINT0" type="std:UINT">
123
        <Component identifier="UINT0" type="std:UINT">
119
          <Default />
124
          <Default />
120
          <VisibleName name="UINT0">UINT0</VisibleName>
125
          <VisibleName name="UINT0">UINT0</VisibleName>
121
        </Component>
126
        </Component>
...
...
146
        <Component identifier="UINT7" type="std:UINT">
151
        <Component identifier="UINT7" type="std:UINT">
147
          <Default />
152
          <Default />
148
          <VisibleName name="UINT7">UINT7</VisibleName>
153
          <VisibleName name="UINT7">UINT7</VisibleName>
149
        </Component>
154
        </Component>
150
    </StructType>
155
    </StructType>
156
  
151
    <StructType name="IoDrvInput">
157
    <StructType name="IoDrvInput">
152
      <Component identifier="dwIn" type="std:DWORD">
158
      <Component identifier="dwIn" type="std:DWORD">
153
        <Default />
159
        <Default />
154
        <VisibleName name="local:Input">Input</VisibleName>
160
        <VisibleName name="local:Input">Input</VisibleName>
155
      </Component>
161
      </Component>
156
      <Component identifier="dacVoltage" type="std:REAL">
162
      <Component identifier="adcVoltages" type="local:Ch8REAL">
157
        <Default />
163
        <Default />
158
        <VisibleName name="local:dacVoltageInput">dacVoltage Input</VisibleName>
164
        <VisibleName name="adcVoltages">adcVoltages</VisibleName>
159
      </Component>
165
      </Component>
166
    <Component identifier="adcRaw" type="local:Ch8UINT">
167
        <Default />
168
        <VisibleName name="adcRaw">adcRaw</VisibleName>
169
      </Component>
160
      <Component identifier="relayState" type="local:Channel8BOOL">
170
      <Component identifier="optoIn" type="local:Channel8BOOL">
161
        <Default />
171
        <Default />
162
        <VisibleName name="local:relayState">relayState</VisibleName>
172
        <VisibleName name="local:optoIn">optoIn</VisibleName>
163
      </Component>
173
      </Component>
164
    <Component identifier="openDrainState" type="local:Ch3BOOL">
165
        <Default />
166
        <VisibleName name="openDrain State">openDrain State</VisibleName>
167
      </Component>
168
      <Component identifier="gpioOut" type="local:Ch5BOOL">
174
      <Component identifier="gpioIn" type="local:Ch5BOOL">
169
        <Default />
175
        <Default />
170
        <VisibleName name="gpioOut">gpioOut</VisibleName>
176
        <VisibleName name="local:gpioIn">gpioIn</VisibleName>
171
      </Component>
172
    <Component identifier="gpioDir" type="local:Ch5BOOL">
173
        <Default />
174
        <VisibleName name="gpioDir">gpioDir</VisibleName>
175
      </Component>
177
      </Component>
176
    </StructType>
178
    </StructType>
179
  
177
    <StructType name="IoDrvOutput">
180
    <StructType name="IoDrvOutput">
178
      <Component identifier="dwOut" type="std:DWORD">
181
      <Component identifier="dwOut" type="std:DWORD">
179
        <Default />
182
        <Default />
180
        <VisibleName name="local:Output">Output</VisibleName>
183
        <VisibleName name="local:Output">Output</VisibleName>
181
      </Component>
184
    </Component>
182
      <Component identifier="adcVoltages" type="local:Ch8REAL">
185
      <Component identifier="dacVoltage" type="std:REAL">
183
        <Default />
186
        <Default />
184
        <VisibleName name="adcVoltages">adcVoltages</VisibleName>
187
        <VisibleName name="local:dacVoltageInput">dacVoltage Input</VisibleName>
185
      </Component>
188
      </Component>
186
    <Component identifier="adcRaw" type="local:Ch8UINT">
187
        <Default />
188
        <VisibleName name="adcRaw">adcRaw</VisibleName>
189
      </Component>
190
      <Component identifier="optoIn" type="local:Channel8BOOL">
189
      <Component identifier="relayState" type="local:Channel8BOOL">
191
        <Default />
190
        <Default />
192
        <VisibleName name="local:optoIn">optoIn</VisibleName>
191
        <VisibleName name="local:relayState">relayState</VisibleName>
193
      </Component>
192
      </Component>
193
    <Component identifier="openDrainState" type="local:OpenDrainState">
194
        <Default />
195
        <VisibleName name="openDrain State">openDrain State</VisibleName>
196
      </Component>
194
      <Component identifier="gpioIn" type="local:Ch5BOOL">
197
      <Component identifier="gpioOut" type="local:Ch5BOOL">
195
        <Default />
198
        <Default />
196
        <VisibleName name="local:gpioIn">gpioIn</VisibleName>
199
        <VisibleName name="gpioOut">gpioOut</VisibleName>
200
      </Component>
201
    <Component identifier="gpioDir" type="local:Ch5BOOL">
202
        <Default />
203
        <VisibleName name="gpioDir">gpioDir</VisibleName>
197
      </Component>
204
      </Component>
198
    </StructType>
205
    </StructType>
206
  
199
    <StructType name="IoDrvConfig">
207
    <StructType name="IoDrvConfig">
200
      <Component identifier="dwConfig" type="std:DWORD">
208
      <Component identifier="dwConfig" type="std:DWORD">
201
        <Default>2</Default>
209
        <Default>2</Default>
202
        <VisibleName name="local:Config">Config</VisibleName>
210
        <VisibleName name="local:Config">Config</VisibleName>
203
      </Component>
211
      </Component>
212
  </StructType>
204
      <!--
213
      <!--
205
      <Component identifier="StackLevel" type="std:USINT">
214
      <Component identifier="StackLevel" type="std:USINT">
206
        <Default>16#1</Default>
215
        <Default>16#1</Default>
207
        <VisibleName name="local:StackLevel">StackLevel</VisibleName>
216
        <VisibleName name="local:StackLevel">StackLevel</VisibleName>
208
        <Description name="local:StackLevel.Desc">Stack level of MegaIO boards</Description>
217
        <Description name="local:StackLevel.Desc">Stack level of MegaIO boards</Description>
209
      </Component>
218
      </Component>
210
      -->
219
      -->
211
    </StructType>
212
  </Types>
220
  </Types>
213
  <Strings namespace="local">
221
  <Strings namespace="local">
214
    <Language lang="en">
222
    <Language lang="en">
215
    </Language>
223
    </Language>
216
  </Strings>
224
  </Strings>
...
...
256
          <Name name="local:I2cAddress">I²C address</Name>
264
          <Name name="local:I2cAddress">I²C address</Name>
257
          <Description name="local:I2cAddress.Desc">Address of I²C Device</Description>
265
          <Description name="local:I2cAddress.Desc">Address of I²C Device</Description>
258
        </Parameter>
266
        </Parameter>
259
        <Parameter ParameterId="1000" type="local:IoDrvInput">
267
        <Parameter ParameterId="1000" type="local:IoDrvInput">
260
            <Attributes channel="input" />
268
            <Attributes channel="input" />
261
            <Name name="local:Input">Input</Name>
269
            <Name name="local:Input">Inputs</Name>
262
        </Parameter>
270
        </Parameter>
263
        <Parameter ParameterId="2000" type="local:IoDrvOutput">
271
        <Parameter ParameterId="2000" type="local:IoDrvOutput">
264
            <Attributes channel="Output" />
272
            <Attributes channel="Output" />
265
            <Name name="local:Output">Output</Name>
273
            <Name name="local:Output">Outputs</Name>
266
        </Parameter>
274
        </Parameter>
267
        <Parameter ParameterId="3000" type="local:IoDrvConfig">
275
        <Parameter ParameterId="3000" type="local:IoDrvConfig">
268
            <Attributes channel="none" />
276
            <Attributes channel="none" />
269
            <Name name="local:Config">Config</Name>
277
            <Name name="local:Config">Config</Name>
270
        </Parameter>
278
        </Parameter>
271
      </HostParameterSet>
279
    </HostParameterSet>
272
    </Connector>
280
    </Connector>
273
    <ExtendedSettings>
281
    <ExtendedSettings>
274
      <ts:TargetSettings>
282
      <ts:TargetSettings>
275
        <ts:section name="deviceconfiguration">
283
        <ts:section name="deviceconfiguration">
276
          <ts:setting name="createBitChannels" type="boolean" access="visible">
284
          <ts:setting name="createBitChannels" type="boolean" access="visible">