Applications Guide Tracer Graphical Programming - Trane

Applications Guide Tracer Graphical Programming - Trane Applications Guide Tracer Graphical Programming - Trane

28.09.2014 Views

® Programming best practices Set the program properties before you begin to write a new program. Setting the program properties when starting a new program prevents some common mistakes, such as downloading a program with the wrong name or run frequency. In the TGP editor, choose Program Properties from the File menu (or right-click in the design space and select Properties) to access the Program Properties dialog box (Figure 185). Note: Program frequency affects the operation of the following blocks: • PID • Latch • Delay on Start • Delay on Stop • Feedback Alarm Figure 185: Program properties 228 CNT-APG001-EN

® Programming best practices Place input blocks on the left and output blocks on the right so that your program reads from left to right. Place inputs to the program on the left side of the design space and outputs of the program on the right side to make a consistent program format (Figure 186). When other people open your program, they will know what to expect. The programs will be easier to read because they will all be organized in the same way. Note: In this context, inputs and outputs of the program also include local variables, Tracer Summit variables, network variable inputs, and network variable outputs. Figure 186: Inputs on the left, outputs on the right Set the properties of each block as you place it in the program. Many blocks have properties that you can edit to further define the block. To be a more efficient programmer, set the properties for each block as you place it in the program. This practice is especially important for blocks that can be set as analog or binary because the connections between blocks are dependent on the data type: analog or binary. Note: The properties dialog box for each block varies considerably depending on the options available for that block. A few blocks have no editable properties. CNT-APG001-EN 229

®<br />

<strong>Programming</strong> best practices<br />

Set the program properties before you begin to write a new<br />

program.<br />

Setting the program properties when starting a new program prevents<br />

some common mistakes, such as downloading a program with the wrong<br />

name or run frequency. In the TGP editor, choose Program Properties<br />

from the File menu (or right-click in the design space and select Properties)<br />

to access the Program Properties dialog box (Figure 185).<br />

Note:<br />

Program frequency affects the operation of the following blocks:<br />

• PID<br />

• Latch<br />

• Delay on Start<br />

• Delay on Stop<br />

• Feedback Alarm<br />

Figure 185: Program properties<br />

228 CNT-APG001-EN

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!