Diff of /trunk/Monarco/00000000-0000-0000-0000-000000000000_C_Users_user_Desktop_2.0.1.2_MonarcoHAT.devdesc.xml/svnobj [000000] .. [r73]  Maximize  Restore

Switch to unified view

a b/trunk/Monarco/00000000-0000-0000-0000-000000000000_C_Users_user_Desktop_2.0.1.2_MonarcoHAT.devdesc.xml/svnobj
1
Gx_l'*!0…jüo,¶ØE´Ó(êÛ+žSystem.StringL{9001d745-b9c5-4d77-90b7-b29c3f77a23b}AutoUpdateModePromptDatabyte LastModificationSystem.DateTime    &11/17/2018 20:49:47
2
FrozenboolÐÐ-EºQ<?xml version="1.0" encoding="utf-8"?>
3
<!--created with CoDeSys 3.0 (http://www.3s-software.com) by DeviceDescriptionBuilder (3S-Smart Software Solutions GmbH)-->
4
<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">
5
  <Types namespace="local">
6
    <BitfieldType basetype="std:BYTE" name="TBitStringByte">
7
      <Component identifier="Bit0" type="std:BOOL">
8
        <Default />
9
        <VisibleName name="local:TBitStringByte.Bit0">Bit0</VisibleName>
10
      </Component>
11
      <Component identifier="Bit1" type="std:BOOL">
12
        <Default />
13
        <VisibleName name="local:TBitStringByte.Bit1">Bit1</VisibleName>
14
      </Component>
15
      <Component identifier="Bit2" type="std:BOOL">
16
        <Default />
17
        <VisibleName name="local:TBitStringByte.Bit2">Bit2</VisibleName>
18
      </Component>
19
      <Component identifier="Bit3" type="std:BOOL">
20
        <Default />
21
        <VisibleName name="local:TBitStringByte.Bit3">Bit3</VisibleName>
22
      </Component>
23
    </BitfieldType>
24
    <BitfieldType basetype="std:BYTE" name="TLEDStringByte">
25
      <Component identifier="Led0" type="std:BOOL">
26
        <Default />
27
        <VisibleName name="local:TLEDStringByte.Bit0">Led0</VisibleName>
28
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
29
      </Component>
30
      <Component identifier="Led1" type="std:BOOL">
31
        <Default />
32
        <VisibleName name="local:TLEDStringByte.Bit1">Led1</VisibleName>
33
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
34
      </Component>
35
      <Component identifier="Led2" type="std:BOOL">
36
        <Default />
37
        <VisibleName name="local:TLEDStringByte.Bit2">Led2</VisibleName>
38
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
39
      </Component>
40
      <Component identifier="Led3" type="std:BOOL">
41
        <Default />
42
        <VisibleName name="local:TLEDStringByte.Bit3">Led3</VisibleName>
43
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
44
      </Component>
45
      <Component identifier="Led4" type="std:BOOL">
46
        <Default />
47
        <VisibleName name="local:TLEDStringByte.Bit0">Led4</VisibleName>
48
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
49
      </Component>
50
      <Component identifier="Led5" type="std:BOOL">
51
        <Default />
52
        <VisibleName name="local:TLEDStringByte.Bit1">Led5</VisibleName>
53
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
54
      </Component>
55
      <Component identifier="Led6" type="std:BOOL">
56
        <Default />
57
        <VisibleName name="local:TLEDStringByte.Bit2">Led6</VisibleName>
58
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
59
      </Component>
60
      <Component identifier="Led7" type="std:BOOL">
61
        <Default />
62
        <VisibleName name="local:TLEDStringByte.Bit3">Led7</VisibleName>
63
        <Description>FALSE => IO Channel Value, TRUE => User Value</Description>
64
      </Component>
65
    </BitfieldType>
66
    <BitfieldType basetype="std:BYTE" name="TCtrlStringByte">
67
      <Component identifier="Status LED CTRL" type="std:BOOL">
68
        <Default>FALSE</Default>
69
        <VisibleName>Status LED CTRL</VisibleName>
70
        <Description>Status LED indication => TRUE: User controlled, FALSE: System Status Indication</Description>
71
      </Component>
72
      <Component identifier="StatusLEDValue" type="std:BOOL">
73
        <Default>FALSE</Default>
74
        <VisibleName>Status LED Value</VisibleName>
75
        <Description>Only applicable if Status LED CTRL is enabled => TRUE: LED on, FALSE: LED off</Description>
76
      </Component>
77
      <Component identifier="OneWireShutdown" type="std:BOOL">
78
        <Default>FALSE</Default>
79
        <VisibleName>1-Wire power shutdown</VisibleName>
80
        <Description>Useful for bus reset in case of freeze => TRUE: 1-Wire bus power down, FALSE: normal operation</Description>
81
      </Component>
82
      <Component identifier="RESERVED" type="std:BOOL">
83
        <Default>FALSE</Default>
84
        <VisibleName>[RESERVED]</VisibleName>
85
        <Description>RESERVED: Always FALSE</Description>
86
      </Component>
87
      <Component identifier="Counter1Reset" type="std:BOOL">
88
        <Default>FALSE</Default>
89
        <VisibleName>Counter 1 Reset</VisibleName>
90
        <Description>TRUE: COUNTER1 Value reset request, FALSE: normal operation</Description>
91
      </Component>
92
      <Component identifier="Counter2Reset" type="std:BOOL">
93
        <Default>FALSE</Default>
94
        <VisibleName>Counter 2 Reset</VisibleName>
95
        <Description>TRUE: COUNTER2 Value reset request, FALSE: normal operation</Description>
96
      </Component>
97
      <Component identifier="SignOfLife0" type="std:BOOL">
98
        <Default>FALSE</Default>
99
        <VisibleName>[FUTURE]</VisibleName>
100
        <Description>FUTURE: Sign of Life 0/1 - should be incremented with each data transfer as 2bit number low/high bit, used by firmware as health check of SPI Master</Description>
101
      </Component>
102
      <Component identifier="SignOfLife1" type="std:BOOL">
103
        <Default>FALSE</Default>
104
        <VisibleName>[FUTURE]</VisibleName>
105
        <Description>FUTURE: Sign of Life 0/1 - should be incremented with each data transfer as 2bit number low/high bit, used by firmware as health check of SPI Master</Description>
106
      </Component>
107
    </BitfieldType>
108
    <BitfieldType basetype="std:BYTE" name="THWConfigStringByte">
109
      <Component identifier="AIN1Shunt" type="std:BOOL">
110
        <Default>FALSE</Default>
111
        <VisibleName>AIN1 Shunt</VisibleName>
112
        <Description>AIN1 current loop shunt resistor enable (TRUE / FALSE)</Description>
113
      </Component>
114
      <Component identifier="AIN2Shunt" type="std:BOOL">
115
        <Default>FALSE</Default>
116
        <VisibleName>AIN2 Shunt</VisibleName>
117
        <Description>AIN2 current loop shunt resistor enable (TRUE / FALSE)</Description>
118
      </Component>
119
      <Component identifier="RS-485 Termination resistor" type="std:BOOL">
120
        <Default>FALSE</Default>
121
        <VisibleName>RS-485 Termination resistor</VisibleName>
122
        <Description>RS-485 termination resistor enable (TRUE / FALSE)</Description>
123
      </Component>
124
    </BitfieldType>
125
 </Types>
126
   <Strings namespace="local">
127
   <Language lang="en"></Language>
128
  </Strings>
129
  <Files namespace="local">
130
    <Language lang="en">
131
      <File fileref="local" identifier="ImageFile">
132
        <LocalFile>Monarco.png</LocalFile>
133
      </File>
134
      <File fileref="local" identifier="Icon">
135
        <LocalFile>Monarco.ico</LocalFile>
136
      </File>
137
    </Language>
138
  </Files>
139
  <Device hideInCatalogue="false" showParamsInDevDescOrder="true">
140
    <DeviceIdentification>
141
      <Type>501</Type>
142
      <Id>0004 0005</Id>
143
      <Version>2.0.1.2</Version>
144
    </DeviceIdentification>
145
    <DeviceInfo>
146
      <Name name="local:ModelName">Monarco HAT</Name>
147
      <Description name="local:DeviceDescription">Monarco HAT SPI device library for CODESYS</Description>
148
      <Vendor name="local:VendorName">Monarco.io</Vendor>
149
      <OrderNumber>-</OrderNumber>
150
      <Image name="local:ImageFile">Monarco.png</Image>
151
      <Icon name="local:Icon">Monarco.ico</Icon>
152
    </DeviceInfo>
153
    <Connector moduleType="500" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1" alwaysmapping="true">
154
      <InterfaceName name="local:PCI">SPI devices</InterfaceName>
155
      <Slot count="1" allowEmpty="false">
156
      </Slot> 
157
      <DriverInfo needsBusCycle="true"> 
158
        <RequiredLib libname="Monarco HAT library for CODESYS" vendor="Open Source" version="2.0.1.2" identifier="DeviceLib">
159
          <FBInstance basename="$(DeviceName)" fbname="IoDrvMonarco">
160
            <Initialize methodName="Initialize" />
161
          </FBInstance>
162
        </RequiredLib>
163
      </DriverInfo>
164
    <HostParameterSet>
165
        <ParameterSection>
166
            <Name name="local:GeneralParameters">Digital In</Name>
167
                <Parameter ParameterId="1000" type="local:TBitStringByte">
168
                    <Attributes channel="input"/>
169
                    <Name name="local:digin">Digital Inputs</Name>
170
                </Parameter>
171
        </ParameterSection>
172
        <ParameterSection>
173
            <Name name="local:GeneralParameters">Analog In </Name>
174
                <Parameter ParameterId="1100" type="std:WORD">
175
                    <Attributes channel="input"/>
176
                    <Name name="AI0">AI0</Name>
177
                </Parameter>
178
                <Parameter ParameterId="1101" type="std:WORD">
179
                    <Attributes channel="input"/>
180
                    <Name name="AI1">AI1</Name>
181
                </Parameter>
182
        </ParameterSection>
183
        <ParameterSection>
184
            <Name name="local:GeneralParameters">Digital Out</Name>
185
                <Parameter ParameterId="2000" type="local:TBitStringByte">
186
                    <Attributes channel="output"/>
187
                    <Name name="local:digout">Digital Outputs</Name>
188
                </Parameter>
189
        </ParameterSection>
190
        <ParameterSection>
191
            <Name name="local:GeneralParameters">Analog Out </Name>
192
                <Parameter ParameterId="2100" type="std:WORD">
193
                    <Attributes channel="output"/>
194
                    <Name name="AO0">AO0</Name>
195
                </Parameter>
196
                <Parameter ParameterId="2101" type="std:WORD">
197
                    <Attributes channel="output"/>
198
                    <Name name="AO1">AO1</Name>
199
                </Parameter>
200
        </ParameterSection>
201
        <ParameterSection>
202
            <Name name="local:GeneralParameters">Control Byte</Name>
203
                <Parameter ParameterId="2200" type="local:TCtrlStringByte">
204
                    <Attributes channel="output"/>
205
                    <Name name="local:UserLeds">Control Byte</Name>
206
                </Parameter>
207
        </ParameterSection>
208
        <ParameterSection>
209
            <Name name="local:GeneralParameters">HW Config</Name>
210
                <Parameter ParameterId="2300" type="local:THWConfigStringByte">
211
                    <Attributes channel="output"/>
212
                    <Name name="local:UserLeds">HW Config Byte</Name>
213
                </Parameter>
214
        </ParameterSection>
215
        <ParameterSection>
216
            <Name name="local:GeneralParameters">User Leds</Name>
217
                <Parameter ParameterId="2400" type="local:TLEDStringByte">
218
                    <Attributes channel="output"/>
219
                    <Name name="local:UserLeds">User Leds Byte</Name>
220
                </Parameter>
221
        </ParameterSection>
222
        </HostParameterSet>
223
    </Connector>
224
    <ExtendedSettings>
225
      <ts:TargetSettings>
226
        <ts:section name="deviceconfiguration">
227
          <ts:setting name="createBitChannels" type="boolean" access="visible">
228
            <ts:value>1</ts:value>
229
          </ts:setting>
230
        </ts:section>
231
      </ts:TargetSettings>
232
    </ExtendedSettings>
233
  </Device>
234
</DeviceDescription>Ð-    Ð
235
­