Applications Guide Tracer Graphical Programming - Trane

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

28.09.2014 Views

® Chapter 3 Modifying the exhaust fan program 5. Add a comment below the Deadband block indicating its mode for documentation purposes (Figure 34). Figure 34: Program with Deadband block Deadband block Adding a variable In the first version of the Exhaust Fan program, you used a constant value as the temperature setpoint. In this scenario the operator must be able to adjust the setpoint using the operator display. Use an analog variable to incorporate this functionality. For more information on using constants and variables, see “Constants and variables” on page 19. ➤ Reading from and writing to a variable using the variable block Read and write privileges depend on the selected variable and its source. Read refers to the ability of a program to know the value of the variable. On the other hand, write refers to the ability of a program to change the value of a variable. Table 4 summarizes the rules regarding reading from and writing to variables in graphical programming. See the Tracer MP580/581 Programmable Controller Programming guide (CNT-SVP01A-EN) for more information about variables and control sources. Table 4: Variable block read or write rules for each control source Source Read Write Program X X Tracer Summit X Operator display/service tool X Operator display/service tool and program X X To add a variable: 1. Move the 85.0 constant block and the Equip Rm Temp Setpoint comment down to make space for a variable block. 2. From the Blocks menu, choose Input/Output. From the Input/Output menu, choose Variable. 34 CNT-APG001-EN

® Adding a deadband 3. Click in the design space to place the Variable block between the Equip Rm Space Temp input block and the 85.0 constant block. 4. Double-click on the block to set the properties. The Variable Properties dialog box appears (Figure 35). Figure 35: Variable Properties dialog box 5. Under Type, click the Analog option to set the variable as an analog variable. 6. Under Source, click the Operator Display/Service Tool option. 7. In the Name list, click Equip Rm Temp Setpoint. 8. Under Block, click the Read option. Because the Equip Rm Temp Setpoint variable source is the operator display/service tool, it is a read-only variable. 9. Click OK. The Variable block is assigned to the Equip Rm Temp Setpoint value (Figure 36). Figure 36: Equip Rm Temp Setpoint variable block Variable block CNT-APG001-EN 35

®<br />

Chapter 3 Modifying the exhaust fan program<br />

5. Add a comment below the Deadband block indicating its mode for documentation<br />

purposes (Figure 34).<br />

Figure 34: Program with Deadband block<br />

Deadband block<br />

Adding a variable<br />

In the first version of the Exhaust Fan program, you used a constant<br />

value as the temperature setpoint. In this scenario the operator must be<br />

able to adjust the setpoint using the operator display. Use an analog variable<br />

to incorporate this functionality. For more information on using constants<br />

and variables, see “Constants and variables” on page 19.<br />

➤ Reading from and writing to a variable using the variable<br />

block<br />

Read and write privileges depend on the selected variable and its<br />

source. Read refers to the ability of a program to know the value of<br />

the variable. On the other hand, write refers to the ability of a program<br />

to change the value of a variable. Table 4 summarizes the rules<br />

regarding reading from and writing to variables in graphical programming.<br />

See the <strong>Tracer</strong> MP580/581 Programmable Controller <strong>Programming</strong><br />

guide (CNT-SVP01A-EN) for more information about<br />

variables and control sources.<br />

Table 4: Variable block read or write rules for each control source<br />

Source<br />

Read<br />

Write<br />

Program X X<br />

<strong>Tracer</strong> Summit<br />

X<br />

Operator display/service tool<br />

X<br />

Operator display/service tool<br />

and program<br />

X<br />

X<br />

To add a variable:<br />

1. Move the 85.0 constant block and the Equip Rm Temp Setpoint comment<br />

down to make space for a variable block.<br />

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

menu, choose Variable.<br />

34 CNT-APG001-EN

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

Saved successfully!

Ooh no, something went wrong!