Subversion Repositories HomeAutomation

Rev

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

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