• No results found

CAP531_en

N/A
N/A
Protected

Academic year: 2021

Share "CAP531_en"

Copied!
184
0
0

Loading.... (view fulltext now)

Full text

(1)

User’s Manual

User’s Manual

CAP 531*1.6

CAP 531*1.6

Configuration and Programming tool

Configuration and Programming tool

(2)

This manual belongs to:

This manual belongs to:

(3)

C

Ch

ha

ap

ptte

er

r

P

Pa

ag

ge

e

A

Ab

bo

ou

ut

t tth

hiis

s m

ma

an

nu

ua

al

l

5

5

IIn

nttrro

od

du

uc

cttiio

on

n

7

7

IIn

ns

sttrru

uc

cttiio

on

ns

s

1

13

3

T

Te

ec

ch

hn

niic

ca

al

l d

de

es

sc

crriip

pttiio

on

ns

s

8

81

1

R

Re

effe

erre

en

nc

ce

es

s

1

17

71

1

C

Cu

us

stto

om

me

er

r ffe

ee

ed

db

ba

ac

ck

k rre

ep

po

orrt

t

17

1

73

3

S

So

offttw

wa

arre

e R

Re

eg

giis

sttrra

attiio

on

n F

Fo

orrm

m

1

17

75

5

Contents

Contents

(4)
(5)

This is the user’s manual for CAP 531*1.6 This is the user’s manual for CAP 531*1.6 Document number: 1MRK

Document number: 1MRK 51511 105-UEN1 105-UEN Revision: A

Revision: A

Issue date: November 2002 Issue date: November 2002

Data subject to change without notice Data subject to change without notice

We reserve all rights to this document, even in the event that a patent is issued and a 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 different commercial proprietary right is registered. Improper use, in particular repro-duction and dissemination to third parties, is not permitted.

duction and dissemination to third parties, is not permitted.

This document has been carefully checked. If the user nevertheless detects any This document has been carefully checked. If the user nevertheless detects any errors, he is asked to notify us as soon as possible.

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 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 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 customers, we constantly seek to ensure that our products are developed to the latest technological standards.

technological standards.

As a result, it is possible that there may be some differences between the HW/SW As a result, it is possible that there may be some differences between the HW/SW product and this information product.

product and this information product.

$XWKRUVDGGUHVV $XWKRUVDGGUHVV

ABB Automation Technology Products AB ABB Automation Technology Products AB Control & Force Measurement

Control & Force Measurement Substation Automation Substation Automation SE-721 59 Västerås SE-721 59 Västerås T Telephone: +46 (0) 21 elephone: +46 (0) 21 34 20 0034 20 00 Facsimile: +46 (0) 21 14 69 18 Facsimile: +46 (0) 21 14 69 18 Internet: http://www.abb.com/substationautomation Internet: http://www.abb.com/substationautomation

 © Copyright 2002 ABB. All rights reserved.  © Copyright 2002 ABB. All rights reserved.

$ERXWWKLVPDQXDO

$ERXWWKLVPDQXDO

(6)

$ERXWWKLVPDQXDO

$ERXWWKLVPDQXDO

(7)

The chapter “Introduction”.

The chapter “Introduction”.

This chapter introduces you to the software product CAP 531*1.6. This chapter introduces you to the software product CAP 531*1.6.

Introduction Introduction ...9...9 Operating environment Operating environment ...9...9 CAP 531 documentation CAP 531 documentation ...9...9 Conventions used in this document

Conventions used in this document ...10...10 Product overview Product overview ...11...11 IEC 1131 programming IEC 1131 programming...11...11

Introduction

Introduction

(8)

Introduction

Introduction

(9)

,QWURGXFWLRQ ,QWURGXFWLRQ

,,Q

QWWUUR

RG

GX

XF

FWWLLR

RQ

Q

This chapter describes: This chapter describes:

 The CAP The CAP 531 o531 operatperating ening environvironmentment •• DoDocucumementntatatioionn

•• SymboSymbols and convls and conventioentions used in thins used in this documes documentnt

•• A brief overvA brief overview of CAP 531 and related configiew of CAP 531 and related configuratiuration producon products.ts. The

The&&onfigurationonfiguration DDndnd33rogramming toolrogramming tool &$3&$3enables configuration manage-enables configuration manage-ment, programming, and error detection and correction for REx

ment, programming, and error detection and correction for REx 5xx terminals.5xx terminals.



2

2S

SH

HUUD

DWWLLQ

QJ

J H

HQ

QY

YLLUUR

RQ

QP

PH

HQ

QWW

CAP 531 runs under Microsoft

CAP 531 runs under Microsoft®®Windows, for window versions.Windows, for window versions. See “Reference pub-See “Reference pub-licati

lications” on ons” on pagepage 171.171. Reference [2]. So you must be familiar with this programs,Reference [2]. So you must be familiar with this programs, which let you perform actions such as drag and drop, zoom, and scroll.

which let you perform actions such as drag and drop, zoom, and scroll.



&

&$

$3

3 





 G

GR

RF

FX

XP

PH

HQ

QWWD

DWWLLR

RQ

Q

This User’s Manual describes CA

This User’s Manual describes CAP 531*1.6.P 531*1.6. See also reference [1] for

See also reference [1] for documentation on the Parameter Setting documentation on the Parameter Setting TTool.ool. See also reference [2] for documentation on CAP 540.

See also reference [2] for documentation on CAP 540. See “Reference

See “Reference publications” opublications” on pagen page 171.171.

,QWURGXFWLRQ ,QWURGXFWLRQ

(10)

,QWURGXFWLRQ ,QWURGXFWLRQ

The CAP 531 documentation consists of these parts: The CAP 531 documentation consists of these parts:

There is also an on-line context-sensitive help in the program. Press

There is also an on-line context-sensitive help in the program. Press )!)!from any-from any-where in CAP 531 to get detailed referen

where in CAP 531 to get detailed reference information about all of CAPce information about all of CAP 531.531.



&

&R

RQ

QY

YH

HQ

QWWLLR

RQ

QV

V X

XV

VH

HG

G LLQ

Q WWK

KLLV

V G

GR

RF

FX

XP

PH

HQ

QWW

This document uses the following symbols: This document uses the following symbols:

This document uses the following

This document uses the following conventions:conventions:

3

3DDUUW W ,,WWHHP P ''HHVVFFUULLSSWWLLRRQQ

IInnttrroodduuccttiioonn TThhiis s cchhaapptteerr..

IInnssttrruuccttiioonnss IInnssttaallllaattiioonn IInnssttaallllaattiioon n iinnssttrruuccttiioonn..

IInnssttrruuccttiioonnss HeHellpp IInnssttrruuccttiioonns s oof f hhoow w tto o uusse e tthhe e hheellp p ffuunnccttiioonn.. IInnssttrruuccttiioonnss TTuuttoorriiaall SShhoowws s hhoow w tto o uusse e CCAAP P 55331 1 wwiitth h a a mmoouussee. . UUssee

this to learn how a project is run with CAP 531. this to learn how a project is run with CAP 531. The Tutorial goes through the normal The Tutorial goes through the normal proce-dures of a project. dures of a project. Technical Technical Description Description General General Project Tree Project Tree Work Sheet Work Sheet Page Layout Page Layout

Describes all parts of CAP 531. It contains Describes all parts of CAP 531. It contains thethe main topics in the context-sensitive help. main topics in the context-sensitive help.

Customer Customer feed-back card back card Software Software regis-tration form tration form References References Index Index 6 6\\PPEERRO O ,,QQGGLLFFDDWWHHVV

Actions performed with the mouse.Actions performed with the mouse.

Actions performed with the keyboard.Actions performed with the keyboard.

&

&RQRQYHYHQQWWLLRQ RQ ,,QGQGLLFFDDWWHHVV

<

<$/7$/7>> PPrreesss s tthhe e AAllt t kkeeyy.. <

<&75/&75/>> PPrreesss s tthhe e CCttrrl l kkeeyy.. <

<77$%$%>> PPrreesss s tthhe e TTaab b kkeeyy.. <

