-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbacnet-test-config.xml
93 lines (90 loc) · 4.3 KB
/
bacnet-test-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<bacnetConfig>
<transportLayer>
<port type="bip" address="192.168.2.110:47808" bac-addr-type="ip" port-id="1" />
<!-- <port type="bip" address="192.168.2.107:47809" bac-addr-type="ip" port-id="2" /> -->
</transportLayer>
<networkLayer>
<routingTable>
<route port-id="1" direct-net-num="3" >
<reachableNet net-num="10" net-router-address="192.168.2.120:47809" bac-addr-type="ip"/>
</route>
<!-- <route port-id="2" direct-net-num="4" >
<reachableNet net-num="10" net-router-address="192.168.2.122:47809" bac-addr-type="ip"/> < ERROR >
<reachableNet net-num="11" net-router-address="192.168.2.123:47809" bac-addr-type="ip"/>
</route> -->
</routingTable>
</networkLayer>
<appLayer net-num="2">
<internalHandler>
<devices>
<device name="BacnetTestDevice" int-address="1" dev-instance-number="1">
<properties>
</properties>
<childObjects>
<object name="AnalogInput" instance-number="1" obj-type="analog-input"> <!-- analog-input == 0 -->
<properties>
<property prop-type="internal" id="85" bac-type="real" int-type="observer" int-id="1" int-conv-type="universal" int-var-type="bool" />
</properties>
</object>
<object name="AnalogOutput" instance-number="1" obj-type="analog-output"> <!--analog-output == 1 -->
<properties>
<property prop-type="internal" id="85" bac-type="real" int-type="observer" int-id="2" int-conv-type="universal" int-var-type="uint" />
</properties>
</object>
<object name="AnalogValue" instance-number="1" obj-type="analog-value"> <!-- analog-value == 2 -->
<properties>
<property prop-type="internal" id="85" bac-type="real" int-type="observer" int-id="2" int-conv-type="scaling" int-conv-factor="0.25" int-var-type="uint" />
</properties>
</object>
<!--
<object name="BinaryInput" instance-number="1" obj-type="binary-input" > <!- - binary-input == 3- ->
<properties>
<property prop-type="internal" id="85" bac-type="enumerated" int-type="observer" int-id="4" int-conv-type="universal" int-var-type="bool" />
</properties>
</object>
<object name="BinaryOutput" instance-number="1" obj-type="binary-output" ><!- - binary-output == 4- ->
<properties>
<property prop-type="internal" id="85" bac-type="enumerated" int-type="subject" int-id="5" int-var-type="uint" />
<property prop-type="internal" id="111" bac-type="bitstring" int-type="observer" int-id="6" int-conv-type="masking" int-conv-mask="b'1011'" int-var-type="QBitArray" />
</properties>
</object>
<object name="BinaryValue" instance-number="1" obj-type="binary-value"/>
<object name="MultiStateInput"instance-number="1" obj-type="multistate-input" />
<object name="MultiStateOutput"instance-number="1" obj-type="multistate-output" />
<object name="MultiStateValue"instance-number="1" obj-type="multistate-value" />
-->
</childObjects>
</device>
<device name="BestDeviceEver" int-address="3" dev-instance-number="8">
</device>
</devices>
</internalHandler>
<externalHandler int-address="14" >
<devices>
<device dev-instance-number="1234" >
<childObjects>
<object instance-number="3" obj-type="analog-input">
<properties>
<property id="85" prop-type="internal" read-strategy="simple" read-interval="100000" write-strategy="simple" int-type="subject" int-var-type="float" int-id="10"/>
<!--
<property id="85" array-idx="2" prop-type="internal" read-strategy="simple" read-interval="1000" write-strategy="simple-time" int-var-type="float" int-id="7"/>
-->
</properties>
</object>
<object instance-number="0" obj-type="analog-input">
<properties>
<!--
<property id="85" prop-type="internal" read-strategy="cov" read-interval="10000" write-strategy="simple" int-type="subject" int-var-type="float" int-id="11"/>
-->
</properties>
</object>
</childObjects>
</device>
</devices>
</externalHandler>
<deviceMappings>
<device dev-instance-number="1234" bac-address="c0:a8:2:6f:ba:c0" bac-network="3" bac-max-apdu="128" bac-segmentation="segmented-not" bac-vendor-id="99" />
</deviceMappings>
</appLayer>
</bacnetConfig>