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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | <?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"></Types> <Strings namespace="local"> <Language lang="en"></Language> </Strings> <Files namespace="local"> <Language lang="en"> <File fileref="local" identifier="Icon"> <LocalFile>OpenSource.ico</LocalFile> </File> </Language> </Files> <Device hideInCatalogue="false"> <DeviceIdentification> <Type>501</Type> <Id>0003 0001</Id> <Version>1.0.0.0</Version> </DeviceIdentification> <DeviceInfo> <Name name="local:ModelName">Relay Plate</Name> <Description name="local:DeviceDescription">Relay Plate, 7 relays</Description> <Vendor name="local:VendorName">Open Source</Vendor> <OrderNumber>-</OrderNumber> <Icon name="local:Icon">RelayPlate.ico</Icon> </DeviceInfo> <Connector moduleType="501" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1"> <InterfaceName name="local:SPI">SPI devices</InterfaceName> <Slot count="1" allowEmpty="false"></Slot> <DriverInfo needsBusCycle="false"> <RequiredLib libname="Relay Plate" vendor="Open Source" version="1.0.0.0" identifier="Relay Plate"> <FBInstance basename="$(DeviceName)" fbname="RelayPlate"> <Initialize methodName="Initialize" /> <CyclicCall methodname="AfterReadInputs" task="#buscycletask" whentocall="afterReadInputs" /> <CyclicCall methodname="BeforeWriteOutputs" task="#buscycletask" whentocall="beforeWriteOutputs" /> </FBInstance> </RequiredLib> </DriverInfo> <HostParameterSet> <Parameter ParameterId="1000" type="std:BYTE"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:BitWidth">Address</Name> <Description name="local:BitWidthDesc">Address of Relay Plate</Description> </Parameter> <Parameter ParameterId="1001" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Relay1">Relay 1</Name> <Description name="local:RelayDescription">Relay 1</Description> </Parameter> <Parameter ParameterId="1002" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Relay2">Relay 2</Name> <Description name="local:RelayDescription">Relay 2</Description> </Parameter> <Parameter ParameterId="1003" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Relay3">Relay 3</Name> <Description name="local:RelayDescription">Relay 3</Description> </Parameter> <Parameter ParameterId="1004" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Relay4">Relay 4</Name> <Description name="local:RelayDescription">Relay 4</Description> </Parameter> <Parameter ParameterId="1005" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Relay5">Relay 5</Name> <Description name="local:RelayDescription">Relay 5</Description> </Parameter> <Parameter ParameterId="1006" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Relay6">Relay 6</Name> <Description name="local:RelayDescription">Relay 6</Description> </Parameter> <Parameter ParameterId="1007" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Relay7">Relay 7</Name> <Description name="local:RelayDescription">Relay 7</Description> </Parameter> <Parameter ParameterId="1008" type="std:BYTE"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:FW_Version">Firmware Version</Name> <Description name="local:FW_VersionDesc-">Firmware Version of Relay Plate</Description> </Parameter> <Parameter ParameterId="1009" type="std:BYTE"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:HW_Version">Hardware Version</Name> <Description name="local:HW_VersionDesc-">Hardware Version of Relay Plate</Description> </Parameter> <Parameter ParameterId="1010" type="std:DWORD"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:Control_IO">Control IO Port</Name> <Description name="local:Control_IO_Desc-">Control IO Port</Description> </Parameter> <Parameter ParameterId="1011" type="std:BIT"> <Attributes channel="output" download="true" functional="false" onlineaccess="read" /> <Default>0</Default> <Name name="local:LED">Led</Name> <Description name="local:LED_Desc-">LED CONTROL</Description> </Parameter> </HostParameterSet> </Connector> </Device> </DeviceDescription> |