Subversion Repositories HomeAutomation

Rev

Rev 1551 | Rev 1567 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1551 Rev 1565
1
<?xml version="1.0" standalone="yes"?>
1
<?xml version="1.0" standalone="yes"?>
2
<root>
2
<root>
3
  <classes>
3
  <classes>
4
    <class id="0" name="nmt" description="Networkmanagement used only for packets with the nmt-protcol header"/>
4
    <class id="0" name="nmt" description="Networkmanagement used only for packets with the nmt-protcol header"/>
5
    <class id="11" name="mnmt" description="Module networkmanagement, right now only used for requesting module listing from a node"/>
5
    <class id="11" name="mnmt" description="Module networkmanagement, right now only used for requesting module listing from a node"/>
6
    <class id="12" name="act" description="Actuator nmt_messages"/>
6
    <class id="12" name="act" description="Actuator nmt_messages"/>
7
    <class id="13" name="sns" description="Sensor nmt_messages"/>
7
    <class id="13" name="sns" description="Sensor nmt_messages"/>
8
    <class id="14" name="def" description="Default, not to be used"/>
8
    <class id="14" name="def" description="Default, not to be used"/>
9
    <class id="15" name="tst" description="Testing stuff"/>
9
    <class id="15" name="tst" description="Testing stuff"/>
10
    <class id="10" name="chn" description="Control channel based"/>
10
    <class id="10" name="chn" description="Control channel based"/>
11
  </classes>
11
  </classes>
12
  <commands>
12
  <commands>
13
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
13
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
14
      <variables>
14
      <variables>
15
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
15
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
16
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
16
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
17
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
17
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
18
      </variables>
18
      </variables>
19
    </command>
19
    </command>
20
   
20
   
21
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
21
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
22
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
22
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
23
      <variables>
23
      <variables>
24
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
24
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
25
      </variables>
25
      </variables>
26
    </command>
26
    </command>
27
   
27
   
28
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
28
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
29
      <variables>
29
      <variables>
30
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
30
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
31
        <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
31
        <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
32
      </variables>
32
      </variables>
33
    </command>
33
    </command>
34
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
34
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
35
      <variables>
35
      <variables>
36
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
36
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
37
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
37
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
38
      </variables>
38
      </variables>
39
    </command>
39
    </command>
40
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
40
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
41
      <variables>
41
      <variables>
42
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
42
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
43
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
43
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
44
      </variables>
44
      </variables>
45
    </command>
45
    </command>
46
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
46
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
47
      <variables>
47
      <variables>
48
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
48
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
49
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
49
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
50
      </variables>
50
      </variables>
51
    </command>
51
    </command>
52
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
52
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
53
      <variables>
53
      <variables>
54
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
54
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
55
      </variables>
55
      </variables>
56
    </command>
56
    </command>
57
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
57
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
58
      <variables>
58
      <variables>
59
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
59
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
60
        <variable name="Direction" type="enum" start_bit="8" bit_length="8" unit="" description="">
60
        <variable name="Direction" type="enum" start_bit="8" bit_length="8" unit="" description="">
61
          <value id="0" name="Clockwise"/>
61
          <value id="0" name="Clockwise"/>
62
          <value id="1" name="Counterclockwise"/>
62
          <value id="1" name="Counterclockwise"/>
63
        </variable>
63
        </variable>
64
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
64
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
65
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
65
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
66
      </variables>
66
      </variables>
67
    </command>
67
    </command>
68
    <command id="70" name="Button" type="physical" module="" description="">
68
    <command id="70" name="Button" type="physical" module="" description="">
69
      <variables>
69
      <variables>
70
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
70
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
71
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
71
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
72
          <value id="1" name="Pressed"/>
72
          <value id="1" name="Pressed"/>
73
          <value id="0" name="Released"/>
73
          <value id="0" name="Released"/>
74
        </variable>
74
        </variable>
75
      </variables>
75
      </variables>
76
    </command>
76
    </command>
77
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
77
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
78
      <variables>
78
      <variables>
79
        <variable name="Channel" type="uint" start_bit="0" bit_length="4" unit="" description="Channel of received or transmitted data"/>
79
        <variable name="Channel" type="uint" start_bit="0" bit_length="4" unit="" description="Channel of received or transmitted data"/>
80
        <variable name="Status" type="enum" start_bit="4" bit_length="4" unit="" description="State of remote button">
80
        <variable name="Status" type="enum" start_bit="4" bit_length="4" unit="" description="State of remote button">
81
          <value id="1" name="Pressed"/>
81
          <value id="1" name="Pressed"/>
82
          <value id="0" name="Released"/>
82
          <value id="0" name="Released"/>
83
        </variable>
83
        </variable>
84
        <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol">
84
        <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol">
85
          <value id="0" name="RC5"/>
85
          <value id="0" name="RC5"/>
86
          <value id="1" name="RC6"/>
86
          <value id="1" name="RC6"/>
87
          <value id="2" name="RCMM"/>
87
          <value id="2" name="RCMM"/>
88
          <value id="3" name="SIRC"/>
88
          <value id="3" name="SIRC"/>
89
          <value id="4" name="Sharp"/>
89
          <value id="4" name="Sharp"/>
90
          <value id="5" name="NEC"/>
90
          <value id="5" name="NEC"/>
91
          <value id="6" name="Samsung"/>
91
          <value id="6" name="Samsung"/>
92
          <value id="7" name="Marantz"/>
92
          <value id="7" name="Marantz"/>
93
          <value id="8" name="Panasonic"/>
93
          <value id="8" name="Panasonic"/>
94
          <value id="255" name="Unknown"/>
94
          <value id="255" name="Unknown"/>
95
        </variable>
95
        </variable>
96
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
96
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
97
      </variables>
97
      </variables>
98
    </command>
98
    </command>
99
    <command id="72" name="Current" type="physical" module="" description="Current data">
99
    <command id="72" name="Current" type="physical" module="" description="Current data">
100
      <variables>
100
      <variables>
101
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
101
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
102
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Ampere" description=""/>
102
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Ampere" description=""/>
103
      </variables>
103
      </variables>
104
    </command>
104
    </command>
105
    <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
105
    <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
106
      <variables>
106
      <variables>
107
        <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
107
        <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
108
        <variable name="EnergySum" type="uint" start_bit="16" bit_length="32" unit="W/h" description=""/>
