Ontr ls o, Application guide — basremote – Contemporary Control Systems BASremote Application Guide User Manual
Page 7

AG-BASR0000-BC0
Page 7
Application Guide — BASremote
C
ONTR LS
O
®
CONTEMPORARY
Application Guide — BASremote
The Types Group
variable types and
conversion between types
B2F Binary to float encoder — 16-bit binary to float conversion
ConstBool Boolean constant — a predefined Boolean value
ConstFloat Float constant — a predefined float variable
ConstInt Integer constant — a predefined integer variable
F2B Float to binary decoder — float to 16-bit binary conversion
F2I Float to integer — float to integer conversion
I2F Integer to float — integer to float conversion
L2F Long to float — long integer to float conversion
WriteBool Write Boolean — setting a writable Boolean value
WriteFloat Write Float — setting a writable float value
WriteInt Write integer — setting an integer value
Common Components Used In Function Block Programming
The HVAC Group
operations that
facilitate control
LSeq Linear Sequencer — bar graph representation of input value
ReheatSeq Reheat sequence — linear sequence up to four outputs
Reset Reset — output scales an input range between two limits
Tstat Thermostat — on/off temperature controller
ADemux2 Analog Demux — Single-input, two-output analog de-multiplexer
And2 Two-input Boolean product — two-input AND gate
And4 Four-input Boolean product — four-input AND gate
ASW Analog switch — selection between two float variables
ASW4 Analog switch — selection between four floats
B2P Binary to pulse — simple mono-stable oscillator (single-shot)
BSW Boolean switch — selection between two Boolean variables
DemuxI2B4 Four-output Demux — integer to Boolean de-multiplexer
ISW Integer switch — selection between two integer variables
Not Not — inverts the state of a Boolean
Or2 Two-input Boolean sum — two-input OR gate
Or4 Four-input Boolean sum — four-input OR gate
Xor Two-input exclusive Boolean sum — two-input XOR gate
The Logic Group
logical operations using
Boolean variables
The Math Group
operations on Float, Integer
and Boolean variables
Add2 Two-input addition — results in the addition of two floats
Add4 Four-input addition — results in the addition of four floats
Avg10 Average of 10 — sums the last ten floats while dividing by ten thereby providing a running average
AvgN Average of N — sums the last N floats while dividing by N thereby providing a running average
Div2 Divide two — results in the division of two float variables
FloatOffset Float offset — float shifted by a fixed amount
Max Maximum selector — selects the greater of two inputs
Min Minimum selector — selects the lesser of two inputs
MinMax Min/Max detector — records both the maximum and minimum values of a float
Mul2 Multiply two — results in the multiplication of two floats
Mul4 Multiply four — results in the multiplication of four floats
Neg Negate — changes the sign of a float
Round Round — rounds a float to the nearest N places
Sub2 Subtract two — results in the subtraction of two floats
Sub4 Subtract four — results in the subtraction of four floats
TimeAvg Time average — average value of float over time
The Timing Group
extended Boolean logic
DlyOff Off delay timer — time delay from a “true” to “false” transition of the input
DlyOn On delay timer — time delay from an “false” to “true” transition of the input
OneShot Single Shot — provides an adjustable pulse width to an input transition
Timer Timer — countdown timer
DailySc Daily Schedule Boolean — two-period Boolean scheduler
DailyS1 Daily Schedule Float — two-period float scheduler
DateTime Time of Day — time, day, month, year
The Scheduling Group
scheduling operations
based upon time of day
Cmpr Comparison math — comparison (<=>) of two floats
Count Integer counter — up/down counter with integer output
Freq Pulse frequency — calculates the input pulse frequency
Hysteresis Hysteresis — setting on/off trip points to an input variable
IRamp IRamp — generates a repeating triangular wave with an integer output
Limiter Limiter — Restricts output within upper and lower bounds
Linearize Linearize — piecewise linearization of a float
LP LP — proportional, integral, derivative (PID) loop controller
Ramp Ramp — generates a repeating triangular or sawtooth wave with a float output
SRLatch Set/Reset Latch — single-bit data storage
TickTock Ticking clock — an astable oscillator used as a time base
UpDn Float counter — up/down counter with float output
The Function Group
convenient functions for
developing control schemes
PrioritizedBool Prioritized boolean output — highest of sixteen inputs
PrioritizedFloat Prioritized float output — highest of sixteen inputs
PrioritizedInt Prioritized integer output — highest of sixteen inputs
The Priority Group
prioritizing actions of Boolean,
Float and Integer variables