Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Day 1
Agenda
Day 1 2
missioning & Standard Programming using Lesson – Adding and Modifying Activity
Lesson – Overview
CCT Modules
Day 1 2
Lesson - Timers
Lesson - MUX
Overview
Tier 1
Server /
Software
Tier 2
Supervisor de
Red
Tier 3
Controladores
de Campo
Optimiza
Costos de
Operación
Asegura
Confort de ¿Por que los ▪ Minimiza el uso de
ocupación, clientes energía
seguridad y ▪ Elimina o minimiza el
salud. adquieren BAS? uso de un operador.
▪ Alarga el tiempo de
vida
▪ Extiende la vida del
activo.
Integra
Los componentes Se pueden agregar
dispositivos de
se pueden situar lo componentes
terceros y
más cerca posible según sea Protege contra el
generaciones
del equipo que necesario para acceso no
anteriores de
están controlando, controlar edificios y autorizado a
componentes
para proporcionar sistemas de datos y sistemas
Metasys para
un rendimiento y complejidad, de control
unificar y
una fiabilidad tamaño y alcance
modernizar su
óptimos diferentes.
funcionamiento
Objectives
Key Topics
Overview
Field Equipment Controllers
FX Family Components:
Field Controllers and Sensors
Wireless Field Bus System
FX Family Overview
PCV Controllers
PCG/PCA Controllers
PCG PCX
32-bit processor Expands I/O Capacity for FX-PCGs, PCA’s
and PCV’s
Optional local display
Has no internal control logic capability
Supports wireless communications
Several models with various I/O counts and
N2 or BACnet® MS/TP mixes
PCG/PCA Controllers
PCA PCA49
N2 or BACnet® MS/TP
PCG/PCA Controllers
F4-CGM F4-CVM
Similar to PCA, except: Similar to PCV, except:
RX64M 32-bit Renesas microcontroller RX64M 32-bit Renesas microcontroller
Set of 3 Rotary switches used to set device Set of 3 Rotary switches used to set device
address between 4 and 127 address between 4 and 127
Super capacitor maintains power to the onboard Super capacitor maintains power to the onboard
real-time clock for a minimum of 72 hours real-time clock for a minimum of 72 hours
Network Sensors
Local Displays
Bluetooth® Converter
Allows a laptop to connect to a ZigBee® Field Router (ZFR) Wireless Field Bus
for the purpose of commissioning and downloading applications
Analyzing a ZFR wireless mesh using the ZFR Checkout Tool (ZCT)
Wireless Field Bus system is not available with N2 networks
Supervisory engines
Network Automation Engine (NAE)
Network Control Engines (NCE)
BACnet® field controllers
Field Equipment Controllers
VAV Modular Assemblies
I/O Modules
Room sensors
Network Sensors
Wireless Mesh temperature sensors
Objectives
Key Topics
Outputs
The Last Value (LV) module holds the value that its input had at the end of the
previous execution of the control system for use by the current execution as a way
to bring an output back into the program.
Output Control
Values
LV Block
Output Control modules pass signals to the LV module, which are then
passed back to the State Generator modules.
LV Blocks are always used when the result of a process is fed back into a
another process
State Generation
State
State Tables..
Mode
Output Control
Values
LV Block
View Connections
In this example, by selecting the Connections tab in the Features panel and then
selecting the ZNT-SP Network Input, we note that the output of ZNT-SP is
connected to the Network Setpoint port of the ZN-T Setpoint Determination
module.
Then by selecting ZN-T Setpoint Determination, all the input and output
connections for this module can be identified including the connection from
ZNT-SP. In this way, connections from one module to the next can be followed.
DEMO
State-Based Control
The use of FSMs and State Generators eliminates the possibility of conflict in the
logic.
Example - Simple State Devices for a VAV Box with Reheat Application
State
Setpoint/Misc Generation State Output
(Process (Decides which Selection Control
Variable Input) state should run (State Tables) (PID)
- FSM)
Key Points
Data flows from left to right in applications. Inputs are typically connected to
and evaluated by modules in the Setpoint/Miscellaneous column. LV Blocks
are used to return an output value back into the program.
Select the Connections tab in the Features panel to view connections. You
can view various combinations of module connections using the Ctrl key and
the Connections tab buttons.
Methods for establishing state-based control include Finite State Machines
(FSM) and State Selection to determine which FSM or State Generator sets
the control mode
Discussion
Objectives
After completion of this lab, you will be able to:
Requirement
Computer with CCT and the Rooftop.caf file.
Estimated Time
This exercise will take about 15 minutes to complete.
Q3 How many unique Source modules send data to the Unocc Status Determination module?
Q5 How many Input Source Modules does this State Table use?
Q6 Is there an Output connection from the State Table to the Proportional Cooling Control
module?
Q11 Since CLGOCC-SP is not connected to anything, what is its Present Value?
Q12 How many modules receive a value from the EFFCLG-SP Output connection?
Answers
Q3 How many unique Source modules send data to the Unocc Status Determination module?
Q5 How many Input Source modules does this State Table use?
Ans. 11
Q6 Is there an Output connection from the State Table to the Proportional Cooling Control module?
Ans. Yes
Ans. Mode
Ans. 7
Ans. Yes
Ans. Cooling Control Status LV, CLG-O, and Cooling Percent Cmd LV.
Q11 Since CLGOCC-SP is not connected to anything, what is its Present Value?
Q12 How many modules receive a value from the EFFCLG-SP Output connection?
Ans. Three
Objectives
Key Topics
Icons
Input Types
Miscellaneous
Used for the override monitoring feature
Network Inputs
Network Inputs are software objects which hold a value received through the
system (operator or otherwise) and can also be updated by Peer-to-Peer
communications.
There are three data types used in CCT
Boolean
Float
Enum
All are available as Network Inputs:
Boolean: False/True only
Float: Floating point analog values
Enum: 2 or more states
Enumeration Sets are 2 or more states (i.e., Off/On - 2 states, or
Occupied/Unoccupied/Standby - 3 states. Enum set Box Mode has 8 states.) There are many
Enum sets available, and custom sets can be created.
Inputs
Analog Input
Binary Input
NetSensor
Inputs (Cont’d.)
Inputs (Cont’d.)
Right-click New on the Inputs heading and you will get a selection menu of
predefined inputs
The filter is for words that appear in any column
Try typing phrases like “temperature N” to find all temperatures with nickel
elements or “zone temp” to find all zone temperature types
Inputs (Cont’d.)
Binary Inputs are defined by tree selection or added with CCT; they are
primarily used as status Inputs and as accumulator Inputs
Universal Inputs are configured to receive either an analog or binary signal.
Binary Inputs will only accept a binary signal.
Binary Inputs are expected to be dry contact only, no voltage
Polarity, Normal or Reverse, can be set in the object’s detail view
Output Types
Network Outputs
Network Outputs are software objects which hold a value from the program,
potentially to send to the system and can also be used in Peer-to-Peer
communications
Outputs
Outputs (Cont’d.)
Outputs (Cont’d.)
Right-click New on the Outputs heading and you will get a selection menu of
predefined outputs
The Filter is for words that appear in any column
Key Points
Configurable outputs:
Are externally sourced triacs
Triacs require a load and minimum current flow to operate
Can only be voltage type when configured as analog
There are wiring considerations
Universal outputs:
Are externally sourced N-Channel MOSFETs
Will accept 30 VAC or 30 VDC @ 500 mA
Have no minimum current or load requirement
Can be voltage or current when configured as analog
There are wiring considerations
Key Points
Analog outputs:
Analog outputs are defined by tree selection or added with CCT
Analog outputs are normally configured as a 0-100% command
For each output, the span and direction can be configured in the object’s
detail view
Changing Signals
Discussion
Session Overview
This session consists of a PowerPoint presentation of input and output commissioning, an instructor
demonstration, and a lab, which will reinforce concepts from the demonstration.
Objective
After completion of this lab, you will be able to commission the I/O objects of a controller application.
Requirements
1. Computer with CCT software
2. Mobile Access Portal (MAP) or Wireless Commissioning Converter (BTCVT)
3. An FC bus with MS/TP controllers connected to it
Estimated Time
This exercise takes about 45 minutes to complete.
Contents
Activity 1 Hardware Point Commissioning
Activity 2 Commissioning Input Points
Activity 3 Calibrate Analog Input Points
Activity 4 Commissioning Peer-to-Peer Communication
Activity 5 Receiving Device (PCV )
Activity 6 Testing the Application
4. Click Next
5. Locate the PCG at address 5, select it, and You can use the Discovery button to force
click Next another auto-discover.
Note the Boot and Main Code Version The Device Information window contains
the same information as appears in the
Controller Information feature.
Q2 Which mode buttons are available at the top of the screen now?
When in Test Mode and the controller is offline (red Xs), point statuses will display:
in the UI.
9. Select the check box next to Start Test There is no indication that Test Mode is active
Mode. You may have to maximize the except for the check box.
Commissioning Control Bar at the bottom
of the display.
Local commands are now allowed since the
field device is offline to the engine.
When viewing live data in the Commission mode, changing values are highlighted in color. Colored
highlighting is determined by the frequency the value changes. As poll cycles return consistent values,
the highlight fades away.
The intention of this feature is to bring to attention changes across the applications data system, to
expose potential relationships between values and modules, and assist in troubleshooting.
Temporary color highlighting appears in three color stages (blue, yellow, and red). After the third
stage (red), all subsequent consecutive changes continue to display red. For more information on
status color, see Control Tab Status Colors and Icons in Help.
The parameter change color highlighting feature can be turned on or off from the
Commissioning Control Bar.
When Start Test Mode is deselected, all local commands are sent a Restore command.
Hovering the cursor over a point will display point information and signal type.
Outputs that are commanded by the application will be tested as you exercise the control strategy. You
should also manually test any of the outputs that are not commanded by the application.
To adjust the output range of an Analog Output in CCT, double-click the point and edit the
Min Out Value and Max Out Value.
1. Fill in the table below for the Input points Tip: There are various ways to obtain point
(ZN-H is filled in as an example) information:
Hover over the point
Open the Details window
Use the Define Hardware Wizard/Point
Assignment tab
Object Name Description Object Type Attribute Point Type and Signal
Connection
ZN-H Zone Humidity AI NetSensor SAB
DA-T
DA1-P
SF-S
OA-T
Q4 What does the orange color indicate? (Use Help - search for orange.)
You can also check monitor only points for reliability and accuracy. A monitor only point is the one that
is not used by CCT application logic.
2. Find any monitor only points in your CAF file Tip: An easy way to highlight a group of
by selecting all your Inputs modules within a category is to select one
module and type Ctrl + A. This keyboard
shortcut works in many other Windows
programs as well.
3. Select the Connections tab in the Features Points that are not connected to modules in
panel the application are known as monitor only
points.
Q5 Determine which Inputs are monitor only and record your findings below.
1. Locate DA-T on the inputs of the controller Re-enter Commission mode if you have
you are commissioning left it.
2. Hover over the point and record its The icon will identify whether the point is
location and point number: connected directly to a controller or to an PCX
Record the device on the SA Bus.
5. Right-click DA-T and select View Details You will have to wait up to three minutes for
the value to update. Filtering is built into all
controllers.
7. Click Apply and Close If you edit Offset to calibrate points, make
sure you upload the .caf file afterwards to
Did your value change to 1° F higher than save the changes.
what you recorded above?
Using TUNING-RESET
(Read only, there are no exercises to perform.)
The following scenario is an example where TUNING-RESET can regain tuning control very quickly.
Scenario:
A. Construction is still active at the job site.
B. The crew needs airflow so the PCG controlling the AHU is downloaded to get the fan system up and
running.
C. Since the central plant chiller system is not yet operational, there is no water flowing through the AHU’s
cooling coils.
D. The chiller system is not planned to be functional for a few days. During this time, the fan system
toggles between Occupied/Unoccupied to provide air flow for the crew.
E. During this time, the PCG’s automatic tuning features attempt to tune the AHU cooling valve output but
fails because there is no chilled water flowing in the system.
F. The central plant comes online and chilled water becomes available for the cooling coil.
G. The PCG tuning values need to be reset as chilled water is available now. There are two methods
to reset the tuning parameters:
Re-download the original CAF file to the PCG
This is the only fix for CAF files created prior to CCT Rel 5.0
Command the PCG’s TUNING-RESET Network Input point to True
This point is available for CAF files created at CCT Release 5.0+
Within 20 seconds of sending a True command, the PID tuning parameters are back to
original starting values
Re-tuning can take close to half an hour to fully complete
2. Network Inputs will read values from source controllers; therefore, Network Inputs must be defined to
locate a source object. Network Outputs are needed to send data to third party BACnet® devices.
3. Sharing fan status with VAV boxes (this lab will use this application).
This would save engine processing time since you would not have to use a Global Data Sharing object.
Sequence of Operation:
The PCV will have its UNITEN-MODE (Network Input) read the value of the PCG’s SF-S. When SF-S is
On, the PCV ’s UNITEN-MODE will become Enable, while when the SF-S is Off, UNITEN-MODE will
become Shutdown.
4. Notice that the Object Identifier is 1095, You are directing UNITEN-MODE to read the
which is the PCG’s SF-S Input PCG’s SF-S object Present Value.
Object Identifier
5. Click Close
6. Open the file named MASP VAV with The BACnet® ID of the PCG is found in the
OA-T.CAF and click Define Hardware. Define Hardware Wizard.
Select the Network Settings tab.
7. Verify that the source PCG’s BACnet® ID is If necessary, make the changes shown above
the same as the UNITEN-MODE Peer and re-download the controller(s).
Reference in the PCV
Destination Object
Source Object
(Attribute: Peer Reference)
Engine1 Object’s
Device Device Object Device
Point Type and Network Input’s Object Name
Trunk 1 Name BACnet® ID Name Name
BACnet® ID
VAV Box
(to PCV 11)
SF-S
(from PCG5) UNITEN-MODE Unit Enable
Mode controlled by SF-S
10. Set up the training PCG panel as follows: Use the right-side of the training PCG panel to
toggle the SF-S point.
a. Plug the thick gray I/O cable into the large
connector located below the PCG
controller
Start Commission mode of the PCG and
b. Flip the BI3 toggle switch to the right. This confirm that BI3 is changing SF-S.
simulates SF-S in the Off mode.
This will only work if you have the PCG test
kit. If you are using a different setup, you can
wire your own toggle switch into BI3 on the
PCG
1. Open the PCV program and start You may have to move the MAP or
Commission mode BTCVT to a port on the PCV .
Note the current value of UNITEN-MODE.
2. Turn SF-S (BI3) On, left position if you are This is simulates the SF-S Binary Input going
using the PCG test panel. Command the On in the PCG.
point On if you are not using the test
panel. According to the VAV box specification, when
UNITEN-MODE is enabled, the supply
damper (DPR-O) starts to modulate open.
Objectives
Key Topics
An Activity:
Acts as a container for Logic Blocks
Contains logic integral to the module
Stuart Price
Stuart Price is a relatively new technician. In the rest of this module, we follow
Stuart as he uses CCT to add and modify activities. His steps are marked
throughout with red numbers.
Stuart Price
1 Right-click Category
2 Select New
Enter Ac to Filter to
3
Activity Module.
4 Change Count to 3.
6 Click Finish.
Enter Ac to Filter
9 for Activity Inputs
and Outputs.
11 Change Output
Count to 1.
13 Click Finish.
17 Change Count to 1.
18 Click Finish.
4 Select IO Modifications.
6 Change Count to 1.
7 Click OK.
8 Click Close.
Stuart created the average zone temperature logic using a new Module and
logic Blocks.
He could have opted to modify a Standard Module. He knows that a
Standard Module exists that averages two Inputs. Let’s follow his steps this
time as he modifies an existing Standard Module.
He will add a Sideloop Average Inputs Module
and modify it to add the third zone temperature.
Stuart Price
1 Right-click Category
2 Select New
4 Change Count to 1.
6 Click Finish.
9 Select IO Modifications.
11 Change Count to 1.
12 Click OK.
13 Click Close.
Key Points
Discussion
Session Overview
This session consists of a lab designed to allow you to use concepts associated with modifying a
configuration to address the issues outlined in the following scenario. You will change programming to
use the average temperature for a specific classroom in a large school.
Scenario
You are being sent out to the Washington Elementary School where construction has changed the
configuration of one of the classrooms. The room is so large that the specifying engineer has asked for
three sensors in the room at strategic locations, and has specified the average of the three temperatures
be the control process variable when the system is occupied, and the lowest temperature of the three
when it is unoccupied.
When you arrive at the school, the Principal sees you and asks if you are the one making the changes for
the new large classroom and asks if the new average temperature for the room can be displayed on their
FX® UI. You tell him that it is possible and you will make the changes.
Estimated Time
This exercise will take about 60 minutes to complete.
Contents
Activity 1 Modify a Configuration
2. Add two more SA Bus sensors To add SA Bus zone sensors use the
Define Hardware Wizard
(add Zone NetSensors for Zone 2 and Zone 3).
1. Add the averaging module. In the Change the User Name to AVG 3 Zone
Setpoint/Miscellaneous column, add Inputs for this module.
a new Sideloop Average Inputs module.
2. Open the logic view of the The black Output connector is the Default
AVG 3 Zone Inputs module Element. This is the value displayed in the
module during Simulation and while in
Commissioning mode.
5. Add a third Activity Input by expanding You will find the Activity Inputs folder in the
the Activity Inputs folder and dragging an Palette to the left of the logic screen. You
Input (Float) block into the logic. Place it could also Copy and Paste or Duplicate an
below the Zone 2 Input connector. existing Input.
9. Rename the Present Value Output Again, you are helping to document your
Activity Output to Zone Avg Output Value program properly.
10. Select the Select Default Element icon, This value may be already selected. You can
and in the Default Element Selection also right-click anywhere in the logic white
window, select Zone Avg Output Value space and Select Default Element.
11. View → Details for each Activity Input This makes the Inputs and Outputs available
and Output connection and set its BACnet® to read and displayed in the Parameters tab
Exposed attribute to True if the connections are also exposed.
12. Return to Control view after you modify this Click the Control view tab.
logic
1. Select the AVG 3 Zone Inputs module You may need to expand the bottom of the
and select the Connections tab screen.
2. Right-click the Input column header and New Activity Inputs and Outputs are
select Expose Ports. In our example, automatically exposed for connection.
leave all IO ports exposed for connection.
Q1 Can the Activity Inputs and Outputs now be viewed in the Parameters window?
1. Find out where the original NetSensor Since you will be changing these connections,
(ZN1-T) is currently connected. Select it you need to know what they are now. The
and then select the Connections tab easiest way to remember them is by printing
them.
2. Click Save As for this *.caf file before you It is recommended that you rename the file
continue while saving it.
3. View the connections of the first module to In this example, the ZN1-T Output
which the original sensor is currently connections need to be moved to the Output
connected of the AVG 3 Zone Inputs module.
6. Change connections for the remaining It is a good idea to keep going back and
module connections that come from the viewing the original ZN-T connections.
original zone sensor
This is where the original connections PDF file
will be used as a reference to make sure that
you move all the original ZN-T connections to
the Output of the averaging module.
7. Verify that all three zone temperature Use the PDF file to verify that you connected
sensors go into the AVG 3 Zone Inputs everything correctly in the previous steps.
module and that the output of the Average 3
Zone Inputs module goes to the original
module and port connections of ZNT-1
1. Simulate and test your changed If the application is working properly, you can
connections. Verify that the average delete the PDF file you created earlier for
module is working as expected. reference information.
Use the following instructions to help you create logic that matches the specification
4. Connect the three zone temps to it This might be a good time to hide the lines by
right-clicking the line and choosing Hide.
Optionally double-click the numbered circles
and label the lines for clarity.
16. Simulate by changing the OCC-SCHEDULE When Occupied or Standby, you should
Network Input value to ensure that the have the average temperature. In any other
correct values are passed out of this module Mode, you should have the lowest sensor
value.
17. Use the Export Module feature to save this
module for future use in other CCT
programs or to send to others for their use
Answers
Q1 Can these Activity Inputs and Outputs now be viewed on the Parameters tab?
Ans. Yes. Make sure you exposed them to BACnet® within the logic.
Objectives
Key Topics
Key Features
Sideloops
Key Features
Sideloop Options:
Position Feedback can be added to
controlled devices such as valves and
dampers, but this is not common
Let’s see how an Expert uses Sideloops and Sideloop key features.
DEMO
Key Points
Objectives
The Sideloop Wizard in CCT will create a complete control loop, including separate Inputs and Outputs
that are independent of the rest of the application.
In this lab, you will add a Sideloop to control a Variable Speed Drive (VSD) in a simple AHU configuration
and incorporate that VSD control loop into the main application.
Requirement
1. Laptop computer with CCT software
Estimated Time
This exercise will take about 40 minutes to complete.
1. Launch CCT and create a new application The System Selection Wizard does not have
that controls the system using a an option for an airflow station to control the
Single Speed Supply Fan VSD. Therefore, create the program so that
the fan is a constant volume unit. You will use
a Feedback Control Sideloop (AI controlling
an AO) later to control the VSD.
3. Save the file as VAV Air Unit Save your CAF file frequently.
→ Create a Sideloop to Control the Speed of the Fan Based on Velocity Pressure
How do I do it? Helpful Hints and Notes:
1. Click Sideloop
2. Select Feedback Control as the Feedback Control is used when the device
Sideloop type being controlled is analog in nature.
3. For the Input Type select Other This loop will be using velocity pressure as its
Input. The other selections are not applicable.
4. Select Number of Inputs as One This loop looks at one process variable to
control the Output.
5. Select Feedback Control (PI) for the
Control Type
6. Select Reverse Acting for the This loop is Reverse Acting. As the velocity
Control Action pressure (process variable) decreases, the
volume of air delivered (Output of the PID)
must increase.
7. Select Proportional Actuator for the The speed drive will be receiving a
Output Type 0 – 10 VDC signal from the controller.
8. Select Create State Selection to The State Table can be used to force the
Interlock this Side Loop signal to the VSD to various values based on
the state the controller is operating in.
11. After giving the Sideloop a Name, This completes the Sideloop creation.
Click OK
Four new Input and Output points were created that now begin with SL-SF.
4. Using the procedure above, Rename the These names now match the field
following points: designations on the control drawing above.
2. Type Flow Calculation into the Filter The Flow Calculation module will convert
velocity pressure to airflow.
3. Find the module on the list, and change
Count to 1 Imperial units: CFM (cubic feet/minute)
Metric units: L/s (Liters/second)
4. Click Finish
Since the Analog Input is velocity pressure,
we will convert it to airflow before connecting it
to the Sideloop.
5. View the details of the Flow Calculation
module
Pickup Gain 1
Area 7 sq. ft. (0.7 sq. meters)
7. Set the Elevation attribute to the altitude Make sure that you edit this attribute at your
of the city you are currently in job site locations.
Change the Process ID of SL-SF-PI to represent Airflow with the appropriate Process Range.
Process ID to Airflow
2. Click Edit
6. Click OK
→ Connect the Output of the Flow Calculation to the Process Variable of the
SL-SF PI Proportional Output
How do I do it? Helpful Hints and Notes:
5. Click OK
6. Select the State Tables tab The name of the Sideloop Output Control
(Features panel) module is SL-SF PI Proportional Output.
Normal Control
10. Move the SL-SF Override Check and With the Loss of Airflow Sequencing
SL-SF PID Tuning Reset tables above table fully specified, neither SL-SF
the Loss of Airflow Sequencing table so Override Check or SL-SF PID Tuning
they can function properly when needed. Reset tables could gain control of the
Sideloop Proportional Output module if
the Output is Overridden or if loop
tuning needs to be reset unless we move
them up in priority.
11. Change the False state of SL-SF Changing the command for the False state of
Override Check to an asterisk (*) the SL-SF Override Check to an asterisk (*)
allows the Loss of Airflow Sequencing
module to gain control of the Sideloop
12. Click Apply to save your changes module when the Output is not Overridden.
1. Use the Define Hardware Wizard and Take all the defaults.
assign all points to a controller
Q6 What is the actual flow (as represented in the object in the program)?
Answers
Ans. SL-SF SLP-SP, SL-SF Tuning Reset, SL-SF SL-P, and SL-SF SL-O.
Ans. 0 cfm.
Ans. 100%.
Ans. 8884 cfm.(this answer will depend on the elevation setting used)
Ans. 0%
Ans. 100%
Ans. Off.
Ans. 0%.
Objectives
Key Topics
Key Features
Steps
Output not
Input not connected
connected
Use pulldown
menus for
modes
Key Points
Objectives
Key Topics
State Generation Outputs flow into the State Tables State Generation
State Tables
Output Control modules pass signals to the Outputs
Mode
Output Control
Values
Outputs
LV modules allow data to flow from right to left in applications as a way to pass
Output signals back into a program without causing a Circular Redundancy.
For example:
State Generation
State Generation modules often need a lockout
State
value from an Output Control module
State Tables..
Mode
Output Control
Values
LV Block
State Tables..
Mode
Output Control
Values
LV Block
Workflow Process
Identify connections between modules and logic blocks
Connectors: Yellow (Input) / Cyan (Output)
Analyze data flow (use Show Involvement)
Present Value is displayed on the logic view connection lines while in the
Simulator or Commissioning mode
DEMO
Saturation Timers
This example looks at the control of a cooling valve. Every loop has these
Saturation Timer components.
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
Overridden Ctrl Status Ctrl Status
Constant Valve
Constant Overridden
Ctrl Status
Overridden Click each type of control status
to learn more about it.
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
Normal Ctrl Status Ctrl Status
PV Valve
Mode = Control - Control Status changes to Normal for at least one execution cycle of the PID and
remains as Normal as long as the Output is > 0 and < 100. This tells the Zone Sequencing module
that the system is now in cooling and prevents a immediate state change to any other mode.
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
Timing High Ctrl Status Ctrl Status
PV Valve
Mode = Control – Control Status changes to Timing High when the PID Output hits 100%. The
Timing High Control Status is not used in most sequences, but it indicates that the valve is fully open
and we are waiting for the Saturation Timer to expire.
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
High Ctrl Status Ctrl Status
PV Valve
Mode = Control - Control Status changes to High when the PID Output stays at 100% beyond the
duration of the Saturation Timer. This status is not used in standard sequences, but it could be used in
logic to initiate some other action.
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
Normal Ctrl Status Ctrl Status
PV Valve
Mode = Control – Control Status changes back to Normal when the PID Output drops below 100%.
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
Timing Low Ctrl Status Ctrl Status
PV Valve
Mode = Control - Control Status changes to Timing Low when the PID Output reaches 0%. This
holds the state as is for the duration of the Saturation Timer.
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
Low Ctrl Status Ctrl Status
PV Valve
Mode = Control - Control Status changes to Low when the PID Output is at 0% and the Saturation
Timer has expired. Normally this mode will change after only one execution cycle - Control Status will
almost instantly switch from Low to Overridden.
Saturation Timers
100% 100%
Overridden Normal Timing High High Normal Timing Low Low Overridden
LV Module
Overridden Ctrl Status Ctrl Status
PV Valve
Key Points
Discussion
Objectives
Key Topics
Logic Diagrams
Logic Blocks
Logic Blocks Palette Categories
Selected Logic Blocks
Logic Diagrams
Selected Blocks
Boolean—Supervisor
Status
Calculation—Span
Selection—MUX
Calculation—EWMA
Timing—Timer
Boolean— Calculation—
Calculation—Span Selection—MUX Timing—Timer
Supervisor Status EWMA
Boolean—Supervisor Status
If the controller is mapped to a supervisory device and communication is valid,
this block’s Output = True
If communication is lost, the block Output = False
Can be used for switching to local control in a network failure
Boolean— Calculation—
Calculation—Span Selection—MUX Timing—Timer
Supervisor Status EWMA
Calculation—Span
The Span block creates a linear Output based on a specific value on the Input
In this example, the hot water setpoint will ramp from 190º F to 130º F as the outdoor
air temperature changes from 0º F through 60º F.
Boolean— Calculation—
Calculation—Span Selection—MUX Timing—Timer
Supervisor Status EWMA
Selection—MUX
The MUX (Multiplexer) blocks are selected based on the data type of the
MODE and Inputs and Outputs
For example, when switching the setpoint of discharge air temperature from a fixed value
to a resetting value with a schedule, you would use a MUX with an Enum Mode
(schedules are enumerated data) and Float I/O (setpoints are floating data).
Boolean— Calculation—
Calculation—Span Selection—MUX Timing—Timer
Supervisor Status EWMA
Selection—MUX
Right-click a MUX block and select View → Details to determine which Input
is sent through for a given value on the Mode connection
In this example, Input 2 passes through when the schedule is Occupied, and
Input 1 is passed for all other Mode states.
Boolean— Calculation—
Calculation—Span Selection—MUX Timing—Timer
Supervisor Status EWMA
Calculation—EWMA
Exponential Weighted Moving Average (EWMA) calculates a difference
between two Inputs over a time period, with the most recent changes weighted
as the most important.
Here is an example with changes over a five minute period. Notice how the EWMA
Output changes when no Input changes occur. Eventually, the EWMA will equal the
difference between the Inputs if no change occurs.
1 Minute
3 Minutes
Boolean— Calculation—
Calculation—Span Selection—MUX Timing—Timer
Supervisor Status EWMA
Timing—Timer
1. Timer blocks are configured for the function they perform. There are nine
different Timer types
2. The Duration of a Timer can be exposed and brought out to the network
3. Rename Timers to
indicate their Duration 3
1 2
Key Points
1. The Activity Inputs Folder contains how many different types of Input
Blocks?
a. 1
b. 2
c. 3
d. 4
2. Which of the following blocks would you expect to find in the Boolean
folder?
a. MUX blocks
b. And and Or blocks
c. Add, Subtract and Multiply blocks
d. Activity Input blocks
Discussion
Objectives
Key Topics
Timers Overview
Timers
Timer Functions
Breakout Session
Timers Overview
Boolean Logic
Boolean-to-Enum translator
Enum-to-Boolean Converts False/True (Boolean)
translator to Off/On (Enum)
Converts Off/On
(Enum) to False/True
(Boolean)
Activity Output
Enum Type
Activity Input
Enum Type
In many applications, you will have Timers that function as Minimum On,
Off Delay, Pulse, etc.
Multiple timing functions are available from the Timer block
For example:
When a fan is switched On, wait before a pump starts
Be sure that a pump is Off for a certain period of time before starting it again,
preventing short cycling
To see how a Timer is
configured, select it and
right-click View → Details
Timer Functions
The type of Timer is displayed by default as the name of the Timer block and
can be edited
Add the duration of the timer to the name.
Reset is an optional Input. To use it:
1. Right-click the Timer
2. Select Expose Ports For Connection
Anytime Reset is True, the Timer Output
is False.
(Reset has no effect when the setup is
Minimum On or Minimum Off.)
Time Remaining indicates the time until expiration. The Time Remaining
Update Interval must be greater than 0 seconds for this to function.
Timer blocks only allow Boolean Input and Output connections. CCT will
automatically add Enum-Boolean and Boolean-Enum translators if the
connections to and from a Timer are 2 state Enum.
Breakout Session
What Timer block types would you expect to be used in this sequence? Draw an
overview of the logic on paper.
Spend a few minutes in a breakout session and consider how to implement this
logic
Key Points
In many programs you will have Timers that function as Minimum On,
Off Delay, Pulse, etc. and multiple timing functions are available in the
Timer block
The functions within a Timer include:
On Delay Retriggerable Pulse
On Delay With Memory Free Running
Off Delay, Minimum On Pulse
Minimum Off Cancelable Pulse
Chat
Objectives
Key Topics
The MUX block is used often and serves as a switch when there are multiple
Inputs and only one Output.
Customize the
attributes by
selecting the Edit
button
Check the IO
Modifications box
to add or delete
Inputs
When adding Inputs choose how many you want to add then rename them using the
Edit feature.
Click Edit, then Click each Input button to select a Mode or Modes that will
cause the MUX to pass that Input’s data
Key Points
The MUX block is used often and serves as a switch where there are multiple
Inputs and only one Output
To configure a MUX, double-click the block. When in Simulation or
Commissioning mode, double-clicking the MUX only allows a change to
Default Values.
When adding Inputs, choose how many you want to add then rename them
using the Edit feature.
Discussion
Objectives
Key Topics
Feedback Loops
PRAC and PID
State-Based Control
Feedback Loops
Feedback Loops
State-Based Logic
Thomas has been working with CCT for a while. He is developing a baseline
understanding of the feedback control algorithms.
He knows that feedback control is based on a patented Proportional Integral
Derivative (PID) algorithm — Pattern Recognition Adaptive Control (PRAC+),
and that Proportional Band and Integral Time values
are automatically calculated by PRAC+.
Thomas Bruce
DEMO
The Process ID identifies the type of loop and subsequent starting values for
the Pre-Processor connected to the PID
There is not a Process ID for every possible type of HVAC application, but CCT picks
something as close as possible. You can select a Custom Process ID, but be very
careful with this option as you will have to populate starting values. To find the latest
Process ID table, use Help and search for “Appendix.”
Maximum Flow
Smooth Factor
Flow Setpoint
400
300
200 Setpoint
0 2 4 6 8 10 12
Time (minutes)
300 Pascals = 1.2” wc
1. What is PRAC+?
a. A self-tuning method to calculate
Effective Proportional Band
and Effective Integral Time
b. A process used to speed up
control responses
c. The time required for a Process
Variable to begin to change
based on a step change in the
Output
d. The time required for a Process
Variable to reach 63% of its
Process Range for a 100%
change in the Output
Key Topics
Control Implementation
State-Based Control
State-Based Control
Basic Data Flow
Example
Thomas Bruce
State
Setpoint/Misc Generation
Output
{Process (decides which State
Control
Variable Input} state is active) Selection
{PID}
{Finite State
Machine}
Satisfied
Heating Cooling
Minimum
Modulate Modulate
flow;
heating cooling
no heating
State selection is input on the Mode connection: Off (no humidity control) or
H Control (humidity control)
The Command Hierarchy block outputs the desired state
If commanded to H Control, humidifier PID logic will control the humidification
loop to add moisture. Otherwise, the Off layer of logic disables humidification
Hold mode in an Output Control passes the value of the Output (4)
unchanged when not Overridden, and the Override value (7) if it is
Overridden.
Key Points
All systems using feedback loops in the controller invoke PRAC+, a predictive
and adaptive control system
Feedback control is based on patented algorithms — Pattern Recognition
Adaptive Control (PRAC+), and Proportional Band and Integral Time
values are automatically calculated by PRAC+
PID logic with PRAC+ always contains a PID block, PID Pre-Processor block
and sometimes a Lead Compensator block
State-based control includes Finite State Machines (FSM) and
State Generators
Overriding an Output can cause a PRAC+ PID to mistune
The Tuning-Reset Network Input is used to place
all PRAC+ loops back at their Process ID Default Values
Metas
Al final del laboratorio, puedes:
Comprender las conexiones entre los bloques lógicos CCT.
Requisito
Computadora con software CCT.
1. Launch CCT
Zone Items:
➢ Zone Temperature Sensor (AI)
7. Clickea en Next
8. Clickea en Finish