108
        <variable name="EnergySum" type="uint" start_bit="16" bit_length="32" unit="W/h" description=""/>
109
        <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
109
        <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
110
      </variables>
110
      </variables>
111
    </command>
111
    </command>
112
    <command id="74" name="SetPin" type="physical" module="" description="">
112
    <command id="74" name="SetPin" type="physical" module="" description="">
113
      <variables>
113
      <variables>
114
        <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
114
        <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
115
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
115
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
116
          <value id="1" name="High"/>
116
          <value id="1" name="High"/>
117
          <value id="0" name="Low"/>
117
          <value id="0" name="Low"/>
118
        </variable>
118
        </variable>
119
      </variables>
119
      </variables>
120
    </command>
120
    </command>
121
        <command id="75" name="PinStatus" type="physical" module="" description="">
121
        <command id="75" name="PinStatus" type="physical" module="" description="">
122
      <variables>
122
      <variables>
123
        <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
123
        <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
124
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
124
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
125
          <value id="1" name="High"/>
125
          <value id="1" name="High"/>
126
          <value id="0" name="Low"/>
126
          <value id="0" name="Low"/>
127
        </variable>
127
        </variable>
128
      </variables>
128
      </variables>
129
    </command>
129
    </command>
130
    <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
130
    <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
131
      <variables>
131
      <variables>
132
        <variable name="Energy" type="uint" start_bit="0" bit_length="32" unit="W/h" description=""/>
132
        <variable name="Energy" type="uint" start_bit="0" bit_length="32" unit="W/h" description=""/>
133
      </variables>
133
      </variables>
134
    </command>
134
    </command>
135
    <command id="129" name="avgPower" type="specific" module="power" description="The energy since last message">
135
    <command id="129" name="avgPower" type="specific" module="power" description="The energy since last message">
136
      <variables>
136
      <variables>
137
        <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/(10*h)" description=""/>
137
        <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/(10*h)" description=""/>
138
      </variables>
138
      </variables>
139
    </command>    
139
    </command>    
140
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
140
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
141
     <variables>
141
     <variables>
142
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
142
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
143
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
143
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
144
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
144
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
145
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
145
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
146
      </variables>
146
      </variables>
147
    </command>
147
    </command>
148
    <command id="128" name="IRraw" type="specific" module="irTransceive" description="If a protocol not could be found, then send raw data">
148
    <command id="128" name="IRraw" type="specific" module="irTransceive" description="If a protocol not could be found, then send raw data">
149
     <variables>
149
     <variables>
150
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
150
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
151
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
151
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
152
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
152
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
153
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
153
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
154
      </variables>
154
      </variables>
155
    </command>
155
    </command>
156
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
156
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
157
    <variables>
157
    <variables>
158
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
158
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
159
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
159
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
160
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
160
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
161
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
161
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
162
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
162
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
163
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
163
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
164
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
164
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
165
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
165
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
166
    </variables>
166
    </variables>
167
    </command>
167
    </command>
168
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
168
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
169
     <variables>
169
     <variables>
170
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
170
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
171
      </variables>
171
      </variables>
172
    </command>
172
    </command>
173
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
173
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
174
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
174
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
175
      <variables>
175
      <variables>
176
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
176
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
177
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
177
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
178
      </variables>
178
      </variables>
179
    </command>
179
    </command>
180
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
180
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
181
      <variables>
181
      <variables>
182
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
182
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
183
      </variables>
183
      </variables>
184
    </command>
184
    </command>
185
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
185
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
186
      <variables>
186
      <variables>
187
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
187
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
188
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
188
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
189
      </variables>
189
      </variables>
190
    </command>
190
    </command>
191
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
191
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
192
      <variables>
192
      <variables>
193
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
193
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
194
    <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
194
    <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
195
        <value id="0" name="OFF"/>
195
        <value id="0" name="OFF"/>
196
        <value id="1" name="ON"/>
196
        <value id="1" name="ON"/>
197
    </variable>
197
    </variable>
198
      </variables>
198
      </variables>
199
    </command>
199
    </command>
200
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
200
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
201
      <variables>
201
      <variables>
202
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
202
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
203
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
203
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
204
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
204
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
205
      </variables>
205
      </variables>
206
    </command>
206
    </command>
207
     <command id="128" name="DEBUG" type="specific" module="RGBdriver" description="Debug data from RGB-driver">
207
     <command id="128" name="DEBUG" type="specific" module="RGBdriver" description="Debug data from RGB-driver">
208
    <variables>
208
    <variables>
209
      <variable name="ADC_W" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
209
      <variable name="ADC_W" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
210
      <variable name="ADC_R" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
210
      <variable name="ADC_R" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
211
      <variable name="ADC_G" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
211
      <variable name="ADC_G" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
212
      <variable name="ADC_B" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
212
      <variable name="ADC_B" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
213
      <variable name="PWM_W" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
213
      <variable name="PWM_W" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
214
      <variable name="PWM_R" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
214
      <variable name="PWM_R" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
215
      <variable name="PWM_G" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
215
      <variable name="PWM_G" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
216
      <variable name="PWM_B" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
216
      <variable name="PWM_B" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
217
    </variables>
217
    </variables>
218
      </command>
218
      </command>
219
    <command id="128" name="SerialData" type="specific" module="Serial" description="Serial data">
219
    <command id="128" name="SerialData" type="specific" module="Serial" description="Serial data">
220
      <variables>
220
      <variables>
221
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
221
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
222
      </variables>
222
      </variables>
223
    </command>
223
    </command>
224
    <command id="129" name="SerialConfig" type="specific" module="Serial" description="Serial config">
224
    <command id="129" name="SerialConfig" type="specific" module="Serial" description="Serial config">
225
      <variables>
225
      <variables>
226
        <variable name="BaudRate" type="uint" start_bit="0" bit_length="16" unit="" description="Baudrate/10"/>
226
        <variable name="BaudRate" type="uint" start_bit="0" bit_length="16" unit="" description="Baudrate/10"/>
227
        <variable name="PhysicalFormat" type="enum" start_bit="16" bit_length="8" unit="" description="">
227
        <variable name="PhysicalFormat" type="enum" start_bit="16" bit_length="8" unit="" description="">
228
            <value id="0" name="RS232"/>
228
            <value id="0" name="RS232"/>
229
            <value id="1" name="RS485FullDuplex"/>
229
            <value id="1" name="RS485FullDuplex"/>
