CAP531_en
Short Description
Download CAP531_en...
Description
User’s Manual CAP 531*1.6 Configuration and Programming tool
This manual belongs to:
__________________________ ___________________ _______
Contents
Chapter
1MRK 511 105-UEN*1p6rA
Page
About this manual
5
Introduction
7
Instructions
13
Technical descriptions
81
References
171
Customer feedback report
173
Software Registration Form
175
Index
179
4
$ERXWWKLVPDQXDO
This is the user’s manual for CAP 531*1.6 Document number: 1MRK 511 511 105-UEN Revision: A Issue date: November 2002 Data subject to change without notice
We reserve all rights to this document, even in the event that a patent is issued and a different commercial proprietary right is registered. Improper use, in particular reproduction and dissemination to third parties, is not permitted. This document has been carefully checked. If the user nevertheless detects any errors, he is asked to notify us as soon as possible. The data contained in this manual is intended solely for the product description and is not to be deemed to be a statement of guaranteed properties. In the interests of our customers, we constantly seek to ensure that our products are developed to the latest technological standards. As a result, it is possible that there may be some differences between the HW/SW product and this information product.
$XWKRUVDGGUHVV
ABB Automation Technology Products AB Control & Force Measurement Substation Automation SE-721 59 Västerås Telephone: +46 (0) 21 34 20 00 Facsimile: +46 (0) 21 14 69 18 Internet: http://www.abb.com/substationautomation
© Copyright 2002 ABB. All rights reserved.
1MRK 511 105-UEN*1p6rA
5
$ERXWWKLVPDQXDO
6
1MRK 511 105-UEN*1p6rA
Introduction
The chapter “Introduction”. This chapter introduces you to the software product CAP 531*1.6.
Introduction ..........................................................................................................9 Operating environment ...................................................................................9 CAP 531 documentation .................................................................................9 Conventions used in this document ..............................................................10 Product overview ..........................................................................................11 IEC 1131 programming.................................................................................11 programming .................................................................................11
1MRK 511 105-UEN*1p6rA
7
Introduction
8
1MRK 511 105-UEN*1p6rA
,QWURGXFWLRQ
,QWURGXFWLRQ
,QWURGXFWLRQ This chapter describes: The CAP 531 operat operating ing environ environment ment • Docu Docume ment ntat atio ion n • Symbols Symbols and conventio conventions ns used in this this document document • A brief overview overview of CAP 531 and related configurati configuration on products. products. The&onfiguration Dnd 3rogramming tool &$3 enables configuration management, programming, and error detection and correction for REx 5xx terminals.
2SHUDWLQJ HQYLURQPHQW CAP 531 runs under Microsoft ® Windows, for window versions. See “Reference publications” lications” on page 171. Reference [2]. So you must be familiar with this programs, which let you perform actions such as drag and drop, zoom, and scroll.
&$ 3 GRFXPHQWDWLRQ This User’s Manual describes CAP CA P 531*1.6. See also reference [1] for documentation on the Parameter Setting Tool. See also reference [2] for documentation on CAP 540. See “Reference publications” on on page 171.
1MRK 511 105-UEN*1p6rA
9
,QWURGXFWLRQ
The CAP 531 documentation consists of these parts: 3DUW
,WHP
Introduction
'HVFULSWLRQ
This chapter.
Instructions
Installation
Installation instruction.
Instructions
Help
Instructions of how to use the help function.
Instructions
Tutorial
Shows how to use CAP 531 with a mouse. Use this to learn how a project is run with CAP 531. The Tutorial goes through the normal procedures of a project.
Technical Description
General Project Tree Work Sheet Page Layout
Describes all parts of CAP 531. It contains the main topics in the context-sensitive help.
Customer feedback card Software registration form References Index
There is also an on-line context-sensitive help in the program. Press )! from anywhere in CAP 531 to get detailed reference reference information about all of CAP 531.
&RQYHQWLRQV XVHG LQ WKLV GRFXPHQW This document uses the following symbols: 6\PERO
,QGLFDWHV
Actions performed with the mouse.
Actions performed with the keyboard.
This document uses the following conventions:
10
&RQYH RQYHQ QWLRQ
,QGL QGLFDWHV V
Press the Alt key.
Press the Ctrl key.
Press the Tab key.
+
Hold Ho ld dow down the the Alt Alt key key and and pre pres ss the the F4 key key.
+
Hold Ho ld down down the the Ctr Ctrll key key and and pre press ss the the let lette terr c. c.
Press one of the arrow keys.
1MRK 511 105-UEN*1p6rA
,QWURGXFWLRQ
&RQY &RQYH HQWL QWLRQ
,QGLF GLFDWHV V
Press the Enter key.
All terminals that are supported by CAP 531 are referred to as REx 5xx in this User’s Manual. REx 5xx can be considered as any of the 500-terminals that are supported by CAP 531.
3URGXFW RYHUYLHZ The ABB Automation Industrial IT concept for S ubstation Automation comprise a full range of protection and control terminals for protecting, controlling and monitoring all parts of electrical power transmission networks. The application and internal logic in these terminals are configured using the CAP 531 and the CAP/REx 5xx function libraries for the specific terminal types. To work with the parameter settings for the protective functions in the terminals, the parameter setting tool (PST) and the corresponding PST/REx5xx library are used.
,(& SURJUDPPLQJ The IEC 1131 standard includes several graphical and textual programming languages. The CAP 531 function block diagram (FBD) is one of the IEC 1131 languages. FBD is a graphical language. It is a widely used programming language used for creating complicated networks with functions or function blocks. Networks are created with lines that connect or duplicate information. Execution number. Instance name.
Cycle time. Type name.
Setting. Output parameters. Input parameter.
)LJ
)XQFWLRQEORFNLQWKH&$3ZRUNVKHHW )XQFWLRQEORFNLQWKH&$3 ZRUNVKHHW
In CAP 531, all the functions available in a terminal are represented by function blocks. A function block includes input and output parameters, a type name and function block name. According to Fig. 1 above.
1MRK 511 105-UEN*1p6rA
11
,QWURGXFWLRQ
A function that is represented as a function block in CAP 531 can be one of the following: • protec protectio tion n function function • contro controll func functio tion n • monito monitorin ring g functio function n • logi logicc funct functio ion n The instance name makes the function block unique. Cycle time is the time between executions (8 ms in Fig. 1 ). Each function block has an execution number (986 in Fig. 1 ). The execution number tells you in which order the function blocks are executed. ([DPSOH
Function blocks with cycle time 8 ms are executed in the terminal every 8 ms and execution number 986 is executed after execution number 985. All function blocks with this cycle time are executed within a period of 8 ms.
)LJ
)XQFWLRQEORFNGLDJUDP
Some settings are done in CAP 531. They are presented as inputs with magenta color. In Fig. 2 the Timer function block has a setting of a delay time set to 1.000 seconds. A setting can be both numbers (as for a timer) or names.
1RWH
!
12
(QVXUHWKDWWKHIXQFWLRQEORFNVLQWKHF (QVXUHWKDWWKHIXQFWLRQEORFNVLQWKHFRQILJXUDWLRQDUHH RQILJXUDWLRQDUHH[HFXWHGFRQVHFXWLYHO\WRPLQ [HFXWHGFRQVHFXWLYHO\WRPLQ LPL]HGHOD\
1MRK 511 105-UEN*1p6rA
Instructions
The chapter “Installation”. This chapter instructs the user how to install the software CAP 531*1.6 on a PC and how to perform some typical tasks when using CAP 531.
Installation .............................................................................................................17 Introduction ........................................................................................................17 Pre-installation requirements ........................................................................17 The ‘Readme’ file .......................................................................................... 17 Installation of CAP 531.......................................................................................17 531.......................................................................................17
Help ........................................................................................................................18 Using help ..........................................................................................................18 Other help actions ..............................................................................................18 Help on function blocks ......................................................................................19
Tutorial .............................................................................. ..................................... 20 Introduction ........................................................................................................20 Quick Guide for using CAP 531 .........................................................................21 Getting started....................................................................................................22 started....................................................................................................22 Start CAP 531 ............................................................................................... 22 Create a project tree .....................................................................................22 Open a project ..............................................................................................22 Import configurations from previous versions of CAP 531............................22 531 ............................22 Password handling........................................................................................23 handling ........................................................................................23 Start configuration work .....................................................................................23 Insert a new work sheet ................................................................................24 Add another work sheet ................................................................................25 Insert a terminal configuration template........................................................ template ........................................................ 25 Insert a work sheet from a file.......................................................................27 file .......................................................................27 Upload options ...................................................................................................27 Terminal options ...........................................................................................30 Function selector................................................................................................30 selector ................................................................................................30 Example of function selectors .......................................................................31 Using function selectors................................................................................32 selectors ................................................................................32
1MRK 511 105-UEN*1p6rA
13
Instructions
Work sheet .........................................................................................................34 Open the work sheet .....................................................................................34 Using work sheets.........................................................................................34 sheets .........................................................................................34 Insert function blocks into work sheets .........................................................35 Connect objects ............................................................................................36 Save work sheets..........................................................................................38 sheets ..........................................................................................38 Exit from work sheets....................................................................................38 sheets ....................................................................................38 Variable, setting, text..........................................................................................39 text..........................................................................................39 Variable .........................................................................................................39 Insert variables..............................................................................................39 variables ..............................................................................................39 Settings .........................................................................................................41 Insert settings................................................................................................41 settings ................................................................................................41 Insert text (Comment) ...................................................................................42 Copy, paste and save in files .............................................................................42 Clipboard functions .......................................................................................42 Replace function blocks ................................................................................43 Groups ..........................................................................................................44 Create groups ...............................................................................................44 Save groups as files......................................................................................45 files ......................................................................................45 Insert groups from files..................................................................................46 files..................................................................................46 Save work sheets in files...............................................................................47 files...............................................................................47 Save all work sheets in a terminal ...........................................................47 Save work sheets as files ........................................................................47 Insert work sheets from files ....................................................................48 Compile and link work sheets ............................................................................49 On-line functions ................................................................................................51 Communication setup ...................................................................................52 Upload options ..............................................................................................55 Download terminal configurations.................................................................55 configurations .................................................................55 Upload configuration .....................................................................................57 Debug mode..................................................................................................57 mode..................................................................................................57 Compare configurations................................................................................58 configurations ................................................................................58 Start the page layout work .................................................................................61 Introduction ...................................................................................................61 Assign page layouts to work sheets, terminals or project tree......................61 tree ......................61 Create a new page layout .............................................................................63 Copy and insert page layouts........................................................................63 layouts........................................................................63 Edit page layout .................................................................................................65 Source area...................................................................................................65 area...................................................................................................65 Cross reference area ....................................................................................66 Cross references from the source area.........................................................67 area.........................................................67
14
1MRK 511 105-UEN*1p6rA
Instructions
Objects..........................................................................................................68 Objects ..........................................................................................................68 Edit environment items.......................................................................................70 items.......................................................................................70 Finish the page layout work ...............................................................................73 Save page layouts ........................................................................................73 Exit from the page layout ..............................................................................73 Print....................................................................................................................74 Print ....................................................................................................................74 Print work sheets ..........................................................................................74 Print a terminal..............................................................................................75 terminal ..............................................................................................75 Print the project tree......................................................................................75 tree ......................................................................................75 Exit CAP 531...................................................................................................... 531 ...................................................................................................... 75 Process Terminator............................................................................................76 Terminator ............................................................................................76
1MRK 511 105-UEN*1p6rA
15
Instructions
16
1MRK 511 105-UEN*1p6rA
,QWURGXFWLRQ
,QVWUXFWLRQV
Installation
,QVWDOODWLRQ This chapter describes: • Pre-installat Pre-installation ion requirement requirementss • The The READM README E file file • What What is is inst installe alled d • Instal Installati lation on of CAP CAP 531. 531.
,QWURGXFWLRQ
3UHLQVWDOODWLRQ UHTXLUHPHQWV See reference [2] for requirements on PC and operative system, See “Reference publications” on page 171. 171 .
7KH µ5HDGPH¶ ILOH CAP 531 comes with a ‘Readme’ file, including last-minute updates that were made after this document was printed. The file also includes important information about this version of CAP 531. Read the ‘Readme’ file before you start CAP 531.
,QVWDOODWLRQ RI &$ 3 CAP 531 is part of the CAP 540 tool package installation. Reference [2]. See “Reference publications” publications” on page 171. The icons that will be added to the start menu in Programs\CAP 531 are: • CAP CAP 531 531 1.6 1.6 Help Help • CAP 531 531 1.6 1.6 READ README.T ME.TXT XT • SPA SPA Emulat Emulator or • Termina erminate te process processes es
1MRK 511 105-UEN*1p6rA
17
8VLQJKHOS
,QVWUXFWLRQV
Help
+HOS This chapter describes the help functions in CAP 531.
8VLQJ KHOS The CAP 531 context-sensitive help includes topics that cover all parts of the program. The items in the Help menu are: 0HQX HQXLW LWH HP
6HOH 6HOHFW FWW WKL KLV VFRP FRPPD PDQG QG WR WR
Contents
Open the table of contents of the CAP 531 help.
Index
Open the index of the CAP 531 help.
Curr urrent ent Ob Object
Provi rovide des s he help on on a sele select cte ed ob object.
Curr Cu rren entt Wind Window ow
Prov Provid ides es help help on the the act activ ive e win windo dow w.
Abou Aboutt CAP CAP 531.. 531....
Spec Specif ifie ies s the the CAP CAP 531 531 vers versio ion n numb number er,, copyr copyrig ight ht info inforrmation and user registration data.
If you want help regarding what you currently work with, you select current object in the help menu. To get an overview of all topics, you can start the table of contents in Help. From the table of contents, you can select a topic.
2WKHU KHOS DFWLRQV When you are in help, you can select the menu bar, buttons, or the underlined words. The underlined words are hypertext jumps (links). Click on them to quickly go to other topics. You You can also use the search button, which displays a dialog box that prompts you for search words.
18
1MRK 511 105-UEN*1p6rA
+HOSRQIXQFWLRQEORFNV
,QVWUXFWLRQV
Help
+HOS RQ IXQFWLRQ EORFNV It is possible to access help on the function blocks directly in the work sheet.
To access help on function blocks: 0DUNWKHIXQF 0DUNWKHIXQFWLRQEOR WLRQEORFNLQW FNLQWKHZRU KHZRUNVKHHW NVKHHW 'RXEOHFOLFN 'RXEOHFOLFNRQWKHO RQWKHOHIWRUU HIWRUULJKWPR LJKWPRXVHEXWW XVHEXWWRQ RQ 6HOHFWKHOSRQ 6HOHFWKHOSRQ)%W\SH )%W\SH
1RWH 7KHKHOSWH[WPLJKWQRWEHDYDLODEOHRQDOOIXQFWLRQEORFNW\SHV
1MRK 511 105-UEN*1p6rA
19
,QWURGXFWLRQ
,QVWUXFWLRQV
Tutorial
7XWRULDO This chapter instructs the user how some typical tasks are performed when working with CAP 531*1.6.
,QWURGXFWLRQ This tutorial chapter will follow all the steps in a project, from setup of the project structure to the downloading, debug and final documentation. This chapter will show how to work with CAP 531 using a mouse. It is also possible to operate CAP 531 from the keyboard. The steps that will be gone through are: • Insert Insert work sheets sheets or a template template configura configuration tion • Upload Upload option optionss • Functi Function on select selectors ors • Work in the work sheets, sheets, make a configurat configuration ion • Variable, ariable, setting, setting, text • Copy Copy, paste paste and save save • Comp Compil ilee • Down Downlo load ad • Debug • Compare Compare configurat configurations ions • Page Page layo layout ut • Print • Exit Exit from from CAP CAP 531. 531.
20
1MRK 511 105-UEN*1p6rA
4XLFN*XLGHIRUXVLQJ&$3
,QVWUXFWLRQV
Tutorial
4XLFN *XLGH IRU XVLQJ &$ 3 The table below describes the work order when you use the program. For detailed information on each step, please see the referenced chapter. chapter. For a full understanding of the program, we recommend you to go through the entire tutorial chapter.
1MRK 511 105-UEN*1p6rA
6WHS
7R GR
5HIHUHQFH
1
Install CAP 531.
See “Installation of CAP 531” on page 17. 17.
2
Start CAP 531.
See “Start CAP 531” on page 22.
3
Insert a work she shee et or or a tem templa plate co configura- See “Insert a new work sheet” tion in the selected terminal. on page 24 and “Insert a terminal configuration template” on page page 25. 25.
4
Before downloading to a new terminal always run upload options, load uploaded data to the function selector and make update version.
See “Upload options” on page 27. See “Using function selectors” on page 32. 32.
5
Use the Function ion Selector tool ool to sele selec ct hardware and main functions in the terminal.
See “Using function selectors” on page 32
6
Open the work sheet.
See “Open the work sheet” on page 34
7
Insert fun functi ction blocks and and connect them hem.
See “Insert function blocks into work sheets” on page 35 and “Connect “Connect objects” objects” on page page 36. 36.
8
Close the work sheet.
See “Exit from work sheets” on page 38. 38.
9
Compile the configuration.
See “Compile and link work sheets” on page 49. 49.
10
Run Uploa pload d Opt Optio ions ns befo before re the the fir firs st dow downnloading to a terminal, if this has not been done earlier in the project.
See “Upload options” on page 27.
11
Dow ownl nloa oad d the the co config nfigu urati ration on to the the term termin inal al.. See “Download terminal configurations” on page 55. 55.
12
Debug th the co configuration.
13
Prepa repare re the the dra drawi wing ng form form by the the use use of the See “Start the page layout work” Page Layout. on page 61. 61.
14
Print th the co configuration.
See “Debug mode” on page 57. 57.
See “Print” “Print” on page 74.
21
*HWWLQJVWDUWHG
,QVWUXFWLRQV
Tutorial
*HWWLQJ VWDUWHG
6WDUW &$ 3
To start CAP 531: 1 CAP 531 is is started started from within within the CAP CAP 540, 540, reference reference [2]. See “Reference publications” on page 171. 171. 2 The project project will open automat automatically ically and prompt prompt for passwo password. rd.
&UHDWH D SURMHFW WUHH You create a new project tree from within the CAP 540, Reference [2]. See “Reference publications” on page 171. 171. Password for a new project is 1(:!.
A project tree in CAP 531 can only have the levels terminal and work sheets. In the work sheets you make the graphical configuration of the corresponding terminal. The work sheets are added with ‘Insert’ in the Edit menu.
)LJ
3URMHFWWUHH 3URMHFWWUHH
2SHQ D SURMHFW You can open a project that is already prepared. This is done from CAP 540 with the ‘Open Project’ command in the File menu. A password is required. This password is set by the creator of the project.
,PSRUW FRQILJX LJXUDWLRQ LRQV IUR IURPSUH SUHYL YLR RXVYH YHUVL UVLRQV RI& I&$3 You can copy earlier done terminal configurations into CAP 540, Reference R eference [2]. See “Reference publications” publications” on page 171 and See “How to move configurations from CAP 531*1.3 or CAP 535 to CAP 540” on page 100.
22
1MRK 511 105-UEN*1p6rA
6WDUWFRQILJXUDWLRQZRUN
,QVWUXFWLRQV
Tutorial
1RWH
!
2QO\WKHWHUPLQDOFRQILJXUDWLRQIURPHDUOLHUYHUVLRQVRIWKH&$3WRROFDQEH LPSRUWHG:KHQ\RXZRUNZLWK&$3\RXDOZD\VZRUNLQWKHVDPHVWUXFWXUHDV &$3 XVHV
3DVVZRUG KDQGOLQJ Password of a new project is always 1(:! with access right 1. This means that the person who creates a new project has the complete system rights to the entire project. The creator can set a number of different passwords with different access levels (higher numbers). See “Password handling” on page 99 . .
)LJ
3DVVZRUGGHILQLWLRQ
6WDUW FRQILJXUDWLRQ ZRUN You can start the configuration work with one of the following: foll owing: • blank pages (new work sheet) • an example/stand example/standard ard configurat configuration ion (template) (template) • a saved saved and and prepared prepared work sheet If you start the configuration work with blank work sheets, you start by inserting a work sheet (‘Edit’ - ‘Insert’).
1MRK 511 105-UEN*1p6rA
23
6WDUWFRQILJXUDWLRQZRUN
,QVWUXFWLRQV
Tutorial
If you start with an example or a standard configuration, you start by inserting a template configuration (‘Edit’ - ‘Insert template’). If you start with a prepared work sheet, you start by inserting this work sheet (‘Copy’/ ‘Paste’ in the project tree, or ‘Insert from’ in the work sheet).
,QVHUW D QHZ ZRUN VKHHW If you start your configuration work without using any previously prepared configuration, you start work by inserting a new work sheet inside the terminal.
To insert a new work sheet: 6HOHFWWKHWHUP 6HOHFWWKHWHUPLQDOLQ LQDOLQWKH3 WKH3URMHFW7 URMHFW7UHH UHH
6HOHFWWKHµ,QV 6HOHFWWKHµ,QVHUW¶LFR HUW¶LFRQRQWKH QRQWKHWRROED WRROEDU U $GLDORJER[DSSHDUV
)LJ
,QVHUWGLDORJER[
6HOHFWW\SH: 6HOHFWW\SH:RUNVKH RUNVKHHW HW 7\SHDQDPHIRU \SHDQDPHIRUWKHZR WKHZRUNVKHH UNVKHHW W 6HOHFW2.!WR 6HOHFW2.!WRFRQILUP FRQILUP
24
1MRK 511 105-UEN*1p6rA
6WDUWFRQILJXUDWLRQZRUN
,QVWUXFWLRQV
Tutorial
$GG DQRWKHU ZRUN VKHHW If you want to split up your configuration on several work sheets, you can add more work sheets to the terminal. This can be done in the same way as described above, which inserts the new work sheet as the bottom one in the terminal, or in the following way.
To add a work sheet: 6HOHFWDµ: 6HOHFWDµ:RUN6KHH RUN6KHHW¶LFRQ W¶LFRQ< Terminate processes. 3URFHVV7 3URFHVV7HUPLQDW HUPLQDWRUIXQFW RUIXQFWLRQDOLW LRQDOLW\ \
When ProcTerm.Exe ProcTerm.Exe is started the first appearance is according to the figure below. The appearance is modifiable by resizing the dialog, resizing column widths and to sort order. Sort order is changed by clicking on the column header of the list.
Figure 56: Process Terminator Terminator - Push buttons.
1MRK 511 105-UEN*1p6rA
77
3URFHVV7HUPLQDWRU
,QVWUXFWLRQV
Tutorial
Performing shutdown of the listed processes is made by clicking on the Terminate all button. After this is completed the following message is displayed
Figure 57: Process Terminator Terminator - Refresh message.
After the Refresh button has been clicked appearance is as following, note that Terminate all button is dimmed.
Figure 58: Process Terminator Terminator - Refreshed appearance.
:LQGRZV17 :LQGRZV17VSHFL VSHFLILFEHK ILFEHKDYLRU DYLRU
Windows NT executes 16-bit programs in a specific way. There is a special process called NTVDM.EXE which handles all 16-bit programs. When the Process Terminator shuts down CAP 531 and PST programs it also looks for the NTVDM.EXE process to be able to shutdown CAP 531 which is a 16-bit program. Because other 16-bit programs may be running the shutdown of the NTVDM.EXE program is prompted
78
1MRK 511 105-UEN*1p6rA
3URFHVV7HUPLQDWRU
,QVWUXFWLRQV
Tutorial
Figure 59: Process Terminator Terminator - Confirmation dialog.
At this point there is a possibility to t o skip, by select No in the message box, the termination of the remaining CAP 531 processes and save unsaved data for the other 16-bit programs. After this return back to the Process Terminator to repeat the shutdown.
1MRK 511 105-UEN*1p6rA
79
3URFHVV7HUPLQDWRU
,QVWUXFWLRQV
Tutorial
80
1MRK 511 105-UEN*1p6rA
7HFKQLFDOGHVFULSWLRQV
The chapter “Technical “Technical descriptions”. This chapter describes the program CAP 531*1.6 and its functionality fu nctionality..
General Information ..............................................................................................85 The CAP 531 program entries ...........................................................................85 The CAP 531 interface.......................................................................................86 interface .......................................................................................86 Menu bar.......................................................................................................87 bar .......................................................................................................87 Toolbar..........................................................................................................87 Toolbar ..........................................................................................................87 Status bar......................................................................................................88 bar......................................................................................................88 CAP 531 views...................................................................................................89 views ...................................................................................................89 Project tree....................................................................................................89 tree ....................................................................................................89 Work sheet....................................................................................................89 sheet ....................................................................................................89 Page layout ...................................................................................................89
Project tree ............................................................................................................ 91 Icons in the project tree......................................................................................91 tree ......................................................................................91 Level Icons....................................................................................................92 Icons ....................................................................................................92 Information icons...........................................................................................92 icons...........................................................................................92 Toolbar and menu bar........................................................................................94 bar........................................................................................94 Toolbar..........................................................................................................94 Toolbar ..........................................................................................................94 Menu bar.......................................................................................................94 bar .......................................................................................................94 File Menu seen from the project tree .......................................................94 Edit Menu seen from the project tree.......................................................95 tree .......................................................95 Layout menu seen from the project tree .................................................. 96 Make menu seen from the project tree ....................................................96 On-line menu seen from the project tree .................................................97 Window menu seen from the project tree ................................................97 Help menu seen from the project tree......................................................98 tree......................................................98 Other short-cut keys......................................................................................98 keys......................................................................................98 The project tree functions...................................................................................99 functions...................................................................................99 Project structure............................................................................................99 structure ............................................................................................99 Password handling........................................................................................99 handling ........................................................................................99 How to move configurations from CAP 531*1.3 or CAP 535 to CAP CAP 540...100 540...100 Insert items .................................................................................................101 Cut, copy and paste ....................................................................................101 Delete items ................................................................................................101 Insert template ............................................................................................101 Generate template ......................................................................................102 Change the object properties......................................................................103 properties ......................................................................103 1MRK 511 105-UEN*1p6rA
81
Technical descriptions
Function selector..............................................................................................104 selector ..............................................................................................104 Select functions and options .......................................................................104 Change the function selectors.....................................................................105 selectors.....................................................................105 Menu bar in function selector tool ...............................................................105 File menu ...............................................................................................105 Edit menu...............................................................................................105 menu ...............................................................................................105 Update version .................................................................................................106 Changes in the program module.................................................................106 module .................................................................106 Update version ............................................................................................106 Compilation ......................................................................................................108 The compilation process .............................................................................108 Compile a terminal .................................................................................108 Correct errors with the error list .............................................................108 Common errors ......................................................................................109 On-line tasks ....................................................................................................110 Introduction .................................................................................................110 Communication setup .................................................................................110 SPA emulations .....................................................................................110 Upload options and function selectors from a terminal ...............................111 Download configuration to a terminal..........................................................112 terminal ..........................................................112 Upload configuration ...................................................................................113 Compare configurations ...................................................................................114 Compare .....................................................................................................114 Upload and compare...................................................................................115 compare...................................................................................115 Start the parameter setting tool........................................................................115 tool ........................................................................115
Work sheet ...........................................................................................................116 Introduction ......................................................................................................116 Normal mode and debug mode........................................................................116 mode........................................................................116 Toolbar and menu bar......................................................................................117 bar ......................................................................................117 Toolbar seen from the work sheet view ......................................................117 Menu bar .....................................................................................................118 File menu seen from the work sheet view..............................................118 view..............................................118 Edit menu seen from the work sheet view .............................................119 Object Menu seen from the work sheet view .........................................120 Layout menu seen from the work sheet view.........................................121 view.........................................121 Make menu seen from the work sheet view...........................................121 view...........................................121 On-line Menu seen from the work sheet view........................................122 view ........................................122 Window Menu seen from the work sheet view.......................................122 view.......................................122 82
1MRK 511 105-UEN*1p6rA
Technical descriptions
Help Menu seen from the work sheet view.......................................122 view .......................................122 Short-cut keys seen from the work sheet view ...........................................123 Use work sheets...............................................................................................124 sheets...............................................................................................124 Open a work sheet......................................................................................124 sheet ......................................................................................124 Work sheet size ....................................................................................... ... 124 Change zoom range ...................................................................................125 Clear work sheets .......................................................................................125 Objects .............................................................................................................126 Function blocks ...........................................................................................126 Insert function blocks .............................................................................126 Replace function blocks .........................................................................127 Variables .....................................................................................................128 Insert Variables ......................................................................................128 Settings .......................................................................................................129 Insert settings.........................................................................................129 settings.........................................................................................129 Text (comments) .........................................................................................130 Insert Text (comments).......................................................................... (comments) .......................................................................... 130 Delete objects ............................................................................................. 130 Object properties.........................................................................................131 properties.........................................................................................131 Local find and replace ......................................................................................132 Find .............................................................................................................132 Find and Replace........................................................................................132 Replace ........................................................................................132 Global find and replace ....................................................................................133 Copy, paste and save ......................................................................................134 Cut objects to the clipboard ........................................................................134 Copy objects to the clipboard......................................................................134 clipboard......................................................................134 Paste objects from the clipboard.................................................................135 clipboard.................................................................135 Group objects..............................................................................................135 objects..............................................................................................135 Copy work sheets to a file...........................................................................136 file ...........................................................................136 Insert work sheets from a file ......................................................................136 On-line debug...................................................................................................137 debug...................................................................................................137 Print..................................................................................................................138 Print ..................................................................................................................138 Assign page layouts to work sheets or project trees................................... trees................................... 138 Use the ‘preview’ command........................................................................138 command ........................................................................138 Print functions ..................................................................................................139 Printer setup................................................................................................139 setup................................................................................................139 Print the project tree....................................................................................139 tree ....................................................................................139 Print terminal...............................................................................................139 terminal ...............................................................................................139 Print a work sheet ....................................................................................... 140
1MRK 511 105-UEN*1p6rA
83
Technical descriptions
Cross references.........................................................................................140 references .........................................................................................140
Page layout ..........................................................................................................142 Introduction ......................................................................................................142 Toolbar and menu bar......................................................................................143 bar ......................................................................................143 Toolbar ........................................................................................................143 Menu bar .....................................................................................................144 File menu seen from the page layout view ............................................144 Edit Menu seen from the page layout view ............................................145 Object menu seen from the page layout view...................................145 view ...................................145 Layout menu seen from the page layout view .......................................146 Window Menu seen from the page layout view .....................................147 Help Menu seen from the page layout view...........................................147 view ...........................................147 Short-cut keys .............................................................................................147 Objects in the page layout................................................................................148 layout................................................................................148 Source area.................................................................................................148 area.................................................................................................148 Cross reference area ..................................................................................149 Cross references from the source area.......................................................150 area.......................................................150 Rectangles ..................................................................................................151 Lines............................................................................................................151 Lines............................................................................................................151 Text .............................................................................................................152 Bitmaps .......................................................................................................152 Edit the page layout .........................................................................................153 Start to work with the page layout ...............................................................153 Create a new page layout ...........................................................................153 Insert a page layout ....................................................................................154 Save the page layout ..................................................................................154 Clear page layouts ......................................................................................154 Paper orientation.........................................................................................155 orientation .........................................................................................155 Zoom range.................................................................................................155 range .................................................................................................155 Environment items ...........................................................................................156 Add new items.............................................................................................159 items.............................................................................................159 Add items similar to existing ones...............................................................159 ones ...............................................................159 Change items ..............................................................................................159 Delete items ................................................................................................159
System and error messages ..............................................................................160
84
1MRK 511 105-UEN*1p6rA
7KH&$3SURJUDPHQWULHV
7HFKQLFDOGHVFULSWLRQV
General Information
*HQHUDO,QIRUPDWLRQ This chapter describes the CAP 531 program entries, the CAP 531 interface and its different views.
7KH &$ 3 SURJUDP HQWULHV After you have installed CAP 531 via the CAP 540 tool package, the following program entries are available in the start menu under Programs\CAP540:
)LJ
&$3SURJUDPHQWULHV &$3SURJUDPHQWULHV
,FRQ
'HVFULSWLRQ
CAP 531 1.6 Help
Activates the general help.
CAP 531 1.6 README.TXT README.TXT Provides updates on changes since the last version and describes new features. Also describes how to use previous projects in the new version of CAP 531.
1MRK 511 105-UEN*1p6rA
Show Inform ormation ion
Vers ersions an and rev revis isiions of S Su ubstations Aut Auto omati ation To Tools, libraries and components.
SPA Emulator
Activates the SPA emulator for a simple test of the communication with the terminal.
Terminate processes
See “Process Terminator” Terminator” on page 76.
85
7KH&$3LQWHUIDFH
7HFKQLFDOGHVFULSWLRQV
General Information
7KH &$ 3 LQWHUIDFH As shown in Fig. 2, 2, the CAP 531 interface consists of these parts: • Menu enu bar bar • Toolb oolbar ar • Main Main scre screen en • Statu tatuss bar bar
)LJ
86
8VHULQWHUIDFHRI&$3
1MRK 511 105-UEN*1p6rA
7KH&$3LQWHUIDFH
7HFKQLFDOGHVFULSWLRQV
General Information
0HQX EDU 7KHPHQXEDUFRQWDLQVWKHVHPHQXV 0HQX
8VDJH DJH H[DP [DPSOHV
File File
Passw asswor ord d de defini finittion, ion, acce access ss the the pag page e lay layou outt of of th the vie view w. Pre Prev view iew and and print a document document.. Exit CAP CAP 531
Edit Edit
Inse Insert rt work ork she sheet ets, s, gene genera rate te temp templlates ates,, fin find d and and repla eplace ce.. Ope Open n the the Function Selector and start of the Parameter Setting Tool.
Objec Objectt
Inse Insert rt objec objects ts that that you you can can work work wit with h in in the the proje project ct tree, tree, work work she sheet et or page layout. This menu is only available when a work sheet is active.
Layou Layoutt
Design Desi gn your your scree screen. n. Add Add pag page e bor borde ders rs or inse insert rt a grid grid to bett better er alig align n objects in your work sheets.
Make Make
Start tart proj projec ectt com compi pila lati tion on and and oth other er func functi tion ons s aft after er you yourr con confi figu gura rati tion on work.
On-l On-lin ine e
Uplo Up load ad and and dow downl nloa oad d com comma mand nds. s. Enab Enable le debu debug g mod mode. e.
Wind Window ow
Arra Arrang nge e the the wind window ows s and and icon icons s on on you yourr scr scree een. n.
Help
Activate the on-line help.
The available menus and commands differ depending on the selected level in the project tree and also depending on the present view. The context-sensitive help explains exactly where different menus are available.
7RROEDU Click on the toolbar icons to quickly execute frequently used commands rather than selecting menus and commands from the menu bar. The toolbar is located below the menu bar. The general part is always there while some of the icons from the specific part differs for every view. The context-sensitive help displays the name of each icon. The project tree toolbar
The work sheet toolbar
The page layout toolbar
General part
)LJ
1MRK 511 105-UEN*1p6rA
Specific part
7KHGLIIHUHQWWRROEDUVLQ&$3 7KHGLIIHUHQWWRROEDUVLQ&$3
87
7KH&$3LQWHUIDFH
7HFKQLFDOGHVFULSWLRQV
General Information
6WDWXV EDU When you work with CAP 531, the status bar displays different information in different fields on the status bar:
Main information messages
Information
)LJ
88
Messages for start-up process
Mouse position
Available RAM
6WDWXVEDU 6WDWXVEDU
1MRK 511 105-UEN*1p6rA
&$3YLHZV
7HFKQLFDOGHVFULSWLRQV
General Information
&$ 3 YLHZV CAP 531 comprise these views:
9LHZ
8VHG WR
Project tree
Organize terminal and work sheets.
Work sheet
Create the configuration, use debug at commissioning.
Page layout
Create drawing forms for printed pages.
3URMHFW WUHH The project tree can have these levels: • Project Project (alwa (always ys top level level)) • Termi ermina nall • Work ork She Sheet et From the project tree menu bar and toolbar, you can insert and copy work sheets, s heets, and use find and global find. If the terminal icon has a red cross, then CAP/REx 5xx program module is not installed, or the terminal type has no relevance in CAP 531. So you cannot work on that terminal type.
:RUN VKHHW The configuration work is done in work sheets. All functions available in the terminal can be represented as function blocks in the work sheets. Connections between different functions on one sheet are drawn as lines between the function blocks. From the work sheet menu bar and toolbar, you can perform actions, such as cut and paste, and find and replace to quickly create configurations. You can debug the configuration in the t he work sheet. This is an on-line function that displays all signal levels of all internal signals in a terminal with different colours of the lines in the work sheet.
3DJH OD\RXW The page layout is the template used for the configuration drawings. Use the page layout to adjust the drawing format of the work sheet pages that you print. For example, you can adapt the header and footer, you can insert order number, terminal type, names, the printing date and time, or bitmap files.
1MRK 511 105-UEN*1p6rA
89
&$3YLHZV
7HFKQLFDOGHVFULSWLRQV
General Information
You can also create different sets of objects (environment variables) that are used by a specific project or user. You You use environment variables to assure as sure that correct information is printed on all pages in the project. They are also used to avoid the work to type the same information on the page layout for each work sheet. From the page layout menu bar and toolbar, you can perform actions, such as cut c ut and paste and find and replace. The Preview command on the File menu lets you view the results of your work before you print it. You can assign a specific page layout to an active project tree or a single work sheet.
90
1MRK 511 105-UEN*1p6rA
,FRQVLQWKHSURMHFWWUHH
7HFKQLFDOGHVFULSWLRQV
Project tree
3URMHFWWUHH This chapter describes the project tree functionality and how to select functions, update versions, compile terminals, compare configurations and w ork on-line.
,FRQV LQ WKH SURMHFW WUHH The project structure is displayed as a tree, see Fig. 5. 5. When you work with a project, the project tree is always open. Icons within the project tree indicate the corresponding project tree levels, which are: • Project Project (alwa (always ys top level level)) • Termi ermina nall • Work ork She Sheet et .
)LJ
1MRK 511 105-UEN*1p6rA
$QH[DPSOHRIDVWUXFWXUHLQWKHSURMHFWWU $QH[DPSOHRIDVWUXFWXUHLQ WKHSURMHFWWUHH HH
91
,FRQVLQWKHSURMHFWWUHH
7HFKQLFDOGHVFULSWLRQV
Project tree
/HYHO ,FRQV ,FRQ FRQ
,FRQ QDPH
7KLVL VLFRQ UHS UHSUHVH HVHQWV
Project
The project. This is always included in a new project. To display or hide the lower levels, double-click left mouse button on the icon.
Termin minal
The termina minall. Th The sa same icon icon is us used for al all tty ypes of of te terminals. It is therefore necessary to type the terminal type in the name.
Work ork shee sheett
The The wo work rk shee sheet. t. The The con confi figu gura rati tion on of a ter termi mina nall is always done in a work sheet, organized inside the terminal in the structure. The work sheet name is displayed beside this icon. To edit a work sheet, double-click left mouse button on on the icon.
No term termin inal al
No ter termi mina nal. l. The The cor corre rect ct ter termi mina nall lib libra rary ry is not not inst instal alle led d for the corresponding terminal. Install the correct CAP/REx5xx program module.
Project not com- A project tree imported from SMS is not complete. plete
Undefined
The level is not defined.
,QIRUPDWLRQ LFRQV ,FRQ FRQ
,QGLF QGLFD DWHVW VWKDW DW
All lower levels are visible. To hide all lower levels, double-click left mouse button on the icon. All lower levels are hidden. To display all lower levels, double-click dou ble-click left mouse button on the t he icon. There are no lower levels.
92
1MRK 511 105-UEN*1p6rA
,FRQVLQWKHSURMHFWWUHH
7HFKQLFDOGHVFULSWLRQV
Project tree
,FR ,FRQ
,QGLFDWHVW VWKDW W
The asterisk appears at the terminal name and the work sheet name. Changes in the current work sheet are not compiled. Compile the terminal and the asterisk (*) will disappear.
1MRK 511 105-UEN*1p6rA
93
7RROEDUDQGPHQXEDU
7HFKQLFDOGHVFULSWLRQV
Project tree
7RROEDU DQG PHQX EDU
7RROEDU The toolbar contains icons to get quick access to frequently used functions. They are a complement to the menus or shortcut keys.
Delete Insert Paste
Call the Project Tree) Compile Terminal Zoom out Zoom in
Copy Cut Show all lower levels
Global Find and Replace Global Find Find and Replace
Find
The icons on the toolbar are explained in the menu bar chapter.
0HQX EDU
)LOH 0HQX VHHQ IURP WKH SURMHFW WUHH 0HQX HQXLW LWH HP
6KRU 6KRUW WFX FXW W 6HOHFWWKLVFRPPDQGWR NH\
Passwords
Change or insert password for user ’s with a lower access level to the project.
Page layout
Open page layout shows the page layout of the project tree. Use this to design a drawing dra wing form for the tree. Environment setup lets you change, for example, the date, company name, document do cument number.
Preview
Start the page preview function, which shows you how the pages will look like when they are printed.
Print
&75/! Print the project tree with the page layout for the tree. 3!
Print terminal
Print all work sheets in an entire terminal. Optional also the PST data is printed.
Printer setup
Switch to another printer or select a different format. CAP 531 supports all printer setups in the Windows program manager. CAP 531 page layouts are based on the A4 size. So the results may be distorted if you use a printer with another format.
Exit
94
,FRQ ,FRQ
$/7! )!
Quit CAP 531. After your selection, the standard CAP 531 Exit dialog appears. 1MRK 511 105-UEN*1p6rA
7RROEDUDQGPHQXEDU
7HFKQLFDOGHVFULSWLRQV
Project tree
(GLW 0HQX VHHQ IURP WKH SURMHFW WUHH 0HQX 0HQXLW LWHP HP
Insert
6KRUW 6KRUWFX FXWN WNH\ H\ 6HOHFW 6HOHFWWK WKLV LVFR FRPP PPDQG DQGWR WR ,16(57!
Insert work sheets in the project tree.
Generate template
Save the contents of an entire terminal configuration. This lets you reuse the configuration on other computers.
Insert template
Insert the contents of an entire terminal configuration, which you saved with the generate template command.
Find
Search for a name or a character in an item name in the project tree.
Find and replace
Search for a name or a character in an item name in the project tree and replace it.
Global find
Search for a name or a character in any work sheet in the selected terminal.
Global find and replace
Search for a name or a character in any work sheet in the selected terminal and replace it.
Function selector
Start the function selector
Terminal options
Import a list of functions available in a certain terminal.
Parameter settings
Start the parameter setting tool (PST).
Object properties
1MRK 511 105-UEN*1p6rA
,FRQ ,FRQ
$/7! (17(5 !
Change name and other properties of the selected item in the project tree.
95
7RROEDUDQGPHQXEDU
7HFKQLFDOGHVFULSWLRQV
Project tree
/D\RXW PHQX VHHQ IURP WKH SURMHFW WUHH 0HQX LWHP WHP
6KRUWF WFXW NH\
6HOHFWWKLVFRPPDQGWR
Toolbar
Hide or display the toolbar. If this menu item is checked, then the toolbar is displayed.
Status bar
Hide or display the status bar. If checked, the status bar is displayed.
Zoom in
1XP!
Increase the scale of the active window.
Zoom out
1XP!
Decrease the scale of the active window.
Previous view
1XP! RU 1XP÷ !
Switch to the previous pr evious view.
Default size
1XP!
Switch to the default size from an increased or decreased size so that the project tree is displayed in the default size.
Redraw
)!
Rebuild the content of the active window on the screen.
Expand subtree
!
Hide or display the sub-tree. If checked, the sub-tree is displayed.
0DNH PHQX VHHQ IURP WKH SURMHFW WUHH 0HQX LWHP
96
,FRQ
,FRQ
6KRUWFXW NH\
6HOHFWWKLVFRPPDQGWR
Compile all
Compile an entire project, which means that you compile all terminals in the entire project. Normally, Normally, this is not used.
Compile terminal
Compile the selected terminal.
Update version
Update the selected terminal’s library. The library’s contents will be reorganized to account for the new set of function blocks that can be used in the terminal.
Detect warnings
Display or hide warnings in the error list.
1MRK 511 105-UEN*1p6rA
7RROEDUDQGPHQXEDU
7HFKQLFDOGHVFULSWLRQV
Project tree
2QOLQH PHQX VHHQ IURP WKH SURMHFW WUHH 0HQX LWHP
6KRUWFXW NH\
6HOHFWWKLVFRPPDQGWR
Upload options
Upload the table of functions from the terminal. This table of functions file includes include s all information about available functions in the terminal.
Download configuration
Download the graphical configuration in CAP 531 to the the terminal. terminal.
Upload configuration
Upload the graphical configuration to CAP 531 from the terminal. terminal. This function function is not always supported by the terminal. This depends on the type of terminal.
Compare configurations
View differences between the terminal configuration and the graphical configuration in CAP 531.
Setup
Show the communication setup for work online with the terminal.
:LQGRZ PHQX VHHQ IURP WKH SURMHFW WUHH 0HQX LWHP
1MRK 511 105-UEN*1p6rA
,FRQ
,FRQ
6KRUWFXW NH\
6HOHFWWKLVFRPPDQGWR
Tile
Arrange all open windows side by side.
Cascade
Arrange the windows so that they overlap (starting in the upper-left corner of the CAP 531 window). The title bar of each window remains visible.
Arrange symbols
Arrange the icons that are created if you minimize the windows.
Error list
View the error list if it is hidden. You can only show it if errors or warnings were detected.
Window list
Switch to a different open window. Select the window name that you want to be active.
97
7RROEDUDQGPHQXEDU
7HFKQLFDOGHVFULSWLRQV
Project tree
+HOS PHQX VHHQ IURP WKH SURMHFW WUHH 0HQX LWHP
,FRQ
6KRUWFXW NH\
6HOHFWWKLVFRPPDQGWR
Contents
Open the table of contents of CAP 53 531 help.
Index
Open the Index of CAP 531 help.
Current object
Obtain help on a selected object.
Current window
Provide help on the active window.
About CAP 53 531
Read information about CAP 531 such as version number and copyright information.
2WKHU VKRUWFXW NH\V You can perform general actions by using shortcut keys and key combinations.
98
7R
3UHVV
Access help
)!
Exit CAP 531
$/7!)!
Go to parent/child level
Å! or Æ! keys
Move up/down in the tree
Ç!or È! keys
Move to items on the same level
&75/! + Ç! or È! keys
1MRK 511 105-UEN*1p6rA
7KHSURMHFWWUHHIXQFWLRQV
7HFKQLFDOGHVFULSWLRQV
Project tree
7KH SURMHFW WUHH IXQFWLRQV
3URMHFW VWUXFWXUH You build up the project structure st ructure in CAP 540. The project tree items can be: • Termi ermina nall • Work ork Shee Sheet. t.
3DVVZRUG KDQGOLQJ It is possible to set the access a ccess right to a project so that it is possible to restrict the rights to change the configuration of a project. The access level in the object properties are related to the password handling. If a user has a certain access level, it is possible to access the items with the same access level or higher. higher. The access levels can be separated with different access to the system rights concerning: • Chan Change ge proj projec ectt • Downlo Download ad project project • Debu Debug g on-l on-lin inee • Add/ch Add/chang angee passwor password d In general, the password access levels are such that a user with an access level set to 1 has access to all items with a higher access level. If a user only has an access level set to 10, this person can only access the items with access level 10 or higher. So the lower the value, the more rights. All projects are password protected. A new project always has password ‘NEW’. It is then up to the creator of the project to change this password and to build up more access levels for other types of users that should not have the same a ccess rights to the entire project as the person who created the project. It is possible to set different access levels to different work sheets. You You can also set an an access level to the terminal that is different from the access level of the work sheets of that terminal. ([DPSOH
A terminal is given access level 5. The terminal has two work sheets, WS1 and WS2.The access level of WS1 is set to 1, and the access level of WS2 is set to 5. All system rights are set equal for the two users.
1MRK 511 105-UEN*1p6rA
99
7KHSURMHFWWUHHIXQFWLRQV
7HFKQLFDOGHVFULSWLRQV
Project tree
Now if a user has access level set to 5 (linked to the password), the user can change: • Termina erminall name. name. • Page layout layout of the entire entire terminal terminal with all all its work sheets. sheets. • Config Configura uratio tion n in WS2. WS2. • Access Access level for the termin terminal al or WS2 to a higher higher value value than 5. But the user don‘t have any change possibilities (read-only) in WS1. The user with access level set to 1 has all the possibilities above, but is also allowed to make changes in WS1. ([DPSOH
A terminal is given access level 1. The terminal has two work sheets, WS1 and WS2. The access levels of the work sheets are set to the same as in the previous example: WS1 set to 1, WS2 set to 5. All system rights are set equal for the two users. Now if a user has access level set to 5, the user can change: • Config Configura uratio tion n in WS2. WS2. • Access Access level for for WS2 to a higher higher value value than 5. 5. • Page Page layout layout for for WS2. WS2. But the user don‘t have any change possibility when it comes to terminal name, page layout for the terminal, nor any change possibilities in WS1.
+RZ WR PRYH FRQILJX LJXUDWLRQ LRQV IUR IURP&$3 &$3 RU&$3 &$3 WR &$3 If you have a project tree, compressed project or a template. • Project Project tree: tree: Use Import Import CAP 531 Configu Configuratio ration n in the the file menu of of CAP 540, reference [2]. See “Reference publications” on page 171. • Compressed Compressed CAP 531/CAP 531/CAP 535 project: project: Decompress Decompress the the project project in CAP 531/ CAP 535 and use Import Import CAP 531 Configura Configuration tion in the file menu menu of CAP 540, reference [2]. See “Reference publications” on page 171. • Template: emplate: Add a terminal terminal module in CAP 540 correspon corresponding ding to the template template see 6.7 Insert template.
100
1MRK 511 105-UEN*1p6rA
7KHSURMHFWWUHHIXQFWLRQV
7HFKQLFDOGHVFULSWLRQV
Project tree
,QVHUW LWHPV The only item to insert is work sheet. To insert an item, you activate the ‘Insert’ command in the Edit menu. This dialog box appears when you insert an item. 7DEOH7KHILHOGVLQWKHGLDORJER[
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Name
Specifies a name for the item. You can only use characters that are allowed in MS-DOS. A name can have up to 50 characters.
Pri Print opti option ons. s... ..
Start arts the the Prin Printt Opti Option ons s dial dialog og box. box.
M ode
Specifies if the new item will be inserted above, below or inside the current item.
&XW FRS\ DQG SDVWH It is possible to use cut, copy and paste work sheets in the project tree. The items that are pasted into the tree are always placed below the marked item. Cut, copy and paste also affects PST data when applicable.
'HOHWH LWHPV Use this function to delete work sheets in the project tree. Select the: 6HOHFWWKHZR 6HOHFWWKHZRUNVKHH UNVKHHWWKDW\R WWKDW\RXZDQW XZDQWWRGHO WRGHOHWH HWH µ'HOHWH¶FRPPDQ µ'HOHWH¶FRPPDQGDQG GDQGWKHGHO WKHGHOHWHGL HWHGLDORJER[ DORJER[ZLOO ZLOODSSHDU DSSHDU
,QVHUW WHPSODWH Use this function to insert an entire terminal configuration. This configuration can be: • an example example confi configur guratio ation n • a standard standard configura configuration tion already already prepared prepared • a configuration coming from another project or terminal within the project. The example configuration is in some cases delivered with the CA P/REx 5xx program module.This example configuration is similar to the standard factory configuration of the terminal. Note that there might be differences between the configuration of a certain terminal and the example configuration c onfiguration delivered with the CAP/REx 5xx program module. When a standard configuration is prepared, save it with the ‘Generate template’ command. How to insert a template:
1MRK 511 105-UEN*1p6rA
101
7KHSURMHFWWUHHIXQFWLRQV
7HFKQLFDOGHVFULSWLRQV
Project tree
6HOHFWD 6HOHFWDWHU WHUPLQ PLQDO DO 6HOHFWWKHµ,QVHUW7HPSODWH¶PHQXLWHPWKH,QVHUW7HPSODWHGLDORJER[ DSSHDUV
7DEOH8VHWKLVGLDORJWRVHOHFWDVWRUHGWHUPLQDOWHPSODWH )LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Terminal type
Specifies the terminal.
Templates
Specifies the terminal template.
Description
Displays the comment for the template.
1RWH
!
7RDFWLYDWHWKHµ,QVHUW7HPSODWH¶PHQXLWHP\RX RDFWLYDWHWKHµ,QVHUW7HPSODWH¶PHQXLWHP\RXPXVWVHOHFWDQHPSW\WHUPLQDO PXVWVHOHFWDQHPSW\WHUPLQDOZLWKRXW ZLWKRXW ZRUNVKHHWV
7KHWHPSODWHVLQ&$3 DQGLQWKHSDUDPHWHUVHWWLQJWRRODU DQGLQWKHSDUDPHWHUVHWWLQJWRRODUHKDQGOHGVHSDUDWHO\ HKDQGOHGVHSDUDWHO\ 7KHRQHVLQ&$3FRYHURQO\WKHFRQILJXUDWLRQIRUDWHUPLQDOQRWWKHSDUDPHWHUV
*HQHUDWH WHPSODWH Use this function to save an entire terminal configuration. This lets you reuse the configuration in other projects. It is also possible to create a standard configuration for a certain type of terminal that can be used as a base for further configuration adaptations to the specific application. How to generate a template: 6HOHFWDWHUPL 6HOHFWDWHUPLQDOLQ QDOLQWKHSUR WKHSURMHFWWUH MHFWWUHH H 6HOHFWWKHµJH 6HOHFWWKHµJHQHUDWHW QHUDWHWHPSODW HPSODWH¶FRPP H¶FRPPDQGLQ DQGLQWKHHGLW WKHHGLWPHQX PHQXDQGWKH DQGWKHJHQHUDW JHQHUDWH H WHPSODWHGLDORJER[DSSHDUV 7DEOH7KHILHOGVLQWKHGLDORJER[ )LHOGEXWWRQRU 'HVFULSWLRQ FKHFNER[
102
Termina erminall typ type e
Spec Specif ifie ies s the the type type of termin terminal al to copy copy the temp templa late te to. to. The default type is recommended.
Templa emplate te nam name e
Spec Specif ifies ies the the name name of the the tem templa plate te..
Descr escrip ipti tion on
Give Gives s a des descr crip ipti tion on of the the tem templ plat ate e. This This des descri cripti ption is displayed in the Insert Template dialog box.
1MRK 511 105-UEN*1p6rA
7KHSURMHFWWUHHIXQFWLRQV
7HFKQLFDOGHVFULSWLRQV
Project tree
1RWH
!
7KHWHPSODWHVLQ&$3 DQGLQWKHSDUDPHWHUVHWWLQJWRRODU DQGLQWKHSDUDPHWHUVHWWLQJWRRODUHKDQGOHGVHSDUDWHO\ HKDQGOHGVHSDUDWHO\ 7KHRQHVLQ&$3FRYHUVRQO\WKHFRQILJXUDWLRQIRUDWHUPLQDOQRWWKHSDUDPHWHUV
&KDQJH WKH REMHFW SURSHUWLHV Properties of an object implies more information about the object. This can be: • Name Name of a work work shee sheett • Printi Printing ng inform informati ation on • Acces Accesss leve levell To change the properties for an object you can: • Double-cli Double-click ck the right mouse mouse button on the desired desired object. object. • Select the object object and then select select the ‘object ‘object properties‘ properties‘ in the edit edit menu. • Select the object object and and then press + < (17(5>. The object properties dialog box will then appear. 7DEOH7KHILHOGVLQWKHREMHFWSURSHUWLHVGLDORJER[
1MRK 511 105-UEN*1p6rA
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Name
Specifies the name of your object.
Pri Print opti option ons s... ...
Opens pens the the pri print nt opti option ons s dia dialo log g box box,, whe wherre the the page age lay layou outt is is associated.
Acces ccess s lev level
The The acc access level for the obj object. ect. The access cess level evel is related with the password.
103
)XQFWLRQVHOHFWRU
7HFKQLFDOGHVFULSWLRQV
Project tree
)XQFWLRQ VHOHFWRU With the Function Selector tool you can adapt parts of the library to functions available in the terminal. For some functions, the function block will have different shape depending on the selected options in the terminal.
6HOHFW IXQFWLRQV DQG RSWLRQV When you start to work with the configuration of a terminal, it is important that you use the correct set of functions. This is done by running: 1 Uplo Upload ad optio ptions ns 2 Func Functi tion on sele select cto or If the terminal is available, you should connect the PC to the terminal and run upload options. This function reads the program module of the terminal. After running upload options, the program module in the PC will match the library of the terminal when it comes to most of the functions. The rest of the functions will be updated with the Function Selector tool, where you can select to use data read from the terminal (during upload options) as input. If the terminal is not available, you run function selector.
1RWH
!
1RWDOOW\SHVRIWHUPLQDOVXVHIXQFWLRQVHOHFWRUV)RUWKHVHWHUPLQDOVLWLVHQRXJKWR UXQXSORDGRSWLRQVLQRUGHUWRREWDLQDSU UXQXSORDGRSWLRQVLQRU GHUWRREWDLQDSURJUDPPRGXOHWKDWPDWFKHVWKHRQHLQWKH RJUDPPRGXOHWKDWPDWFKHVWKHRQHLQWKH WHUPLQDO
8VHWKHIXQFWLRQVHOHFWRUWRROEHIRUH\RXVWDUWFRQILJXUDWLRQRIWKHWHUPLQDO
Function selectors are used to select one of many ma ny possible function blocks for the same function, e.g. input/output modules. The I/O module at a certain slot in the terminal can be of different types. The different types of I/O modules are represented by different types of function blocks.
104
1MRK 511 105-UEN*1p6rA
)XQFWLRQVHOHFWRU
7HFKQLFDOGHVFULSWLRQV
Project tree
&KDQJH WKH IXQFWLRQ VHOHFWRUV Input data to the function selector tool can be: • Working orking data — last saved saved data for this this terminal terminal • Uploaded Uploaded data — comes from from the terminal terminal at upload options options • Default Default data — presented presented the first first time for for each terminal terminal When the CAP 531 is started, the default data of the terminal is shown as working data. The CAP/REx 5xx program module specifies the default data for the corresponding terminal type. Default and working data are equivalent before the working data is changed. Uploaded data consists of the terminal function selectors. Uploaded data is available after you run upload options from a terminal. Här ska det in något om TERMINAL OPTIONS; Pernilla kommer med det.
0HQX EDU LQ IXQFWLRQ VHOHFWRU WRRO
)LOH PHQX 0HQXL XLWHP
6HO 6HOHFW HFW WKLV FRPPDQG DQGWWR
L oad
Import other function selector data than the ones displayed in the function selector tool. You can select between: - Working data. - Uploaded data. - Default data. • Working Working data will will present the latest latest stored stored function selecselectors for this terminal. • Uploaded Uploaded data will will present the function function selectors selectors uploaded uploaded from the terminal at upload options. • Default Default data will present present the default default function function selectors selectors that are included in the CAP/REx 5xx program module corresponding to the terminal.
1MRK 511 105-UEN*1p6rA
Save
Save the function selectors settings. The same function as the save button.
Exit
Quit the function selector tool.
(GLW PHQX 0HQXL XLWHP
6HO 6HOHFW HFW WKLV FRPPDQG DQGWWR
U ndo
Undo your last action.
105
8SGDWHYHUVLRQ
7HFKQLFDOGHVFULSWLRQV
Project tree
8SGDWH YHUVLRQ
&KDQJHV LQ WKH SURJUDP PRGXOH If the version or the contents of the program module change, either in CAP 531 or the terminal, you have to run ‘update version’. Examples of situations when the program module changes are when you: • install install a new version version of the CAP/REx CAP/REx 5xx program program module. module. • run the ‘funct ‘function ion selector’ selector’ tool and change change data. data. • insert insert a template template into into the the terminal. terminal. • run ‘upload ‘upload options’ options’ and a new set of functions functions are uploaded. uploaded. In most cases, ‘update version’ is performed automatically by CAP 531, but in some cases you must run ‘update version’ manually ma nually.. This is mainly when a new CAP/REx 5xx version is installed. If you need to run ‘update version’, a message is displayed.
8SGDWH YHUVLRQ A REx 5xx terminal has several options defining which functions will be available in a specific terminal. By default, a CAP/REx 5xx program module contains the complete set of functions, both basic and optional, of a REx 5xx terminal. To match the program module in the CAP 531 with the program module in a certain terminal you must upload the terminal options.
To update versions manually: &OLFNRQWKHWH &OLFNRQWKHWHUPLQDO UPLQDOLQWKH LQWKHSURMHFW SURMHFWWUHHWR WUHHWR VHOHFWLW 6HOHFWµXSGD 6HOHFWµXSGDWHYHUVLR WHYHUVLRQ¶LQW Q¶LQWKHPDNH KHPDNHPHQX PHQX
After ‘Update Version’ Version’ is executed, you might get an error list that indicates that some function blocks were changed.
)LJ
106
([DPSOHRIDQHUURUOLVWWKDWFRQWDLQVHUURUVWKDWRFFXUUHGDIWHU8SGDWH ([DPSOHRIDQHUURUOLVWWKDWFRQWDLQVHUURUVWKDWRFFXUUHG DIWHU8SGDWH 9HUVLRQLVUXQ
1MRK 511 105-UEN*1p6rA
8SGDWHYHUVLRQ
7HFKQLFDOGHVFULSWLRQV
Project tree
Go through the list by double-clicking on each of the errors. The program wil l open the work sheet and indicate the parameter or the function block involved. Run ‘update version’ again when the errors are corrected. The program module is updated if no errors occur during the update.
)LJ
1MRK 511 105-UEN*1p6rA
&RQILUPDWLRQER[XSGDWLQJZDVVXFFHVVIXO &RQILUPDWLRQER[XSGDWLQJZ DVVXFFHVVIXO
107
&RPSLODWLRQ
7HFKQLFDOGHVFULSWLRQV
Project tree
&RPSLODWLRQ
7KH FRPSLODWLRQ SURFHVV To compile means to translate and transform work sheet contents into special s pecial code that can be downloaded to -and understood by- the terminal. To link means to create connections among the work sheets and to store the results, which you download to the terminal. The linking will be performed automatically after the compilation. Compilation occurs in several stages: 1 Differ Different ent work work sheet sheetss are compil compiled. ed. 2 The compil compiled ed work work shee sheets ts are are linke linked. d. 3 The termin terminal al code code is is gener generate ated. d. 7DEOH7KHVHSULQFLSOHVDSSO\GXULQJFRPSLODWLRQ ,I
7KHQ
You select ‘C ‘Compile al all’
The sp specific terminal is compiled.
You sel selec ectt ‘Com ‘Compi pile le ter termin minal al’’
The The spec specif ific ic term termina inall is compi compile led. d.
CAP 531 detects an error in the Compilation stops, and the error list is displayed. configuration or other external Use this list to locate and correct errors. problem
&RPSLOH D WHUPLQDO
You must compile the terminal if one or more work sheets in the terminal have been changed. Changed work sheets are marked with a star next to the work sheet name in the project tree. ‘Compile terminal’ command: 6HOHFWWKHWHUP 6HOHFWWKHWHUPLQDO\RX LQDO\RXZDQW ZDQWWRFRPS WRFRPSLOHLQ LOHLQWKHSUR WKHSURMHFWWUH MHFWWUHH H 6HOHFWWKHµFRP 6HOHFWWKHµFRPSLOH SLOHWHUPLQDO WHUPLQDO¶FRPPD ¶FRPPDQGLQWK QGLQWKHPDNH HPDNHPHQX PHQX
&RUUHFW HUURUV ZLWK WKH HUURU OLVW
Compilation stops and the error list with messages is displayed if: • The compiler encounters programming, programming, memory, memory, or file errors. • Compilation Compilation proces processs is aborted by by user. user.
108
1MRK 511 105-UEN*1p6rA
&RPSLODWLRQ
7HFKQLFDOGHVFULSWLRQV
Project tree
All errors are linked to context-sensitive help. Select an error from the error list, press )!, and the help topic is displayed with an explanation of the error and different possible solutions to correct it. To find and correct errors in the configuration after compilation: 'RXEOHFOLFNOHIWPRXVHEXWWRQRQWKHHUURULQWKHHUURUOLVWWK 'RXEOHFOLFNOHIWPRXVHEXWWRQRQW KHHUURULQWKHHUURUOLVWWKHZRUNVKHHW HZRUNVKHHW FRQWDLQLQJWKHHUURUZLOOEHRSHQHGDQGWKHHUURULVKLJKOLJKWHG &RUUHFWWKHHUUR &RUUHFWWKHHUURUDQGUHS UDQGUHSHDWXQ HDWXQWLODOO WLODOOHUURUV HUURUVDUHFRUU DUHFRUUHFWHG HFWHG &RPSLOHDJDLQ &RPSLOHDJDLQWRVHH WRVHHLIDQ\QH LIDQ\QHZHUURU ZHUURUVDUHGH VDUHGHWHFWHG WHFWHG 5HSHDWXQWLOWKHFRPSLODWLRQJLYHVWKHWH[WµFRGHJHQHUDWHGVXFFHVVIXOO\ 5HSHDWXQWLOWKHFRPSLODWLRQJLYHVWKH WH[WµFRGHJHQHUDWHGVXFFHVVIXOO\¶DW ¶DW WKHVWDWXVEDUDIWHUFRPSLODWLRQ
The error list is always available in the Windows menu. The switch ‘detect warnings‘ in the make menu is normally switched off. When all errors are detected, it is recommended to switch on ‘detect warnings‘ and run a new compilation. The error list will now also include the warnings.
&RPPRQ HUURUV
Common error messages from the compilation process are: (UURU (UURUP PHV HVVDJ VDJH H
Decrease the scale of the active window.
Previous view
Num < / > or Num
Switch to the previous pr evious view.
Default size
Num < * >
Switch to the default size from an increased or decreased size so that the work sheet is displayed in the default size.
Redraw
)!
Rebuild the content of the active window on the screen.
Grid
)!
Create a grid in the work sheet. The grid can help you align objects more accurately.
Page borders
)!
Show the page borders, which are represented by blue dotted lines. The source area in the page layout defines the size of the page borders. If you did not specify a special page layout for the work sheet from the Print options dialog box in the project tree, then the default page layout is used for the page borders.
0DNH PHQX VHHQ IURP WKH ZRUN VKHHW YLHZ 0HQXL XLWHP WHP
Detect warnings
1MRK 511 105-UEN*1p6rA
,FRQ
,FRQ
6KRU 6KRUWWFXW FXW NH\
6HOHFWWKLVFRPPDQGWR
Display or hide warnings in the error list.
121
7RROEDUDQGPHQXEDU
7HFKQLFDOGHVFULSWLRQV
Work sheet
2QOLQH 0HQX VHHQ IURP WKH ZRUN VKHHW YLHZ 0HQX LWHP
,FRQ
6KRUWFXW NH\
Debug on
Switch debug mode on and off for the active work sheet. 1RWHThe ‘global debug’ command in the on-line menu must be active to enable any debug function.
Debug off Global debug
,FRQ
6KRUWFXW NH\
6HOHFWWKLVFRPPDQGWR
Tile
Arrange all open windows side by side.
Cascade
Arrange the windows so that they overlap (starting in the upper-left corner of the CAP 531 window). The title bar of each window remains visible.
Arrange symbols
Arrange the icons that are created if you minimize the windows.
Error list
View the error list if it is hidden. You can only show it if warnings or errors were detected.
Window list
Switch to a different open window. Select the window name that you want to be active.
+HOS 0HQX VHHQ IURP WKH ZRUN VKHHW YLHZ 0HQX LWHP
122
Switch on/off the possibility to set any work sheet in the entire project in debug mode.
:LQGRZ 0HQX VHHQ IURP WKH ZRUN VKHHW YLH YLHZ 0HQX LWHP
6HOHFWWKLVFRPPDQGWR
,FRQ
6KRUWFXW NH\
6HOHFWWKLVFRPPDQGWR
Contents
Open the table of contents of the CAP 531 help.
Index
Open the Index of the CAP 531 help.
Current object
Provide help on a selected object.
Current window
Provide help on the active window.
About CAP 5 53 31
Read information about CAP 531 such as version number and copyright information.
1MRK 511 105-UEN*1p6rA
7RROEDUDQGPHQXEDU
7HFKQLFDOGHVFULSWLRQV
Work sheet
6KRUWFXW NH\V VHHQ IURP WKH ZRUN VKHHW YLHZ You can perform general actions by using shortcut keys and key combinations.
1MRK 511 105-UEN*1p6rA
7R
3UHVV
Access help
)!
Selecting objects
63$&(!
123
8VHZRUNVKHHWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
8VH ZRUN VKHHWV
2SHQ D ZRUN VKHHW You create your configuration in work sheets. To open a work sheet: 6HOHFWDZRUN 6HOHFWDZRUNVKHHW VKHHWLQWKH LQWKHSURMHFW SURMHFWWUHH WUHH 'RXEOHFOLFN 'RXEOHFOLFNWKHOHI WKHOHIWPRXVH WPRXVHEXWWRQ EXWWRQRUSUHV RUSUHVV(1 V(17(5! 7(5!
All configuration is made in work sheets. You can split the configuration on several work sheets, where each work sheet represents one or several functions.
:RUN VKHHW VL]H A work sheet can comprise several pages that are separated by page borders. You can set the size of the work sheet. A work sheet can comprise up to 12 pages (3*4) which is the default value. 6HOHFWWKLVFRPPDQGLQWKH OD\RXWPHQX
7R
WS size
Set the number of pages, in height and width.
Page border
Display the page borders.
The page size and orientation is set in the page layout with the ‘paper orientation’ command in the layout menu when in the page layout mode.
1RWH
!
:HUHFRPPHQG\RXWRGLVSOD\WKHSDJHERUGHUVRIWKHZRUNVKHHWVR\RXFDQVHHZKHUH \RXSODFHWKHIXQFWLRQEORFNVLQWKHZRUNVKHHW7KLVLVLPSRUWDQWIRUWKHSULQWRXW \RXSODFHWKHIXQFWLRQEORFNVLQWKH ZRUNVKHHW7KLVLVLPSRUWDQWIRUWKHSULQWRXW
If you reduce the work sheet size, so that some work sheet objects do not fit into the new size, the check objects while changing WS size dialog box appears. 7DEOH7KHILHOGVLQWKHGLDORJER[
124
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Delete
Immediately deletes all necessary object to change the work sheet size.
Show
Highlights the objects that have to be deleted.
1MRK 511 105-UEN*1p6rA
8VHZRUNVKHHWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
&KDQJH ]RRP UDQJH Use this function to select an area on the screen to see details more clearly. To select a zoom area: 6HOHFWWKHµ]R 6HOHFWWKHµ]RRPUDQJH RPUDQJH¶FRPPD ¶FRPPDQGLQW QGLQWKH/D\RXW KH/D\RXWPHQX PHQX 3UHVVDQGKROGWKHOHIWPRXVHEXWWRQDQGGUDJ 3UHVVDQGKROGWKHOHIWPRXVHEXWWRQDQGGUDJWKHPRXVHRYHUWKHD WKHPRXVHRYHUWKHDUHDWREH UHDWREH ]RRPHG$IUDPHLVGUDZQRYHUWKHDUHD 5HOHDVHWKHP 5HOHDVHWKHPRXVHEX RXVHEXWWRQZK WWRQZKHQGHVL HQGHVLUHGDQG UHGDQGWKHDU WKHDUHDLV] HDLV]RRPHG RRPHG
You can go back with ‘previous view‘ or ‘default size‘ in the layout menu.
&OHDU ZRUN VKHHWV Use this function to clear the contents of a work sheet. To clear the work sheet: 6HOHFWWKHµFOHDUZRUNVKHHW¶FRPPDQGLQWKHHGLWPHQXDQGWKHFOHDUZRUN 6HOHFWWKHµFOHDUZRUNVKHHW¶FRPPDQGLQW KHHGLWPHQXDQGWKHFOHDUZRUN VKHHWGLDORJER[DSSHDUV
1RWH
!
1MRK 511 105-UEN*1p6rA
,I\RXKDYHFOHDUHGDZRUNVKHHWWKHFRQWHQWRIWKHZRUNVKHHWFDQQ ,I\RXKDYHFOHDUHGDZRUNVKHHWWKHFRQWHQWRIWKHZRUNVKHHWFDQQRWEHUHVWRUH RWEHUHVWRUHG G
125
2EMHFWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
2EMHFWV Function blocks, variables, settings and text comments are considered as objects in a work sheet.
)XQFWLRQ EORFNV All functions in a terminal — basic ba sic and optional — are represented as function blocks in CAP 531. Both protection functions and pure logic are shown as function blocks.
,QVHUW IXQFWLRQ EORFNV
Use this function to insert a new function block into the work sheet. To insert a function block: &OLFNLQWKHZRUNVKHHWZKHUH &OLFNLQWKHZRUNVKHHWZKHUH\RXZDQWWKHQHZIXQFWLRQEORFNWREH \RXZDQWWKHQHZIXQFWLRQEORFNWREHLQVHUWHG LQVHUWHG 6HOHFWWKHµIX 6HOHFWWKHµIXQFWLRQE QFWLRQEORFN¶F ORFN¶FRPPDQGL RPPDQGLQWKHRE QWKHREMHFWPHQ MHFWPHQXDQG XDQGWKHIXQF WKHIXQFWLRQ WLRQ EORFNGLDORJER[DSSHDUV
1RWH
!
126
7RDYRLGFROOLVLRQSRVLWLRQWKHLQVHUWLRQSRLQWIDUDZ RDYRLGFROOLVLRQSRVLWLRQWKHLQVHUWLRQSRLQWIDUDZD\IURPRWKHUREMHFWV D\IURPRWKHUREMHFWV
7DEOH7KHILHOGVLQWKHGLDORJER[ )LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Type
Type of function block.
Help elp on on FB FB type type
Start arts the the help elp page age for for this this type type of func functi tion on bloc lock.
Instance
The instance name of the function block. This name makes the function block unique if there are several sever al function blocks of the same type.
Para Paramet meter er set setti tings ngs
Start tarts s the the param paramet eter er set setti ting ng too tooll (PST) (PST).. The The PST PST will will s show how the parameters that corresponds to the current function block.
Height
Height of the function block. This is normally not changed. Do not set the height lower than the default one.
Forma Formall para parame mete ters rs
Names Name s and and typ types es of exis existi ting ng inpu inputt and and outpu outputt par param amet eter ers s of the function block. This is only for information and cannot be changed.
1MRK 511 105-UEN*1p6rA
2EMHFWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
To use this dialog box when inserting a new function block: 6HOHFWDIXQFW 6HOHFWDIXQFWLRQEOR LRQEORFNIURP FNIURPWKHµW\SH WKHµW\SH¶OLVWER ¶OLVWER[ [ ,IWKHUHDUHPRUHWKDQRQH ,IWKHUHDUHPRUHWKDQRQHIXQFWLRQEORFNDYDLODEOHRI IXQFWLRQEORFNDYDLODEOHRIWKHVHOHFWHG WKHVHOHFWHGW\SHVHOHFW W\SHVHOHFW DVSHFLILFLQVWDQFHIURPWKHµ,QVWDQFH¶OLVWER[ 6HOHFWDQHZ 6HOHFWDQHZKHLJKW KHLJKWRIWKH RIWKHIXQFWLRQ IXQFWLRQEORFN EORFNRUXVH RUXVHWKHGHID WKHGHIDXOWRQH XOWRQH 6HOHFW2.!D 6HOHFW2.!DQGWKHQ QGWKHQHZIXQ HZIXQFWLRQE FWLRQEORFNLV ORFNLVLQVHUW LQVHUWHG HG
Note that now the selected function block (instance) no longer appears in the selection list. If the function block is deleted in the work sheet, it will reappear in the selection list.
5HSODFH IXQFWLRQ EORFNV
Use this function to replace the selected function block with a new function block. To replace the t he function block: 6HOHFWWKHIXQF 6HOHFWWKHIXQFWLRQEOR WLRQEORFNLQW FNLQWKHZRU KHZRUNVKHHW NVKHHW 6HOHFWWKHµUH 6HOHFWWKHµUHSODFHI SODFHIXQFWLRQ XQFWLRQEORFN¶F EORFN¶FRPPDQGL RPPDQGLQWKHH QWKHHGLWPH GLWPHQXDQG QXDQGWKH WKH UHSODFHER[DSSHDUV
7DEOH7KHILHOGVLQWKHGLDORJER[ )LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Type
Type of function block.
Instance
The instance name of the function block. This name makes the function block unique if there are several se veral function blocks of the same type.
Paramet Parameter er setting settings s
Start Starts s the param paramete eterr settin setting g tool tool (PST). (PST). The The PST PST will will show show the parameters that corresponds to the current function block.
Formal Formal para paramet meters ers
Names Names and and types types of exis existin ting g input input and and output output para paramete meters rs of of the function block. This is only for information and cannot be changed.
To use this dialog box when replacing function blocks: 6HOHFWDIXQFW 6HOHFWDIXQFWLRQEOR LRQEORFNW\SHI FNW\SHIURPWKH URPWKHµW\SHµO µW\SHµOLVWER LVWER[ [ 6HOHFWDVSHFLILFIXQFWLRQEORFNIURPWKHµLQVWDQFHµO 6HOHFWDVSHFLILFIXQFWLRQEORFNIURPWKHµLQVWDQFHµOLVWER[RUXVHW LVWER[RUXVHWKHGHIDXOW KHGHIDXOW RQH 6HOHFW2.DQ 6HOHFW2.DQGWKHQ GWKHQHZIXQF HZIXQFWLRQEOR WLRQEORFNLV FNLVLQVHUWHG LQVHUWHG
1MRK 511 105-UEN*1p6rA
127
2EMHFWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
9DULDEOHV Variables are used in a configuration in order to increase the readability of the configuration. They provide a way of connecting signals between function blocks without drawing lines. The connection is made using variable names instead of lines. You You assign the output of a function block a user-defined name (Variable), (Variable), and the same name is assigned to the input of another function block. The CAP 531 program interprets this as a connection. The Variable Variable name can have maximum 32 characters. With the use of Variables, Variables, it is possible to connect signals to and from function blocks in different work sheets, and function blocks in different pages of t he same work sheet. Another special application of Variables Variables is the possibility to connect function block inputs to a fixed 1 (‘TRUE’) or a fixed 0 (‘FALSE’). (‘FALSE’). This is done by using the function block called FixedSignals which have these signals as output connections. You You give these output connections a name, such as TRUE and FALSE. You You can then reuse these fixed signals in the entire terminal as Variables. Input and output Variables Variables must have identical names to be considered interconnected by CAP 531. We recommend you to use the ‘Copy’/’Paste’ ‘C opy’/’Paste’ function when typing the variable names.
,QVHUW 9DULDEOHV
To insert a variable: 6HOHFWDQLQSXWRURXWSXWRIDIXQFWLRQEORFNRUFOLFNLQWKHZRUNVKHHWZ 6HOHFWDQLQSXWRURXWSXWRIDIXQFWLRQEORFNRUFOLFNLQWKHZRUNVKHHWZKHUH KHUH \RXZDQWWKHYDULDEOHWREHLQVHUWHG 6HOHFWWKHµYDUL 6HOHFWWKHµYDULDEOH¶F DEOH¶FRPPDQG RPPDQGLQWKHR LQWKHREMHFWPHQ EMHFWPHQXWKHY XWKHYDULDEOH DULDEOHGLDORJ GLDORJER[ ER[ DSSHDUV
7DEOH7KHILHOGVLQWKHGLDORJER[
128
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Name
Name of the variable. CAP 531 recommends a name when you insert a new variable. If no variable is defined CAP 531 suggest the name “variable”. If a user-defined name has been used CAP 531 suggest the latest used variable.
Link
If the variable is placed free in the work sheet and not directly to an input or an output of a function block, select if the variable is to be connected to an input or an output.
1MRK 511 105-UEN*1p6rA
2EMHFWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
To use this dialog box: 7\SHDQDPHRI \SHDQDPHRIWKHYDULD WKHYDULDEOHWKD EOHWKDW\RXZ W\RXZDQW DQW 6HOHFW/LQNWR 6HOHFW/LQNWREHLQSX EHLQSXWRURXW WRURXWSXWLI SXWLIQHFHVVD QHFHVVDU\ U\ 6HOHFW2.! 6HOHFW2.!DQGWKH DQGWKHYDULDEOH YDULDEOHZLOO ZLOOEHLQVH EHLQVHUWHG UWHG
6HWWLQJV In general, no settings are done with CAP 531. There are however a few exceptions when it comes to settings that can be considered as close to the configuration. These settings are, for example, a time delay or a name. The setting parameter name is displayed in magenta colour on a work sheet. The program uses the magenta colour to highlight a setting input. Settings can be numbers or text strings.
,QVHUW VHWWLQJV
To insert a setting: 6HOHFWDQLQSXW 6HOHFWDQLQSXWVHWWLQ VHWWLQJRQWK JRQWKHIXQFWL HIXQFWLRQEORFN RQEORFNZLW ZLWKPDJHQW KPDJHQWDFRORX DFRORXU U 6HOHFWWKHµVHWWLQJ¶FRPPDQGLQWKHREMHFWPHQXDQGWKHSDUDPHWHUVHWW 6HOHFWWKHµVHWWLQJ¶FRPPDQGLQ WKHREMHFWPHQXDQGWKHSDUDPHWHUVHWWLQJV LQJV GLDORJER[DSSHDUV
7DEOH7KHILHOGVLQWKHGLDORJER[
1MRK 511 105-UEN*1p6rA
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
N am e
Name of the setting.
Value
Setting value.
Minimum value
Lower range of allowed value.
Maximum value
Higher range of allowed value.
Step
Allowed step rate of the value.
Default
Default value.
Description
Description of the Value.
129
2EMHFWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
7H[W FRPPHQWV Anywhere in a work sheet you can write free text. This improves the readability and the understanding of the configuration. The comments can inform the reader about functions and signals. It can also be used as a temporary notepad for the engineer while making the configuration. You create a Text object for each line. You can choose colour and font for each Text object.
,QVHUW 7H[W FRPPHQWV
To insert comments: &OLFNLQWKHZ &OLFNLQWKHZRUNVKH RUNVKHHWZKH HWZKHUH\RXZ UH\RXZDQWWKH DQWWKHFRPPHQ FRPPHQWWREH WWREHLQVHUWH LQVHUWHG G 6HOHFWWKHµ7H[WFRPPHQW¶FRPPDQGLQWKHREMHFWPHQXDQGWKHFR PPHQW GLDORJER[DSSHDUV
7DEOH7KHILHOGVLQWKHGLDORJER[
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Comment
Specifies the text th that wi will be inserted. You can on only insert one line at a time. If the text runs over several lines, you insert one text object for each line.
Font...
Starts the font selection dialog box, from which you can change the font face, size, and so on.
'HOHWH REMHFWV Use this function to delete an object in the work sheet. An object can be a function block, a variable, a comment or a connection between function blocks. To delete an object: 6HOHFWWKHREMH 6HOHFWWKHREMHFW\RXZ FW\RXZDQWWR DQWWRGHOHWH GHOHWH 6HOHFWWKHµGHO 6HOHFWWKHµGHOHWH¶FR HWH¶FRPPDQG PPDQGDQGWKH DQGWKHREMHFW REMHFWZLOO ZLOOEHGHOH EHGHOHWHG WHG
130
1MRK 511 105-UEN*1p6rA
2EMHFWV
7HFKQLFDOGHVFULSWLRQV
Work sheet
If you try to delete a structure that will wil l not result in a logical structure, st ructure, the Delete Control dialog box appears. An example is when you try to delete only one section of a connection line between objects. 7DEOH7KHILHOGVLQWKHGLDORJER[ )LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Delete
Deletes the smallest legal structure.
Show
Highlights the smallest structure that will not cause any illegal structure in the work sheet.
• Select Delete, and the entire structure that must be deleted to cause a logical logical assembly of objects in the work sheet will be deleted. In the example above of the t he connection line, the entire connection line between the objects will be deleted. • Select Show, Show, and the the structure that must be deleted to cause a logical assembly of objects in the work sheet will be highlighted. In the example of the connection line, each section of the connection line will be highlighted.
2EMHFW SURSHUWLHV Under the ‘object properties’ item in the edit menu, more information is available on any object in CAP 531. The object properties can also be accessed with double-click on the right mouse button. See also Table 7, “The fields fields in the dialog dialog box.,” box.,” on page page 126 .
1MRK 511 105-UEN*1p6rA
131
/RFDOILQGDQGUHSODFH
7HFKQLFDOGHVFULSWLRQV
Work sheet
/RFDO ILQG DQG UHSODFH It is possible to search for text strings and objects in the project tree structure or in the active work sheet depending on which window is active when the function is i s activated. If the function is activated from the project tree, the entire project tree structure is searched. If the function is activated from a work sheet, only the active work sheet is searched.
)LQG To search for a text string: 6HOHFWWKHµIL 6HOHFWWKHµILQG¶FRPPD QG¶FRPPDQGLQW QGLQWKHHGLW KHHGLWPHQXDQ PHQXDQGWKHO GWKHORFDOIL RFDOILQGGLDO QGGLDORJER[ RJER[ DSSHDUV
7DEOH7KHILHOGVLQWKHGLDORJER[
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
F i nd W h a t
Specifies the text string to search for.
Match Match whole whole word word only only
Reques Requests ts that that CAP 531 searche searches s only only for for entire entire words. words.
Match case
Requests that CAP 531 search with the case sensitive option, which means that bim and BIM is different.
Direction
Specifies if the search should start from the top and go downwards, or from the bottom and go upwards in the work sheet.
F i n d n ex t
Searches for the next occurrence of the text string.
)LQG DQG 5HSODFH Use this function to search for text string or a character and replace it. To search and replace text: 6HOHFWWKHµILQGDQGUHSODFH¶FRPPDQGLQWKHHGLWPHQXDQGWKHORFDOUHSODFH 6HOHFWWKHµILQGDQGUHSODFH¶FRPPDQGLQWKHHGLWPHQXDQGWKHORFDOUHSODFH GLDORJER[DSSHDUV
132
1MRK 511 105-UEN*1p6rA
*OREDOILQGDQGUHSODFH
7HFKQLFDOGHVFULSWLRQV
Work sheet
7DEOH7KHILHOGVLQWKHGLDORJER[
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Find what
Specifies the text string to search for.
Match Match whole whole word word only only
Reques Requests ts that that CAP CAP 531 searc searches hes only only for enti entire re words. words.
Match case
Requests that CAP 531 search with the case sensitive option, which means that bim and BIM is different.
Replace with
Specifies the new text string.
Find next
Searches for the next occurrence of the text string.
Replace
Replaces the first entry.
Replace all
Replaces all entries.
*OREDO ILQG DQG UHSODFH It is possible to search for text strings and objects in all work sheets in a terminal. This makes it possible to search for objects such as function blocks or variables no matter if they are used in other work sheets. All dialog boxes are the same as for the Local Find and Replace function, but with t he addition of the checkbox ‘Search Only In Marked Items’.
1MRK 511 105-UEN*1p6rA
133
&RS\SDVWHDQGVDYH
7HFKQLFDOGHVFULSWLRQV
Work sheet
&RS\ SDVWH DQG VDYH
&XW REMHFWV WR WKH FOLSERDUG Use this function to cut the selected objects from the work sheet and move them to the clipboard. This function is accessed with the ‘Cut’ command on the Edit menu. Several objects can be selected by dragging the mouse with the left mouse button pressed. If you select objects to cut that will wil l result in an illegal structure in the t he work sheet or in the clipboard, the Cut Control dialog box appears. 7DEOH7KHILHOGVLQWKHGLDORJER[
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Cut
Extends the highlighting to a logical assembly of objects and moves it to the clipboard.
Show cut
Highlights the logical assembly of objects that will be deleted in the work sheet.
Show copy
Highlights the logical assembly of objects that will be copied to the clipboard.
&RS\ REMHFWV WR WKH FOLSERDUG Use this function to copy the selected objects to the clipboard. This function is accessed with the ‘Copy’ command on the edit menu. If you select objects to copy that will result in an illegal structure in the clipboard, then the Copy Control dialog box appears. 7DEOH7KHILHOGVLQWKHGLDORJER[
134
)LHOGEXWWRQRU FKHFNER[
'HVFULSWLRQ
Copy
Extend the highlighting to a logical assembly of objects and copies the collection to the clipboard.
Show copy
Highlights the logical assembly of objects that can be copied into the clipboard.
1MRK 511 105-UEN*1p6rA
&RS\SDVWHDQGVDYH
7HFKQLFDOGHVFULSWLRQV
Work sheet
3DVWH REMHFWV IURP WKH FOLSERDUG Use this function to paste objects from the clipboard into the work sheet. This function is accessed with the ‘paste and replace’ command on the edit menu. If a function block already exists in the t he same terminal, the Replace dialog box appears. For example if you try to copy a function block that only exists once in a terminal (only one instance), e.g. the breaker failure protection or fuse failure function.
*URXS REMHFWV Use this mode if you want to group a part of your work sheet, so you can use it in another work sheet or in the same work sheet. For example if you have a structure that you want to appear in several work sheets, you draw a group frame around the objects and save it in a file to reuse it in the other work sheets.
1RWH
!
,WLVQRWSRVVLEOHWRXVHD&RS\3DVWHIXQFWLRQRQDJURXS
View more...
Comments