PROGRAMMING CATEGORIES
Programming of microcomputer-based controllers can be
subdivided into four discrete categories:
1. Configuration programming.
2. System initialization programming.
3. Data file programming.
4. Custom control programming.
Some controllers require all four levels of program entry while
other controllers, used for standardized applications, require
fewer levels.
CONFIGURATION PROGRAMMING
Configuration programming consists of selecting which
preprogrammed control sequence to use. It requires the
selection of hardware and/or software packages to match the
application requirements. Configuration programming can be
as simple as selecting a specific controller model that matches
the specific application requirements, or it can require keyboard
selection of the proper software options in a more complex
controller. Universal type controllers, typically applied as zone-
level controllers for VAV or other terminal units, are usually
preprogrammed with several control sequences resident in
memory. In these cases, configuration programming requires
selecting the proper control sequence to match the application
through device strapping or keyboard code entry.
SYSTEM INITIALIZATION PROGRAMMING
System initialization programming consists of entering
appropriate startup values using a keypad or a keyboard. Startup
data parameters include setpoint, throttling range, gain, reset
time, time of day, occupancy time, and night setback
temperature. These data are equivalent to the settings on a
mechanical control system, but there are usually more items
because of the added functionality of the digital control system.
DATA FILE PROGRAMMING
Data file programming may or may not be required
depending on whether the controller is a fixed-function or
variable-function device. Zone-level controllers are typically
fixed function since the applications and control sequences
are generally standardized. In these controllers, the input
terminals are dedicated to a specific sensor type and range,
and the output terminals are dedicated to a control relay or
specific type of actuator. The need for data files is minimized.
The processor always knows what to look for as it scans those
points, and it knows how to process the data.
MICROPROCESSOR-BASED/DDC FUNDAMENTALS
System-level controllers are variable-function and are more
universal in application. These controllers must be able to
perform a wide variety of control sequences with a broad range
of sensor input types and control output signals. System-level
controllers require more extensive data file programming. For
the controller to properly process input data, for example, it
must know if the point type is analog or digital. If the point is
analog, the controller must know the sensor type, the range,
whether or not the input value is linear, whether or not alarm
limits are assigned, what the high and low alarm limit values
are if limits are assigned, and if there is a lockout point. See
Table 2. If the point is digital, the controller must know its
normal state (open or closed), whether the given state is an
alarm state or merely a status condition, and whether or not
the condition triggers an event-initiated program.
Table 2. Typical Data File for Analog Input.
Point Address
Point type
Sensor
Physical terminal assigned
Use code
Engineering unit
Decimal places for display
High limit
Low limit
Alarm lockout point
Point descriptor
Alarm priority
CUSTOM CONTROL PROGRAMMING
Custom control programming is the most involved
programming category. Custom control programming requires
a step-by-step procedure that closely resembles standard
computer programming. A macro view of the basic tasks is
shown in Figure 13.
143
ENGINEERING MANUAL OF AUTOMATIC CONTROL
User Address
Regular or calculation
Platinum (0 to 100F)
16
Cold deck dry bulb
F
XXX.X
70.0
40.0
Point address
Cold deck temperature
Critical
Need help?
Do you have a question about the AUTOMATIC CONTROL and is the answer not in the manual?