Project

General

Profile

DTXr features » History » Version 17

David Fredriksson, 03/29/2022 08:29 AM

1 1 Torbjorn Carlqvist Admin
h1. DTXr features
2
3 2 Torbjorn Carlqvist Admin
h3. BACNet/IP Stack
4 1 Torbjorn Carlqvist Admin
5 7 Torbjorn Carlqvist Admin
DTXr hosts a full BACnet/IP stack.
6
7 8 Torbjorn Carlqvist Admin
* Rev. 19 Ver. 1
8 7 Torbjorn Carlqvist Admin
* BTL tested
9 3 Torbjorn Carlqvist Admin
10 2 Torbjorn Carlqvist Admin
h3. IDE
11 4 Torbjorn Carlqvist Admin
12 17 David Fredriksson
h1. Introduction
13 16 David Fredriksson
This is the documentation of the DTXr Integrated Development Environment (IDE)
14 1 Torbjorn Carlqvist Admin
The IDE can be hosted on a BACnet device or on any other device that can run the application such as a PC or other device able to host a Virtual Java Machine. There are several reasons to hosting the IDE on a BACnet device rather than on a computer. Most importantly is the ability to cope with the future. Several years from now when a change is needed, the user will most likely have a different computer, a different operating system and will probably not keep track of old interface cables. Furthermore the syntax used to create the logic of the device is JavaScript. The reasons for this are many, but most important is the fact that JavaScript does not need to compile and downloaded to a device but is real time interpreted. Hence the code will be active as soon as it is saved, saving compilation and upload time.
15 17 David Fredriksson
16
h1.The Object page
17
The object page may look very different depending on what objects that are in the device that you have entered. If the device is Gateway or a HUB (also sometimes called a cloud server) the objects will appear as general or virtual objects but if the device is a BACnet device there will be objects according to what hardware is in the BACnet device.
18
If the device has many objects they may appear further down and you may have to scroll down quite a bit in order to see all the objects in the device.
19
In the Top pane of the Object side there are five drop down menus.
20
21
h2. Objects (leftmost drop down menu)
22
This only contains an option to refresh the page.
23
24
h2 .Devices (second leftmost menu)
25
When you first enter the Object page, you will see the objects that belong to the device that you have entered by writing its IP address or DNS name and logged in. In the Device dropdown menu you can enter any other BACnet device that is on your network.
26
h2. Priority
27
In the priority menu you may choose the priority that a change will be performed at if you make changes on objects. Default priority is eight, or Manual operator priority. Note that a change won’t happen if another command has a higher priority
28
Priority Level	Application
29
1	Manual-Life Safety
30
2	Automatic-Life Safety
31
3	Available
32
4	Available
33
5	Critical Equipment Control
34
6	Minimum On/Off
35
7	Available
36
8	Manual Operator
37
9	Available
38
10	Available
39
11	Available
40
12	Available
41
13	Available
42
14	Available
43
15	Available
44
16	Available
45
46
h2. Notifications 
47
If something out of the ordinary happens there may be a notification. A notification can typically be set up if a value is out of the normal interval. If there are notifications they will appear here.
48
For more information about notifications se:
49
"Short article about notifiacations":http://www.bacnet.org/Bibliography/BACnet-Today-11/Isler-2011.pdf
50
"More advanced information on notifications":https://bacnetexperts.com/papers/Alarms%20and%20Events.pdf
51
52
h2. Page Browser Menu
53
This is where you surf to other pages in the DTXr Integrated Development Environment such as:
54
Setup
55
Code
56
API
57
Blocks
58
Logout
59
60 16 David Fredriksson
61 9 Torbjorn Carlqvist Admin
62 6 Torbjorn Carlqvist Admin
_TBD..._
63
64 4 Torbjorn Carlqvist Admin
h3. Graph Editor
65
66 6 Torbjorn Carlqvist Admin
_TBD..._
67
68 5 Torbjorn Carlqvist Admin
h3. Map Editor
69 6 Torbjorn Carlqvist Admin
70
_TBD..._
71 10 Torbjorn Carlqvist Admin
72 14 Torbjorn Carlqvist Admin
h3. Blockly
73 13 Torbjorn Carlqvist Admin
74 15 Torbjorn Carlqvist Admin
!Blockly.png!
75 13 Torbjorn Carlqvist Admin
76 11 Torbjorn Carlqvist Admin
h3. REST-API
77
78
Every running DTXr instance has it's own REST API that can be used to access and modify various aspects of the node.
79
80
A swagger index pages is offered as:
81
http://[IP]:[PORT]/browse/swagger/index.html
82 12 Torbjorn Carlqvist Admin
83
h4. Object Type enumeration
84
85
<pre>
86
analogInput: 0
87
analogOutput: 1
88
analogValue: 2
89
binaryInput: 3
90
binaryOutput: 4
91
binaryValue: 5
92
calendar: 6
93
command: 7
94
device: 8
95
eventEnrollment: 9
96
file: 10
97
group: 11
98
loop: 12
99
multiStateInput: 13
100
multiStateOutput: 14
101
notificationClass: 15
102
program: 16
103
schedule: 17
104
averaging: 18
105
multiStateValue: 19
106
trendLog: 20
107
lifeSafetyPoint: 21
108
lifeSafetyZone: 22
109
accumulator: 23
110
pulseConverter: 24
111
eventLog: 25
112
trendLogMultiple: 27
113
loadControl: 28
114
structuredView: 29
115
accessDoor: 30
116
accessCredentialInput: 37
117
characterStringValue: 40
118
integerValue: 45
119
alertEnrollment: 52
120
lightingOutput: 54
121
bacqlScript: 129
122
</pre>