Subversion Repositories HomeAutomation

Rev

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

Rev 1365 Rev 1374
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="uint" start_bit="8" bit_length="8" unit="" description=""/>
31
        <variable name="Value" type="float" 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 194... Line 194...
194
      <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">
194
      <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">
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="uint" start_bit="48" bit_length="1" unit="" description="">
200
        <value id="0" name="Seconds"/>
200
        <value id="0" name="Seconds"/>
201
        <value id="1" name="Milliseconds"/>
201
        <value id="1" name="Milliseconds"/>
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="16" unit="" description=""/>
204
    </variables>
204
    </variables>
Line 474... Line 474...
474
            <value id="0" name="Error_Unknown"/>
474
            <value id="0" name="Error_Unknown"/>
475
            <value id="1" name="50Hz"/>
475
            <value id="1" name="50Hz"/>
476
            <value id="2" name="60Hz"/>
476
            <value id="2" name="60Hz"/>
477
        </variable>
477
        </variable>
478
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
478
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
479
        <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
-
 
480
      </variables>
479
      </variables>
481
    </command>
480
    </command>
482
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
481
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
483
     <variables>
482
     <variables>
484
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
483
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>