230
            <value id="2" name="RS485HalfDuplex"/>
230
            <value id="2" name="RS485HalfDuplex"/>
231
            <value id="3" name="RS485HalfDuplexWithTermination"/>
231
            <value id="3" name="RS485HalfDuplexWithTermination"/>
232
            <value id="255" name="Loopback"/>
232
            <value id="255" name="Loopback"/>
233
        </variable>
233
        </variable>
234
      </variables>
234
      </variables>
235
    </command>
235
    </command>
236
 
236
 
237
    <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module">
237
    <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module">
238
      <variables>
238
      <variables>
239
        <variable name="SensorId" type="uint" start_bit="0" bit_length="4" unit="" description="Which input to configure"/>
239
        <variable name="SensorId" type="uint" start_bit="0" bit_length="4" unit="" description="Which input to configure"/>
240
        <variable name="Setting" type="enum" start_bit="4" bit_length="2" unit="" description="">
240
        <variable name="Setting" type="enum" start_bit="4" bit_length="2" unit="" description="">
241
            <value id="0" name="PeriodicMeasure"/>
241
            <value id="0" name="PeriodicMeasure"/>
242
            <value id="1" name="DigitalInput"/>
242
            <value id="1" name="DigitalInput"/>
243
        </variable>
243
        </variable>
244
        <variable name="Pullup" type="enum" start_bit="6" bit_length="1" unit="" description="Enable pullup on sensor">
244
        <variable name="Pullup" type="enum" start_bit="6" bit_length="1" unit="" description="Enable pullup on sensor">
245
            <value id="0" name="Disable"/>
245
            <value id="0" name="Disable"/>
246
            <value id="1" name="Enable"/>
246
            <value id="1" name="Enable"/>
247
        </variable>
247
        </variable>
248
        <variable name="Reference" type="enum" start_bit="7" bit_length="1" unit="" description="Enable GND reference on sensor">
248
        <variable name="Reference" type="enum" start_bit="7" bit_length="1" unit="" description="Enable GND reference on sensor">
249
            <value id="0" name="Disable"/>
249
            <value id="0" name="Disable"/>
250
            <value id="1" name="Enable"/>
250
            <value id="1" name="Enable"/>
251
        </variable>
251
        </variable>
252
        <variable name="VoltageLowTh" type="float" start_bit="8" bit_length="16" unit="Volt" description="Low threshold for digital input"/>
252
        <variable name="VoltageLowTh" type="float" start_bit="8" bit_length="16" unit="Volt" description="Low threshold for digital input"/>
253
        <variable name="VoltageHighTh" type="float" start_bit="24" bit_length="16" unit="Volt" description="High threshold for digital input"/>
253
        <variable name="VoltageHighTh" type="float" start_bit="24" bit_length="16" unit="Volt" description="High threshold for digital input"/>
254
        <variable name="Periodicity" type="uint" start_bit="40" bit_length="16" unit="Millisecond" description="The periodicity at which the sensorvalue is sent during periodic measure"/>
254
        <variable name="Periodicity" type="uint" start_bit="40" bit_length="16" unit="Millisecond" description="The periodicity at which the sensorvalue is sent during periodic measure"/>
255
      </variables>
255
      </variables>
256
    </command>
256
    </command>
257
 
257
 
258
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
258
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
259
    <variables>
259
    <variables>
260
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
260
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
261
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
261
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
262
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
262
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
263
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
263
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
264
    </variables>
264
    </variables>
265
      </command>
265
      </command>
266
      <command id="129" name="CONFIG_SENSOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
266
      <command id="129" name="CONFIG_SENSOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
267
    <variables>
267
    <variables>
268
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
268
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
269
      <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
269
      <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
270
      <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
270
      <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
271
    </variables>
271
    </variables>
272
      </command>
272
      </command>
273
      <command id="130" name="CONFIG_ACTUATOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
273
      <command id="130" name="CONFIG_ACTUATOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
274
    <variables>
274
    <variables>
275
      <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
275
      <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
276
      <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
276
      <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
277
      <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
277
      <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
278
    </variables>
278
    </variables>
279
      </command>
279
      </command>
280
      <command id="131" name="CONFIG_PARAMETER" type="specific" module="PID" description="Configure PID regulator constants, if message is sent with 0 data bytes, module will respond with current configuration">
280
      <command id="131" name="CONFIG_PARAMETER" type="specific" module="PID" description="Configure PID regulator constants, if message is sent with 0 data bytes, module will respond with current configuration">
281
    <variables>
281
    <variables>
282
      <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/>
282
      <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/>
283
      <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/>
283
      <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/>
284
      <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/>
284
      <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/>
285
      <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description="">
285
      <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description="">
286
        <value id="0" name="s"/>
286
        <value id="0" name="s"/>
287
        <value id="1" name="ms"/>
287
        <value id="1" name="ms"/>
288
      </variable>
288
      </variable>
289
      <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/>
289
      <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/>
290
    </variables>
290
    </variables>
291
      </command>
291
      </command>
292
      <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller">
292
      <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller">
293
    <variables>
293
    <variables>
294
      <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/>
294
      <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/>
295
      <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/>
295
      <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/>
296
      <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
296
      <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
297
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
297
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
298
    </variables>
298
    </variables>
299
      </command>
299
      </command>
300
      <command id="128" name="CONFIG" type="specific" module="SlowPWM" description="Configure PWM output, if message is sent with 0 data bytes, module will respond with current configuration">
300
      <command id="128" name="CONFIG" type="specific" module="SlowPWM" description="Configure PWM output, if message is sent with 0 data bytes, module will respond with current configuration">
301
    <variables>
301
    <variables>
302
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
302
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
303
      <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
303
      <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
304
      <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
304
      <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
305
        <value id="0" name="LOW"/>
305
        <value id="0" name="LOW"/>
306
        <value id="1" name="HIGH"/>
306
        <value id="1" name="HIGH"/>
307
        <value id="2" name="TRISTATE"/>
307
        <value id="2" name="TRISTATE"/>
308
      </variable>
308
      </variable>
309
       <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
309
       <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
310
        <value id="0" name="ON"/>
310
        <value id="0" name="ON"/>
311
        <value id="1" name="OFF"/>
311
        <value id="1" name="OFF"/>
312
      </variable>
312
      </variable>
313
    </variables>
313
    </variables>
314
      </command>
314
      </command>
315
      <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