<$/7$/7> + <> + <))>> HoHold ld dodowwn tn the he AlAlt kt key ey anand pd preresss ts the he F4 F4 kekeyy.. <

<&75/&75/> + <> + <&&>> HoHold ld dodown wn ththe Ce Ctrtrl kl key ey anand pd preress ss ththe le letetteter cr c.. <

(11)

,QWURGXFWLRQ ,QWURGXFWLRQ

All terminals that are supported by CAP 531 are referred to as REx 5xx in this User’s 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 Manual. REx 5xx can be considered as any of the 500-terminals that are supported by CAP 531.

CAP 531.



3

3UUR

RG

GX

XF

FWW R

RY

YH

HUUY

YLLH

HZ

Z

The ABB Automation Industrial IT concept for S

The ABB Automation Industrial IT concept for Substation Automation comprise a fullubstation Automation comprise a full range of protection and control terminals for

range of protection and control terminals for protecting, controlling and monitoring allprotecting, controlling and monitoring all parts of electrical power transmission networks. The application and internal logic in 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 these terminals are configured using the CAP 531 and the CAP/REx 5xx function libraries for the specific terminal types.

libraries for the specific terminal types. T

To work with the o work with the parameter settings for the parameter settings for the protective functions in the terminals, protective functions in the terminals, thethe parameter setting tool (PST) and the corresponding PST/REx5xx library are used. parameter setting tool (PST) and the corresponding PST/REx5xx library are used.



,,(

(&

& 







 S

SUUR

RJ

JUUD

DP

PP

PLLQ

QJ

J

The IEC 1131 standard includes several graphical and textual programming languages. 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.

The CAP 531 function block diagram (FBD) is one of the IEC 1131 languages. FBD is a graphical language. It is a

FBD is a graphical language. It is a widely used programming language used for creat-widely used programming language used for creat-ing complicated networks with functions or function blocks. Networks are created ing complicated networks with functions or function blocks. Networks are created with lines that connect or duplicate information.

with lines that connect or duplicate information.

 )LJ

 )LJ )XQFWLRQEORFNLQWKH&$3)XQFWLRQEORFNLQWKH&$3ZRUNVKHHWZRUNVKHHW

In CAP 531, all the functions available in a terminal are represented by function In CAP 531, all the functions available in a terminal are represented by function

<

