[r4]: / pi-plate.devdesc.xml  Maximize  Restore  History

Download this file

124 lines (122 with data), 6.0 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
 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
117
118
119
120
121
122
123
<?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">
   <BitField  name="RelaysStructure" basetype="std:BYTE">
	  <Component identifier="Bit0" type="std:BOOL" offlineaccess="none" onlineaccess="none">
        <Default />
        <VisibleName name="local:RelaysStructure.Bit0">Relay 1</VisibleName>
      </Component>
	  <Component identifier="Bit1" type="std:BOOL" offlineaccess="none" onlineaccess="none">
        <Default />
        <VisibleName name="local:RelaysStructure.Bit1">Relay 2</VisibleName>
      </Component>
	  <Component identifier="Bit2" type="std:BOOL" offlineaccess="none" onlineaccess="none">
        <Default />
        <VisibleName name="local:RelaysStructure.Bit2">Relay 3</VisibleName>
      </Component>
	  <Component identifier="Bit3" type="std:BOOL" offlineaccess="none" onlineaccess="none">
        <Default />
        <VisibleName name="local:RelaysStructure.Bit3">Relay 4</VisibleName>
      </Component>
	  <Component identifier="Bit4" type="std:BOOL" offlineaccess="none" onlineaccess="none">
        <Default />
        <VisibleName name="local:RelaysStructure.Bit4">Relay 5</VisibleName>
      </Component>
	  <Component identifier="Bit5" type="std:BOOL" offlineaccess="none" onlineaccess="none">
        <Default />
        <VisibleName name="local:RelaysStructure.Bit5">Relay 6</VisibleName>
      </Component>
	  <Component identifier="Bit6" type="std:BOOL" offlineaccess="none" onlineaccess="none">
        <Default />
        <VisibleName name="local:RelaysStructure.Bit6">Relay 7</VisibleName>
      </Component>
	</BitField >
  </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="true">
        <RequiredLib libname="Relay Plate" vendor="Open Source" version="1.0.0.0" identifier="deviceLib">
          <FBInstance basename="$(DeviceName)" fbname="IoDrvRelayPlate">
            <Initialize methodName="Initialize" />
          </FBInstance>
        </RequiredLib>
      </DriverInfo>
	  <HostParameterSet>
		<Parameter ParameterId="1000" type="std:BYTE">
          <Attributes channel="output"/>
          <Name name="Relays">Relays</Name>
          <Description name="Relays_Desc">Relays on Relay Plate</Description>
        </Parameter>
		<Parameter ParameterId="1001" type="std:BOOL">
          <Attributes channel="output"/>
          <Name name="LED">Led</Name>
          <Description name="LED_Desc-">LED CONTROL</Description>
        </Parameter>
		<Parameter ParameterId="1002" type="std:BIT">
          <Attributes channel="input"/>
          <Name name="Control_IO">Control IO Port</Name>
          <Description name="Control_IO_Desc-">Control IO Port</Description>
        </Parameter>
        <Parameter ParameterId="1003" type="std:BYTE">
          <Attributes channel="input"/>
          <Name name="FW_Version">Firmware Version</Name>
          <Description name="FW_VersionDesc-">Firmware Version of Relay Plate</Description>
        </Parameter>
        <Parameter ParameterId="1004" type="std:BYTE">
          <Attributes channel="input" download="true" functional="false" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="HW_Version">Hardware Version</Name>
          <Description name="HW_VersionDesc-">Hardware Version of Relay Plate</Description>
        </Parameter>
        <Parameter ParameterId="1005" type="std:BYTE">
          <Attributes channel="none" download="true" functional="false" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="Address">Address</Name>
          <Description name="AddressDesc">Address of Relay Plate</Description>
        </Parameter>
		<Parameter ParameterId="1006" type="std:BYTE">
          <Attributes channel="none" download="true" functional="false" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="PLATE_TYPE">Plate Type</Name>
          <Description name="PLATE_TYPE_DESC-">Plate Type</Description>
        </Parameter>
		<Parameter ParameterId="1007" type="std:BOOL">
          <Attributes channel="Output" download="true" functional="false" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="Reset">Reset</Name>
          <Description name="Reset_DESC-">Reset the Relay Plate</Description>
        </Parameter>
		<Parameter ParameterId="1008" type="std:BOOL">
          <Attributes channel="Input" download="true" functional="false" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="Reset_Complete">Reset Complete</Name>
          <Description name="Reset_Complete_DESC-">Relay Pi Plate Reset is complete</Description>
        </Parameter>
      </HostParameterSet>
    </Connector>
  </Device>
</DeviceDescription>