Subversion Repositories HomeAutomation

Rev

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

Rev 1539 Rev 1542
Line 235... Line 235...
235
    </command>
235
    </command>
236
 
236
 
237
    <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module">
237
    <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module">
238
      <variables>
238
      <variables>
239
        <variable name="SensorId" type="uint" start_bit="0" bit_length="4" unit="" description="Which input to configure"/>
239
        <variable name="SensorId" type="uint" start_bit="0" bit_length="4" unit="" description="Which input to configure"/>
240
        <variable name="Setting" type="enum" start_bit="4" bit_length="4" unit="" description="">
240
        <variable name="Setting" type="enum" start_bit="4" bit_length="2" unit="" description="">
241
            <value id="0" name="PeriodicMeasure"/>
241
            <value id="0" name="PeriodicMeasure"/>
242
            <value id="1" name="DigitalInput"/>
242
            <value id="1" name="DigitalInput"/>
243
        </variable>
243
        </variable>
244
        <variable name="Pullup" type="enum" start_bit="8" bit_length="1" unit="" description="Enable pullup on sensor">
244
        <variable name="Pullup" type="enum" start_bit="6" bit_length="1" unit="" description="Enable pullup on sensor">
245
            <value id="0" name="Disable"/>
245
            <value id="0" name="Disable"/>
246
            <value id="1" name="Enable"/>
246
            <value id="1" name="Enable"/>
247
        </variable>
247
        </variable>
248
        <variable name="Reference" type="enum" start_bit="9" bit_length="1" unit="" description="Enable GND reference on sensor">
248
        <variable name="Reference" type="enum" start_bit="7" bit_length="1" unit="" description="Enable GND reference on sensor">
249
            <value id="0" name="Disable"/>
249
            <value id="0" name="Disable"/>
250
            <value id="1" name="Enable"/>
250
            <value id="1" name="Enable"/>
251
        </variable>
251
        </variable>
252
        <variable name="VoltageLowTh" type="float" start_bit="10" bit_length="16" unit="Volt" description="Low threshold for digital input"/>
252
        <variable name="VoltageLowTh" type="float" start_bit="8" bit_length="16" unit="Volt" description="Low threshold for digital input"/>
253
        <variable name="VoltageHighTh" type="float" start_bit="26" bit_length="16" unit="Volt" description="High threshold for digital input"/>
253
        <variable name="VoltageHighTh" type="float" start_bit="24" bit_length="16" unit="Volt" description="High threshold for digital input"/>
254
        <variable name="Periodicity" type="uint" start_bit="42" bit_length="16" unit="Millisecond" description="The periodicity at which the sensorvalue is sent during periodic measure"/>
254
        <variable name="Periodicity" type="uint" start_bit="40" bit_length="16" unit="Millisecond" description="The periodicity at which the sensorvalue is sent during periodic measure"/>
255
      </variables>
255
      </variables>
256
    </command>
256
    </command>
257
 
257
 
258
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
258
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
259
    <variables>
259
    <variables>