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 Connecting blocks using wired connections Finally it is time to connect the blocks. 1. From the Blocks menu, choose Wire. The cursor changes to a crosshair (✛) inthedesignspace. 2. Hold the cursor over the output port of the Equip Rm Space Temp input block. The cursor changes from a simple cross-hair to a crosshair with a square (Figure 24). This change in the cursor indicates that a connection may be made. Note: You may start wires on any block-input or -output port or on an existing wire. However, you cannot end a connection on a wire if that wire originates on another wire. Figure 24: Cursor in wire mode over a valid connection 3. Click on the output port of the Equip Rm Space Temp input block. A solid line appears between the connection point and the cursor. Note: A solid wire between blocks represents analog data being passed. A dotted wire between blocks represents binary data being passed. 4. Move the cursor to the input port of the Equip Rm Fan On/Off binaryoutput block. The cursor changes to indicate an invalid connection because you are trying to connect an analog wire to a binary-output inputport(Figure25). Note: An analog-output port cannot be connected to a binary-input port, and a binary-output port cannot be connected to an analog-input port. Figure 25: Cursor in wire mode on an invalid connection 24 CNT-APG001-EN

® Saving a program 5. Move the cursor and click on the upper input port of the Greater Than block. The wired connection is complete (Figure 26). Figure 26: Analog wired connection Analog wire 6. Click on the output port of the 85.0 constant block. Move the cursor and click again to create a bend in the wire. Click again to create another bend in the wire. 7. Click on the lower input port of the Greater Than block. 8. Click on the output port of the Greater Than block and connect it to the input port of the Equip Rm Fan On/Off binary-output block. The program is complete (Figure 27). Note: While drawing a wire, press the right mouse button (right-click) to cancel the wire. Figure 27: Completed Equip Room Exhaust Fan program Binary wire Saving a program Now that the program is complete, it is a good idea to save it. To save a program: 1. From the File menu, choose Save. The Save As dialog box appears. TheSaveAslocationdefaultstothec:\tgp\customfolder.Thisisa great place to save all of your custom TGP programs. 2. IntheFilenamefield,type: Exhaust Fan 3. Click Save. The graphical program file is saved. All files are saved with a file extension of *.tgp, which denotes the file as a Tracer graphical program. CNT-APG001-EN 25

®<br />

Saving a program<br />

5. Move the cursor and click on the upper input port of the Greater Than<br />

block. The wired connection is complete (Figure 26).<br />

Figure 26: Analog wired connection<br />

Analog wire<br />

6. Click on the output port of the 85.0 constant block. Move the cursor<br />

and click again to create a bend in the wire. Click again to create<br />

another bend in the wire.<br />

7. Click on the lower input port of the Greater Than block.<br />

8. Click on the output port of the Greater Than block and connect it to<br />

the input port of the Equip Rm Fan On/Off binary-output block. The<br />

program is complete (Figure 27).<br />

Note:<br />

While drawing a wire, press the right mouse button (right-click)<br />

to cancel the wire.<br />

Figure 27: Completed Equip Room Exhaust Fan program<br />

Binary wire<br />

Saving a program<br />

Now that the program is complete, it is a good idea to save it.<br />

To save a program:<br />

1. From the File menu, choose Save. The Save As dialog box appears.<br />

TheSaveAslocationdefaultstothec:\tgp\customfolder.Thisisa<br />

great place to save all of your custom TGP programs.<br />

2. IntheFilenamefield,type:<br />

Exhaust Fan<br />

3. Click Save. The graphical program file is saved.<br />

All files are saved with a file extension of *.tgp, which denotes the file<br />

as a <strong>Tracer</strong> graphical program.<br />

CNT-APG001-EN 25

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

Saved successfully!

Ooh no, something went wrong!