315
      <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
316
      <variables>
316
      <variables>
317
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
317
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
318
      <value id="0" name="Standard"/>
318
      <value id="0" name="Standard"/>
319
          <value id="1" name="Inverted"/>
319
          <value id="1" name="Inverted"/>
320
    </variable>
320
    </variable>
321
      </variables>
321
      </variables>
322
    </command>
322
    </command>
323
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
323
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
324
      <variables>
324
      <variables>
325
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
325
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
326
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
326
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
327
    <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
327
    <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
328
      <value id="0" name="Standard"/>
328
      <value id="0" name="Standard"/>
329
          <value id="1" name="Inverted"/>
329
          <value id="1" name="Inverted"/>
330
    </variable>
330
    </variable>
331
    <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
331
    <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
332
      <value id="0" name="Standard"/>
332
      <value id="0" name="Standard"/>
333
      <value id="1" name="Transparent"/>
333
      <value id="1" name="Transparent"/>
334
    </variable>
334
    </variable>
335
      </variables>
335
      </variables>
336
    </command>
336
    </command>
337
    <command id="130" name="LCD_Text" type="specific" module="KS0108" description="Print text on LCD on current postion, according to the latest LCD_Cursor command">
337
    <command id="130" name="LCD_Text" type="specific" module="KS0108" description="Print text on LCD on current postion, according to the latest LCD_Cursor command">
338
      <variables>
338
      <variables>
339
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
339
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
340
      </variables>
340
      </variables>
341
    </command>
341
    </command>
342
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
342
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
343
      <variables>
343
      <variables>
344
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
344
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
345
      <value id="0" name="Standard"/>
345
      <value id="0" name="Standard"/>
346
          <value id="1" name="Inverted"/>
346
          <value id="1" name="Inverted"/>
347
    </variable>
347
    </variable>
348
      </variables>
348
      </variables>
349
    </command>
349
    </command>
350
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
350
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
351
      <variables>
351
      <variables>
352
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
352
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
353
    <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
353
    <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
354
        <value id="0" name="OFF"/>
354
        <value id="0" name="OFF"/>
355
        <value id="1" name="ON"/>
355
        <value id="1" name="ON"/>
356
    </variable>
356
    </variable>
357
      </variables>
357
      </variables>
358
    </command>
358
    </command>
359
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
359
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
360
      <variables>
360
      <variables>
361
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
361
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
362
      <value id="0" name="Standard"/>
362
      <value id="0" name="Standard"/>
363
          <value id="1" name="Inverted"/>
363
          <value id="1" name="Inverted"/>
364
    </variable>
364
    </variable>
365
    <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
365
    <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
366
      <value id="0" name="Standard"/>
366
      <value id="0" name="Standard"/>
367
      <value id="1" name="Transparent"/>
367
      <value id="1" name="Transparent"/>
368
    </variable>  
368
    </variable>  
369
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
369
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
370
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
370
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
371
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
371
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
372
      </variables>
372
      </variables>
373
    </command>
373
    </command>
374
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
374
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
375
      <variables>
375
      <variables>
376
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
376
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
377
      <value id="0" name="Standard"/>
377
      <value id="0" name="Standard"/>
378
          <value id="1" name="Inverted"/>
378
          <value id="1" name="Inverted"/>
379
    </variable>
379
    </variable>
380
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
380
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
381
      <value id="0" name="NoFill"/>
381
      <value id="0" name="NoFill"/>
382
      <value id="1" name="Fill"/>
382
      <value id="1" name="Fill"/>
383
    </variable>  
383
    </variable>  
384
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
384
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
385
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
385
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
386
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
386
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
387
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
387
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
388
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
388
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
389
      </variables>
389
      </variables>
390
      </command>
390
      </command>
391
     
391
     
392
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
392
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
393
    <variables>
393
    <variables>
394
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
394
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
395
        <value id="0" name="Standard"/>
395
        <value id="0" name="Standard"/>
396
        <value id="1" name="Inverted"/>
396
        <value id="1" name="Inverted"/>
397
      </variable>
397
      </variable>
398
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
398
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
399
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
399
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
400
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
400
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
401
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
401
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
402
    </variables>
402
    </variables>
403
      </command>
403
      </command>
404
   
404
   
405
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
405
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
406
    <variables>
406
    <variables>
407
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
407
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
408
        <value id="0" name="Standard"/>
408
        <value id="0" name="Standard"/>
409
        <value id="1" name="Inverted"/>
409
        <value id="1" name="Inverted"/>
410
      </variable>
410
      </variable>
411
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
411
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
412
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
412
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
413
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
413
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
414
    </variables>
414
    </variables>
415
      </command>    
415
      </command>    
416
 
416
 
417
    <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
417
    <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
418
      <variables>
418
      <variables>
419
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
419
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
420
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
420
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
421
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
421
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
422
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
422
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
423
      </variables>
423
      </variables>
424
    </command>
424
    </command>
425
   
425
   
426
    <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
426
    <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
427
      <variables>
427
      <variables>
428
    <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
428
    <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
429
        <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
429
        <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
430
        <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/>
430
        <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/>
431
      </variables>
431
      </variables>
432
    </command>
432
    </command>
433
        <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received">
433
        <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received">
434
      <variables>
434
      <variables>
435
    <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/>
435
    <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/>
436
      </variables>
436
      </variables>
437
    </command>
437
    </command>
438
     
438
     
439
        <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
439
        <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
440
   
440
   
441
        <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
441
        <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
442
        <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
442
        <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
443
      <variables>
443
      <variables>
444
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
444
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
445
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
445
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
446
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
446
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
447
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
447
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
448
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
448
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
449
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
449
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
450
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
450
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
451
    <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
451
    <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
452
      </variables>
452
      </variables>
453
    </command>
453
    </command>
454
    <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data">
454
    <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data">
455
      <variables>
455
      <variables>
456
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
456
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
457
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
457
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
458
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
458
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
459
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
459
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
460
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
460
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
461
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
461
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
462
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
462
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
463
      </variables>
463
      </variables>
464
    </command>
464
    </command>
465
    <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
465
    <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
466
      <variables>
466
      <variables>
467
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
467
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
468
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
468
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
469
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
469
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
470
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
470
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
471
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
471
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
472
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
472
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
473
      </variables>
473
      </variables>
474
    </command>
474
    </command>
475
    <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
475
    <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
476
      <variables>
