Part 5, DBPC Configuration file
Introduction
DBPC configuration files may be automatically generated by third party software. So every DBPC server should have the same configuration file structure. This part describes configuration files used by DBPC.
Introduction exemple :
<project>
<devices>
<device name="FillingControler">
<address>192.168.1.4</address>
<description>Filling machine programmable logic controler for DBPC simulation</description>
<tags>
<tag name="A230LI10" type="integer">
<address>MW10</address>
<refresh>on use</refresh>
<validity>3s</validity>
<description>unit A230 level indicator 10</description>
</tag>
<tag name="motor/A230M20" type="bool">
<address>A10.3</address>
<refresh>on use</refresh>
<validity>2.5s</validity>
<description>unit A230 command filling pumpe 20</description>
</tag>
<tag name="motor/A230M20MS" type="bool">
<address>E10.3</address>
<refresh>on use</refresh>
<validity>2s</validity>
<description>unit A230 status filling pumpe 20</description>
</tag>
</tags>
</device>
<device name="MixerController">
<address>adr18</address>
<protocol>ModbusRTU</protocol>
<description>Bier tank mixer programmable logic controler for DBPC simulation</description>
<tags>
<tag name="A300LI10" type="integer">
<address>MW10</address>
<refresh>on use</refresh>
<validity>3s</validity>
<description>unit A230 level indicator 10</description>
</tag>
<tag name="A300M20" type="bool">
<address>A11.3</address>
<refresh>on use</refresh>
<validity>2.5s</validity>
<description>unit A230 command filling pumpe 20</description>
</tag>
<tag name="A300M20MS" type="bool">
<address>A11.3</address>
<refresh>on use</refresh>
<validity>2s</validity>
<description>unit A230 status filling pumpe 20</description>
</tag>
</tags>
</device>
</devices>
...
</project>
Unknow entry are ignored. So this file can be shared with other app und custom tag can be added.