Diff of /Pi_Plate.xml [000000] .. [r1]  Maximize  Restore

Switch to unified view

a b/Pi_Plate.xml
1
<?xml version="1.0" encoding="utf-8"?>
2
<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">
3
  <Types namespace="local"></Types>
4
  <Strings namespace="local">
5
    <Language lang="en"></Language>
6
  </Strings>
7
  <Files namespace="local">
8
    <Language lang="en">
9
      <File fileref="local" identifier="Icon">
10
        <LocalFile>icon.ico</LocalFile>
11
      </File>
12
    </Language>
13
  </Files>
14
  <Device hideInCatalogue="false">
15
    <DeviceIdentification>
16
      <Type>501</Type>
17
      <Id>0003 0001</Id>
18
      <Version>1.0.0.0</Version>
19
    </DeviceIdentification>
20
    <DeviceInfo>
21
      <Name name="local:ModelName">Relay Pi-Plate</Name>
22
      <Description name="local:DeviceDescription">Relay Pi Plate for Codesys</Description>
23
      <Vendor name="local:VendorName">Open Source</Vendor>
24
      <OrderNumber>-</OrderNumber>
25
      <Icon name="local:Icon">icon.ico</Icon>
26
    </DeviceInfo>
27
    <Connector moduleType="501" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1">
28
      <InterfaceName name="local:SPI">SPI devices</InterfaceName>
29
      <Slot count="1" allowEmpty="false"></Slot>
30
      <DriverInfo needsBusCycle="false">
31
        <RequiredLib libname="Relay Pi-Plate" vendor="Open Source" version="1.0.0.0" identifier="Relay Pi-Plate">
32
          <FBInstance basename="$(DeviceName)" fbname="RelayPlate">
33
            <Initialize methodName="Initialize" />
34
            <CyclicCall methodname="AfterReadInputs" task="#buscycletask" whentocall="afterReadInputs" />
35
            <CyclicCall methodname="BeforeWriteOutputs" task="#buscycletask" whentocall="beforeWriteOutputs" />
36
          </FBInstance>
37
        </RequiredLib>
38
      </DriverInfo>
39
      <HostParameterSet>
40
        <Parameter ParameterId="1000" type="std:BYTE">
41
          <Attributes channel="none" download="true" functional="false" onlineaccess="read" />
42
          <Default>0</Default>
43
          <Name name="local:State">State</Name>
44
          <Description name="local:State">State of the relay</Description>
45
        </Parameter>
46
      </HostParameterSet>
47
    </Connector>
48
  </Device>
49
</DeviceDescription>
50