476
      <variables>
477
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
477
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
478
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
478
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
479
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
479
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
480
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
480
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
481
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
481
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
482
      </variables>
482
      </variables>
483
    </command>
483
    </command>
484
    <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
484
    <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
485
      <variables>
485
      <variables>
486
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
486
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
487
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
487
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
488
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
488
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
489
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
489
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
490
      </variables>
490
      </variables>
491
    </command>
491
    </command>
492
    <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
492
    <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
493
      <variables>
493
      <variables>
494
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
494
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
495
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
495
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
496
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
496
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
497
      </variables>
497
      </variables>
498
    </command>
498
    </command>
499
    <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
499
    <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
500
      <variables>
500
      <variables>
501
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
501
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
502
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
502
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
503
      </variables>
503
      </variables>
504
    </command>
504
    </command>
505
    <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
505
    <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
506
      <variables>
506
      <variables>
507
    <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
507
    <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
508
      </variables>
508
      </variables>
509
    </command>
509
    </command>
510
   
510
   
511
        <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
511
        <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
512
      <variables>
512
      <variables>
513
      </variables>
513
      </variables>
514
    </command>
514
    </command>
515
 
515
 
516
    <command id="128" name="Motion" type="specific" module="PIR" description="Motion and brightness from PIR-sensor">
516
    <command id="128" name="Motion" type="specific" module="PIR" description="Motion and brightness from PIR-sensor">
517
     <variables>
517
     <variables>
518
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
518
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
519
        <variable name="Brightness" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
519
        <variable name="Brightness" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
520
        <variable name="MotionDetect" type="enum" start_bit="24" bit_length="8" unit="" description="">
520
        <variable name="MotionDetect" type="enum" start_bit="24" bit_length="8" unit="" description="">
521
            <value id="0" name="NoMotion"/>
521
            <value id="0" name="NoMotion"/>
522
            <value id="1" name="MotionDetected"/>
522
            <value id="1" name="MotionDetected"/>
523
        </variable>
523
        </variable>
524
      </variables>
524
      </variables>
525
    </command>
525
    </command>
526
 
526
 
527
   
527
   
528
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
528
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
529
     <variables>
529
     <variables>
530
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
530
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
531
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
531
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
532
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
532
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
533
      </variables>
533
      </variables>
534
    </command>
534
    </command>
535
   
535
   
536
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
536
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
537
     <variables>
537
     <variables>
538
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
538
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
539
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
539
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
540
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
540
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
541
            <value id="0" name="Decrease"/>
541
            <value id="0" name="Decrease"/>
542
            <value id="1" name="Increase"/>
542
            <value id="1" name="Increase"/>
543
        </variable>
543
        </variable>
544
      </variables>
544
      </variables>
545
    </command>
545
    </command>
546
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
546
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
547
      <variables>
547
      <variables>
548
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
548
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
549
      </variables>
549
      </variables>
550
    </command>
550
    </command>
551
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
551
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
552
     <variables>
552
     <variables>
553
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
553
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
554
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
554
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
555
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
555
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
556
      </variables>
556
      </variables>
557
    </command>
557
    </command>
558
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
558
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
559
     <variables>
559
     <variables>
560
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
560
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
561
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
561
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
562
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
562
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
563
            <value id="0" name="Decrease"/>
563
            <value id="0" name="Decrease"/>
564
            <value id="1" name="Increase"/>
564
            <value id="1" name="Increase"/>
565
        </variable>
565
        </variable>
566
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
566
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
567
      </variables>
567
      </variables>
568
    </command>
568
    </command>
569
    <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
569
    <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
570
     <variables>
570
     <variables>
571
        <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
571
        <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
572
            <value id="0" name="Disconnected"/>
572
            <value id="0" name="Disconnected"/>
573
            <value id="1" name="Connected"/>
573
            <value id="1" name="Connected"/>
574
        </variable>
574
        </variable>
575
        <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
575
        <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
576
            <value id="0" name="Error_Unknown"/>
576
            <value id="0" name="Error_Unknown"/>
577
            <value id="1" name="50Hz"/>
577
            <value id="1" name="50Hz"/>
578
            <value id="2" name="60Hz"/>
578
            <value id="2" name="60Hz"/>
579
        </variable>
579
        </variable>
580
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
580
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
581
        <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
581
        <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
582
      </variables>
582
      </variables>
583
    </command>
583
    </command>
584
    <command id="128" name="Demo" type="specific" module="hwPWM" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
584
    <command id="128" name="Demo" type="specific" module="hwPWM" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
585
     <variables>
585
     <variables>
586
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
586
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
587
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
587
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
588
        <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
588
        <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
589
      </variables>
589
      </variables>
590
    </command>
590
    </command>
591
   
591
   
592
    <command id="129" name="Start_Fade" type="specific" module="hwPWM" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
592
    <command id="129" name="Start_Fade" type="specific" module="hwPWM" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
593
     <variables>
593
     <variables>
594
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
594
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
595
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
595
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
596
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
596
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
597
            <value id="0" name="Decrease"/>
597
            <value id="0" name="Decrease"/>
598
            <value id="1" name="Increase"/>
598
            <value id="1" name="Increase"/>
599
        </variable>
599
        </variable>
600
      </variables>
600
      </variables>
601
    </command>
601
    </command>
602
    <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop">
602
    <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop">
603
      <variables>
603
      <variables>
604
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
604
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
605
      </variables>
605
      </variables>
606
    </command>
606
    </command>
607
    <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received">
607
    <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received">
608
     <variables>
608
     <variables>
609
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
609
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
610
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
610
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
611
        <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
611
        <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
612
      </variables>
612
      </variables>
613
    </command>
613
    </command>
614
    <command id="132" name="Rel_Fade" type="specific" module="hwPWM" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
614
    <command id="132" name="Rel_Fade" type="specific" module="hwPWM" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
615
     <variables>
615
     <variables>
616
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
616
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
617
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
617
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
618
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
618
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
619
            <value id="0" name="Decrease"/>
619
            <value id="0" name="Decrease"/>
620
            <value id="1" name="Increase"/>
620
            <value id="1" name="Increase"/>
621
        </variable>
621
        </variable>
622
        <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
622
        <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
623
      </variables>
623
      </variables>
624
    </command>
624
    </command>
625
 
625
 
626
 <command id="128" name="Demo" type="specific" module="RGBW" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
