Applications Guide Tracer Graphical Programming - Trane

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

28.09.2014 Views

® Chapter 2 Writing the exhaust fan program Figure 12: Program Properties dialog box 2. In the Program Name field, type: EquipRm_ExhaustFan The name may be up to 32 characters in length. Spaces and hyphens are not allowed, and the name cannot begin with a numeral. 3. Type the project name, your name, and your phone number in the appropriate fields. 4. Click the Run Frequency option to run the program at regular intervals. 5. In the Minutes field, type: 1 The program runs once per minute. 6. In the Number of Pages field, type: 1 Theallowablerangeisonetofivepages.Thisisaverysimpleprogram, so start with one page. 16 CNT-APG001-EN

® Adding a block 7. In the Program Description field, type: This program controls the equipment room exhaust fan. The fan turns on when the equipment room temperature is above 85°F. Note: To include the degree (°) symbol, press and hold the Alt key while pressing 0, 1, 7, 6 on the keypad. Then release the Alt key, and the symbol appears. (Alt+0176) 8. Click OK. ➤ Methods of program execution: Run frequency, event trigger, and start-up To select the appropriate method of program execution, ask yourself the following questions: • Is the program required to run at regular time intervals? If so, click the Run Frequency option. Then specify the time interval in hours, minutes, and seconds. • Is the program required to run on demand? If so, use the Event Trigger option to provide the program with a reference, which you specify, to a universal input configured as a binary input or to a binary variable. When the binary input or variable changes state, the program runs. (If the trigger direction, off to on or on to off, is a concern, you will have to add logic to another program to check it.) • Is the program required to run only when the Tracer MP580/581 powers on? In this case, click the Start-up option. Adding a block For the program, start with an Input block to access the space temperature hardware input. Input blocks pass data into the program from hardware universal inputs. To add a block: Programming tip: Place input blocks on the left and output blocks on the right so that your program reads from left to right. 1. From the Blocks menu, choose Input/Output. From the Input/Output menu, choose Input (Hardware). The cursor changes to a cross-hair (✛) when over the design space. 2. Click in the design space to place the block. The block appears at the cursor location in the design space (Figure 13 on page 18). CNT-APG001-EN 17

®<br />

Adding a block<br />

7. In the Program Description field, type:<br />

This program controls the equipment room exhaust fan. The fan<br />

turns on when the equipment room temperature is above 85°F.<br />

Note:<br />

To include the degree (°) symbol, press and hold the Alt key<br />

while pressing 0, 1, 7, 6 on the keypad. Then release the Alt<br />

key, and the symbol appears. (Alt+0176)<br />

8. Click OK.<br />

➤ Methods of program execution: Run frequency, event trigger,<br />

and start-up<br />

To select the appropriate method of program execution, ask yourself<br />

the following questions:<br />

• Is the program required to run at regular time intervals? If so,<br />

click the Run Frequency option. Then specify the time interval in<br />

hours, minutes, and seconds.<br />

• Is the program required to run on demand? If so, use the Event<br />

Trigger option to provide the program with a reference, which you<br />

specify, to a universal input configured as a binary input or to a<br />

binary variable. When the binary input or variable changes state,<br />

the program runs. (If the trigger direction, off to on or on to off, is<br />

a concern, you will have to add logic to another program to check<br />

it.)<br />

• Is the program required to run only when the <strong>Tracer</strong> MP580/581<br />

powers on? In this case, click the Start-up option.<br />

Adding a block<br />

For the program, start with an Input block to access the space temperature<br />

hardware input. Input blocks pass data into the program from hardware<br />

universal inputs.<br />

To add a block:<br />

<strong>Programming</strong> tip:<br />

Place input blocks on the left and output blocks on the right so<br />

that your program reads from left to right.<br />

1. From the Blocks menu, choose Input/Output. From the Input/Output<br />

menu, choose Input (Hardware). The cursor changes to a cross-hair<br />

(✛) when over the design space.<br />

2. Click in the design space to place the block. The block appears at the<br />

cursor location in the design space (Figure 13 on page 18).<br />

CNT-APG001-EN 17

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

Saved successfully!

Ooh no, something went wrong!