a | b/trunk/monarco/devdescr/MonarcoHAT2.0.1.1.devdesc.xml | ||
---|---|---|---|
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)--> |
||
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"> |
||
5 | <BitfieldType basetype="std:BYTE" name="TBitStringByte"> |
||
6 | <Component identifier="Bit0" type="std:BOOL"> |
||
7 | <Default /> |
||
8 | <VisibleName name="local:TBitStringByte.Bit0">Bit0</VisibleName> |
||
9 | </Component> |
||
10 | <Component identifier="Bit1" type="std:BOOL"> |
||
11 | <Default /> |
||
12 | <VisibleName name="local:TBitStringByte.Bit1">Bit1</VisibleName> |
||
13 | </Component> |
||
14 | <Component identifier="Bit2" type="std:BOOL"> |
||
15 | <Default /> |
||
16 | <VisibleName name="local:TBitStringByte.Bit2">Bit2</VisibleName> |
||
17 | </Component> |
||
18 | <Component identifier="Bit3" type="std:BOOL"> |
||
19 | <Default /> |
||
20 | <VisibleName name="local:TBitStringByte.Bit3">Bit3</VisibleName> |
||
21 | </Component> |
||
22 | </BitfieldType> |
||
23 | </Types> |
||
24 | <Strings namespace="local"> |
||
25 | <Language lang="en"></Language> |
||
26 | </Strings> |
||
27 | <Files namespace="local"> |
||
28 | <Language lang="en"> |
||
29 | <File fileref="local" identifier="ImageFile"> |
||
30 | <LocalFile>Monarco.png</LocalFile> |
||
31 | </File> |
||
32 | <File fileref="local" identifier="Icon"> |
||
33 | <LocalFile>Monarco.ico</LocalFile> |
||
34 | </File> |
||
35 | </Language> |
||
36 | </Files> |
||
37 | <Device hideInCatalogue="false" showParamsInDevDescOrder="true"> |
||
38 | <DeviceIdentification> |
||
39 | <Type>501</Type> |
||
40 | <Id>0004 0005</Id> |
||
41 | <Version>2.0.1.1</Version> |
||
42 | </DeviceIdentification> |
||
43 | <DeviceInfo> |
||
44 | <Name name="local:ModelName">Monarco HAT</Name> |
||
45 | <Description name="local:DeviceDescription">Monarco HAT SPI device library for CODESYS</Description> |
||
46 | <Vendor name="local:VendorName">Monarco.io</Vendor> |
||
47 | <OrderNumber>-</OrderNumber> |
||
48 | <Image name="local:ImageFile">Monarco.png</Image> |
||
49 | <Icon name="local:Icon">Monarco.ico</Icon> |
||
50 | </DeviceInfo> |
||
51 | <Connector moduleType="500" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1" alwaysmapping="true"> |
||
52 | <InterfaceName name="local:PCI">SPI devices</InterfaceName> |
||
53 | <Slot count="1" allowEmpty="false"> |
||
54 | </Slot> |
||
55 | <DriverInfo needsBusCycle="true"> |
||
56 | <RequiredLib libname="Monarco HAT library for CODESYS" vendor="Open Source" version="2.0.1.1" identifier="DeviceLib"> |
||
57 | <FBInstance basename="$(DeviceName)" fbname="IoDrvMonarco"> |
||
58 | <Initialize methodName="Initialize" /> |
||
59 | </FBInstance> |
||
60 | </RequiredLib> |
||
61 | </DriverInfo> |
||
62 | <HostParameterSet> |
||
63 | <ParameterSection> |
||
64 | <Name name="local:GeneralParameters">Digital In</Name> |
||
65 | <Parameter ParameterId="1000" type="local:TBitStringByte"> |
||
66 | <Attributes channel="input"/> |
||
67 | <Name name="local:digin">Digital Inputs</Name> |
||
68 | </Parameter> |
||
69 | </ParameterSection> |
||
70 | <ParameterSection> |
||
71 | <Name name="local:GeneralParameters">Analog In </Name> |
||
72 | <Parameter ParameterId="1100" type="std:WORD"> |
||
73 | <Attributes channel="input"/> |
||
74 | <Name name="AI0">AI0</Name> |
||
75 | </Parameter> |
||
76 | <Parameter ParameterId="1101" type="std:WORD"> |
||
77 | <Attributes channel="input"/> |
||
78 | <Name name="AI1">AI1</Name> |
||
79 | </Parameter> |
||
80 | </ParameterSection> |
||
81 | <ParameterSection> |
||
82 | <Name name="local:GeneralParameters">Digital Out</Name> |
||
83 | <Parameter ParameterId="2000" type="local:TBitStringByte"> |
||
84 | <Attributes channel="output"/> |
||
85 | <Name name="local:digout">Digital Outputs</Name> |
||
86 | </Parameter> |
||
87 | </ParameterSection> |
||
88 | <ParameterSection> |
||
89 | <Name name="local:GeneralParameters">Analog Out </Name> |
||
90 | <Parameter ParameterId="2100" type="std:WORD"> |
||
91 | <Attributes channel="output"/> |
||
92 | <Name name="AO0">AO0</Name> |
||
93 | </Parameter> |
||
94 | <Parameter ParameterId="2101" type="std:WORD"> |
||
95 | <Attributes channel="output"/> |
||
96 | <Name name="AO1">AO1</Name> |
||
97 | </Parameter> |
||
98 | </ParameterSection> |
||
99 | </HostParameterSet> |
||
100 | </Connector> |
||
101 | <ExtendedSettings> |
||
102 | <ts:TargetSettings> |
||
103 | <ts:section name="deviceconfiguration"> |
||
104 | <ts:setting name="createBitChannels" type="boolean" access="visible"> |
||
105 | <ts:value>1</ts:value> |
||
106 | </ts:setting> |
||
107 | </ts:section> |
||
108 | </ts:TargetSettings> |
||
109 | </ExtendedSettings> |
||
110 | </Device> |
||
111 | </DeviceDescription> |