626
 <command id="128" name="Demo" type="specific" module="RGBW" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
627
     <variables>
627
     <variables>
628
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
628
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
629
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
629
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
630
        <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
630
        <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
631
      </variables>
631
      </variables>
632
    </command>
632
    </command>
633
   
633
   
634
    <command id="129" name="Start_Fade" type="specific" module="RGBW" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
634
    <command id="129" name="Start_Fade" type="specific" module="RGBW" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
635
     <variables>
635
     <variables>
636
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
636
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
637
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
637
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
638
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
638
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
639
            <value id="0" name="Decrease"/>
639
            <value id="0" name="Decrease"/>
640
            <value id="1" name="Increase"/>
640
            <value id="1" name="Increase"/>
641
        </variable>
641
        </variable>
642
      </variables>
642
      </variables>
643
    </command>
643
    </command>
644
    <command id="130" name="Stop_Fade" type="specific" module="RGBW" description="If a fade is in progress, then stop">
644
    <command id="130" name="Stop_Fade" type="specific" module="RGBW" description="If a fade is in progress, then stop">
645
      <variables>
645
      <variables>
646
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
646
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
647
      </variables>
647
      </variables>
648
    </command>
648
    </command>
649
    <command id="131" name="Abs_Fade" type="specific" module="RGBW" description="Fade to a defined value, stops when another command is received">
649
    <command id="131" name="Abs_Fade" type="specific" module="RGBW" description="Fade to a defined value, stops when another command is received">
650
     <variables>
650
     <variables>
651
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
651
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
652
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
652
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
653
        <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
653
        <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
654
      </variables>
654
      </variables>
655
    </command>
655
    </command>
656
    <command id="132" name="Rel_Fade" type="specific" module="RGBW" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
656
    <command id="132" name="Rel_Fade" type="specific" module="RGBW" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
657
     <variables>
657
     <variables>
658
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
658
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
659
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
659
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
660
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
660
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
661
            <value id="0" name="Decrease"/>
661
            <value id="0" name="Decrease"/>
662
            <value id="1" name="Increase"/>
662
            <value id="1" name="Increase"/>
663
        </variable>
663
        </variable>
664
        <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
664
        <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
665
      </variables>
665
      </variables>
666
    </command>
666
    </command>
667
 
667
 
668
    <command id="128" name="Id" type="specific" module="identification" description="Broadcast this nodes ID">
668
    <command id="128" name="Id" type="specific" module="identification" description="Broadcast this nodes ID">
669
     <variables>
669
     <variables>
670
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
670
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
671
     </variables>
671
     </variables>
672
    </command>
672
    </command>
673
 
673
 
674
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
674
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
675
     <variables>
675
     <variables>
676
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
676
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
677
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
677
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
678
     </variables>
678
     </variables>
679
    </command>
679
    </command>
680
    <command id="128" name="Gesture" type="specific" module="Touch" description="Parsed touch data as a gesture">
680
    <command id="128" name="Gesture" type="specific" module="Touch" description="Parsed touch data as a gesture">
681
     <variables>
681
     <variables>
682
        <variable name="f1" type="uint" start_bit="0" bit_length="8" unit="#" description="Indicates the number of intersection points between an input gesture g(x) and the straight line f(x) which connects the first and last point of the gesture"/>
682
        <variable name="f1" type="uint" start_bit="0" bit_length="8" unit="#" description="Indicates the number of intersection points between an input gesture g(x) and the straight line f(x) which connects the first and last point of the gesture"/>
683
        <variable name="f7" type="uint" start_bit="8" bit_length="8" unit="#" description="Indicates the number of intersection points between an input gesture g(x) and all horizontal lines yi, where i is between 0 and n, that constitute a gesture"/>
683
        <variable name="f7" type="uint" start_bit="8" bit_length="8" unit="#" description="Indicates the number of intersection points between an input gesture g(x) and all horizontal lines yi, where i is between 0 and n, that constitute a gesture"/>
684
        <variable name="f3" type="enum" start_bit="16" bit_length="1" unit="" description="Indicates the sign value of area gap between g(x) and f(x)">
684
        <variable name="f3" type="enum" start_bit="16" bit_length="1" unit="" description="Indicates the sign value of area gap between g(x) and f(x)">
685
           <value id="0" name="M"/>
685
           <value id="0" name="M"/>
686
           <value id="1" name="P"/>
686
           <value id="1" name="P"/>
687
        </variable>
687
        </variable>
688
        <variable name="f4" type="enum" start_bit="17" bit_length="1" unit="" description="Represents the sign value of the sum of the x coordinates of all the points that constitute strokes minus the x coordinates of the last point">
688
        <variable name="f4" type="enum" start_bit="17" bit_length="1" unit="" description="Represents the sign value of the sum of the x coordinates of all the points that constitute strokes minus the x coordinates of the last point">
689
           <value id="0" name="M"/>
689
           <value id="0" name="M"/>
690
           <value id="1" name="P"/>
690
           <value id="1" name="P"/>
691
        </variable>
691
        </variable>
692
        <variable name="f5" type="enum" start_bit="18" bit_length="1" unit="" description="Checks the sign value of the sum of the x coordinates of all the points that constitute strokes minus x coordinates of the first point">
692
        <variable name="f5" type="enum" start_bit="18" bit_length="1" unit="" description="Checks the sign value of the sum of the x coordinates of all the points that constitute strokes minus x coordinates of the first point">
693
           <value id="0" name="M"/>
693
           <value id="0" name="M"/>
694
           <value id="1" name="P"/>
694
           <value id="1" name="P"/>
695
        </variable>
695
        </variable>
696
        <variable name="f6" type="enum" start_bit="19" bit_length="1" unit="" description="Indicates the sign value of the y coordinates of the last point minus y coordinates of the first point">
696
        <variable name="f6" type="enum" start_bit="19" bit_length="1" unit="" description="Indicates the sign value of the y coordinates of the last point minus y coordinates of the first point">
697
           <value id="0" name="M"/>
697
           <value id="0" name="M"/>
698
           <value id="1" name="P"/>
698
           <value id="1" name="P"/>
699
        </variable>
699
        </variable>
700
        <variable name="f8" type="enum" start_bit="20" bit_length="1" unit="" description="Checks whether or not x coordinates of all the points except for the first point and the last point is between x0 and xn">
