| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | ||||||||||||||||||||||||||
2 | ||||||||||||||||||||||||||
3 | ||||||||||||||||||||||||||
4 | B-Formatting Examples | |||||||||||||||||||||||||
5 | ||||||||||||||||||||||||||
6 | ||||||||||||||||||||||||||
7 | %user()% | Get currently logged in user name | ||||||||||||||||||||||||
8 | %.% | Value and Status of the Out Slot | ||||||||||||||||||||||||
9 | %out.value% | Value of the Out Slot | ||||||||||||||||||||||||
10 | %Hours% | Get the total elapsed time in hours | ||||||||||||||||||||||||
11 | %Minutes% | Get the total elapsed time in minutes | ||||||||||||||||||||||||
12 | %displayName% | Get the display name of the ORD | ||||||||||||||||||||||||
13 | %parent.name% | Get parent name of the ORD | ||||||||||||||||||||||||
14 | %parent.parent.name% | Get TWO parents above the ord! Often paired with %parent.parent.name%_%parent.name% | ||||||||||||||||||||||||
15 | ||||||||||||||||||||||||||
16 | ||||||||||||||||||||||||||
17 | Example: | |||||||||||||||||||||||||
18 | ORD = BACnetNetwork/Device1/FanCommand | |||||||||||||||||||||||||
19 | ||||||||||||||||||||||||||
20 | Format Text | |||||||||||||||||||||||||
21 | Fan Command = %out.value% | |||||||||||||||||||||||||
22 | Fan Command = ON | * where "ON" is the current value of the OUT SLOT | ||||||||||||||||||||||||
23 | ||||||||||||||||||||||||||
24 | ||||||||||||||||||||||||||
25 | Scenario: We want a dynamic history name for the History extension on FanCommand. | |||||||||||||||||||||||||
26 | ||||||||||||||||||||||||||
27 | ||||||||||||||||||||||||||
28 | Our ORD is: BACnetNetwork/Device1/FanCommand/BooleanCOV | |||||||||||||||||||||||||
29 | If a history source was configured to read: %parent.parent.displayName%_%parent.name% | |||||||||||||||||||||||||
30 | ||||||||||||||||||||||||||
31 | ||||||||||||||||||||||||||
32 | %parent.parent.displayName% =Device1 | |||||||||||||||||||||||||
33 | %parent.name% = FanCommand | |||||||||||||||||||||||||
34 | ||||||||||||||||||||||||||
35 | Source Name: %parent.parent.displayName%_%%parent.name% | |||||||||||||||||||||||||
36 | Actual Source name under Histories: Device1_FanCommand | |||||||||||||||||||||||||
37 | ||||||||||||||||||||||||||
38 | ||||||||||||||||||||||||||
39 | ||||||||||||||||||||||||||
40 | Other Alarm b-formatting that may be useful | |||||||||||||||||||||||||
41 | ||||||||||||||||||||||||||
42 | %alarmData.sourceName% | |||||||||||||||||||||||||
43 | %alarmData.highLimit% | |||||||||||||||||||||||||
44 | %alarmData.lowLimit% | |||||||||||||||||||||||||
45 | %alarmData.currentValue% | |||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||
93 | ||||||||||||||||||||||||||
94 | ||||||||||||||||||||||||||
95 | ||||||||||||||||||||||||||
96 | ||||||||||||||||||||||||||
97 | ||||||||||||||||||||||||||
98 | ||||||||||||||||||||||||||
99 | ||||||||||||||||||||||||||
100 | ||||||||||||||||||||||||||