--- a +++ b/trunk/IoDrvFB.devdesc.xml @@ -0,0 +1,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>