Upload
others
View
6
Download
0
Embed Size (px)
Citation preview
UsingTridium’sSedona1.2ComponentswithWorkbenchThistutorialassistsintheunderstandingoftheSedonacomponentsprovidedinTridium’sSedona-1.2.28release.Newwiththe1.2releaseisthattheSedonacomponents,previouslyconcentratedinoneControlkit,arenoworganizedinsmallerkitsunderafunctionalname.Componentsdiscussedinthisdocumentcanbefoundinthefollowingkits:
• basicSchedule• datetimeSTD• func• hvac• logic• math• pricomp• timing• types
Sedonacomponentsaredeployedinkitsofwhichtherearethreetypes–Tridium-release,customhardware-independent,andcustomhardware-dependent.ThistutorialonlyaddressestheTridium-releasecomponentswhichcanbefoundinanySedonaapplication.ByTridium-releasewearereferringtoTridiumrelease1.2.28.CustomcomponentsdeployedincustomkitsareprovidedbydevelopersfromtheSedonacommunity.Itisuptothedevelopertoexplainhowtheircustomcomponentsfunction.Theyarenotexplainedhere.However,thetechniquesfoundinthistutorialcanbeappliedtoanySedonaproject.
TheintentofthistutorialisnottoteachhowtocreateHVACapplicationsusingSedonabecauseSedonacanbeusedanywherewherecontrolofprocessesisrequired.ItisonlyintendedtointroducethebasicSedonacomponentswhichcanbeassembledontoawiresheetbyintegratorstherebycreatingapplications.
ThistutorialwasconductedusingNiagaraWorkbenchastheSedonatoolsotheappearanceofthecomponentsandtheconfigurationofparametersareuniquetothistool.OtherSedonatoolssuchastheSedonaApplicationEditorcreateasomewhatdifferentappearanceofthecomponentsandusedifferentmethodsforconfiguration.However,alltheexamplesinthetutorialcanbeimplementedwithanySedonatool.
©ContemporaryControls Page2 February2017
VariableTypesAlthoughthereareseveralvariabletypesusedbySedona,threearethemostinteresting—Boolean,FloatandInteger.Youcandefineconstantsforeachtypeanduseconvertingcomponentstochangethedatarepresentationtoadifferenttype.
ConfiguringConstants
©ContemporaryControls Page3 February2017
UsingWriteComponents
ConvertingBetweenComponentTypes
©ContemporaryControls Page4 February2017
Float-to-BooleanandBoolean-to-FloatConversion
©ContemporaryControls Page5 February2017
NegatingaBooleanVariable—InvertingYourLogic
©ContemporaryControls Page6 February2017
BooleanProduct—“ANDing”BooleanVariables
©ContemporaryControls Page7 February2017
BooleanSum—“Oring”BooleanVariables
©ContemporaryControls Page8 February2017
ExclusiveOR—AORBbutNotBoth
CascadingLogicBlocksandUnusedInputs
©ContemporaryControls Page9 February2017
©ContemporaryControls Page10 February2017
Boolean,FloatorIntegerSelection
©ContemporaryControls Page11 February2017
©ContemporaryControls Page12 February2017
De-Multiplexing
©ContemporaryControls Page13 February2017
FloatAddition
FloatSubtraction
©ContemporaryControls Page14 February2017
FloatMultiplication
©ContemporaryControls Page15 February2017
FloatDivision
FindingMinimumsandMaximums
©ContemporaryControls Page16 February2017
RoundingOffFloats
AveragingSuccessiveReadings
©ContemporaryControls Page17 February2017
On-DelaysandOff-Delays
©ContemporaryControls Page18 February2017
UsingtheTimer
UsingOne-Shots—Mono-StableMultivibrators
©ContemporaryControls Page19 February2017
CreatingRamps—A-StableMultivibrators
©ContemporaryControls Page20 February2017
ComparingTwoFloats
ASimpleClock—theTickToc
©ContemporaryControls Page21 February2017
IntroducingCounters
©ContemporaryControls Page22 February2017
OperatingonReal-WorldSignals—HysteresisandLimiting
HandlingNon-LinearSignals
©ContemporaryControls Page23 February2017
SimpleSet-ResetFlipFlop—Bi-StableMultivibrator
©ContemporaryControls Page24 February2017
TheLoopComponent—BasicPIDController
©ContemporaryControls Page25 February2017
LinearSequencer—Bar-GraphRepresentationofaFloat
©ContemporaryControls Page26 February2017
ReheatSequencer—FourStagedOutputsfromaFloatInput
©ContemporaryControls Page27 February2017
Reset—ScalingaFloatInputbetweenTwoLimits
Tstat—BasicOn/OffTemperatureController
©ContemporaryControls Page28 February2017
Real-TimeClockandScheduling
©ContemporaryControls Page29 February2017
PriorityArrays