Project

General

Profile

DTXr features » History » Version 19

David Fredriksson, 03/29/2022 08:30 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 19 David Fredriksson
h3. 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
16 18 David Fredriksson
h1.The Object page
17 19 David Fredriksson
h3. 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 1 Torbjorn Carlqvist Admin
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 17 David Fredriksson
In the Top pane of the Object side there are five drop down menus.
20
21
h2. Objects (leftmost drop down menu)
22 19 David Fredriksson
h3. This only contains an option to refresh the page.
23 17 David Fredriksson
24
h2 .Devices (second leftmost menu)
25 19 David Fredriksson
h3. 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 17 David Fredriksson
27 18 David Fredriksson
h2. Priority
28 19 David Fredriksson
h3. 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
29 17 David Fredriksson
Priority Level	Application
30
1	Manual-Life Safety
31
2	Automatic-Life Safety
32
3	Available
33
4	Available
34
5	Critical Equipment Control
35
6	Minimum On/Off
36
7	Available
37
8	Manual Operator
38 1 Torbjorn Carlqvist Admin
9	Available
39 17 David Fredriksson
10	Available
40
11	Available
41
12	Available
42
13	Available
43
14	Available
44
15	Available
45
16	Available
46
47
h2. Notifications 
48 19 David Fredriksson
h3. 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.
49 17 David Fredriksson
For more information about notifications se:
50
"Short article about notifiacations":http://www.bacnet.org/Bibliography/BACnet-Today-11/Isler-2011.pdf
51
"More advanced information on notifications":https://bacnetexperts.com/papers/Alarms%20and%20Events.pdf
52
53 18 David Fredriksson
h2. Page Browser Menu
54 19 David Fredriksson
h3. This is where you surf to other pages in the DTXr Integrated Development Environment such as:
55 17 David Fredriksson
Setup
56
Code
57
API
58
Blocks
59
Logout
60
61 16 David Fredriksson
62 9 Torbjorn Carlqvist Admin
63 6 Torbjorn Carlqvist Admin
_TBD..._
64
65 4 Torbjorn Carlqvist Admin
h3. Graph Editor
66
67 6 Torbjorn Carlqvist Admin
_TBD..._
68
69 5 Torbjorn Carlqvist Admin
h3. Map Editor
70 6 Torbjorn Carlqvist Admin
71
_TBD..._
72 10 Torbjorn Carlqvist Admin
73 14 Torbjorn Carlqvist Admin
h3. Blockly
74 13 Torbjorn Carlqvist Admin
75 15 Torbjorn Carlqvist Admin
!Blockly.png!
76 13 Torbjorn Carlqvist Admin
77 11 Torbjorn Carlqvist Admin
h3. REST-API
78
79
Every running DTXr instance has it's own REST API that can be used to access and modify various aspects of the node.
80
81
A swagger index pages is offered as:
82
http://[IP]:[PORT]/browse/swagger/index.html
83 12 Torbjorn Carlqvist Admin
84
h4. Object Type enumeration
85
86
<pre>
87
analogInput: 0
88
analogOutput: 1
89
analogValue: 2
90
binaryInput: 3
91
binaryOutput: 4
92
binaryValue: 5
93
calendar: 6
94
command: 7
95
device: 8
96
eventEnrollment: 9
97
file: 10
98
group: 11
99
loop: 12
100
multiStateInput: 13
101
multiStateOutput: 14
102
notificationClass: 15
103
program: 16
104
schedule: 17
105
averaging: 18
106
multiStateValue: 19
107
trendLog: 20
108
lifeSafetyPoint: 21
109
lifeSafetyZone: 22
110
accumulator: 23
111
pulseConverter: 24
112
eventLog: 25
113
trendLogMultiple: 27
114
loadControl: 28
115
structuredView: 29
116
accessDoor: 30
117
accessCredentialInput: 37
118
characterStringValue: 40
119
integerValue: 45
120
alertEnrollment: 52
121
lightingOutput: 54
122
bacqlScript: 129
123
</pre>