|
i.CanDrawIt® provides a core set of libraries that are useful in creating a wide range of applications. However, you are not limited to using only the default libraries. Furthermore, you can edit the predefined libraries both graphically and at the code level. It is recommended that you create a new library for any new or modified function blocks you create. That way, future updates to the standard core libraries will not overwrite your modifications or additions. To begin creating a new library, click the Libraries button or select Libraries from the Library menu. The Library Setup dialog will appear. Click Add, and provide a new name for the library. If the library has already been added, select it and click Edit.
The first step in creating a function block is to create a symbol. Select New Symbol from the library menu that pops up when you Right-click the mouse.
Create the function block symbol using the annotate toolbar. The rectangle tool is the most frequently used shape, but combinations of graphical elements are needed for more complex objects like logic gates.
Use any of the tools found in the annotate toolbar to create your symbol.
Available tools include free text, polygon shapes, circles, rectangles, and arcs. Pin names will be assigned in the pin tool dialog. The free text is for adding function block descriptions, and other designators. For example, the generic ladder logic load symbol looks like this:
You can use the free text annotation to put an M in the middle to designate Motor like this:
Once you have created the graphical part of the function block, proceed to adding the connection pins. NEXT-> |