XML reformatiert und EEPROM Lokationen korrigiert.
parent
65be3ae3fc
commit
2b8935d5bd
@ -1,152 +1,223 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<device eep_size="512" version="01">
|
||||
<supported_types>
|
||||
<supported_types>
|
||||
<type priority="2" id="HBW-EBIO6" name="Elektor EBus I/O6 Board">
|
||||
<parameter const_value="0xE2" size="1" index="0"/>
|
||||
<parameter const_value="0" size="1" index="1"/>
|
||||
<parameter const_value="0xE2" size="1" index="0" />
|
||||
<parameter const_value="0" size="1" index="1" />
|
||||
</type>
|
||||
</supported_types>
|
||||
|
||||
<paramset id="HBW-EBIO6_dev_master" type="MASTER">
|
||||
</supported_types>
|
||||
<paramset id="HBW-EBIO6_dev_master" type="MASTER">
|
||||
<parameter id="LOGGING_TIME">
|
||||
<logical type="float" unit="s" default="5.0" max="25.5" min="0.1"/>
|
||||
<logical type="float" unit="s" default="5.0" max="25.5" min="0.1" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="0x0001"/>
|
||||
<address index="0x0001" />
|
||||
</physical>
|
||||
<conversion type="float_integer_scale" offset="0.0" factor="10"/>
|
||||
<conversion type="float_integer_scale" offset="0.0" factor="10" />
|
||||
</parameter>
|
||||
<parameter id="CENTRAL_ADDRESS" hidden="true">
|
||||
<logical type="integer"/>
|
||||
<logical type="integer" />
|
||||
<physical size="4" type="integer" interface="eeprom">
|
||||
<address index="0x0002"/>
|
||||
<address index="0x0002" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<enforce id="CENTRAL_ADDRESS" value="1"/>
|
||||
</paramset>
|
||||
|
||||
<frames>
|
||||
<enforce id="CENTRAL_ADDRESS" value="1" />
|
||||
</paramset>
|
||||
<frames>
|
||||
<frame id="LEVEL_SET" type="#x" channel_field="10" direction="to_device">
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL" />
|
||||
</frame>
|
||||
<frame id="LEVEL_GET" type="#S" channel_field="10" direction="to_device"/>
|
||||
<frame id="LEVEL_GET" type="#S" channel_field="10" direction="to_device" />
|
||||
<frame id="INFO_LEVEL" type="#i" channel_field="10" direction="from_device" event="true">
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
||||
<parameter size="2.0" index="11.0" type="integer" param="LEVEL" />
|
||||
</frame>
|
||||
</frames>
|
||||
|
||||
|
||||
<channels>
|
||||
<channel index="0" type="MAINTENANCE" count="1" class="maintenance" ui_flags="internal">
|
||||
</frames>
|
||||
<channels>
|
||||
<channel index="0" type="MAINTENANCE" ui_flags="internal" class="maintenance" count="1">
|
||||
<paramset type="MASTER" id="maint_ch_master" />
|
||||
<paramset type="VALUES" id="maint_ch_values">
|
||||
<parameter id="UNREACH" operations="read,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="UNREACH" />
|
||||
</parameter>
|
||||
<parameter id="STICKY_UNREACH" operations="read,write,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="STICKY_UNREACH" />
|
||||
</parameter>
|
||||
<parameter id="CONFIG_PENDING" operations="read,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="CONFIG_PENDING" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
<channel index="1" type="SWITCH" count="4" physical_index_offset="-1">
|
||||
<paramset id="hmw_switch_ch_master" type="MASTER" address_step="2" address_start="0x06">
|
||||
<paramset id="hmw_switch_ch_master" type="MASTER" address_step="1" address_start="0x06">
|
||||
<parameter id="LOGGING">
|
||||
<logical type="option">
|
||||
<option id="OFF"/>
|
||||
<option id="ON" default="true"/>
|
||||
<option id="OFF" />
|
||||
<option id="ON" default="true" />
|
||||
</logical>
|
||||
<physical size="0.1" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_switch_ch_link" type="LINK" count="16" address_start="0x1a" address_step="7" peer_param="SENSOR" channel_param="CHANNEL">
|
||||
<paramset id="hmw_switch_ch_link" type="LINK" count="16" address_start="0x38" address_step="7" peer_param="SENSOR" channel_param="CHANNEL">
|
||||
<parameter id="SENSOR" hidden="true" operations="none">
|
||||
<logical type="address"/>
|
||||
<logical type="address" />
|
||||
<physical type="array">
|
||||
<physical size="4.0" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+4"/>
|
||||
<address index="+4" />
|
||||
</physical>
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="CHANNEL" hidden="true" operations="none">
|
||||
<logical type="integer" min="0" max="255" default="255"/>
|
||||
<logical type="integer" min="0" max="255" default="255" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+5"/>
|
||||
<address index="+5" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="SHORT_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE"/>
|
||||
<option id="TOGGLE" default="true"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" />
|
||||
<option id="TOGGLE" default="true" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6"/>
|
||||
<address index="+6" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="LONG_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE"/>
|
||||
<option id="TOGGLE" default="true"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" />
|
||||
<option id="TOGGLE" default="true" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.2"/>
|
||||
<address index="+6.2" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="LONGRELEASE_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE" default="true"/>
|
||||
<option id="TOGGLE"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" default="true" />
|
||||
<option id="TOGGLE" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.4"/>
|
||||
<address index="+6.4" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="DOUBLE_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE" default="true"/>
|
||||
<option id="TOGGLE"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" default="true" />
|
||||
<option id="TOGGLE" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.6"/>
|
||||
<address index="+6.6" />
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_switch_ch_values" type="VALUES">
|
||||
<parameter id="STATE" operations="read,write,event" control="SWITCH.STATE">
|
||||
<logical type="boolean" default="false"/>
|
||||
<logical type="boolean" default="false" />
|
||||
<physical type="integer" interface="command" value_id="LEVEL">
|
||||
<set request="LEVEL_SET"/>
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL"/>
|
||||
<event frame="INFO_LEVEL"/>
|
||||
<set request="LEVEL_SET" />
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL" />
|
||||
<event frame="INFO_LEVEL" />
|
||||
</physical>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1"/>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
<channel index="5" type="SENSOR" count="6" physical_index_offset="-1">
|
||||
<paramset id="hmw_sensor_ch_master" type="MASTER" address_step="2" address_start="0x0e">
|
||||
<parameter id="LOGGING">
|
||||
<channel index="5" type="INPUT" count="6" physical_index_offset="-1">
|
||||
<special_parameter id="BEHAVIOUR">
|
||||
<logical type="integer" />
|
||||
<physical interface="eeprom" size="0.1" type="integer">
|
||||
<address index="0x0a" step="0.1" />
|
||||
</physical>
|
||||
</special_parameter>
|
||||
<paramset address_start="0x0b" address_step="0" id="hmw_io_ch_master" type="MASTER">
|
||||
<parameter id="BEHAVIOUR" ui_flags="transform">
|
||||
<logical type="option">
|
||||
<option id="OFF"/>
|
||||
<option id="ON" default="true"/>
|
||||
<option default="true" id="DIGITAL_INPUT" />
|
||||
<option id="ANALOG_INPUT" />
|
||||
</logical>
|
||||
<physical size="0.1" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
</physical>
|
||||
<physical interface="internal" type="integer" value_id="BEHAVIOUR" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_sensor_ch_values" type="VALUES">
|
||||
<paramset id="hmw_switch_ch_values" type="VALUES">
|
||||
<parameter id="STATE" operations="read,event" control="SWITCH.STATE">
|
||||
<logical type="boolean" default="false"/>
|
||||
<logical type="boolean" default="false" />
|
||||
<physical type="integer" interface="command" value_id="LEVEL">
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL"/>
|
||||
<event frame="INFO_LEVEL"/>
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL" />
|
||||
<event frame="INFO_LEVEL" />
|
||||
</physical>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
<subconfig>
|
||||
<paramset address_start="0x0b" address_step="7" id="hmw_io_ch_master" type="MASTER">
|
||||
<parameter id="SEND_DELTA_VOLT">
|
||||
<logical type="float" unit="V" default="0.5" min="0.1" max="25.0">
|
||||
<special_value id="NOT_USED" value="0" />
|
||||
</logical>
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+0.0" />
|
||||
</physical>
|
||||
<conversion type="float_integer_scale" factor="10" />
|
||||
<conversion type="integer_integer_map">
|
||||
<value_map to_device="false" from_device="true" parameter_value="5" device_value="0xff" />
|
||||
</conversion>
|
||||
</parameter>
|
||||
<parameter id="SEND_MIN_INTERVAL">
|
||||
<logical type="integer" unit="s" default="10" min="5" max="3600">
|
||||
<special_value id="NOT_USED" value="0" />
|
||||
</logical>
|
||||
<physical size="2.0" type="integer" interface="eeprom" endian="little">
|
||||
<address index="+2.0" />
|
||||
</physical>
|
||||
<conversion type="integer_integer_map">
|
||||
<value_map to_device="false" from_device="true" parameter_value="10" device_value="0xffff" />
|
||||
</conversion>
|
||||
</parameter>
|
||||
<parameter id="SEND_MAX_INTERVAL">
|
||||
<logical type="integer" unit="s" default="150" min="5" max="3600">
|
||||
<special_value id="NOT_USED" value="0" />
|
||||
</logical>
|
||||
<physical size="2.0" type="integer" interface="eeprom" endian="little">
|
||||
<address index="+4.0" />
|
||||
</physical>
|
||||
<conversion type="integer_integer_map">
|
||||
<value_map to_device="false" from_device="true" parameter_value="150" device_value="0xffff" />
|
||||
</conversion>
|
||||
</parameter>
|
||||
<parameter id="BEHAVIOUR" ui_flags="transform">
|
||||
<logical type="option">
|
||||
<option default="true" id="DIGITAL_INPUT" />
|
||||
<option id="ANALOG_INPUT" />
|
||||
</logical>
|
||||
<physical interface="internal" type="integer" value_id="BEHAVIOUR" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset type="VALUES" id="hmw_digital_input_values">
|
||||
<parameter id="LEVEL" operations="read,event">
|
||||
<logical type="float" min="0" max="20.47" unit="V" />
|
||||
<physical type="integer" interface="command" value_id="VOLTAGE">
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL" />
|
||||
<event frame="INFO_LEVEL" />
|
||||
</physical>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1"/>
|
||||
<conversion type="float_integer_scale" factor="100" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</subconfig>
|
||||
</channel>
|
||||
</channels>
|
||||
</channels>
|
||||
</device>
|
||||
|
@ -1,152 +1,164 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<device eep_size="512" version="01">
|
||||
<supported_types>
|
||||
<supported_types>
|
||||
<type priority="2" id="HBW-EBRELAIS" name="Elektor EBus Relais Board">
|
||||
<parameter const_value="0xE1" size="1" index="0"/>
|
||||
<parameter const_value="0" size="1" index="1"/>
|
||||
<parameter const_value="0xE1" size="1" index="0" />
|
||||
<parameter const_value="0" size="1" index="1" />
|
||||
</type>
|
||||
</supported_types>
|
||||
|
||||
<paramset id="HBW-EBRELAIS_dev_master" type="MASTER">
|
||||
</supported_types>
|
||||
<paramset id="HBW-EBRELAIS_dev_master" type="MASTER">
|
||||
<parameter id="LOGGING_TIME">
|
||||
<logical type="float" unit="s" default="5.0" max="25.5" min="0.1"/>
|
||||
<logical type="float" unit="s" default="5.0" max="25.5" min="0.1" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="0x0001"/>
|
||||
<address index="0x0001" />
|
||||
</physical>
|
||||
<conversion type="float_integer_scale" offset="0.0" factor="10"/>
|
||||
<conversion type="float_integer_scale" offset="0.0" factor="10" />
|
||||
</parameter>
|
||||
<parameter id="CENTRAL_ADDRESS" hidden="true">
|
||||
<logical type="integer"/>
|
||||
<logical type="integer" />
|
||||
<physical size="4" type="integer" interface="eeprom">
|
||||
<address index="0x0002"/>
|
||||
<address index="0x0002" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<enforce id="CENTRAL_ADDRESS" value="1"/>
|
||||
</paramset>
|
||||
|
||||
<frames>
|
||||
<enforce id="CENTRAL_ADDRESS" value="1" />
|
||||
</paramset>
|
||||
<frames>
|
||||
<frame id="LEVEL_SET" type="#x" channel_field="10" direction="to_device">
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL" />
|
||||
</frame>
|
||||
<frame id="LEVEL_GET" type="#S" channel_field="10" direction="to_device"/>
|
||||
<frame id="LEVEL_GET" type="#S" channel_field="10" direction="to_device" />
|
||||
<frame id="INFO_LEVEL" type="#i" channel_field="10" direction="from_device" event="true">
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL" />
|
||||
</frame>
|
||||
</frames>
|
||||
|
||||
|
||||
<channels>
|
||||
<channel index="0" type="MAINTENANCE" count="1" class="maintenance" ui_flags="internal">
|
||||
</frames>
|
||||
<channels>
|
||||
<channel index="0" type="MAINTENANCE" ui_flags="internal" class="maintenance" count="1">
|
||||
<paramset type="MASTER" id="maint_ch_master" />
|
||||
<paramset type="VALUES" id="maint_ch_values">
|
||||
<parameter id="UNREACH" operations="read,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="UNREACH" />
|
||||
</parameter>
|
||||
<parameter id="STICKY_UNREACH" operations="read,write,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="STICKY_UNREACH" />
|
||||
</parameter>
|
||||
<parameter id="CONFIG_PENDING" operations="read,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="CONFIG_PENDING" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
<channel index="1" type="SWITCH" count="2" physical_index_offset="-1">
|
||||
<paramset id="hmw_switch_ch_master" type="MASTER" address_step="2" address_start="0x06">
|
||||
<paramset id="hmw_switch_ch_master" type="MASTER" address_step="1" address_start="0x06">
|
||||
<parameter id="LOGGING">
|
||||
<logical type="option">
|
||||
<option id="OFF"/>
|
||||
<option id="ON" default="true"/>
|
||||
<option id="OFF" />
|
||||
<option id="ON" default="true" />
|
||||
</logical>
|
||||
<physical size="0.1" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_switch_ch_link" type="LINK" count="16" address_start="0x12" address_step="7" peer_param="SENSOR" channel_param="CHANNEL">
|
||||
<paramset id="hmw_switch_ch_link" type="LINK" count="16" address_start="0x0C" address_step="7" peer_param="SENSOR" channel_param="CHANNEL">
|
||||
<parameter id="SENSOR" hidden="true" operations="none">
|
||||
<logical type="address"/>
|
||||
<logical type="address" />
|
||||
<physical type="array">
|
||||
<physical size="4.0" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+4"/>
|
||||
<address index="+4" />
|
||||
</physical>
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="CHANNEL" hidden="true" operations="none">
|
||||
<logical type="integer" min="0" max="255" default="255"/>
|
||||
<logical type="integer" min="0" max="255" default="255" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+5"/>
|
||||
<address index="+5" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="SHORT_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE"/>
|
||||
<option id="TOGGLE" default="true"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" />
|
||||
<option id="TOGGLE" default="true" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6"/>
|
||||
<address index="+6" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="LONG_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE"/>
|
||||
<option id="TOGGLE" default="true"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" />
|
||||
<option id="TOGGLE" default="true" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.2"/>
|
||||
<address index="+6.2" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="LONGRELEASE_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE" default="true"/>
|
||||
<option id="TOGGLE"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" default="true" />
|
||||
<option id="TOGGLE" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.4"/>
|
||||
<address index="+6.4" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="DOUBLE_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE" default="true"/>
|
||||
<option id="TOGGLE"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" default="true" />
|
||||
<option id="TOGGLE" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.6"/>
|
||||
<address index="+6.6" />
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_switch_ch_values" type="VALUES">
|
||||
<parameter id="STATE" operations="read,write,event" control="SWITCH.STATE">
|
||||
<logical type="boolean" default="false"/>
|
||||
<logical type="boolean" default="false" />
|
||||
<physical type="integer" interface="command" value_id="LEVEL">
|
||||
<set request="LEVEL_SET"/>
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL"/>
|
||||
<event frame="INFO_LEVEL"/>
|
||||
<set request="LEVEL_SET" />
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL" />
|
||||
<event frame="INFO_LEVEL" />
|
||||
</physical>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1"/>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
<channel index="3" type="SENSOR" count="4" physical_index_offset="-1">
|
||||
<paramset id="hmw_sensor_ch_master" type="MASTER" address_step="2" address_start="0x0a">
|
||||
<paramset id="hmw_sensor_ch_master" type="MASTER" address_step="1" address_start="0x08">
|
||||
<parameter id="LOGGING">
|
||||
<logical type="option">
|
||||
<option id="OFF"/>
|
||||
<option id="ON" default="true"/>
|
||||
<option id="OFF" />
|
||||
<option id="ON" default="true" />
|
||||
</logical>
|
||||
<physical size="0.1" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_sensor_ch_values" type="VALUES">
|
||||
<parameter id="STATE" operations="read,event" control="SWITCH.STATE">
|
||||
<logical type="boolean" default="false"/>
|
||||
<logical type="boolean" default="false" />
|
||||
<physical type="integer" interface="command" value_id="LEVEL">
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL"/>
|
||||
<event frame="INFO_LEVEL"/>
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL" />
|
||||
<event frame="INFO_LEVEL" />
|
||||
</physical>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1"/>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
</channels>
|
||||
</channels>
|
||||
</device>
|
||||
|
@ -1,210 +1,223 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<device eep_size="512" version="01">
|
||||
<supported_types>
|
||||
<supported_types>
|
||||
<type priority="2" id="HBW-EBTEST" name="Elektor EBus Test Board">
|
||||
<parameter const_value="0xE0" size="1" index="0"/>
|
||||
<parameter const_value="0" size="1" index="1"/>
|
||||
<parameter const_value="0xE0" size="1" index="0" />
|
||||
<parameter const_value="0" size="1" index="1" />
|
||||
</type>
|
||||
</supported_types>
|
||||
|
||||
<paramset id="HBW-EBTEST_dev_master" type="MASTER">
|
||||
</supported_types>
|
||||
<paramset id="HBW-EBTEST_dev_master" type="MASTER">
|
||||
<parameter id="LOGGING_TIME">
|
||||
<logical type="float" unit="s" default="5.0" max="25.5" min="0.1"/>
|
||||
<logical type="float" unit="s" default="5.0" max="25.5" min="0.1" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="0x0001"/>
|
||||
<address index="0x0001" />
|
||||
</physical>
|
||||
<conversion type="float_integer_scale" offset="0.0" factor="10"/>
|
||||
<conversion type="float_integer_scale" offset="0.0" factor="10" />
|
||||
</parameter>
|
||||
<parameter id="CENTRAL_ADDRESS" hidden="true">
|
||||
<logical type="integer"/>
|
||||
<logical type="integer" />
|
||||
<physical size="4" type="integer" interface="eeprom">
|
||||
<address index="0x0002"/>
|
||||
<address index="0x0002" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<enforce id="CENTRAL_ADDRESS" value="1"/>
|
||||
</paramset>
|
||||
|
||||
<frames>
|
||||
<enforce id="CENTRAL_ADDRESS" value="1" />
|
||||
</paramset>
|
||||
<frames>
|
||||
<frame id="LEVEL_SET" type="#x" channel_field="10" direction="to_device">
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL" />
|
||||
</frame>
|
||||
<frame id="LEVEL_GET" type="#S" channel_field="10" direction="to_device"/>
|
||||
<frame id="LEVEL_GET" type="#S" channel_field="10" direction="to_device" />
|
||||
<frame id="INFO_LEVEL" type="#i" channel_field="10" direction="from_device" event="true">
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
||||
<parameter size="1.0" index="11.0" type="integer" param="LEVEL" />
|
||||
</frame>
|
||||
<frame id="KEY_EVENT_SHORT" type="#K" channel_field="10" direction="from_device" event="true">
|
||||
<parameter const_value="2" size="0.2" index="12.0" type="integer"/>
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
||||
<parameter const_value="2" size="0.2" index="12.0" type="integer" />
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER" />
|
||||
</frame>
|
||||
<frame id="KEY_EVENT_LONG" type="#K" channel_field="10" direction="from_device" event="true">
|
||||
<parameter const_value="3" size="0.2" index="12.0" type="integer"/>
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
||||
<parameter const_value="3" size="0.2" index="12.0" type="integer" />
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER" />
|
||||
</frame>
|
||||
<frame id="KEY_EVENT_LONGRELEASE" type="#K" channel_field="10" direction="from_device" event="true">
|
||||
<parameter const_value="0" size="0.2" index="12.0" type="integer"/>
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
||||
<parameter const_value="0" size="0.2" index="12.0" type="integer" />
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER" />
|
||||
</frame>
|
||||
<frame id="KEY_EVENT_DOUBLE" type="#K" channel_field="10" direction="from_device" event="true">
|
||||
<parameter const_value="1" size="0.2" index="12.0" type="integer"/>
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
||||
<parameter const_value="1" size="0.2" index="12.0" type="integer" />
|
||||
<parameter size="0.6" index="12.2" type="integer" param="COUNTER" />
|
||||
</frame>
|
||||
</frames>
|
||||
|
||||
<channels>
|
||||
<channel index="0" type="MAINTENANCE" count="1" class="maintenance" ui_flags="internal">
|
||||
</frames>
|
||||
<channels>
|
||||
<channel index="0" type="MAINTENANCE" ui_flags="internal" class="maintenance" count="1">
|
||||
<paramset type="MASTER" id="maint_ch_master" />
|
||||
<paramset type="VALUES" id="maint_ch_values">
|
||||
<parameter id="UNREACH" operations="read,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="UNREACH" />
|
||||
</parameter>
|
||||
<parameter id="STICKY_UNREACH" operations="read,write,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="STICKY_UNREACH" />
|
||||
</parameter>
|
||||
<parameter id="CONFIG_PENDING" operations="read,event" ui_flags="service">
|
||||
<logical type="boolean" />
|
||||
<physical type="integer" interface="internal" value_id="CONFIG_PENDING" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
<channel index="1" type="SWITCH" count="1" physical_index_offset="-1">
|
||||
<paramset id="hmw_switch_ch_master" type="MASTER" address_step="1" address_start="0x06">
|
||||
<parameter id="LOGGING">
|
||||
<logical type="option">
|
||||
<option id="OFF"/>
|
||||
<option id="ON" default="true"/>
|
||||
<option id="OFF" />
|
||||
<option id="ON" default="true" />
|
||||
</logical>
|
||||
<physical size="0.1" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_switch_ch_link" type="LINK" count="16" address_start="0x10" address_step="7" peer_param="SENSOR" channel_param="CHANNEL">
|
||||
<paramset id="hmw_switch_ch_link" type="LINK" count="16" address_start="0x68" address_step="7" peer_param="SENSOR" channel_param="CHANNEL">
|
||||
<parameter id="SENSOR" hidden="true" operations="none">
|
||||
<logical type="address"/>
|
||||
<logical type="address" />
|
||||
<physical type="array">
|
||||
<physical size="4.0" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+4"/>
|
||||
<address index="+4" />
|
||||
</physical>
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="CHANNEL" hidden="true" operations="none">
|
||||
<logical type="integer" min="0" max="255" default="255"/>
|
||||
<logical type="integer" min="0" max="255" default="255" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+5"/>
|
||||
<address index="+5" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="SHORT_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE"/>
|
||||
<option id="TOGGLE" default="true"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" />
|
||||
<option id="TOGGLE" default="true" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6"/>
|
||||
<address index="+6" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="LONG_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE"/>
|
||||
<option id="TOGGLE" default="true"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" />
|
||||
<option id="TOGGLE" default="true" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.2"/>
|
||||
<address index="+6.2" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="LONGRELEASE_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE" default="true"/>
|
||||
<option id="TOGGLE"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" default="true" />
|
||||
<option id="TOGGLE" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.4"/>
|
||||
<address index="+6.4" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter id="DOUBLE_ACTION_TYPE">
|
||||
<logical type="option">
|
||||
<option id="ON"/>
|
||||
<option id="OFF"/>
|
||||
<option id="INACTIVE" default="true"/>
|
||||
<option id="TOGGLE"/>
|
||||
<option id="ON" />
|
||||
<option id="OFF" />
|
||||
<option id="INACTIVE" default="true" />
|
||||
<option id="TOGGLE" />
|
||||
</logical>
|
||||
<physical size="0.2" type="integer" interface="eeprom">
|
||||
<address index="+6.6"/>
|
||||
<address index="+6.6" />
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_switch_ch_values" type="VALUES">
|
||||
<parameter id="STATE" operations="read,write,event" control="SWITCH.STATE">
|
||||
<logical type="boolean" default="false"/>
|
||||
<logical type="boolean" default="false" />
|
||||
<physical type="integer" interface="command" value_id="LEVEL">
|
||||
<set request="LEVEL_SET"/>
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL"/>
|
||||
<event frame="INFO_LEVEL"/>
|
||||
<set request="LEVEL_SET" />
|
||||
<get request="LEVEL_GET" response="INFO_LEVEL" />
|
||||
<event frame="INFO_LEVEL" />
|
||||
</physical>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1"/>
|
||||
<conversion type="boolean_integer" true="200" false="0" threshold="1" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
<channel index="2" type="KEY" count="1" physical_index_offset="-1">
|
||||
<link_roles>
|
||||
<source name="SWITCH"/>
|
||||
<source name="SWITCH" />
|
||||
</link_roles>
|
||||
<paramset id="hmw_input_ch_master" type="MASTER" address_step="1" address_start="0x07">
|
||||
<parameter id="LONG_PRESS_TIME">
|
||||
<logical type="float" unit="s" default="1.0" max="5.0" min="0.4"/>
|
||||
<logical type="float" unit="s" default="1.0" max="5.0" min="0.4" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+1"/>
|
||||
<address index="+1" />
|
||||
</physical>
|
||||
<conversion type="float_integer_scale" factor="10"/>
|
||||
<conversion type="float_integer_scale" factor="10" />
|
||||
<conversion type="integer_integer_map">
|
||||
<value_map to_device="false" from_device="true" parameter_value="10" device_value="0xff"/>
|
||||
<value_map to_device="false" from_device="true" parameter_value="10" device_value="0xff" />
|
||||
</conversion>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_input_ch_link" type="LINK" count="16" address_step="6" address_start="0x80" channel_param="CHANNEL" peer_param="ACTUATOR">
|
||||
<paramset id="hmw_input_ch_link" type="LINK" count="16" address_step="6" address_start="0x08" channel_param="CHANNEL" peer_param="ACTUATOR">
|
||||
<parameter hidden="true" id="CHANNEL" operations="none">
|
||||
<logical type="integer" default="255" max="255" min="0"/>
|
||||
<logical type="integer" default="255" max="255" min="0" />
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+0"/>
|
||||
<address index="+0" />
|
||||
</physical>
|
||||
</parameter>
|
||||
<parameter hidden="true" id="ACTUATOR" operations="none">
|
||||
<logical type="address"/>
|
||||
<logical type="address" />
|
||||
<physical type="array">
|
||||
<physical size="4.0" type="integer" interface="eeprom">
|
||||
<address index="+1"/>
|
||||
<address index="+1" />
|
||||
</physical>
|
||||
<physical size="1.0" type="integer" interface="eeprom">
|
||||
<address index="+5"/>
|
||||
<address index="+5" />
|
||||
</physical>
|
||||
</physical>
|
||||
</parameter>
|
||||
</paramset>
|
||||
<paramset id="hmw_input_ch_values" type="VALUES">
|
||||
<parameter id="PRESS_SHORT" operations="event,write" loopback="true" control="BUTTON.SHORT">
|
||||
<logical type="action"/>
|
||||
<logical type="action" />
|
||||
<physical type="integer" interface="command" value_id="COUNTER">
|
||||
<event frame="KEY_EVENT_SHORT"/>
|
||||
<event frame="KEY_EVENT_SHORT" />
|
||||
</physical>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER" />
|
||||
</parameter>
|
||||
<parameter id="PRESS_LONG" operations="event,write" loopback="true" control="BUTTON.LONG">
|
||||
<logical type="action"/>
|
||||
<logical type="action" />
|
||||
<physical type="integer" interface="command" value_id="COUNTER">
|
||||
<event frame="KEY_EVENT_LONG"/>
|
||||
<event frame="KEY_EVENT_LONG" />
|
||||
</physical>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER" />
|
||||
</parameter>
|
||||
<parameter id="RELEASE_LONG" operations="event" loopback="true" control="BUTTON.RELEASE">
|
||||
<logical type="action"/>
|
||||
<logical type="action" />
|
||||
<physical type="integer" interface="command" value_id="COUNTER">
|
||||
<event frame="KEY_EVENT_LONGRELEASE"/>
|
||||
<event frame="KEY_EVENT_LONGRELEASE" />
|
||||
</physical>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER" />
|
||||
</parameter>
|
||||
<parameter id="DOUBLECLICK" operations="event" loopback="true" control="BUTTON.DOUBLE">
|
||||
<logical type="action"/>
|
||||
<logical type="action" />
|
||||
<physical type="integer" interface="command" value_id="COUNTER">
|
||||
<event frame="KEY_EVENT_DOUBLE"/>
|
||||
<event frame="KEY_EVENT_DOUBLE" />
|
||||
</physical>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
||||
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER" />
|
||||
</parameter>
|
||||
</paramset>
|
||||
</channel>
|
||||
</channels>
|
||||
</channels>
|
||||
</device>
|
||||
|
Loading…
Reference in New Issue