This application note assists in the understanding of the Sedona components provided in Tridium’s Sedona-1.2.28
release. Some of the Sedona components were changed or added since the previous release. New with the 1.2
release is that the Sedona components, previously concentrated in one Control kit, are now organized in smaller
kits under a functional name. Components discussed in this document can be found in the following kits:
• basicSchedule
• datetimeSTD
• func
• hvac
• logic
• math
• pricomp
• timing
• types
The intent of this document is to explain the potential use of those components supplied by Tridium in their Sedona
1.2 release. All are included in Contemporary Controls’ BASremote and BAScontrol product families. They have
not been modied for use in these products. Contemporary Controls has product specic Sedona kits that address
the uniqueness of the IO structure in the BASremote and BAScontrol products. These kits are not mentioned in
this document. It is Contemporary Controls’ policy to provide all Sedona kits to the Sedona Framework community
without charge or license. This includes kits obtained from Tridium, kits with modied Tridium components, kits
developed solely by Contemporary Controls to improve the control options available to systems integrators, and
kits specic to Contemporary Controls’ hardware. Any feedback is welcomed.
CONTEMPORARY
C
O
N
TRLSO
®
AN-SEDONA01-BA1
Page 2
Application Note — Using Sedona 1.2 Components
Variable Types
Although there are several variable types used by Sedona, three are the most interesting — Boolean, Float
and Integer. You can dene constants for each type and use converting components to change the data
representation to a different type.
Conguring Constants
AN-SEDONA01-BA1Page 2
CONTEMPORARY
C
O
N
TRLSO
®
Page 3
Application Note — Using Sedona 1.2 Components
Using Write Components
Converng Between Component Types
AN-SEDONA01-BA1Page 3
CONTEMPORARY
C
O
N
TRLSO
®
Page 4
Application Note — Using Sedona 1.2 Components
Float-to-Boolean and Boolean-to-Float Conversion
AN-SEDONA01-BA1Page 4
CONTEMPORARY
C
O
N
TRLSO
®
Page 5
Application Note — Using Sedona 1.2 Components
Negang a Boolean Variable — Inverng Your Logic
AN-SEDONA01-BA1Page 5
CONTEMPORARY
C
O
N
TRLSO
®
Page 6
Application Note — Using Sedona 1.2 Components
Boolean Product — “ANDing” Boolean Variables
AN-SEDONA01-BA1Page 6
CONTEMPORARY
C
O
N
TRLSO
®
Page 7
Application Note — Using Sedona 1.2 Components
Boolean Sum — “Oring” Boolean Variables
AN-SEDONA01-BA1Page 7
CONTEMPORARY
C
O
N
TRLSO
®
Page 8
Application Note — Using Sedona 1.2 Components
Exclusive OR — A OR B but Not Both
Cascading Logic Blocks and Unused Inputs
AN-SEDONA01-BA1Page 8
CONTEMPORARY
C
O
N
TRLSO
®
Page 9
Application Note — Using Sedona 1.2 Components
Cascading Logic Blocks and Unused Inputs (connued)
AN-SEDONA01-BA1Page 9
CONTEMPORARY
C
O
N
TRLSO
®
Page 10
Application Note — Using Sedona 1.2 Components
Boolean, Float or Integer Selecon
AN-SEDONA01-BA1Page 10
CONTEMPORARY
C
O
N
TRLSO
®
Page 11
Application Note — Using Sedona 1.2 Components
Boolean, Float or Integer Selecon (connued)
AN-SEDONA01-BA1Page 11
CONTEMPORARY
C
O
N
TRLSO
®
Page 12
Application Note — Using Sedona 1.2 Components
De-Mulplexing
Float Addion
AN-SEDONA01-BA1Page 12
CONTEMPORARY
C
O
N
TRLSO
®
Page 13
Application Note — Using Sedona 1.2 Components
Float Subtracon
Float Mulplicaon
AN-SEDONA01-BA1Page 13
CONTEMPORARY
C
O
N
TRLSO
®
Page 14
Application Note — Using Sedona 1.2 Components
Float Division
Finding Minimums and Maximums
AN-SEDONA01-BA1Page 14
CONTEMPORARY
C
O
N
TRLSO
®
Page 15
Application Note — Using Sedona 1.2 Components
Rounding O Floats
Averaging Successive Readings
AN-SEDONA01-BA1Page 15
CONTEMPORARY
C
O
N
TRLSO
®
Page 16
Application Note — Using Sedona 1.2 Components
On-Delays and O-Delays
Using the Timer
AN-SEDONA01-BA1Page 16
CONTEMPORARY
C
O
N
TRLSO
®
Page 17
Application Note — Using Sedona 1.2 Components
Using One-Shots — Mono-Stable Mulvibrators
Creang Ramps — A-Stable Mulvibrators
AN-SEDONA01-BA1Page 17
CONTEMPORARY
C
O
N
TRLSO
®
Page 18
Application Note — Using Sedona 1.2 Components
Comparing Two Floats
A Simple Clock — the TickToc
AN-SEDONA01-BA1Page 18
CONTEMPORARY
C
O
N
TRLSO
®
Page 19
Application Note — Using Sedona 1.2 Components
Introducing Counters
Operang on Real-World Signals — Hysteresis and Liming