Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 8 of 41

E-terminals Programming manual: 5 Programming using MAC Programmer+, pages 55 to 63

Pages 55 to 63 of 335, from E-terminals Programming manual

The original document is the PDF (4.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Beijer Electronics AB E200

Page 55

Programming using MAC Programmer+

Keyfield: Valid in E100, E200 and E300. Here you define leadtexts for the function keys. Enter a freely defined text of maximum six characters in E200 and E300 and maximum five characters in E100. The bottom line of the block will be occupied. For the other terminals pleace refer to the chapter Graphic presentation and maneuvering.

Template: Here you can copy a template to the graphic block or save the block as a template.

Status: States the display’s appearance in the run-time mode. The status word has no function in the system blocks. The parameters in the status word have the following functions. Cursor off: States if the cursor will not be visible in the text block in the run-time mode. Put cursor at first man. object: States if the cursor in the text block will be on the first maneuvrable object instead of in the top left-hand corner. Disable main menu key: States if the [MAIN] key is to be blocked in the run-time mode when the block is shown on the display. Disable alarm list key: States if the [LIST] key is to be blocked in the run-time mode when the block is shown on the display. MORE indication: States if the + sign is to be shown in the bottom right-hand corner and the top right-hand corner when there is more of the text block below and above respectively than that shown on the display. Auto data entry: States if the cursor will automatically move to the next maneuvrable object after an entry. The cursor can only be placed on maneuvrable objects in this state. Disable Prev Key: States if the [PREV] key and the function “Return to previous block” for the function keys is to be blocked in the run-time mode when the block is shown on the display.

44

Page 56

Programming using MAC Programmer+

Settings for the Block Manager Here you make the settings for the presentation in the Block Manager.

Block: Select how data should be presented in the block.

Reference: Select the appearance of the Block Manager.

Edit: Select special functions for the presentation in the Block Manager.

Show terminal around the working area To graphic blocks there is a function in the Window menu called Show terminal. When this function is active a picture of the current terminal is drawn around the working area. The picture of the terminal has pressure sensitive surfaces on functionkeys, LEDs and leadtext fields.

Define function keys When you double click on a function key you can select to define a local or global function key. The editor for selected function is displayed.

45

Page 57

Programming using MAC Programmer+

Define LEDs When you double click on a LED the editor for defining LEDs is displayed.

Create insertable strip When you double click on a field on the insertable strip a dialog is displayed where you can enter a text, select adjustment of the text and select font. This function makes it possible to create the whole insertable strip and printout it on plastic film and then use it in the terminal.

5.4 Programming blocks Double click on the current block or select Edit for marked block. The working area for the block and the toolbox are now shown. The working area is the graphic block editor and the text block editor depending on if you open a graphic block or a text block. The objects that can be created in the block are in the tool box. Select an object by clicking on the object in the toolbox, and place the cursor in the working area where you want the object to end up. The dialog for selected objects is shown when you click. Enter the parameter values in the dialog and press OK. The object is now shown on the working area. If you have selected static text or graphics, it is written directly on the working area. General parameters for the objects are described in the chapter General. Each type of object is explained in the chapters Graphic Presentation and Maneuvering and Text-based Presentation and Maneuvering.

46

Page 58

Programming using MAC Programmer+

5.5 The graphic block editor Not valid for E50, E100 and E200. This chapter describes the graphic block editor in the MAC Programmer+. The editor is based on Windows standards. In the graphic block editor you create graphic blocks with static and dynamic graphics.

How to open the graphic block editor The graphic block editor is opened when you double click on the current block in the Block Manager or from the block list.

47

Page 59

Programming using MAC Programmer+

Mouse, keys and the cursor The following section describes how to use mouse and keys in the graphic block editor. Further more we describe the different shapes of the cursor.

Mouse Use floating toolbox to create object. Click on object to mark it. Mark several objects by drawing a frame around the objects or by holding the Shift key down when you click on the objects. Keep mouse button down on object and drag mouse to move it. Keep mouse button down on object and press the Ctrl key and drag the mouse to copy it. Keep mouse button down on object handle and drag mouse to size it. Double click on object to view parameters. The following picture shows marked objects.

Keys Use the Object menu to create object. Use arrow keys to move cursor. Use [Ctrl] + [arrow keys] to move on pixel level. Press [SPACE] on object to mark it.

48

Page 60

Programming using MAC Programmer+ Mark several objects by selecting Block Select in the Object menu and drag a frame around the objects using [SPACE] and arrow keys. Keep [SPACE] down on object and use arrow keys to move it. Keep [SPACE] down on object handle and use arrow keys to size it. Press [ENTER] to view parameters on marked object.

Cursor The cursor has four different shapes within an object change size of an object in graphic working area selection in menu or toolbox

The toolbox In the editor you use the toolbox to create objects in the block. All functions are also available in the menus. The following table describes the functions in the toolbox. See the chapter Graphic presentation and maneuvering for the different objects that can be used in graphic blocks. Selection pointer mode Area selection mode Symbol creation mode Zoom in Zoom out

49

Page 61

Programming using MAC Programmer+ Grid Put on top Put to background Line pattern

Line thickness Character size Background color for the block Foreground color for the object Background color for the object Import/export symbols.

Create object Select the type of object in the toolbox and drag the object. Static graphics will be displayed when you click in the editor. Dynamic objects are defined in a dialog box before they are shown on the display. When an object is drawn it is marked with handles and the function selection pointer mode is activated.

50

Page 62

Programming using MAC Programmer+

Recommendations When the graphic block editor is active there is a command in the Window menu to turn Draft Move & Size on/off. It is recommended to turn this option on when using a slow computer. This turns off the immediate updating of the sized/moved object. A check mark appears next to the menu item when Draft Move/Size is on. In the File menu you will find the function 3D Controls. This functions means that the forms in the program will be displayed with 3D effects. It is recommended to turn this function of when using a slow computer.

Static graphics The static graphic objects are line, arc, ellipse, rectangle, polygon, symbol, text and decorations and are used to create background graphics.

Dynamic objects Select the type of object in the toolbox and place it in the block. Before the object can be shown on the display you must define the object in the displayed dialog . See the sections Graphic presentation and maneuvering for further details about object settings.

Select several objects In the graphic block editor you can select several objects in two different ways. – Click outside the object, keep the left mouse key pressed and draw a frame around the objects you want to select. The latest created object will be shown with filled handles. – Select the selection cursor in the toolbox. Keep the [Ctrl] key pressed while you select the objects. The latest selected object will be shown with filled handles.

51

Page 63

Programming using MAC Programmer+

Place object To easily adjust the placing of the objects in graphic blocks there are a number of functions in the Layout menu. Under this menu you will find the functions Align, Make same size, Space evenly and Tile. The function are also available in a separate toolbox. To use the functions two or more objects must be selected. The functions calculate the placing from one or two reference object. For the functions Align, Make same size and Tile it is the last selected/created object that is the reference object, see the section Select several objects. For the function Space evenly it is the uppermost and the lowermost objects that are the reference objects. The reference objects are not affected by the function.

Align Under Align you have six alternatives for adjusting the objects horizontally and vertically. Left

This left-aligns the marked objects with the reference object. Right

This right-aligns the marked objects with the reference object. Top

This top-aligns the marked objects with the reference object. Bottom

This bottom-aligns the marked objects with the reference object.

52