Applications Guide Tracer Graphical Programming - Trane
Applications Guide Tracer Graphical Programming - Trane Applications Guide Tracer Graphical Programming - Trane
® Programming best practices Figure 187: Checking the space temperature input for failure Consider input failures when writing programs. As in the programmable control module (PCM) and the universal PCM (UPCM), consider failure scenarios in your programs. For example, what should happen if the mixed air temperature sensor fails on an air-handling unit? Checking for failures is easy using the Fail block (Figure 187). Note: The Fail block can check either hardware inputs for failure or communicated (network variable) inputs for invalid values. Write to variables only once in a program. Prevent potential conflicts by writing to variables only once in a program. Also, be careful when writing to the same variable from multiple programs. You must consider which program will determine the final value for the variable. Control outputs only once in a program. You can prevent potential problems by writing to an output only once per program. Also, be careful when controlling a single output from multiple programs. If you are watching a binary output turn off, then on, then off again, and so on but you know that it should remain on, take a look at the status of the output in the Rover service tool. If you see that the control source is alternating between two different programs, the problem is that the output is controlled in two programs. 230 CNT-APG001-EN
® Programming best practices Figure 188: Using wireless connections Read input values, including variables and the status of outputs, only once in any program. There are two reasons to read input values only once in a program: • The program runs more efficiently. Every time a program reads the value of an input, output, or variable, the program must access the internal database of the Tracer MP580/581 controller. This process consumes time. • Inthefuture,youwillbeabletosimulategraphicalprograms.This will look a lot like debug mode; however, you will be able to run the program offline and enter values for each input. The fewer inputs, outputs, and variables that you read, the fewer values that you will be required to supply in simulation mode. The wireless connection is a tool that makes this practice easy to follow. Use wireless connections to propagate values of inputs throughout the program, as shown in Figure 188 for the space temperature input. Analog input Wireless write connection Wireless read connection CNT-APG001-EN 231
- Page 204 and 205: ® Chapter 7 Constant-volume AHU ex
- Page 206 and 207: ® Chapter 7 Constant-volume AHU ex
- Page 208 and 209: ® Chapter 7 Constant-volume AHU ex
- Page 210 and 211: ® Chapter 7 Constant-volume AHU ex
- Page 212 and 213: ® Chapter 7 Constant-volume AHU ex
- Page 214 and 215: ® Chapter 8 Constant-volume AHU wi
- Page 216 and 217: ® Chapter 8 Constant-volume AHU wi
- Page 218 and 219: ® Chapter 8 Constant-volume AHU wi
- Page 220 and 221: ® Chapter 8 Constant-volume AHU wi
- Page 222 and 223: ® Chapter 8 Constant-volume AHU wi
- Page 224 and 225: ® Chapter 8 Constant-volume AHU wi
- Page 226 and 227: ® Chapter 8 Constant-volume AHU wi
- Page 228 and 229: ® Chapter 8 Constant-volume AHU wi
- Page 230 and 231: ® Chapter 8 Constant-volume AHU wi
- Page 232 and 233: ® Chapter 8 Constant-volume AHU wi
- Page 234 and 235: ® Chapter 8 Constant-volume AHU wi
- Page 236 and 237: ® Chapter 8 Constant-volume AHU wi
- Page 238 and 239: ® Chapter 8 Constant-volume AHU wi
- Page 240 and 241: ® Chapter 8 Constant-volume AHU wi
- Page 242 and 243: ® Chapter 8 Constant-volume AHU wi
- Page 244 and 245: ® Chapter 8 Constant-volume AHU wi
- Page 246 and 247: ® Chapter 8 Constant-volume AHU wi
- Page 248 and 249: ® Chapter 8 Constant-volume AHU wi
- Page 250 and 251: ® Chapter 8 Constant-volume AHU wi
- Page 252 and 253: ® Programming best practices Set t
- Page 256 and 257: ® Programming best practices Use c
- Page 258 and 259: ® Programming best practices 234 C
- Page 260 and 261: ® Summary-question answers Figure
- Page 262 and 263: ® Summary-question answers Figure
- Page 264 and 265: ® Summary-question answers Figure
- Page 266 and 267: ® Summary-question answers closed
- Page 268 and 269: ® Summary-question answers Figure
- Page 270 and 271: ® Summary-question answers Figure
- Page 272 and 273: ® Summary-question answers PROGRAM
- Page 274 and 275: ® Index dehumidification, 166-169,
- Page 276: Trane An American Standard Company
®<br />
<strong>Programming</strong> best practices<br />
Figure 188: Using wireless connections<br />
Read input values, including variables and the status of<br />
outputs, only once in any program.<br />
There are two reasons to read input values only once in a program:<br />
• The program runs more efficiently. Every time a program reads the<br />
value of an input, output, or variable, the program must access the<br />
internal database of the <strong>Tracer</strong> MP580/581 controller. This process<br />
consumes time.<br />
• Inthefuture,youwillbeabletosimulategraphicalprograms.This<br />
will look a lot like debug mode; however, you will be able to run the<br />
program offline and enter values for each input. The fewer inputs,<br />
outputs, and variables that you read, the fewer values that you will be<br />
required to supply in simulation mode.<br />
The wireless connection is a tool that makes this practice easy to follow.<br />
Use wireless connections to propagate values of inputs throughout the<br />
program, as shown in Figure 188 for the space temperature input.<br />
Analog input<br />
Wireless write connection<br />
Wireless read<br />
connection<br />
CNT-APG001-EN 231