Subversion Repositories HomeAutomation

Rev

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

Rev 1531 Rev 1539
Line 231... Line 231...
231
            <value id="3" name="RS485HalfDuplexWithTermination"/>
231
            <value id="3" name="RS485HalfDuplexWithTermination"/>
232
            <value id="255" name="Loopback"/>
232
            <value id="255" name="Loopback"/>
233
        </variable>
233
        </variable>
234
      </variables>
234
      </variables>
235
    </command>
235
    </command>
-
 
236
 
-
 
237
    <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module">
-
 
238
      <variables>
-
 
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="">
-
 
241
            <value id="0" name="PeriodicMeasure"/>
-
 
242
            <value id="1" name="DigitalInput"/>
-
 
243
        </variable>
-
 
244
        <variable name="Pullup" type="enum" start_bit="8" bit_length="1" unit="" description="Enable pullup on sensor">
-
 
245
            <value id="0" name="Disable"/>
-
 
246
            <value id="1" name="Enable"/>
-
 
247
        </variable>
-
 
248
        <variable name="Reference" type="enum" start_bit="9" bit_length="1" unit="" description="Enable GND reference on sensor">
-
 
249
            <value id="0" name="Disable"/>
-
 
250
            <value id="1" name="Enable"/>
-
 
251
        </variable>
-
 
252
        <variable name="VoltageLowTh" type="float" start_bit="10" 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"/>
-
 
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"/>
-
 
255
      </variables>
-
 
256
    </command>
-
 
257
 
236
    <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">
237
    <variables>
259
    <variables>
238
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
260
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
239
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
261
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
240
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
262
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
Line 734... Line 756...
734
    <module id="45" name="PIR" class="sns"/>
756
    <module id="45" name="PIR" class="sns"/>
735
    <module id="46" name="TCN75A" class="sns"/>
757
    <module id="46" name="TCN75A" class="sns"/>
736
    <module id="47" name="VoltageCurrent" class="sns"/>
758
    <module id="47" name="VoltageCurrent" class="sns"/>
737
    <module id="48" name="Serial" class="sns"/>
759
    <module id="48" name="Serial" class="sns"/>
738
    <module id="49" name="protectedOutput" class="sns"/>
760
    <module id="49" name="protectedOutput" class="sns"/>
-
 
761
    <module id="50" name="inputAnalog" class="sns"/>
739
  </modules>
762
  </modules>
740
  <defines>
763
  <defines>
741
    <define id="1" group="DirectionFlag" name="From_Owner"/>
764
    <define id="1" group="DirectionFlag" name="From_Owner"/>
742
    <define id="0" group="DirectionFlag" name="To_Owner"/>
765
    <define id="0" group="DirectionFlag" name="To_Owner"/>
743
  </defines>
766
  </defines>