<(17(5(17(5>> PPrreesss s tthhe e EEnntteer r kkeeyy..

&R

&RQYQYHHQWQWLLRRQ Q ,,QQGLGLFFDDWWHHVV

Execution number. Execution number. Instance name.

Instance name. Cycle time.Cycle time. Type name. Type name. Setting. Setting. Input parameter. Input parameter. Output parameters. Output parameters.

(12)

,QWURGXFWLRQ ,QWURGXFWLRQ

A function that is represented as a function block in CAP 531 can be one of the A function that is represented as a function block in CAP 531 can be one of the following:

following:

•• proprotectectiotion funcn functiontion •• concontrotrol fl funcunctiotionn •• monmonitoitorinring funcg functiotionn •• lologigic func functctioionn

The instance name makes the function block unique. Cycle time is the time between The instance name makes the function block unique. Cycle time is the time between executions (8 ms in

executions (8 ms in Fig. 1Fig. 1 ).).

Each function block has an execution number

Each function block has an execution number (986 in(986 in Fig. 1Fig. 1 ). The execution number). The execution number tells you in which order the function blocks are executed.

tells you in which order the function blocks are executed.

([DPSOH ([DPSOH

Function blocks with cycle time 8

Function blocks with cycle time 8 ms are executed in the ms are executed in the terminal every 8terminal every 8 ms and exe-ms and exe-cution number 986 is executed after exeexe-cution number 985. All function blocks with cution number 986 is executed after execution number 985. All function blocks with this cycle time are executed within a period of 8 ms.

this cycle time are executed within a period of 8 ms.

 )LJ

 )LJ )XQFWLRQEORFNGLDJUDP)XQFWLRQEORFNGLDJUDP

Some settings are done in CAP 531. They are presented as inputs with magenta color. Some settings are done in CAP 531. They are presented as inputs with magenta color. In

In Fig. 2Fig. 2 the Timer function block has a setting of a delay time set to 1.000 seconds. Athe 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.

setting can be both numbers (as for a timer) or names.

!

!

1RWH

1RWH

 (QVXUHWKDW

 (QVXUHWKDWWKHIXQFWLRQEORFNVLQWKHFWKHIXQFWLRQEORFNVLQWKHFRQILJXUDWLRQDUHHRQILJXUDWLRQDUHH[HFXWHGFRQVHFXWLYHO\WRPLQ[HFXWHGFRQVHFXWLYHO\WRPLQ LPL]HGHOD\

(13)

The chapter “Installation”.

The chapter “Installation”.

This chapter instructs the user how to install the software CAP 531*1.6 on a PC and  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.

how to perform some typical tasks when using CAP 531.

Installation Installation ...17...17 Introduction Introduction ...17...17 Pre-installation requirements Pre-installation requirements ...17...17 The ‘Readme’ file

The ‘Readme’ file ... 1717

Installation of CAP 531 Installation of CAP 531...17...17 Help Help ...18...18 Using help Using help ...18...18 Other help actions

Other help actions ...18...18 Help on function blocks

Help on function blocks ...19...19

Tutorial

Tutorial ... ... 2020

Introduction

Introduction ...20...20 Quick Guide for using CAP 531

Quick Guide for using CAP 531 ...21...21

Getting started

Getting started...22...22 Start CAP 531

Start CAP 531 ... 2222 Create a project tree

Create a project tree ...22...22 Open a project

Open a project ...22...22 Import configurations from previous versions of CAP 531

Import configurations from previous versions of CAP 531...22...22 Password handling

Password handling...23...23

Start configuration work

Start configuration work ...23...23 Insert a new work sheet

Insert a new work sheet ...24...24 Add another work sheet

Add another work sheet ...25...25 Insert a terminal configuration template

Insert a terminal configuration template... 2525 Insert a work sheet from a file

Insert a work sheet from a file...27...27

Upload options

Upload options ...27...27

Instructions

Instructions

(14)

Instructions

Instructions

Work sheet

Work sheet ...34...34 Open the work sheet

Open the work sheet ...34...34 Using work sheets

Using work sheets...34...34 Insert function blocks into work sheets

Insert function blocks into work sheets ...35...35 Connect objects

Connect objects ...36...36 Save work sheets

Save work sheets...38...38 Exit from work sheets

Exit from work sheets...38...38

Variable, setting, text

Variable, setting, text...39...39 Variable Variable ...39...39 Insert variables Insert variables...39...39 Settings Settings ...41...41 Insert settings Insert settings...41...41 Insert text (Comment)

Insert text (Comment) ...42...42

Copy, paste and save in files

Copy, paste and save in files ...42...42 Clipboard functions

Clipboard functions ...42...42 Replace function blocks

Replace function blocks ...43...43 Groups

Groups ...44...44 Create groups

Create groups ...44...44 Save groups as files

Save groups as files...45...45 Insert groups from files

Insert groups from files...46...46 Save work sheets in files

Save work sheets in files...47...47 Save all work sheets in a terminal

Save all work sheets in a terminal ...47...47 Save work sheets as files

Save work sheets as files ...47...47 Insert work sheets from files

Insert work sheets from files ...48...48

Compile and link work sheets

Compile and link work sheets ...49...49

On-line functions On-line functions ...51...51 Communication setup Communication setup ...52...52 Upload options Upload options ...55...55 Download terminal configurations

Download terminal configurations...55...55 Upload configuration Upload configuration ...57...57 Debug mode Debug mode...57...57 Compare configurations Compare configurations...58...58

Start the page layout work

Start the page layout work ...61...61 Introduction

Introduction ...61...61 Assign page layouts to work sheets, terminals or project tree

Assign page layouts to work sheets, terminals or project tree...61...61 Create a new page layout

Create a new page layout ...63...63 Copy and insert page layouts

Copy and insert page layouts...63...63

Edit page layout

Edit page layout ...65...65 Source area

Source area...65...65 Cross reference area

(15)

Instructions

Instructions

Objects

Objects...68...68

Edit environment items

Edit environment items...70...70

Finish the page layout work

Finish the page layout work ...73...73 Save page layouts

Save page layouts ...73...73 Exit from the page layout

Exit from the page layout ...73...73

Print

Print...74...74 Print work sheets

Print work sheets ...74...74 Print a terminal

Print a terminal...75...75 Print the project tree

Print the project tree...75...75

Exit CAP 531

Exit CAP 531... 7575

Process Terminator

(16)

Instructions

Instructions

(17)

,QWURGXFWLRQ ,QWURGXFWLRQ Installation Installation

,QVWDOODWLRQ

,QVWDOODWLRQ

This chapter describes: This chapter describes:

•• Pre-inPre-installatstallation ion requirequirementrementss •• ThThe REe READMADME fiE filele

•• WhaWhat it is is instnstallealledd

•• InsInstaltallatilation of CAon of CAP 531P 531..

,,Q

QWWUUR

RG

GX

XF

FWWLLR

RQ

Q



3

3UUH

HLLQ

QV

VWWD

DOOOOD

DWWLLR

RQ

Q UUH

HT

TX

XLLUUH

HP

PH

HQ

QWWV

V

See reference [2] for requirements on PC and operative system,

See reference [2] for requirements on PC and operative system, See “Reference publi-See “Reference publi-cations”

cations” on on page page 171171..



7

7K

KH

H µµ5

5H

HD

DG

GP

PH

H¶¶ IILLOOH

H

CAP 531 comes with a ‘Readme’ file, including last-minute updates that were made 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 after this document was printed. The file also includes important information about this version of CAP 531.

this version of CAP 531.

Read the ‘Readme’ file before you start CAP 531. Read the ‘Readme’ file before you start CAP 531.

,,Q

QV

VWWD

DOOOOD

DWWLLR

RQ

Q R

RII &

&$

$3

3 





CAP 531 is part of the CAP 540 tool package installation. Reference [2].

CAP 531 is part of the CAP 540 tool package installation. Reference [2]. See “Refer-See “Refer-ence publication

ence publications” on s” on page page 171.171.

The icons that will be added to the start menu in Programs\CAP 531 are: The icons that will be added to the start menu in Programs\CAP 531 are:

•• CACAP 53P 531 1.1 1.6 He6 Helplp

•• CAP 5CAP 531 131 1.6 R.6 READEADME.TME.TXTXT •• SPSPA A EmuEmulatlatoror

•• TTermerminainate procte processesseses

,QVWUXFWLRQV ,QVWUXFWLRQV

(18)

8VLQJKHOS 8VLQJKHOS Help Help ,QVWUXFWLRQV ,QVWUXFWLRQV

+HOS

+HOS

This chapter describes the help functions in CAP 531. This chapter describes the help functions in CAP 531.

8

8V

VLLQ

QJ

J K

KH

HOOS

S

The CAP 531 context-sensitive help includes topics that cover all parts of

The CAP 531 context-sensitive help includes topics that cover all parts of the program.the program. The items in the Help menu are:

The items in the Help menu are:

If you want help regarding what you currently work with, you select current object in If you want help regarding what you currently work with, you select current object in the help menu.

the help menu.

To get an overview of all topics, you can start the table of contents in Help. From the 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.

table of contents, you can select a topic.

2

2WWK

KH

HUU K

KH

HOOS

S D

DF

FWWLLR

RQ

QV

V

When you are in help,

When you are in help, you can select the menu you can select the menu bar, buttons, or the underlined words.bar, buttons, or the underlined words. The underlined words are hypertext jumps (links). Click on them to quickly go to other The underlined words are hypertext jumps (links). Click on them to quickly go to other topics. Y

topics. You can also use ou can also use the search button, which displays the search button, which displays a dialog box that promptsa dialog box that prompts you for search words.

you for search words.

0

0HQHQXXLWLWHHP P 6H6HOHOHFWFWWWKLKLVVFFRPRPPDPDQGQG WRWR

C

Coonntteennttss OOppeen n tthhe e ttaabblle e oof f ccoonntteenntts s oof f tthhe e CCAAP P 55331 1 hheellpp.. IInnddeexx OOppeen n tthhe e iinnddeex x oof f tthhe e CCAAP P 55331 1 hheellpp..

C

Cururrrenent Ot Obbjjeecctt PProrovividedes hs heellp op on a n a seselelectcteed od obbjjeecctt.. Cu

Currrrenent t WiWindndowow PrProvovidides es hehelp lp on on ththe ae actctivive we winindodoww.. Ab

Abouout CAt CAPP 53531..1.... SpSpececififieies ths the CAe CAP 53P 531 ve1 versrsioion nun numbmberer, cop, copyryrigight iht infonfor- r-mation and user registration data.

(19)

+HOSRQIXQFWLRQEORFNV +HOSRQIXQFWLRQEORFNV Help Help ,QVWUXFWLRQV ,QVWUXFWLRQV

+

+H

HOOS

S R

RQ

Q IIX

XQ

QF

FWWLLR

RQ

Q E

EOOR

RF

FN

NV

V

It is possible to access help on the function blocks directly in the work sheet. It is possible to access help on the function blocks directly in the work sheet.





TTo access help on o access help on function blocks:function blocks:

 0DUN0DUNWKHIXQFWKHIXQFWLRQEORWLRQEORFNLQWFNLQWKHZRUKHZRUNVKHHWNVKHHW 

 'RXEOH'RXEOHFOLFNFOLFNRQWKHORQWKHOHIWRUUHIWRUULJKWPRLJKWPRXVHEXWWXVHEXWWRQRQ 

 6HOHFW6HOHFWKHOSRQKHOSRQ)%W\SH)%W\SH

1RWH

1RWH

7KHKHOSWH[WPLJKWQRWEHDYDLODEOHRQDOOIXQFWLRQEORFNW\SHV 7KHKHOSWH[WPLJKWQRWEHDYDLODEOHRQDOOIXQFWLRQEORFNW\SHV

(20)

,QWURGXFWLRQ ,QWURGXFWLRQ Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

7XWRULDO

7XWRULDO

This chapter instructs the user how some typical tasks are performed when working This chapter instructs the user how some typical tasks are performed when working with CAP 531*1.6.

with CAP 531*1.6.

,,Q

QWWUUR

RG

GX

XF

FWWLLR

RQ

Q

This tutorial chapter will follow all the steps in a project, from setup of the project This tutorial chapter will follow all the steps in a project, from setup of the project structure to the downloading, debug and final

structure to the downloading, debug and final documentation.documentation.

This chapter will show how to work with CAP 531 using a mouse. It is also possible to This chapter will show how to work with CAP 531 using a mouse. It is also possible to operate CAP 531 from the

operate CAP 531 from the keyboard.keyboard. The steps that will be gone through are: The steps that will be gone through are:

•• InserInsert work shet work sheets or a templaets or a template confte configuraigurationtion •• UplUpload oad optoptionionss

•• FunFunctiction seon selectlectorsors

•• WWork in the work sheork in the work sheets, make a confiets, make a configuratgurationion •• VVariablariable, sete, setting, ting, texttext

•• CopCopyy, past, paste and sae and saveve •• CoCompmpililee

•• DoDownwnloloadad •• DDeebbuugg

•• CompCompare are conficonfiguratgurationsions •• PaPage ge lalayoyoutut

•• PPrriinntt

(21)

4XLFN*XLGHIRUXVLQJ&$3 4XLFN*XLGHIRUXVLQJ&$3 Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

4

4X

XLLF

FN

N *

*X

XLLG

GH

H IIR

RUU X

XV

VLLQ

QJ

J &

&$

$3

3 





The table below describes the work order when you use the program. For detailed The table below describes the work order when you use the program. For detailed information on each step, please see the

information on each step, please see the referenced chapterreferenced chapter. For a full understanding of . For a full understanding of  the program, we recommend you to

the program, we recommend you to go through the entire tutorial chapter.go through the entire tutorial chapter.

6

6WWHHS S 77RR GGRR  55HHIIHHUUHHQQFFHH

1

1 IInnssttaalll l CCAAP P 553311.. See “Installation of CAP 531” onSee “Installation of CAP 531” on page 17

page 17.. 2

2 SSttaarrt t CCAAP P 553311.. See “Start CAP 531” on pageSee “Start CAP 531” on page 22.

22. 3

3 IInnsseerrt a t a wwoorrk sk sheheeet ot or a r a tetemmplplaatte ce coonnffiigguurra- a-tion in the selected terminal.

tion in the selected terminal.

See “Insert a new work sheet” See “Insert a new work sheet” on

on page page 2424 andand “Insert a termi-“Insert a termi-nal configuration template” on nal configuration template” on pa

pagege 2525.. 4

4 BBeeffoorre e ddoowwnnllooaaddiinng g tto o a a nneew w tteerrmmiinnaall always run upload options, load uploaded always run upload options, load uploaded data to the function selector and make data to the function selector and make update version.

update version.

See “Upload options” on page See “Upload options” on page 27.

27.

See “Using function selectors” See “Using function selectors” on

on page page 3232.. 5

5 UUse se tthe he FFuunnccttioion n SSeelleeccttoor r ttooool l tto o seselelecctt hardware and main functions in the hardware and main functions in the termi-nal.

nal.

See “Using function selectors” See “Using function selectors” on

on page page 3232

6

6 OOppeen n tthhe e wwoorrk k sshheeeett.. See “Open the work sheet” onSee “Open the work sheet” on page 34

page 34 7

7 IInnsseerrt t fufunnctctiion on bblloocckks s anand d ccoonnnneecct t tthehemm.. See “Insert function blocks intoSee “Insert function blocks into work sheets”

work sheets” on on page page 3535 andand “Connec

“Connect objectt objects” on pags” on pagee 3636.. 8

8 CClloosse e tthhe e wwoorrk k sshheeeett.. See “Exit from work sheets” onSee “Exit from work sheets” on page 38

page 38.. 9

9 CCoommppiille e tthhe e ccoonnffiigguurraattiioonn.. See “Compile and link workSee “Compile and link work sheets”

sheets” on on page page 4949.. 10

10 RRun un UUplploaoad Od Optptioions ns bebefofore re ththe fe firirsst dt dowown- n-loading to a terminal, if this has not been loading to a terminal, if this has not been done earlier in the project.

done earlier in the project.

See “Upload options” on page See “Upload options” on page 27.

27.

1

111 DDowownlnloaoad thd the ce coonfnfigiguuraratition on to tto the he tetermrmininalal.. See “Download terminal config-See “Download terminal config-urations” on

urations” on page page 5555.. 1

122 DDeebbuug tg thhe ce coonnffiigguurraattiioonn.. See “Debug See “Debug mode” on mode” on page page 5757.. 13

13 PPrerepapare re ththe de drarawiwing ng foform rm by by ththe ue use se of of tthehe Page Layout.

Page Layout.

See “Start the page layout work” See “Start the page layout work” on

on page page 6161.. 1

(22)

*HWWLQJVWDUWHG *HWWLQJVWDUWHG Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

*

*H

HWWWWLLQ

QJ

J V

VWWD

DUUWWH

HG

G



6

6WWD

DUUWW &

&$

$3

3 





To start CAP 531:To start CAP 531:

1

1 CAP CAP 531 i531 is sts started arted from wfrom within ithin the Cthe CAP 54AP 540, ref0, reference erence [2].[2]. See “Reference publica-See “Reference publica-tions”

tions” on on page page 171171.. 2

2 The prThe project oject will will open aopen automatutomatically ically and pand prompt rompt for pfor passwoassword.rd.



&

&UUH

HD

DWWH

H D

D S

SUUR

RMMH

HF

FWW WWUUH

HH

H

You create a new project tree

You create a new project tree from within the CAP 540, Reference [2].from within the CAP 540, Reference [2]. See “ReferenceSee “Reference publications”

publications” on on page page 171171. Password for a new project is. Password for a new project is1(:!1(:!..

A project tree in CAP 531 can only have the levels terminal and work sheets. In the A project tree in CAP 531 can only have the levels terminal and work sheets. In the work sheets you make the

work sheets you make the graphical configuration of the corresponding terminal.graphical configuration of the corresponding terminal. The work sheets are added with ‘Insert’ in the Edit menu.

The work sheets are added with ‘Insert’ in the Edit menu.

 )LJ

 )LJ 3URMHFWWUHH3URMHFWWUHH



2

2S

SH

HQ

Q D

D S

SUUR

RMMH

HF

FWW

Y

You can open a project ou can open a project that is already prepared. This that is already prepared. This is done from CAP is done from CAP 540 with the540 with the ‘Open Project’ command in the File menu. A password is required. This password is ‘Open Project’ command in the File menu. A password is required. This password is set by the creator of the project.

set by the creator of the project.



,,P

PS

SR

RUW

UW F

FR

RQ

QIILJ

LJX

XUUD

DWWLR

LRQ

QV

V IU

IUR

RP

PS

SUH

UHYL

YLR

RX

XV

VY

YH

HUV

UVLLR

RQ

QV

V R

RI

I&

&$3

$3 





Y

You can copy earlier done terminal ou can copy earlier done terminal configurations into CAP 540, Rconfigurations into CAP 540, Reference [2].eference [2]. SeeSee “Reference publ

“Reference publications” on ications” on page page 171171 andand See “How to move See “How to move configurations fromconfigurations from CAP 531*1.3

(23)

6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

!

!

1RWH

1RWH

2QO\WKHWHUPLQDOFRQILJXUDWLRQIURPHDUOLHUYHUVLRQVRIWKH&$3WRROFDQEH 2QO\WKHWHUPLQDOFRQILJXUDWLRQIURPHDUOLHUYHUVLRQVRIWKH&$3WRROFDQEH LPSRUWHG:KHQ\RXZRUNZLWK&$3\RXDOZD\VZRUNLQWKHVDPHVWUXFWXUHDV LPSRUWHG:KHQ\RXZRUNZLWK&$3\RXDOZD\VZRUNLQWKHVDPHVWUXFWXUHDV &$3 XVHV &$3 XVHV



3

3D

DV

VV

VZ

ZR

RUUG

G K

KD

DQ

QG

GOOLLQ

QJ

J

Password of a new project is always

Password of a new project is always 1(:!1(:! with access right 1. This means that thewith access right 1. This means that the person who creates a new project has the complete system rights to the entire project. 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 The creator can set a number of different passwords with different access levels (higher numbers).

(higher numbers). See “Password See “Password handling” on handling” on page page 9999 .. ..

 )LJ

 )LJ 3DVVZRUGGHILQLWLRQ3DVVZRUGGHILQLWLRQ

6

6WWD

DUUWW F

FR

RQ

QIILLJ

JX

XUUD

DWWLLR

RQ

Q Z

ZR

RUUN

N

Y

You can start the configuration work ou can start the configuration work with one of the follwith one of the following:owing: •• blank blank pages pages (new (new work work sheet)sheet)

(24)

6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

If you start with an example or a standard configuration, you start by inserting a If you start with an example or a standard configuration, you start by inserting a tem-plate configuration (‘Edit’ - ‘Insert temtem-plate’).

plate configuration (‘Edit’ - ‘Insert template’).

If you start with a prepared work sheet, you start by inserting this work sheet 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).

(‘Copy’/ ‘Paste’ in the project tree, or ‘Insert from’ in the work sheet).



,,Q

QV

VH

HUUWW D

D Q

QH

HZ

Z Z

ZR

RUUN

N V

VK

KH

HH

HWW

If you start your configuration work without

If you start your configuration work without using any previously prepared configura-using any previously prepared configura-tion, you start work by inserting a new work sheet inside the terminal.

tion, you start work by inserting a new work sheet inside the terminal.





TTo insert a new o insert a new work sheet:work sheet:

 )LJ

 )LJ ,QVHUWGLDORJER[,QVHUWGLDORJER[

 6HOHFW6HOHFWWKHWHUPWKHWHUPLQDOLQLQDOLQWKH3WKH3URMHFW7URMHFW7UHHUHH

 6HOHFW6HOHFWWKHµ,QVWKHµ,QVHUW¶LFRHUW¶LFRQRQWKHQRQWKHWRROEDWRROEDUU $GLDORJER[DSSHDUV

$GLDORJER[DSSHDUV

 6HOHFW6HOHFWW\SH:W\SH:RUNVKHRUNVKHHWHW 

 77\SHDQD\SHDQDPHIRUPHIRUWKHZRWKHZRUNVKHHUNVKHHWW 

(25)

6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV



$

$G

GG

G D

DQ

QR

RWWK

KH

HUU Z

ZR

RUUN

N V

VK

KH

HH

HWW

If you want to split up your configuration on several work sheets, you can add more 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, work sheets to the terminal. This can be done in the same way as described above, which inserts the new work sheet as

which inserts the new work sheet as the bottom one in the terminal, or in the followingthe bottom one in the terminal, or in the following way.

way.

To add a work sheet:To add a work sheet:



,,Q

QV

VH

HUUWW D

D WWH

HUUP

PLLQ

QD

DOO F

FR

RQ

QIILLJ

JX

XUUD

DWWLLR

RQ

Q WWH

HP

PS

SOOD

DWWH

H

Y

You can start ou can start your configuration work by your configuration work by using a previously using a previously prepared configurationprepared configuration (template). This prepared configuration can be a:

(template). This prepared configuration can be a: •• standstandard confiard configuratguration of a companyion of a company..

•• confconfiguratiguration used in a prion used in a previoevious projecus project.t.

•• example configuexample configuration included ration included in the in the CAP/REx 5xx pCAP/REx 5xx program modrogram module.ule.

For a more complex terminal with a comprehensive configuration, it is a big advantage For a more complex terminal with a comprehensive configuration, it is a big advantage to start the work by using an existing configuration as a template and only make the to start the work by using an existing configuration as a template and only make the necessary changes.

necessary changes. Note that the default

Note that the default programming of terminals might differ from the example programming of terminals might differ from the example config- config-uration included in the corresponding CAP/REx

uration included in the corresponding CAP/REx 5xx program module.5xx program module. Use the ‘Insert Template’ command in the Edit menu

Use the ‘Insert Template’ command in the Edit menu to insert the templates.to insert the templates.

!

!

1RWH

1RWH

7KHWHUPLQDOPXVWQRWKDYHDQ\ZRUNVKHHWVFRQQHFWHGWRLWWRVWDUWZLWK2WKHUZLVHWKH 7KHWHUPLQDOPXVWQRWKDYHDQ\ZRUNVKHHWVFRQQHFWHGWRLWWRVWDUWZLWK2WKHUZLVHWKH LQVHUWWHPSODWHFRPPDQGLVQRWDFWLYH LQVHUWWHPSODWHFRPPDQGLVQRWDFWLYH 

 6HOHFW6HOHFWDµ:Dµ:RUN6KHHRUN6KHHW¶LFRQW¶LFRQ<<RXFDQLRXFDQLQVHUWWQVHUWWKHKH QHZZRUNVKHHWDERYHRUEHORZWKLVVHOHFWHG QHZZRUNVKHHWDERYHRUEHORZWKLVVHOHFWHG ZRUNVKHHW

ZRUNVKHHW

 6HOHFW6HOHFWWKHµ,QWKHµ,QVHUW¶LVHUW¶LFRQRQFRQRQWKHWRROWKHWRROEDUEDU $GLDORJER[DSSHDUVVHH

$GLDORJER[DSSHDUVVHH)LJ)LJ

 77\SHDQD\SHDQDPHIRUWPHIRUWKHZRUKHZRUNVKHHNVKHHW6HOHFW6HOHFWWRSOWWRSODFHDFH WKHZRUNVKHHWDERYHRUEHORZWKHVHOHFWHGRQH WKHZRUNVKHHWDERYHRUEHORZWKHVHOHFWHGRQH 

(26)

6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

TTo insert a o insert a template:template:

 )LJ

 )LJ 7KH,QVHUW77KH,QVHUW7HPSODWHGLDORJER[HPSODWHGLDORJER[

 &

 &OLFNRQWKHWHUPLQDOLQWKH3URMHFW7OLFNRQWKHWHUPLQDOLQWKH3URMHFW7UHHWRVHOHFWUHHWRVHOHFW LW

LW 

 6HOHFW6HOHFWWKHµ,QVWKHµ,QVHUW7HUW7HPSODWHHPSODWH¶FRPPD¶FRPPDQGLQWKQGLQWKH(GLWH(GLW PHQXDQGWKH,QVHUW7HPSODWHGLDORJER[

PHQXDQGWKH,QVHUW7HPSODWHGLDORJER[ DSSHDUV

DSSHDUV 

 6HOH6HOHFWFWDWHDWHPSOPSODWHDWH 

 6HOHFW2.!WRFRQILUPµ8S6HOHFW2.!WRFRQILUPµ8SGDWH9HUVLRQ¶GDWH9HUVLRQ¶ZLOOUXQZLOOUXQ DXWRPDWLFDOO\

(27)

8SORDGRSWLRQV 8SORDGRSWLRQV Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV



,,Q

QV

VH

HUUWW D

D Z

ZR

RUUN

N V

VK

KH

HH

HWW IIUUR

RP

P D

D IILLOOH

H

Y

You can use the ‘Insert From’ command to insert a ou can use the ‘Insert From’ command to insert a stored work sheet into a new termi-stored work sheet into a new termi-nal configuration.

nal configuration.

To insert a stored work sheet:To insert a stored work sheet:

 ,QVHUWD,QVHUWDQHZZQHZZRUNVKHHRUNVKHHWLQWKWLQWKH3URMHH3URMHFW7FW7UHHUHH 

 2SHQWK2SHQWKHQHZHQHZHPSW\HPSW\ZRUNVKZRUNVKHHWHHW 

 0DNHDQLQVHUWLRQPDUNLQWKHXSSHUOHIWFRUQ0DNHDQLQVHUWLRQPDUNLQWKHXSSHUOHIWFRUQHURIWKHZRUNVKHHWE\FOLFNLQJHURIWKHZRUNVKHHWE\FOLFNLQJ ZLWKWKHOHIWPRXVHEXWWRQ

ZLWKWKHOHIWPRXVHEXWWRQ 

 6HOHFW6HOHFWWKHµ,QVWKHµ,QVHUW)URPHUW)URP¶FRPP¶FRPPDQGLQWKDQGLQWKH(GLWH(GLWPHQXDPHQXDQGWKHQGWKH,QVHUW),QVHUW)URPGLDURPGLD ORJER[DSSHDUV

ORJER[DSSHDUV 

 6HOHFW6HOHFWWKHGLUHWKHGLUHFWRU\DQFWRU\DQGWKHIGWKHILOHQDPLOHQDPHRIWKHRIWKHVWRUHGHVWRUHGZRUNZRUNVKHHWVKHHW   6HOH6HOHFWFW2.2.!! ..  )LJ  )LJ 7KH,QVHUW)URPGLDORJER7KH,QVHUW)URPGLDORJER[[



8

8S

SOOR

RD

DG

G R

RS

SWWLLR

RQ

QV

V

When you start working with the configuration of a terminal, it is important that the When you start working with the configuration of a terminal, it is important that the functionality in the terminal is represented correctly in the CAP tool. This is done by functionality in the terminal is represented correctly in the CAP tool. This is done by running:

running: 1

1 UplUpload Ooad Optiptions — ions — if the tf the termerminainal is avl is availailablablee or Terminal Options if this is supported by t

(28)

8SORDGRSWLRQV 8SORDGRSWLRQV Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

If the terminal is available, it is recommended to connect the PC to the terminal and If the terminal is available, it is recommended to connect the PC to the terminal and run ‘Upload Options’ in the On-line

run ‘Upload Options’ in the On-line menu. Ymenu. You can connect the PC ou can connect the PC either to the fronteither to the front port of the terminal or

port of the terminal or to a rear SPA-port.to a rear SPA-port.

!

!

1RWH

1RWH

 %HIRUH\RXVWDUWFRPPXQ  %HIRUH\RXVWDUWFRPPXQLFDWLQJWRDWHUPLQDOPDNHVXUHWKHLFDWLQJWRDWHUPLQDOPDNHVXUHWKHFRPPXQLFDWLRQVHWXSLQFRPPXQLFDWLRQVHWXSLQ &$3LVFRUUHFW &$3LVFRUUHFW6HH³2QOLQHIXQFWLRQV´RQSDJH6HH³2QOLQHIXQFWLRQV´RQSDJH

The ‘Upload Options’ command uploads from the

The ‘Upload Options’ command uploads from the terminalterminal •• List of fList of functiunctions instons installed ialled in the tern the terminalminal

•• FunctFunction ion selectoselector infr informatormationion

The terminal includes the set of functions that were ordered for this terminal. By The terminal includes the set of functions that were ordered for this terminal. By run-ning Upload Options, the list of available function blocks in CAP 531 will match the ning Upload Options, the list of available function blocks in CAP 531 will match the installed functions in the terminal.

installed functions in the terminal.

In CAP/REx 5xx product module, function blocks representing all functions

In CAP/REx 5xx product module, function blocks representing all functions in the ter-in the ter-minal (standard and optional) are available, and replace the complete list of functions minal (standard and optional) are available, and replace the complete list of functions that is provided by CAP

that is provided by CAP 531. After uploading, Update Ver531. After uploading, Update Version runs automatically. Thesion runs automatically. The library used by CAP 531 for this terminal will be reduced so that it corresponds to the library used by CAP 531 for this terminal will be reduced so that it corresponds to the functionality.

functionality.

Uploading also involves the uploading of the function selectors of the terminal. In the Uploading also involves the uploading of the function selectors of the terminal. In the function selector it is possible to choose Uploaded data as input to the function function selector it is possible to choose Uploaded data as input to the function selec-tors. See chapter

tors. See chapter “Funct“Function selecion selector” on pator” on pagege 3030 for more information.for more information.

 )LJ

 )LJ $ZDUQLQJLVGLVSOD\HGLIWKHOLEUDU\RIHOHPHQWVGLIIHUV$ZDUQLQJLVGLVSOD\HGLIWKHOLEUDU\RIHOHPHQWVGLIIHUV

The warning in the

The warning in the Fig. 6Fig. 6 is displayed if the list is displayed if the list of available functions differs from theof available functions differs from the terminal and the corresponding library in CAP 531. This

terminal and the corresponding library in CAP 531. This will be the normal case will be the normal case whenwhen you run ‘Upload Options’ for the first time from a certain terminal.

(29)

8SORDGRSWLRQV 8SORDGRSWLRQV Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

A message is displayed if no differences are found between the list of functions used in A message is displayed if no differences are found between the list of functions used in the terminal and the library list that is used in the tool.

the terminal and the library list that is used in the tool.

To upload the list of functions and function selectors To upload the list of functions and function selectors from the terminalfrom the terminal

If a function appears in a work sheet, and

If a function appears in a work sheet, and this function is not available in this function is not available in the terminal,the terminal, an error list is

an error list is generated by the Update Version.generated by the Update Version.

If error messages are If error messages are displayed from Update Vdisplayed from Update Version, then:ersion, then:

 'RXEOH'RXEOHFOLFNFOLFNRQWKHRQWKHHUURULQHUURULQWKHHUUWKHHUURUOLVWRUOLVW 

 'RXEOH'RXEOHFOLFNFOLFNRQWKHIRQWKHIXQFWLRQVXQFWLRQVEORFNEORFNDQGWKHDQGWKH5HSODF5HSODFHGLDORJHGLDORJER[DSER[DSSHDUVSHDUV 

 6HOHFWWKHIXQFWLRQVEORFNIRU6HOHFWWKHIXQFWLRQVEORFNIRUUHSODFHPHQWDQGWKHQVHOHFW2.!7KHIXQFUHSODFHPHQWDQGWKHQVHOHFW2.!7KHIXQF WLRQVEORFNLVUHSODFHG

WLRQVEORFNLVUHSODFHG 

 6HOHFWWKHQH[WHUURULQWKHH6HOHFWWKHQH[WHUURULQWKHHUURUOLVWDQGUHSHDWWKHDERYHUURUOLVWDQGUHSHDWWKHDERYHVWHSVXQWLODOOIXQFVWHSVXQWLODOOIXQF WLRQVEORFNDUHUHSODFHG

WLRQVEORFNDUHUHSODFHG

When all errors are When all errors are corrected, then run ‘Update Vercorrected, then run ‘Update Version’ again manually:sion’ again manually:

 &OLFNR&OLFNRQWKHWQWKHWHUPLQDOHUPLQDOLQWKHLQWKHSURMHFWSURMHFWWUHHWRWUHHWRVHOHFWVHOHFWLWLW 

 &KHFNW&KHFNWKDWWKHKDWWKHFRPPXFRPPXQLFDWLRQQLFDWLRQVHWXSVHWXSLQ&$3LQ&$3LVFLVFRURU UHFWE\ORRNLQJDWµ6HWXS¶LQWKH2QOLQHPHQX

UHFWE\ORRNLQJDWµ6HWXS¶LQWKH2QOLQHPHQX 

 6HOHFW6HOHFWµ8SORDµ8SORDG2SWLRG2SWLRQV¶LQQV¶LQWKH2QWKH2QOLQHPHOLQHPHQXDQGQXDQG XSORDGLQJVWDUWVE\XSORDGLQJWKHOLVWRIIXQFWLRQV$ XSORDGLQJVWDUWVE\XSORDGLQJWKHOLVWRIIXQFWLRQV$ ZDUQLQJLVGLVSOD\HGLIFRQWHQWVGLIIHU

ZDUQLQJLVGLVSOD\HGLIFRQWHQWVGLIIHU 

 6HOHFW6HOHFWµ5HSODµ5HSODFH¶DQFH¶DQGWKHOGWKHOLVWRILVWRIIXQFWLRIXQFWLRQVLVUQVLVUHSODFHGHSODFHG DQG8SGDWH9HUVLRQVWDUWVDXWRPDWLFDOO\

DQG8SGDWH9HUVLRQVWDUWVDXWRPDWLFDOO\

 &OLFNR&OLFNRQWKHWQWKHWHUPLQDOHUPLQDOLQWKHLQWKHSURMHFWSURMHFWWUHHWRWUHHWRVHOHFWVHOHFWLWLW  6HOHFWµ8SGDWH9HUVLRQ¶LQWKH0DNHPHQXDQGXSGDW  6HOHFWµ8SGDWH9HUVLRQ¶LQWKH0DNHPHQXDQGXSGDW

LQJRIWKHOLEUDU\VWDUWV LQJRIWKHOLEUDU\VWDUWV

(30)

)XQFWLRQVHOHFWRU  )XQFWLRQVHOHFWRU  Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV





7

7H

HUUP

PLLQ

QD

DOO R

RS

SWWLLR

RQ

QV

V

The T

The Terminal options command is available erminal options command is available for some terminal types.for some terminal types. Run Termin

Run Terminal Options in the al Options in the Edit menu. The terminal Edit menu. The terminal options can be imported for off-options can be imported for off-line engineering if the terminal options are available in a file. Import the file from a line engineering if the terminal options are available in a file. Import the file from a diskette, or browse the disks for its current location.

diskette, or browse the disks for its current location.

 )LJ

 )LJ 7KH77KH7HUPLQDO2SWLRQVGLDORJHUPLQDO2SWLRQVGLDORJ



)

)X

XQ

QF

FWWLLR

RQ

Q V

VH

HOOH

HF

FWWR

RU  

U  

When you start to work with the configuration of a terminal, it is important that you When you start to work with the configuration of a terminal, it is important that you use the correct set of functions. Some of these functions are selected in the ‘Function use the correct set of functions. Some of these functions are selected in the ‘Function Selector’ in the Edit menu.

Selector’ in the Edit menu.

1RWH

1RWH

9HUVLRQVDQGODWHURIWKH5([[[WHUPLQDOVXVHVWKHIXQFWLRQVHOHFWRUV 9HUVLRQVDQGODWHURIWKH5([[[WHUPLQDOVXVHVWKHIXQFWLRQVHOHFWRUV

Function selectors are used to choose one of many available function blocks for the Function selectors are used to choose one of many available function blocks for the same function.

same function.

If the terminal is available, it is recommended to connect the PC to the terminal and If the terminal is available, it is recommended to connect the PC to the terminal and run ‘Upload Options’ before you run the

run ‘Upload Options’ before you run the ‘Function Selector’. In ‘Function Selector’. In this way, the library of this way, the library of  functions in the PC will match completely the library of functions in the terminal. functions in the PC will match completely the library of functions in the terminal. If you cannot connect the PC

(31)

)XQFWLRQVHOHFWRU  )XQFWLRQVHOHFWRU  Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV





(

([

[D

DP

PS

SOOH

H R

RII IIX

XQ

QF

FWWLLR

RQ

Q V

VH

HOOH

HF

FWWR

RUUV

V

I/O module01 in the CAP/REx 500 program module can be configured to be either of: I/O module01 in the CAP/REx 500 program module can be configured to be either of:

•• BIM BiBIM Binarnary Inpy Input Mout Moduldulee •• BOM BinBOM Binary Oary Outputput Modut Moduleule •• IOM IIOM Inpunput Outpt Output Modut Moduleule •• IIOOPPSSMM

•• DDCCMM

This choice of modules gives

This choice of modules gives different shape of the function block for different shape of the function block for thethe I/O module01.

I/O module01.

Assume that you want to change the logical I/O module01 (IO01-) from being a Assume that you want to change the logical I/O module01 (IO01-) from being a Binary Input Module (BIM) to a Binary Output Module (BOM).

Binary Input Module (BIM) to a Binary Output Module (BOM).

 )LJ

 )LJ &RPSDUHWK&RPSDUHWKH,2PRGXOHDV%,0OHIWRUDVDH,2PRGXOHDV%,0OHIWRUDVD%20ULJKW²RQO\DSDUWR%20ULJKW²RQO\DSDUWRII WKHIXQFWLRQEORFNLVVKRZQ

WKHIXQFWLRQEORFNLVVKRZQ

When you select a Binary Output Module in the Function Selector tool, the library is When you select a Binary Output Module in the Function Selector tool, the library is updated with the new function block, and only the selected module can be used in the updated with the new function block, and only the selected module can be used in the

(32)

)XQFWLRQVHOHFWRU  )XQFWLRQVHOHFWRU  Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV





8

8V

VLLQ

QJ

J IIX

XQ

QF

FWWLLR

RQ

Q V

VH

HOOH

HF

FWWR

RUUV

V

TTo start the o start the ‘Function Selector’:‘Function Selector’:

Input data (data sources) to the Function Selector can be: Input data (data sources) to the Function Selector can be:

•• WWorkinorking data — displg data — displayed on thayed on the screene screen

•• DefauDefault data — preslt data — presented thented the first time fe first time for each teror each terminalminal •• UploaUploaded data — comes froded data — comes from the terminam the terminal at Upload Optil at Upload Optionsons

When the CAP 531 is opened, working data is displayed; it includes the last saved When the CAP 531 is opened, working data is displayed; it includes the last saved data. The CAP/REx 5xx product module specifies the default data. Default and data. The CAP/REx 5xx product module specifies the default data. Default and work-ing data are equivalent before the workwork-ing data is changed. Uploaded data consist of  ing data are equivalent before the working data is changed. Uploaded data consist of  the function selectors that comes from the terminal while running ‘Upload Options’, the function selectors that comes from the terminal while running ‘Upload Options’, which is an On-line function.

which is an On-line function.

 )LJ

 )LJ 7KHIXQFWLRQVHOHFWRU7KHIXQFWLRQVHOHFWRU

 6HOHFW6HOHFWWKHWHUPWKHWHUPLQDOLQLQDOLQWKH3WKH3URMHFW7URMHFW7UHHUHH 

 6HOHFW6HOHFWWKHµ)XWKHµ)XQFWLRQ6QFWLRQ6HOHFWRU¶LQHOHFWRU¶LQWKH(WKH(GLWGLW PHQX

PHQX 

 6HOHFW6HOHFWWKHµ/RWKHµ/RDG¶FRPPDDG¶FRPPDQGLQWKQGLQWKH)LOHH)LOH PHQXWRVHOHFWWKHGDWDVRXUFHVIRUWKH PHQXWRVHOHFWWKHGDWDVRXUFHVIRUWKH IXQFWLRQVHOHFWRUWRRO

(33)

)XQFWLRQVHOHFWRU  )XQFWLRQVHOHFWRU  Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

The function selector contains these sections: The function selector contains these sections:

•• Set VSet Value (upper section), alue (upper section), which you use to which you use to change the function change the function selector values.selector values. •• Selected VSelected Values (lower section), alues (lower section), which gives you an which gives you an overview of all overview of all functionfunction

selector settings. selector settings. When you scroll the

When you scroll the VValue, you can see what alue, you can see what types of function blocks you can stypes of function blocks you can select.elect.

To change the TypeTo change the Type_IO1 function selector _IO1 function selector for the I/O-module01:for the I/O-module01:

 6HOHFW6HOHFW)XQFWLRQ)XQFWLRQ*URXS*URXS,2PR,2PRGXOHGXOH

 8VHWKH9DOXHVFUROOEDUWRFKDQJHWKHYDOXHIURP%,0WR%20  8VHWKH9DOXHVFUROOEDUWRFKDQJHWKHYDOXHIURP%,0WR%20 

 6HOHFWWKHµ6HW¶EXWWRQDQGWKHY6HOHFWWKHµ6HW¶EXWWRQDQGWKHYDOXHFKDQJHVLQWKH6HOHFWHG9DOXHVVHFWLRQDOXHFKDQJHVLQWKH6HOHFWHG9DOXHVVHFWLRQ 

 6HOHFW6HOHFWWKHµ6DYHWKHµ6DYH¶EXWWRQ¶EXWWRQDQGWKDQGWKHQHZHQHZIXQFWLIXQFWLRQLVVRQLVVDYHGDYHG

To close the function selector:To close the function selector:

(34)

:RUNVKHHW :RUNVKHHW Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV



:

:R

RUUN

N V

VK

KH

HH

HWW





2

2S

SH

HQ

Q WWK

KH

H Z

ZR

RUUN

N V

VK

KH

HH

HWW

Y

You open the work sheet ou open the work sheet from the project tree.from the project tree.

TTo open the o open the work sheet:work sheet:

 )LJ

 )LJ ::RUNVKHHWFDOOHG00,RUNVKHHWFDOOHG00,





8

8V

VLLQ

QJ

J Z

ZR

RUUN

N V

VK

KH

HH

HWWV

V

A work sheet c

A work sheet can consist of several an consist of several pages. Ypages. You set the ou set the number of pages from tnumber of pages from the Worhe Work k  Sheet size (WS size) dialog box on the Layout menu.

Sheet size (WS size) dialog box on the Layout menu.

 )LJ

 )LJ  ::RUN6KHHW6L]HGLDORJER[RUN6KHHW6L]HGLDORJER[

 'RXEOH'RXEOHFOLFNFOLFNWKHOHIWWKHOHIWPRXVHEPRXVHEXWWRQRQXWWRQRQWKHWKH ZRUNVKHHWLFRQIRUWKHWHUPLQDODQGWKH ZRUNVKHHWLFRQIRUWKHWHUPLQDODQGWKH ZRUNVKHHWDSSHDUV

(35)

:RUNVKHHW :RUNVKHHW Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV Y

You can use the ou can use the work sheet to structure the work sheet to structure the different functions in the terminal configu-different functions in the terminal configu-ration, where each work sheet can represent one or several functions.

ration, where each work sheet can represent one or several functions. Select the ‘Page Border

Select the ‘Page Border’ command in the Layout menu ’ command in the Layout menu to display the page border. Theto display the page border. The size of the page and page orientation is set in the Page Layout with the ‘Paper size of the page and page orientation is set in the Page Layout with the ‘Paper Orienta-tion’ command in the Layout menu.

tion’ command in the Layout menu.





,,Q

QV

VH

HUUWW IIX

XQ

QF

FWWLLR

RQ

Q E

EOOR

RF

FN

NV

V LLQ

QWWR

R Z

ZR

RUUN

N V

VK

KH

HH

HWWV

V

This section assumes that you want to insert an AND-function block called A067. This section assumes that you want to insert an AND-function block called A067.

TTo insert this o insert this function block:function block:

 )LJ

 )LJ )XQFWLRQ%ORFNGLDORJER[)XQFWLRQ%ORFNGLDORJER[

 &OLF

 &OLFNWKHOHIWPRXVHEXWWRQWRVHWDQNWKHOHIWPRXVHEXWWRQWRVHWDQLQVHUWLRQPDUNLQWKHLQVHUWLRQPDUNLQWKH ZRUNVKHHW

ZRUNVKHHW 

 &OLFNW&OLFNWKHOHIWKHOHIWPRXVHPRXVHEXWWRQEXWWRQRQWKHRQWKH,QVHUW),QVHUW)XQFWLRQXQFWLRQ%ORFN%ORFN LFRQRQWKHWRROEDUDQGWKH)XQFWLRQ%ORFNGLDORJER[ LFRQRQWKHWRROEDUDQGWKH)XQFWLRQ%ORFNGLDORJER[ DSSHDUV

(36)

:RUNVKHHW :RUNVKHHW Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV

TTo use the Function o use the Function Block dialog box:Block dialog box:

After insertion, the function block is no longer visible in the list of functions, because After insertion, the function block is no longer visible in the list of functions, because the function block can only be used once in the terminal.

the function block can only be used once in the terminal.





&

&R

RQ

QQ

QH

HF

FWW R

RE

EMMH

HF

FWWV

V

If you insert function blocks or variables (objects) in your work sheet, you want to If you insert function blocks or variables (objects) in your work sheet, you want to connect them to other function blocks.

connect them to other function blocks. Assume that you want

Assume that you want to connect the AND-function block A001 with to connect the AND-function block A001 with the Timer-func-the Timer-func-tion block TM01. First you must insert also TM01 by following the procedure

tion block TM01. First you must insert also TM01 by following the procedure described above.

described above.

Connect two objects:Connect two objects:

 )LJ

 )LJ 7KHWZRREMHFWVLVFRQQHFWHGE\XVLQJWKH7KHWZRREMHFWVLVFRQQHFWHGE\XVLQJWKHFRQQHFWLRQPRGHFRQQHFWLRQPRGH

 6HOHFW6HOHFWWKHW\SHWKHW\SH$1'$1' 

 7KHUHD7KHUHDUHPRUHUHPRUHWKDQRQHWKDQRQH$1'IXQF$1'IXQFWLRQEOWLRQEORFNV6HRFNV6HOHFW$OHFW$IURPWKHIURPWKH ,QVWDQFHOLVW

