Diff of /tags/2.0.0.0/DI DO AI AO/devdescr/OLD/MonarcoHAT2.0.0.0.devdesc - Copy.xml [000000] .. [r13]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/tags/2.0.0.0/DI DO AI AO/devdescr/OLD/MonarcoHAT2.0.0.0.devdesc - Copy.xml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--created with CoDeSys 3.0 (http://www.3s-software.com) by DeviceDescriptionBuilder (3S-Smart Software Solutions GmbH)-->
+<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">
+    <BitfieldType basetype="std:BYTE" name="TBitStringByte">
+      <Component identifier="Bit0" type="std:BOOL">
+        <Default />
+        <VisibleName name="local:TBitStringByte.Bit0">Bit0</VisibleName>
+      </Component>
+      <Component identifier="Bit1" type="std:BOOL">
+        <Default />
+        <VisibleName name="local:TBitStringByte.Bit1">Bit1</VisibleName>
+      </Component>
+      <Component identifier="Bit2" type="std:BOOL">
+        <Default />
+        <VisibleName name="local:TBitStringByte.Bit2">Bit2</VisibleName>
+      </Component>
+      <Component identifier="Bit3" type="std:BOOL">
+        <Default />
+        <VisibleName name="local:TBitStringByte.Bit3">Bit3</VisibleName>
+      </Component>
+    </BitfieldType>
+  </Types>
+  <Strings namespace="local">
+    <Language lang="en">
+    </Language>
+  </Strings>
+  <Files namespace="local">
+    <Language lang="en">
+	  <File fileref="local" identifier="ImageFile">
+        <LocalFile>Monarco.png</LocalFile>
+      </File>
+      <File fileref="local" identifier="Icon">
+        <LocalFile>Monarco.ico</LocalFile>
+      </File>
+    </Language>
+  </Files>
+
+  <Device hideInCatalogue="false">
+    <DeviceIdentification>
+      <Type>501</Type>
+      <Id>FFFF 0005</Id>
+      <Version>2.0.0.0</Version>
+    </DeviceIdentification>
+    <DeviceInfo>
+      <Name name="local:ModelName">Monarco HAT</Name>
+      <Description name="local:DeviceDescription">Monarco HAT SPI device library for Codesys</Description>
+      <Vendor name="local:VendorName">Monarco.io</Vendor>
+      <OrderNumber>-</OrderNumber>
+	<Image name="local:ImageFile">Monarco.png</Image>
+	<Icon name="local:Icon">Monarco.ico</Icon>
+    </DeviceInfo>
+    <Connector moduleType="500" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1">
+      <InterfaceName name="local:PCI">SPI Bus</InterfaceName>
+      <Slot count="1" allowEmpty="false">
+      </Slot> 
+      <DriverInfo needsBusCycle="true">	  
+        <RequiredLib libname="Monarco HAT library for Codesys" vendor="Monarco.io" version="2.0.0.0" identifier="MonarcoLib">
+          <FBInstance basename="$(DeviceName)_Instance" fbname="IoDrvMonarco">
+            <Initialize methodName="Initialize" />
+          </FBInstance>
+        </RequiredLib>
+      </DriverInfo>
+	 <HostParameterSet>
+        <Parameter ParameterId="100" type="std:USINT">
+          <Attributes channel="none" download="true" functional="false" onlineaccess="read" />
+          <Default>0</Default>
+          <Name name="local:SPI_channel">SPI master number</Name>
+          <Description name="local:Id393218.Desc">SPI controlling device name /dev/spidev0.X</Description>
+        </Parameter>
+				
+		<ParameterSection>
+		  <Name name="local:GeneralParameters">Digital In</Name>
+			<Parameter ParameterId="1050" type="local:TBitStringByte">
+			  <Attributes channel="input"/>
+			  <Default>0</Default>
+			  <Name name="local:in1">DigIn</Name>
+			</Parameter>
+		</ParameterSection>
+		
+		<ParameterSection>
+		  <Name name="local:GeneralParameters">Analog In</Name>
+			<Parameter ParameterId="1110" type="std:UINT">
+			  <Attributes channel="input"/>
+			  <Default>0</Default>
+			  <Name name="local:ai0-raw">AI0 Raw</Name>
+			</Parameter>
+			<Parameter ParameterId="1111" type="std:UINT">
+			  <Attributes channel="input"/>
+			  <Default>0</Default>
+			  <Name name="local:ai0-raw">AI1 Raw</Name>
+			</Parameter>
+		</ParameterSection>
+		
+		<ParameterSection>
+		  <Name name="local:GeneralParameters">Digital Out</Name>
+			<Parameter ParameterId="2000" type="local:TBitStringByte">
+			  <Attributes channel="output"/>
+			  <Default>0</Default>
+			  <Name name="local:digout1">DigOut</Name>
+			</Parameter>
+		</ParameterSection>
+	  </HostParameterSet>
+	</Connector>
+  </Device>
+</DeviceDescription>
\ No newline at end of file