700
        <variable name="f8" type="enum" start_bit="20" bit_length="1" unit="" description="Checks whether or not x coordinates of all the points except for the first point and the last point is between x0 and xn">
701
           <value id="0" name="M"/>
701
           <value id="0" name="M"/>
702
           <value id="1" name="P"/>
702
           <value id="1" name="P"/>
703
        </variable>
703
        </variable>
704
        <variable name="f9" type="enum" start_bit="21" bit_length="1" unit="" description="Represents the sign value of the multiplication of x coordinates of the first point and the last point minus the mediate value of x coordinates of all the points">
704
        <variable name="f9" type="enum" start_bit="21" bit_length="1" unit="" description="Represents the sign value of the multiplication of x coordinates of the first point and the last point minus the mediate value of x coordinates of all the points">
705
           <value id="0" name="M"/>
705
           <value id="0" name="M"/>
706
           <value id="1" name="P"/>
706
           <value id="1" name="P"/>
707
        </variable>
707
        </variable>
708
        <variable name="f2" type="enum" start_bit="22" bit_length="2" unit="" description="Checks if the y coordinates of the points which exist between the intersection point and the last point are greater than the y coordinates of the intersection point">
708
        <variable name="f2" type="enum" start_bit="22" bit_length="2" unit="" description="Checks if the y coordinates of the points which exist between the intersection point and the last point are greater than the y coordinates of the intersection point">
709
           <value id="0" name="M"/>
709
           <value id="0" name="M"/>
710
           <value id="1" name="P"/>
710
           <value id="1" name="P"/>
711
           <value id="2" name="U"/>
711
           <value id="2" name="U"/>
712
        </variable>
712
        </variable>
713
     </variables>
713
     </variables>
714
    </command>
714
    </command>
715
    <command id="129" name="Raw" type="specific" module="Touch" description="Raw touch data">
715
    <command id="129" name="Raw" type="specific" module="Touch" description="Raw touch data">
716
     <variables>
716
     <variables>
717
        <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="Gives the current push status">
717
        <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="Gives the current push status">
718
          <value id="1" name="Pressed"/>
718
          <value id="1" name="Pressed"/>
719
          <value id="0" name="Released"/>
719
          <value id="0" name="Released"/>
720
        </variable>
720
        </variable>
721
        <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
721
        <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
722
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
722
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
723
     </variables>
723
     </variables>
724
    </command>
724
    </command>
725
  </commands>
725
  </commands>
726
  <modules>
726
  <modules>
727
    <module id="0" name="Debug" class="tst"/>
727
    <module id="0" name="Debug" class="tst"/>
728
    <module id="1" name="Default" class="def"/>
728
    <module id="1" name="Default" class="def"/>
729
    <module id="3" name="DS18x20" class="sns"/>
729
    <module id="3" name="DS18x20" class="sns"/>
730
    <module id="5" name="FOST02" class="sns"/>
730
    <module id="5" name="FOST02" class="sns"/>
731
    <module id="6" name="BusVoltage" class="sns"/>
731
    <module id="6" name="BusVoltage" class="sns"/>
732
    <module id="7" name="SimpleDTMF" class="sns"/>
732
    <module id="7" name="SimpleDTMF" class="sns"/>
733
    <module id="8" name="Rotary" class="sns"/>
733
    <module id="8" name="Rotary" class="sns"/>
734
    <module id="9" name="HD44789" class="act"/>
734
    <module id="9" name="HD44789" class="act"/>
735
    <module id="10" name="Dimmer230" class="act"/>
735
    <module id="10" name="Dimmer230" class="act"/>
736
    <module id="11" name="KS0108" class="act"/>
736
    <module id="11" name="KS0108" class="act"/>
737
    <module id="12" name="RGBdriver" class="act"/>
737
    <module id="12" name="RGBdriver" class="act"/>
738
    <module id="13" name="hwPWM" class="act"/>
738
    <module id="13" name="hwPWM" class="act"/>
739
    <module id="14" name="irReceive" class="sns"/>
739
    <module id="14" name="irReceive" class="sns"/>
740
    <module id="15" name="nmea" class="sns"/>
740
    <module id="15" name="nmea" class="sns"/>
741
    <module id="16" name="irTransmit" class="sns"/>
741
    <module id="16" name="irTransmit" class="sns"/>
742
    <module id="17" name="TC1047A" class="sns"/>
742
    <module id="17" name="TC1047A" class="sns"/>
743
    <module id="18" name="PID" class="act"/>
743
    <module id="18" name="PID" class="act"/>
744
    <module id="19" name="SlowPWM" class="act"/>
744
    <module id="19" name="SlowPWM" class="act"/>
745
    <module id="20" name="power" class="sns"/>
745
    <module id="20" name="power" class="sns"/>
746
    <module id="21" name="softPWM" class="act"/>
746
    <module id="21" name="softPWM" class="act"/>
747
    <module id="22" name="Touch" class="sns"/>
747
    <module id="22" name="Touch" class="sns"/>
748
    <module id="23" name="RotaryHex" class="sns"/>
748
    <module id="23" name="RotaryHex" class="sns"/>
749
    <module id="24" name="output" class="act"/>
749
    <module id="24" name="output" class="act"/>
750
    <module id="25" name="input" class="sns"/>
750
    <module id="25" name="input" class="sns"/>
751
    <module id="26" name="RGBW" class="act"/>
751
    <module id="26" name="RGBW" class="act"/>
752
    <module id="27" name="irTransceive" class="sns"/>
752
    <module id="27" name="irTransceive" class="sns"/>
753
    <module id="28" name="identification" class="sns"/>
753
    <module id="28" name="identification" class="sns"/>
754
    <module id="30" name="ChnMaster" class="chn"/>
754
    <module id="30" name="ChnMaster" class="chn"/>
755
    <module id="31" name="ChnController" class="chn"/>
755
    <module id="31" name="ChnController" class="chn"/>
756
    <module id="45" name="PIR" class="sns"/>
756
    <module id="45" name="PIR" class="sns"/>
757
    <module id="46" name="TCN75A" class="sns"/>
757
    <module id="46" name="TCN75A" class="sns"/>
758
    <module id="47" name="VoltageCurrent" class="sns"/>
758
    <module id="47" name="VoltageCurrent" class="sns"/>
759
    <module id="48" name="Serial" class="sns"/>
759
    <module id="48" name="Serial" class="sns"/>
760
    <module id="49" name="protectedOutput" class="sns"/>