,QVWDQFHOLVW 

 6HOHFW6HOHFW2.!WR2.!WRFRQILUFRQILUPDQGWPDQGWKHIXQFWKHIXQFWLRQEORLRQEORFNLVLFNLVLQVHUWHGQVHUWHGDWWKHDWWKHLQVHUWLLQVHUWLRQRQ PDUN

PDUN

 &OLFNWKHOHIW&OLFNWKHOHIWPRXVHEXWWRQRQPRXVHEXWWRQRQWKH&RQQHFW2EMHFWWKH&RQQHFW2EMHFWVLFRQRQVLFRQRQ WKHWRROEDU

WKHWRROEDU 

 3RVLWLRQWKHFXUVRUDWWKH213RVLWLRQWKHFXUVRUDWWKH21RXWSXWWKHEOXHFLUFOHRIWKHRXWSXWWKHEOXHFLUFOHRIWKH 70IXQFWLRQEORFNDQGFOLFNWKHOHIWPRXVHEXWWRQ

70IXQFWLRQEORFNDQGFOLFNWKHOHIWPRXVHEXWWRQ 

 0RYHW0RYHWKHFXUVKHFXUVRUWRZDRUWRZDUGVWKHUGVWKH,138,1387LQS7LQSXWRIWKXWRIWKH$H$ IXQFWLRQEORFN&OLFNWKHOHIWPRXVHEXWWRQZKHQHYHU\RX IXQFWLRQEORFN&OLFNWKHOHIWPRXVHEXWWRQZKHQHYHU\RX ZDQWDQHZGLUHFWLRQRIWKHFRQQHFWLRQOLQH ZDQWDQHZGLUHFWLRQRIWKHFRQQHFWLRQOLQH  &OLFNWKHOHIWPRXVHEXWWRQZKHQ\RXUHDFKHG,1387WKH  &OLFNWKHOHIWPRXVHEXWWRQZKHQ\RXUHDFKHG,1387WKH JUHHQFLUFOHDQGWKHFRQQHFWLRQLVVHW JUHHQFLUFOHDQGWKHFRQQHFWLRQLVVHW

