28.09.2014 Views

Applications Guide Tracer Graphical Programming - Trane

Applications Guide Tracer Graphical Programming - Trane

Applications Guide Tracer Graphical Programming - Trane

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

®<br />

Simplifying the program with an Or block<br />

Figure 44: ProgramwithSwitchblockconnectedcorrectly<br />

4. Compile the program. No errors should appear.<br />

5. From the File menu, choose Save As to save the program under a new<br />

name.<br />

The program illustrated in Figure 44 completely fulfills the sequence of<br />

operation. The Deadband block compares the Equip Rm Space Temp and<br />

the Equip Rm Temp Setpoint and turns the fan on and off as required. If<br />

the Equip Rm Space Temp input fails, the Equip Rm Alarm indicates the<br />

failure and the fan remains on.<br />

SimplifyingtheprogramwithanOr<br />

block<br />

Logic blocks perform basic logic operations. The Or block may be used as<br />

a simpler alternative to the Switch block in the Exhaust Fan program.<br />

UsetheOrblocktocheckthelogicoftheFailblockandtheDeadband<br />

block. If either the Fail block is true or the Deadband block is true, the<br />

Equip Rm Fan On/Off output is true (on).<br />

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

Keep programs as simple as possible.<br />

To simplify the program with an Or block:<br />

1. Delete the Switch block.<br />

2. Delete the ON constant block.<br />

3. From the Blocks menu, choose Logic. From the Logic menu, choose<br />

Or.<br />

4. Click in the design space to place the Or block where the Switch block<br />

used to be.<br />

5. Connect the wire leaving the Fail block to the upper input port of the<br />

Or block.<br />

6. Connect the output port of the Deadband block to the lower input port<br />

of the Or block.<br />

CNT-APG001-EN 41

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

Saved successfully!

Ooh no, something went wrong!