[r13]: / trunk / IoDrvFB.devdesc.xml  Maximize  Restore  History

Download this file

70 lines (66 with data), 2.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="utf-8"?>
<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">
  <Types namespace="local">
    <StructType name="IoDrvInput">
      <Component identifier="dwIn" type="std:DWORD">
        <Default />
        <VisibleName name="local:Input">Input</VisibleName>
      </Component>
    </StructType>

    <StructType name="IoDrvOutput">
      <Component identifier="dwOut" type="std:DWORD">
        <Default />
        <VisibleName name="local:Output">Output</VisibleName>
      </Component>
    </StructType>

    <StructType name="IoDrvConfig">
      <Component identifier="dwConfig" type="std:DWORD">
        <Default />
        <VisibleName name="local:Config">Config</VisibleName>
      </Component>
    </StructType>

  </Types>
  <Strings namespace="local">
    <Language lang="en">
    </Language>
  </Strings>
  <Device hideInCatalogue="false">
    <DeviceIdentification>
      <Type>8000</Type>
      <Id>0004 0007</Id>
      <Version>1.0.0.0</Version>
    </DeviceIdentification>
    <DeviceInfo>
      <Name name="local:ModelName">IoDrvFB</Name>
      <Description name="local:DeviceDescription">An I/O driver template, meant to easily map an existing FB to the CODESYS I/O driver interface</Description>
      <Vendor name="local:VendorName">Open Source</Vendor>
      <OrderNumber>-</OrderNumber>
    </DeviceInfo>
    <Connector moduleType="8007" interface="Common.PCI" role="child" explicit="false" connectorId="1" hostpath="-1">
      <InterfaceName name="local:PCI">PCI-Bus</InterfaceName>
      <Slot count="1" allowEmpty="false">
      </Slot> 
      <DriverInfo needsBusCycle="true">
        <RequiredLib libname="IoDrvFB" vendor="Open Source" version="1.0.0.0" identifier="deviceLib">
          <FBInstance basename="$(DeviceName)" fbname="IoDrvFB">
            <Initialize methodName="Initialize" />
          </FBInstance>
        </RequiredLib>
      </DriverInfo>
      <HostParameterSet>
        <Parameter ParameterId="1000" type="local:IoDrvInput">
            <Attributes channel="input" />
            <Name name="local:Input">input</Name>
        </Parameter>
        <Parameter ParameterId="2000" type="local:IoDrvOutput">
            <Attributes channel="output" />
            <Name name="local:Output">output</Name>
        </Parameter>
        <Parameter ParameterId="3000" type="local:IoDrvConfig">
            <Attributes channel="none" />
            <Name name="local:Config">config</Name>
        </Parameter>
        </HostParameterSet>
    </Connector>
  </Device>
</DeviceDescription>