Subversion Repositories HomeAutomation

Rev

Rev 1376 | Rev 1389 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1376 Rev 1380
Line 26... Line 26...
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="float" 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=""/>
Line 172... Line 172...
172
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
172
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
173
    <variables>
173
    <variables>
174
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
174
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
175
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
175
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
176
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
176
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
177
      <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
177
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
178
    </variables>
178
    </variables>
179
      </command>
179
      </command>
180
      <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">
180
      <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">
181
    <variables>
181
    <variables>
182
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
182
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
Line 195... Line 195...
195
    <variables>
195
    <variables>
196
      <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/>
196
      <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/>
197
      <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/>
197
      <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/>
198
      <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/>
198
      <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/>
199
      <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description="">
199
      <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description="">
200
        <value id="0" name="Seconds"/>
200
        <value id="0" name="s"/>
201
        <value id="1" name="Milliseconds"/>
201
        <value id="1" name="ms"/>
202
      </variable>
202
      </variable>
203
      <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="16" unit="" description=""/>
203
      <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/>
204
    </variables>
204
    </variables>
205
      </command>
205
      </command>
206
      <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller">
206
      <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller">
207
    <variables>
207
    <variables>
208
      <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/>
208
      <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/>
209
      <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/>
209
      <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/>
210
      <variable name="PWM" type="float" start_bit="32" bit_length="16" unit="" description=""/>
210
      <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
211
      <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
211
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
212
    </variables>
212
    </variables>
213
      </command>
213
      </command>
214
      <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">
214
      <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">
215
    <variables>
215
    <variables>
216
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
216
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>