760
    <module id="49" name="protectedOutput" class="sns"/>
761
    <module id="50" name="inputAnalog" class="sns"/>
761
    <module id="50" name="inputAnalog" class="sns"/>
762
    <module id="51" name="LM335" class="sns"/>
762
    <module id="51" name="LM335" class="sns"/>
-
 
763
    <module id="52" name="SH11" class="sns"/>
-
 
764
    <module id="53" name="Radio433Transmit" class="sns"/>
-
 
765
    <module id="54" name="Radio433Receive" class="sns"/>
763
  </modules>
766
  </modules>
764
  <defines>
767
  <defines>
765
    <define id="1" group="DirectionFlag" name="From_Owner"/>
768
    <define id="1" group="DirectionFlag" name="From_Owner"/>
766
    <define id="0" group="DirectionFlag" name="To_Owner"/>
769
    <define id="0" group="DirectionFlag" name="To_Owner"/>
767
  </defines>
770
  </defines>
768
  <nmt_messages>
771
  <nmt_messages>
769
    <nmt_message id="0" name="Time"/>
772
    <nmt_message id="0" name="Time"/>
770
    <nmt_message id="4" name="Reset">
773
    <nmt_message id="4" name="Reset">
771
      <variables>
774
      <variables>
772
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
775
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
773
      </variables>
776
      </variables>
774
    </nmt_message>
777
    </nmt_message>
775
    <nmt_message id="8" name="Bios_Start">
778
    <nmt_message id="8" name="Bios_Start">
776
      <variables>
779
      <variables>
777
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
780
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
778
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
781
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
779
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
782
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
780
      </variables>
783
      </variables>
781
    </nmt_message>
784
    </nmt_message>
782
    <nmt_message id="12" name="Pgm_Start">
785
    <nmt_message id="12" name="Pgm_Start">
783
      <variables>
786
      <variables>
784
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
787
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
785
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
788
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
786
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
789
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
787
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
790
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
788
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
791
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
789
      </variables>
792
      </variables>
790
    </nmt_message>
793
    </nmt_message>
791
    <nmt_message id="16" name="Pgm_Data">
794
    <nmt_message id="16" name="Pgm_Data">
792
      <variables>
795
      <variables>
793
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
796
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
794
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
797
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
795
      </variables>
798
      </variables>
796
    </nmt_message>
799
    </nmt_message>
797
    <nmt_message id="16" name="Pgm_Data_48">
800
    <nmt_message id="16" name="Pgm_Data_48">
798
      <variables>
801
      <variables>
799
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
802
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
800
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
803
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
801
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
804
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
802
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
805
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
803
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
806
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
804
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
807
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
805
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
808
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
806
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
809
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
807
      </variables>
810
      </variables>
808
    </nmt_message>
811
    </nmt_message>
809
    <nmt_message id="16" name="Pgm_Data_8">
812
    <nmt_message id="16" name="Pgm_Data_8">
810
      <variables>
813
      <variables>
811
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
814
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
812
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
815
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
813
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
816
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
814
      </variables>
817
      </variables>
815
    </nmt_message>
818
    </nmt_message>
816
    <nmt_message id="16" name="Pgm_Data_16">
819
    <nmt_message id="16" name="Pgm_Data_16">
817
      <variables>
820
      <variables>
818
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
821
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
819
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
822
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
820
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
823
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
821
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
824
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
822
      </variables>
825
      </variables>
823
    </nmt_message>
826
    </nmt_message>
824
    <nmt_message id="16" name="Pgm_Data_24">
827
    <nmt_message id="16" name="Pgm_Data_24">
825
      <variables>
828
      <variables>
826
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
829
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
827
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
830
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
828
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
831
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
829
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
832
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
830
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
833
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
831
      </variables>
834
      </variables>
832
    </nmt_message>
835
    </nmt_message>
833
    <nmt_message id="16" name="Pgm_Data_32">
836
    <nmt_message id="16" name="Pgm_Data_32">
834
      <variables>
837
      <variables>
835
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
838
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
836
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
839
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
837
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
840
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
838
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
841
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
839
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
842
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
840
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
843
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
841
      </variables>
844
      </variables>
842
    </nmt_message>
845
    </nmt_message>
843
    <nmt_message id="16" name="Pgm_Data_40">
846
    <nmt_message id="16" name="Pgm_Data_40">
844
      <variables>
847
      <variables>
845
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
848
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
846
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
849
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
847
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
850
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
848
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
851
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
849
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
852
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
850
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
853
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
851
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
854
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
852
      </variables>
855
      </variables>
853
    </nmt_message>
856
    </nmt_message>
854
    <nmt_message id="20" name="Pgm_End"/>
857
    <nmt_message id="20" name="Pgm_End"/>
855
    <nmt_message id="24" name="Pgm_Copy">
858
    <nmt_message id="24" name="Pgm_Copy">
856
      <variables>
859
      <variables>
857
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
860
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
858
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
861
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
859
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
862
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
860
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
863
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
861
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
864
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
862
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
865
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
863
      </variables>
866
      </variables>
864
    </nmt_message>
867
    </nmt_message>
865
    <nmt_message id="28" name="Pgm_Ack">
868
    <nmt_message id="28" name="Pgm_Ack">
866
      <variables>
869
      <variables>
867
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
870
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
868
      </variables>
871
      </variables>
869
    </nmt_message>
872
    </nmt_message>
870
    <nmt_message id="32" name="Pgm_Nack">
873
    <nmt_message id="32" name="Pgm_Nack">
871
      <variables>
874
      <variables>
872
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
875
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
873
      </variables>
876
      </variables>
874
    </nmt_message>
877
    </nmt_message>
875
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
878
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
876
      <variables>
879
      <variables>
877
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
880
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
878
      </variables>
881
      </variables>
879
    </nmt_message>
882
    </nmt_message>
880
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
883
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
881
      <variables>
884
      <variables>
882
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
885
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
883
      </variables>
886
      </variables>
884
    </nmt_message>
887
    </nmt_message>
885
    <nmt_message id="44" name="Heartbeat">
888
    <nmt_message id="44" name="Heartbeat">
886
      <variables>
889
      <variables>
887
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
890
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
888
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
891
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
889
      </variables>
892
      </variables>
890
    </nmt_message>
893
    </nmt_message>
891
  </nmt_messages>
894
  </nmt_messages>
892
</root>
895
</root>
893
 
896