• No results found

Programming with the programming software 7

7 Programming with the programming software Programming

7.4.6 Creating blocks with the block manager

Double-click on the directory [Blocks] to open the block manager. The block manager contains an overview of all the project blocks.

When the block manager is displayed, the toolbars of the block manager and the zoom function are marked.

10408AEN

Figure 31: Creating blocks

NOTE

The DOP11B-20 model does not have the [System monitor] block.

0

0

I

7 Programming with the programming software Programming

Defining blocks Adding a block opens the following dialog box. The dialog box is a simplified represen-tation of the complete block header. Click [OK] to open and display the created block.

11505AEN

Figure 32: Creating a new block

Parameters Description

Block name You can enter a name for the block in this field. The block name will be displayed in the block manager and in the block list.

Block no. The block number is specified in this field. If the number you enter is already assigned to a block, the defined values will appear automatically. Block 0 is automatically created at the start of the program and must exist in every project.

Block type Select whether you want the block to be a graphic block or a text block.

Block width Define the font size for a text block. The font size cannot be changed for a defined block.

0

0

I

Programming with the programming software 7

Programming

Block properties The [Block properties] menu contains basic parameters that apply to each individual block. The appearance of the block header depends on the selected block type. To define a complete block header, in the project manager or block manager click the right mouse button on a block and choose [Properties].

In the project manager or the block manager, click the right mouse button on a block and choose [Properties] to enter detailed block information.

11506AEN

Figure 33: Block properties

0

0

I

7 Programming with the programming software Programming

The terms used for defining the block header are explained below:

Tab page Name Description

General information Block number The block number is specified in this field. If the number you enter is already assigned to a block, the defined values will appear automatically. Block number 0 is automatically created at the start and must exist in every project.

Block name You can enter a name for the block in this field. The block name will be displayed in the block manager, in the project manager and in the block list.

Display signal Digital signal that displays the selected block on the terminal screen. Use display signals in series to change blocks as quickly as possible. No entry is made in this field if you use another block changing method.

Recipe directory Select a recipe directory where all recipes created in the block will be stored.

See the section "Recipe management" on page 210.

Background block Applies to graphic blocks only. You can select another block as the back-ground block if, for example, several blocks are to be displayed with the same background color. When the graphic block manager is activated, you can define whether the background block is shown when editing the selected block using the [View] / [Options] / [Show background block] function.

Cursor color Applies to graphic blocks only. Determines the color of the cursor in the operator terminal.

Cursor thickness Applies to graphic blocks only. Determines the size of the cursor in the operator terminal.

Block type The block type is defined when the block is created and cannot be changed here.

Status When you click the [Status] button, the [Block options] dialog box is displayed.

It shows the following status properties of the operator terminal screen. These properties do not affect the system blocks.

Parameters Description

Cursor off Applies to text blocks only. Indicates whether the cursor is visible in the block in run mode.

Place cursor on first manual

object Applies to text blocks only. Defines whether the cursor is to be positioned on the first maneuverable object in the block instead of in the top left hand corner.

Deactivate <MAIN> key Deactivates the <MAIN> key when the current block is displayed on the screen.

Deactivate <LIST> key Deactivates the <LIST> key when the current block is displayed on the screen.

Additional notes Applies to text blocks only. Defines whether the [+] sign is to appear at the bottom and top right corner of the screen if the block contains more characters than can be dis-played on the screen.

Automatic data entry Moves the cursor to the next maneuverable object after data has been entered. In this mode, the cursor can only point to maneu-verable objects.

Deactivate the <PREV>

func-tion key Deactivates the <PREV> key and the function [Return to previous block] when the current block is displayed on the screen.

Deactivate the <ENTER>

func-tion key Only applies to digital objects. Deactivates the <ENTER> key when the current block is

0

0

I

Programming with the programming software 7

Programming

Appearance You can change the color and the color shading on the [Appearance] tab page.

Print Print signal Digital signal that sends the block to the connected printer. Display and print signals can be identical. Use print signals in series for fastest possible printing.

End signal Digital signal that is output by the terminal when the print process has been completed. The signal is enabled by default. Selecting the [Reset] option resets the signal when the print process has been completed.

E-mail The [E-mail] tab page is only available for text blocks.

Send e-mail signal When the specified digital signal is enabled, the text block will be sent as an e-mail. The block name corresponds to the subject of the e-mail.

Only text blocks can be sent as e-mail.

E-mail end signal Digital signal that is output by the operator terminal after an e-mail has been sent. The signal is enabled by default. Selecting the [Reset] option resets the signal when the e-mail has been sent.

Send e-mail to address The e-mail address of the recipient is entered in this field. Clicking the [...]

button enables you to select up to eight recipients from a list. The address list is defined under [Setup] / [Network] / [Services] / [SMTP client]. See section

"STMP client." on page 281.

Append file Enter the name of a trend or recipe file you want to attach to your mail. If a trend file and a recipe file have the same name, the trend file will be attached.

Access Security level Define the security level (0-8) for the block. If you enter a security level higher than "0", you will have to logon with a password that corresponds to the defined security level or higher.

Local function keys You can define local function keys for the block on the [Local function keys] tab page. For more informa-tion, see the section "Function keys" on page 238.

Tab page Name Description

0

0

I

7 Programming with the programming software Programming

7.4.7 Library

The library includes a series of catalogs with different symbol objects. You can also define catalogs created by the user. To do so, click the right mouse button on the library and choose [Directory] / [New].

Grouped objects and symbols can be saved in the library or in other projects. Objects and symbols stored in the library can be used again with other projects. Click the right mouse button on a grouped object or symbol in the work area, choose [Copy], click the right mouse button on the library and choose [Paste]. Library objects can be dragged from the library to the work area.

You can adjust the way the data is displayed by clicking the right mouse button on the library. To close the library catalog, click the right mouse button on the catalog and choose [Directory] / [Close].

You can hide the library by choosing [View] / [Toolbar] / [Library].

Symbol objects used in a project are stored in the project directory. These symbols can also be defined using the [Select symbol] dialog box.

Saving symbols in the library

Use the cursor to select one or more objects (grouped or ungrouped) in the work area.

Click with the right mouse button on the selection and choose [Copy]. Click the right mouse button in the library and choose [Paste].

11507AEN

Figure 34: Library

0

0

I

Programming with the programming software 7

Programming

Related documents