LogicBuilder v4
LogicBuilder v4
User's Guide
Automated Logic Corporation • 1150 Roberts Blvd. • Kennesaw, GA 30144 • 770/429-3000 • Fax 770/429-3001 •
www.automatedlogic.com • © 2008 Automated Logic Corporation. All rights reserved throughout the world. Automated Logic
Corporation, the Automated Logic logo, WebCTRL, EIKON, BACview, SuperVision, and InterOp are registered trademarks, and Alert is a
®
trademark of Automated Logic Corporation. BACnet is a registered trademark of ASHRAE. All other brand and product names are
trademarked by their respective companies.
Contents
What is EIKON® LogicBuilder?................................................................................................................. 1
Getting to know EIKON® LogicBuilder....................................................................................................... 2
Determining the control program type ....................................................................................................... 4
Normal for all control modules except U line or ZN line .................................................................... 4
UNI for U line control modules ........................................................................................................ 5
ZN for ZN line control modules ........................................................................................................ 6
Developing the logic ................................................................................................................................ 8
To begin a control program ............................................................................................................. 8
To place microblocks ...................................................................................................................... 9
To draw wires and labels ................................................................................................................. 9
To view errors ............................................................................................................................... 11
To add text ................................................................................................................................... 11
To add lines and shapes ............................................................................................................... 12
To create a custom microblock ..................................................................................................... 13
To select properties for ViewBuilder graphics ................................................................................ 14
Formatting Properties pages .................................................................................................................. 15
To reorder items on the Properties page ........................................................................................ 15
To use the Text microblock to format text ....................................................................................... 16
Editing Properties page text using special characters .................................................................... 18
Formatting a microblock property ................................................................................................. 19
Simulating a control program ................................................................................................................. 23
EIKON® LogicBuilder productivity tools .................................................................................................. 25
To create and use symbols ............................................................................................................ 25
To use EquipmentBuilder .............................................................................................................. 26
To compare properties of multiple microblocks ............................................................................. 26
To find a microblock or label ......................................................................................................... 27
To find identical labels ................................................................................................................. 27
To show a logical path .................................................................................................................. 27
To show a wire's source microblock .............................................................................................. 27
To use custom alarm and schedule categories ......................................................................................... 28
Miscellaneous EIKON® LogicBuilder menu commands ............................................................................ 29
Working with control programs created in the EIKON® for WebCTRL application ......................................... 30
Index ................................................................................................................................................... 32
What is EIKON® LogicBuilder?
The EIKON® LogicBuilder application creates control programs to control equipment, from single
pieces of equipment to complex energy management functions.
You build control programs using individual blocks of programming code called microblocks. You
determine the properties for each microblock and connect the microblocks with graphical wires to
create a sequence of operation.
A control program is assigned to a piece of equipment in SiteBuilder, then the WebCTRL® application
downloads it into the control module that will directly control and monitor the equipment. You can
change editable properties and view noneditable properties of control programs through the
WebCTRL® interface.
The typical procedure for creating a control program includes the following steps:
1 Determine the control program type (page 4).
2 Develop the logic (page 8).
3 Format Properties pages (page 15).
4 Simulate the control program (page 23).
Or, you can use EquipmentBuilder (page 26) to generate a control program and, optionally, the
corresponding equipment graphic.
TIPS
• If the Property Editor is not visible, double-click an object in the workspace.
• You can use the Property Editor as a free-standing window, or you can select Options > Dock
Property Editor to dock it in the EIKON® LogicBuilder window.
• Keyboard shortcuts are shown beside their corresponding commands in the menus.
• Press Ctrl + an arrow key to nudge selected objects. Press Shift+Ctrl while using the arrow keys to
increase the size of the nudge.
• Click to undo 1 action, or click the drop-down arrow next to it to undo multiple actions at one
time. Click or its drop-down arrow to redo actions. The number of actions you can undo or redo
depends on the size of your computer's memory.
• The workspace size has no limit.
• Press Home to position the upper left corner of the workspace in the upper left corner of the
window.
• Press End to jump to the bottom of the control program.
• Use the arrow keys or your mouse's scroll wheel to scroll through the workspace.
NOTES
• Each Time Clock microblock in a control program must have a unique schedule category.
• The setpoint microblock's cooling setpoint must be wired to a PID Direct Acting microblock.
• The setpoint microblock's heating setpoint must be wired to a PID Reverse Acting microblock.
• Set time delay functions and trend intervals to at least 1 minute because U line control
modules do not support time-critical applications.
• To use a LogiStat sensor, the control program must have a LogiStat Zone Sensor microblock.
NOTE The U220 does not support any LogiStat sensor.
• For the actuator in a v+ control module to be protected by the control module warranty, the
control program must contain the following microblocks:
○ Zone Controller
○ U-line Airflow Control
• The U220 is designed to handle miscellaneous pieces of equipment such as exhaust fans and
room lighting. In many cases, these applications will not meet the unitary control criteria
required to enable the UNI option. You may use any of the standard U220 zone control
programs in the EquipmentBuilder Library.
• You can download ZN control programs into a UNI. If your control program does not meet UNI
rules, try saving it as a ZN control program.
• If your control program does not meet UNI or ZN rules but is appropriate for a zone control
application, you can get the control program tagged by Automated Logic®. Review Automated
Logic®'s tagging policy
(http://accounts.automatedlogic.com/sales/policy.nsf/7efc5bb11196e87185256b3c00785
ad2/eaffdfa1ccd769d88525735b004e7864!OpenDocument) on the
accounts.automatedlogic.com website, then follow the instructions under "How do I get a
control program tagged?".
NOTES
• Each Time Clock microblock in a control program must have a unique schedule category.
• The Zone Controller microblock provides primary heating and cooling PID control loops. If you
need an additional control loop, you may use one PID microblock, but no more than one.
• To use an RS sensor, the control program must have an RS Zone Sensor microblock.
• To use a basic LogiStat or LogiStat Plus sensor, the control program must have a LogiStat
Zone Sensor microblock or an RS Zone Sensor microblock.
NOTE The ZN220 does not support any LogiStat sensor. Other ZN's do not support the
LogiStat Pro.
• A ZN control program can have a maximum of 200 microblocks (excluding labels, text, and
status microblocks).
• For the actuator in a v+ control module to be protected by the control module warranty, the
control program must contain the following microblocks:
○ Zone Controller
○ Airflow Control
• The ZN220 is designed to handle miscellaneous pieces of equipment such as exhaust fans
and room lighting. In many cases, these applications will not meet the zone criteria required by
to enable the ZN option. You may use any of the standard ZN220 zone control programs in the
EquipmentBuilder Library.
• Tagging:
○ A control program that does not meet the above ZN criteria but is appropriate for a zone
control application can be tagged by Automated Logic® as a ZN control program.
○ Only tagged OCL microblocks can be used in a ZN control program. Get a tagged OCL
microblock from the dealer website. Select Engineering > StdAppLibrary > Standard
Application Library > WebCTRL > ZN551 & ZN253 Zone Applications & OCL Microblocks.
Or, get Automated Logic® to tag your own OCL microblock.
○ Each microblock inside an untagged custom microblock counts against the ZN
200-microblock limit. However, a tagged custom microblock counts as only 1 microblock.
You can use tagged custom microblocks available in some applications in
EquipmentBuilder. Or, get Automated Logic® to tag your own custom microblock.
○ To get a control program, OCL microblock, or custom microblock tagged, review
Automated Logic®'s tagging policy
(http://accounts.automatedlogic.com/sales/policy.nsf/7efc5bb11196e87185256b3c00
785ad2/eaffdfa1ccd769d88525735b004e7864!OpenDocument) on the dealer website,
then follow the instructions under "How do I get a control program tagged?".
• You cannot suppress the logic page for a ZN control program.
NOTES
• Select File > Info to view the File Name, Directory, Date Created, and Date Last Revised. You can
also select a Custom Icon that the WebCTRL® navigation tree will show for the equipment.
• To use °C for setpoint microblocks in a control program, select Options > Metric. If you change the
Metric option for an existing control program, you must delete and reinsert all setpoint
microblocks.
• To make all future control programs use the Metric option by default, select Options >
Preferences, then select the Create new control programs as metric checkbox.
TIPS
• Place all input microblocks on the left side of the workspace and all output microblocks on the
right.
• Arrange microblocks so that logic flows from left to right and the sequence of operation can be
easily followed.
• Hold Ctrl as you move a microblock to detach it from its wire.
• The order of items on a WebCTRL® Properties page is determined by the order in which
microblocks are placed when developing the control program in the EIKON® LogicBuilder
application. Select Reorder > Edit Order to rearrange items on the Properties page.
To add labels
1 Select the Label tool.
2 Move the cursor to the nib of a microblock or to the end of a wire, then click the workspace.
TIP To quickly change the label's direction, press I (for Input label) or O (for Output label) while
moving the label.
3 Type a name in the Label Text field of the Property Editor.
NOTE If the Property Editor is not open, double-click the label.
4 Optional: Change the Direction of the label in the Property Editor.
To view errors
The EIKON® LogicBuilder application checks for errors as you build your control program and indicates
errors with red dots, wires, and boxes.
1 Click in the lower right corner or select Control Program > Errors on the menu bar to view the
errors.
2 Click an error in the list to highlight its location in the workspace.
To add text
Use the Text tool to add descriptive text to the control program.
1 Select the Text tool.
Field Notes
Text Type the comment you want to add to the control program.
Font Select a font. Be sure that all system computers have the font installed.
Size Choose a point size from the drop-down list.
Style Check Bold, Italics, or both.
Foreground Click the color swatch to select the color of the text.
Transparent Check to remove the background color and pattern.
Background
Background Click the color swatch to select the color of the box behind the text.
NOTE To change the default settings for all text that you will add to the control program, select Options
> Palette. Change the settings on the Font tab.
NOTE To change the shape of an existing figure, right-click the figure, then select Edit Shape. Click and
drag a green point to move it.
To arrange figures
1 Select 1 or more figures.
2 Right-click 1 of the figures, then select 1 of the following:
○ Bring Forward
○ Bring to Front
○ Send Backward
○ Send to Back
1 Right-click a microblock in the workspace, then choose Select Properties For Graphics.
2 Check any property whose value you want to display on a graphic.
NOTE To see all properties, clear the checkbox Show properties typically shown on graphics.
3 Optional: To add a comment for a property such as "Do not include units", select the property and
NOTE Select Control Program > Properties For Graphics to see all the properties that you selected in
the control program. In the Comments box, you can type a comment that is not for a specific property.
To delete a property, select it and then click .
In the control program, you can change the way text appears on the Properties page by using a Text
microblock or by editing a microblock's Property Page Text field in the Property Editor.
NOTE If you change a control program after downloading it to the control module, you must:
1 Reload the control program. See "Working with control programs" in WebCTRL® Help.
2 Download the control program. See "Downloading system changes to control modules" in
WebCTRL® Help.
NOTES
• To find a single microblock in the Edit Order dialog box, do one of the following:
○ Right-click the microblock in the workspace, then select Show in Edit Order.
○ In the Edit Order dialog box, click to search for the microblock.
• To edit a microblock's Property Page Text from the Edit Order dialog box, do one of the following:
○ Double-click the microblock.
You must also insert a Text microblock with the Text Type set as Expand
End at the end of the section you wish to group together.
TableBegin To align data in a table, insert a Text microblock with the Text Type set as
TableEnd Table Begin. To complete the table, insert a Text microblock with the Text
Type set as Table End after the last item you want to include in the table.
NOTE When working with a table within an expanded section, make sure
the table begins after the Expand Begin and ends before the Expand End.
TIP If you are adding the Conditional Hide formatting after the control
program has been designed or would prefer to group all of the Text
microblocks within the control program, use the Reorder menu to correctly
place the Text microblocks.
Important Begin These options are currently not used.
Important End
Breakdown of an expression
A colon
Type a colon after the microblock property to add a control.
A space
Type a space after a control statement or a parameter statement.
○ Click to run the simulation continuously until you click to stop it. Set the Time
Increment fields (see table below) to define how fast the simulation will run.
○ Click to run the simulation one step at a time.
○ Click to run the simulation as fast as possible.
5 Click a microblock, then select its Simulation tab to enter values that will help you check the
programming. See NOTES below.
6 Verify that the logic performs the desired sequence of operation.
7 Close the simulation window to return to the workspace.
Field Notes
Calendar Enter the starting Time and Date for the simulation.
Communications Check Communications Ok to simulate normal communication. Uncheck this
field to simulate lost communication.
TIP Set your One Step = shorter than the shortest delay in your control
program to avoid stepping over the delay in the simulation.
NOTES
• For simulation only, decimal values smaller than hundredths are rounded to the nearest
hundredth. For example .025 is rounded to .03.
• The Simulator has the same options as the main EIKON® LogicBuilder workspace for locating
items in the control program. See:
To find a microblock or label (page 27)
To find identical labels (page 27)
To show a logical path (page 27)
To show a wire's source microblock (page 27)
To export a symbol
1 Select the items in a control program that you want in the symbol.
2 Select Edit > Export Symbol.
3 Type a File Name. The application will attach the .logicsymbol file extension.
4 Select the Selected Items Only checkbox.
5 Click Ok.
To import a symbol
1 Open the control program you want to paste a symbol into.
2 Select Edit > Import Symbol.
3 Browse to the symbol, then double-click it.
4 Click in the workspace to place the symbol.
NOTE You can drag a symbol from Windows Explorer to the EIKON® LogicBuilder workspace. Select
multiple items to drag them simultaneously. Hold down Ctrl as you drag and drop the .logicsymbol into
the workspace to have it open as a separate file.
To use EquipmentBuilder
You can use EquipmentBuilder to generate:
• An entire control program that is ready to edit or download
• The corresponding equipment graphic
• A BACview® file (if applicable to selected equipment)
NOTE The files you selected will open in the EIKON® LogicBuilder and ViewBuilder applications.
3 Click .
4 Type the category name.
NOTES
○ This name must be identical to the reference name that you give the category when you add it
in the WebCTRL® interface.
○ Do not use occupancy as the category name.
○ The name can contain lowercase letters, numbers, hyphens, and underscores (no spaces); it
cannot begin with a number.
5 Click OK twice.
The new category will now appear in a microblock's Category droplist.
NOTES
• Do not delete the existing categories on the Sched. Category tabs if your system uses any control
programs created in EIKON® for WebCTRL. See Working with control programs created in EIKON®
for WebCTRL (page 30).
• To copy all custom category information to another computer, click Export below the category tabs,
then save the file. On the other computer, click Import, then select the exported file.
IMPORTANT If you used custom schedule categories, alarm categories, or alarm templates in the
EIKON® for WebCTRL application, you must import them into the EIKON® LogicBuilder application
before you upgrade or edit the EIKON® for WebCTRL files.
To import custom categories and templates from the EIKON® for WebCTRL
application
If you used custom schedule categories, alarm categories, or alarm templates in the EIKON® for
WebCTRL application, you must import those custom items from the ems.ini file.
CAUTION Importing deletes any custom categories or templates that you may have defined in the
EIKON® LogicBuilder application.