(37)

:RUNVKHHW :RUNVKHHW Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV Y

You can also connect objects ou can also connect objects by moving them close by moving them close together:together:

To connect two objects:To connect two objects:

Y

You can now move one of ou can now move one of the function blocks to a the function blocks to a free position if desired.free position if desired.

 )LJ

 )LJ 7KHIXQFWLRQEORFNVEHIRU7KHIXQFWLRQEORFNVEHIRUHWKHFRQQHFWLRQLVVHWHWKHFRQQHFWLRQLVVHW

 3RVLWL3RVLWLRQWKHRQWKHFXUVRURFXUVRURQWKH$QWKH$IXQFWLIXQFWLRQEORFNRQEORFN 

 3UHVV3UHVVDQGKRODQGKROGWKHOHGWKHOHIWPRXVHIWPRXVHEXWWRQEXWWRQ 

 0RYH0RYHWRZDUGWRZDUGVWKHIVWKHIXQFWLRQXQFWLRQEORFN7EORFN70V0VRWKDWRWKDWWKHFRQWKHFRQ QHFWLRQSRLQWVEOXHDQGJUHHQFLUFOHRYHUODS

QHFWLRQSRLQWVEOXHDQGJUHHQFLUFOHRYHUODS 

References

Related documents

The European knight carried a sword with a wide, single-fullered and double-edged blade, with rounded pommel and straight cross guard. When King Richard I of England (1157–1199)

values of x close to 2, as we did in the previous sections. So it looks at least possible that indeed these values “approach” 1.41—already √ 2.001 is quite close. To compute an

The school will contact parents/carers of students who attend in incorrect uniform and, where possible, they will be asked to bring in the correct item of uniform or informed of

This assessment was made using data on population age structure, and data on YLD for health conditions identified as increasing the risk of COVID-19 severity, the latter

The purpose of this paper is to apply the PMG-based error correction model and the panel differenced GMM Arellano-Bond estimation to investigate effects of fiscal deficit and broad

Our preferred definition of the dependent variable is the share of FDI attracted by a specific host country in total FDI flows from the source country under consideration to

We use visual discourse and storytelling methods to analyze how Microsoft and Virgin Group use various kinds of entrepreneurial images and textual narratives to re- narrate

Such functionality testing included logging in through Google sign-in to test Firebase Authentication, and then creating a web page to upload photos and JavaScript files to test