Applications Guide Tracer Graphical Programming - Trane

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

28.09.2014 Views

® Chapter 4 Cooling tower with two-speed fan example Writing the sump heater module Take another look at the part of the sequence of operation dealing with control of the sump heater. Cycle the sump heater if the sump temperature falls below 40°F (this value is adjustable at the operator display). If the outdoor air temperature falls below 32°F, turn on the sump heater continuously. The programming elements required to accomplish this task, including the following: • Use a deadband to cycle the sump heater under normal operating conditions. A deadband prevents excessive heater cycling. • Use a comparison to keep the sump heater on continuously when the outdoor air temperature is below the freezing point. Adding the input blocks Begin by adding blocks to represent the inputs to this part of the program. Adding wireless connections YouusedSumpTempandOutdoorAirTempinthealarmsmodule. Instead of adding these blocks again or trying to connect to them from another module, use wireless connections. ➤ Connecting blocks using wireless connections Use wireless connections to pass data from block to block when wired connections are impractical. In general, it is good programming practice to use an input in a program only once. By doing so, you will have an easier time debugging your program. By using the wireless connection, you can also prevent long and overlapping wired connections that are difficult to follow. First create a wireless connection for the Sump Temp input. To add a wireless connection: 1. From the Blocks menu, choose Wireless. The cursor changes to a cross-hair (✛) inthedesignspace. 2. Click in the design space to place a Wireless block. The Wireless Connection Properties dialog box appears (Figure 68 on page 67). 66 CNT-APG001-EN

® Writing the sump heater module Figure 68: Creating Wireless connection block 3. Under Block, click the Write (Create) option to create a Wireless connection block. 4. Under Create, click the Analog option to create an analog connection. 5. In the Name field, type: SumpTemp The name may be up to 16 characters in length. Spaces are not allowed. 6. Click OK. The Wireless write block appears in the design space. 7. Connect the Wireless write block with a wired connection to the Sump Temp input block (Figure 69). Figure 69: Wireless write connection 8. From the Blocks menu, choose Wireless. and click in the design space to place a Wireless block. The Wireless Connection Properties dialog box appears (Figure 70 on page 68). CNT-APG001-EN 67

®<br />

Chapter 4 Cooling tower with two-speed fan example<br />

Writing the sump heater module<br />

Take another look at the part of the sequence of operation dealing with<br />

control of the sump heater.<br />

Cycle the sump heater if the sump temperature falls below 40°F (this<br />

value is adjustable at the operator display). If the outdoor air temperature<br />

falls below 32°F, turn on the sump heater continuously.<br />

The programming elements required to accomplish this task, including<br />

the following:<br />

• Use a deadband to cycle the sump heater under normal operating conditions.<br />

A deadband prevents excessive heater cycling.<br />

• Use a comparison to keep the sump heater on continuously when the<br />

outdoor air temperature is below the freezing point.<br />

Adding the input blocks<br />

Begin by adding blocks to represent the inputs to this part of the program.<br />

Adding wireless connections<br />

YouusedSumpTempandOutdoorAirTempinthealarmsmodule.<br />

Instead of adding these blocks again or trying to connect to them from<br />

another module, use wireless connections.<br />

➤ Connecting blocks using wireless connections<br />

Use wireless connections to pass data from block to block when wired<br />

connections are impractical. In general, it is good programming practice<br />

to use an input in a program only once. By doing so, you will have<br />

an easier time debugging your program. By using the wireless connection,<br />

you can also prevent long and overlapping wired connections<br />

that are difficult to follow.<br />

First create a wireless connection for the Sump Temp input.<br />

To add a wireless connection:<br />

1. From the Blocks menu, choose Wireless. The cursor changes to a<br />

cross-hair (✛) inthedesignspace.<br />

2. Click in the design space to place a Wireless block. The Wireless Connection<br />

Properties dialog box appears (Figure 68 on page 67).<br />

66 CNT-APG001-EN

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

Saved successfully!

Ooh no, something went wrong!