User’s Manual
User’s Manual
CAP 531*1.6
CAP 531*1.6
Configuration and Programming tool
Configuration and Programming tool
This manual belongs to:
This manual belongs to:
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
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.
$XWKRUVDGGUHVV $XWKRUVDGGUHVV
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.
$ERXWWKLVPDQXDO
$ERXWWKLVPDQXDO
$ERXWWKLVPDQXDO
$ERXWWKLVPDQXDO
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
Introduction
Introduction
,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&$3enables 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
,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 ,,QGQGLLFFDDWWHHVV
<
<$/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.. <
,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 )XQFWLRQEORFNLQWKH&$3)XQFWLRQEORFNLQWKH&$3ZRUNVKHHWZRUNVKHHW
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 ,,QQGLGLFFDDWWHHVV
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.
,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 )XQFWLRQEORFNGLDJUDP)XQFWLRQEORFNGLDJUDP
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
(QVXUHWKDW(QVXUHWKDWWKHIXQFWLRQEORFNVLQWKHFWKHIXQFWLRQEORFNVLQWKHFRQILJXUDWLRQDUHHRQILJXUDWLRQDUHH[HFXWHGFRQVHFXWLYHO\WRPLQ[HFXWHGFRQVHFXWLYHO\WRPLQ LPL]HGHOD\
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
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
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...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
Instructions
Instructions
,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
HLLQ
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
8VLQJKHOS 8VLQJKHOS 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
0HQHQXXLWLWHHP P 6H6HOHOHFWFWWWKLKLVVFFRPRPPDPDQGQG 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.
+HOSRQIXQFWLRQEORFNV +HOSRQIXQFWLRQEORFNV 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:
0DUN0DUNWKHIXQFWKHIXQFWLRQEORWLRQEORFNLQWFNLQWKHZRUKHZRUNVKHHWNVKHHW
'RXEOH'RXEOHFOLFNFOLFNRQWKHORQWKHOHIWRUUHIWRUULJKWPRLJKWPRXVHEXWWXVHEXWWRQRQ
6HOHFW6HOHFWKHOSRQKHOSRQ)%W\SH)%W\SH
1RWH
1RWH
7KHKHOSWH[WPLJKWQRWEHDYDLODEOHRQDOOIXQFWLRQEORFNW\SHV 7KHKHOSWH[WPLJKWQRWEHDYDLODEOHRQDOOIXQFWLRQEORFNW\SHV
,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
4XLFN*XLGHIRUXVLQJ&$3 4XLFN*XLGHIRUXVLQJ&$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
*HWWLQJVWDUWHG *HWWLQJVWDUWHG 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 is1(:!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 3URMHFWWUHH3URMHFWWUHH
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
PS
SUH
UHYL
YLR
RX
XV
VY
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
6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV
!
!
1RWH
1RWH
2QO\WKHWHUPLQDOFRQILJXUDWLRQIURPHDUOLHUYHUVLRQVRIWKH&$3WRROFDQEH 2QO\WKHWHUPLQDOFRQILJXUDWLRQIURPHDUOLHUYHUVLRQVRIWKH&$3WRROFDQEH LPSRUWHG:KHQ\RXZRUNZLWK&$3\RXDOZD\VZRUNLQWKHVDPHVWUXFWXUHDV LPSRUWHG:KHQ\RXZRUNZLWK&$3\RXDOZD\VZRUNLQWKHVDPHVWUXFWXUHDV &$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 3DVVZRUGGHILQLWLRQ3DVVZRUGGHILQLWLRQ
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)
6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN 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 ,QVHUWGLDORJER[,QVHUWGLDORJER[
6HOHFW6HOHFWWKHWHUPWKHWHUPLQDOLQLQDOLQWKH3WKH3URMHFW7URMHFW7UHHUHH
6HOHFW6HOHFWWKHµ,QVWKHµ,QVHUW¶LFRHUW¶LFRQRQWKHQRQWKHWRROEDWRROEDUU $GLDORJER[DSSHDUV
$GLDORJER[DSSHDUV
6HOHFW6HOHFWW\SH:W\SH:RUNVKHRUNVKHHWHW
77\SHDQD\SHDQDPHIRUPHIRUWKHZRWKHZRUNVKHHUNVKHHWW
6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN 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
7KHWHUPLQDOPXVWQRWKDYHDQ\ZRUNVKHHWVFRQQHFWHGWRLWWRVWDUWZLWK2WKHUZLVHWKH 7KHWHUPLQDOPXVWQRWKDYHDQ\ZRUNVKHHWVFRQQHFWHGWRLWWRVWDUWZLWK2WKHUZLVHWKH LQVHUWWHPSODWHFRPPDQGLVQRWDFWLYH LQVHUWWHPSODWHFRPPDQGLVQRWDFWLYH 6HOHFW6HOHFWDµ:Dµ:RUN6KHHRUN6KHHW¶LFRQW¶LFRQ<<RXFDQLRXFDQLQVHUWWQVHUWWKHKH QHZZRUNVKHHWDERYHRUEHORZWKLVVHOHFWHG QHZZRUNVKHHWDERYHRUEHORZWKLVVHOHFWHG ZRUNVKHHW
ZRUNVKHHW
6HOHFW6HOHFWWKHµ,QWKHµ,QVHUW¶LVHUW¶LFRQRQFRQRQWKHWRROWKHWRROEDUEDU $GLDORJER[DSSHDUVVHH
$GLDORJER[DSSHDUVVHH)LJ)LJ
77\SHDQD\SHDQDPHIRUWPHIRUWKHZRUKHZRUNVKHHNVKHHW6HOHFW6HOHFWWRSOWWRSODFHDFH WKHZRUNVKHHWDERYHRUEHORZWKHVHOHFWHGRQH WKHZRUNVKHHWDERYHRUEHORZWKHVHOHFWHGRQH
6WDUWFRQILJXUDWLRQZRUN 6WDUWFRQILJXUDWLRQZRUN Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV
TTo insert a o insert a template:template:)LJ
)LJ 7KH,QVHUW77KH,QVHUW7HPSODWHGLDORJER[HPSODWHGLDORJER[
&
&OLFNRQWKHWHUPLQDOLQWKH3URMHFW7OLFNRQWKHWHUPLQDOLQWKH3URMHFW7UHHWRVHOHFWUHHWRVHOHFW LW
LW
6HOHFW6HOHFWWKHµ,QVWKHµ,QVHUW7HUW7HPSODWHHPSODWH¶FRPPD¶FRPPDQGLQWKQGLQWKH(GLWH(GLW PHQXDQGWKH,QVHUW7HPSODWHGLDORJER[
PHQXDQGWKH,QVHUW7HPSODWHGLDORJER[ DSSHDUV
DSSHDUV
6HOH6HOHFWFWDWHDWHPSOPSODWHDWH
6HOHFW2.!WRFRQILUPµ8S6HOHFW2.!WRFRQILUPµ8SGDWH9HUVLRQ¶GDWH9HUVLRQ¶ZLOOUXQZLOOUXQ DXWRPDWLFDOO\
8SORDGRSWLRQV 8SORDGRSWLRQV 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:
,QVHUWD,QVHUWDQHZZQHZZRUNVKHHRUNVKHHWLQWKWLQWKH3URMHH3URMHFW7FW7UHHUHH
2SHQWK2SHQWKHQHZHQHZHPSW\HPSW\ZRUNVKZRUNVKHHWHHW
0DNHDQLQVHUWLRQPDUNLQWKHXSSHUOHIWFRUQ0DNHDQLQVHUWLRQPDUNLQWKHXSSHUOHIWFRUQHURIWKHZRUNVKHHWE\FOLFNLQJHURIWKHZRUNVKHHWE\FOLFNLQJ ZLWKWKHOHIWPRXVHEXWWRQ
ZLWKWKHOHIWPRXVHEXWWRQ
6HOHFW6HOHFWWKHµ,QVWKHµ,QVHUW)URPHUW)URP¶FRPP¶FRPPDQGLQWKDQGLQWKH(GLWH(GLWPHQXDPHQXDQGWKHQGWKH,QVHUW),QVHUW)URPGLDURPGLD ORJER[DSSHDUV
ORJER[DSSHDUV
6HOHFW6HOHFWWKHGLUHWKHGLUHFWRU\DQFWRU\DQGWKHIGWKHILOHQDPLOHQDPHRIWKHRIWKHVWRUHGHVWRUHGZRUNZRUNVKHHWVKHHW 6HOH6HOHFWFW2.2.!! .. )LJ )LJ 7KH,QVHUW)URPGLDORJER7KH,QVHUW)URPGLDORJER[[
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
8SORDGRSWLRQV 8SORDGRSWLRQV 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\RXVWDUWFRPPXQ %HIRUH\RXVWDUWFRPPXQLFDWLQJWRDWHUPLQDOPDNHVXUHWKHLFDWLQJWRDWHUPLQDOPDNHVXUHWKHFRPPXQLFDWLRQVHWXSLQFRPPXQLFDWLRQVHWXSLQ &$3LVFRUUHFW &$3LVFRUUHFW6HH³2QOLQHIXQFWLRQV´RQSDJH6HH³2QOLQHIXQFWLRQV´RQSDJHThe ‘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 $ZDUQLQJLVGLVSOD\HGLIWKHOLEUDU\RIHOHPHQWVGLIIHUV$ZDUQLQJLVGLVSOD\HGLIWKHOLEUDU\RIHOHPHQWVGLIIHUV
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.
8SORDGRSWLRQV 8SORDGRSWLRQV 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 terminalIf 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'RXEOHFOLFNFOLFNRQWKHRQWKHHUURULQHUURULQWKHHUUWKHHUURUOLVWRUOLVW
'RXEOH'RXEOHFOLFNFOLFNRQWKHIRQWKHIXQFWLRQVXQFWLRQVEORFNEORFNDQGWKHDQGWKH5HSODF5HSODFHGLDORJHGLDORJER[DSER[DSSHDUVSHDUV
6HOHFWWKHIXQFWLRQVEORFNIRU6HOHFWWKHIXQFWLRQVEORFNIRUUHSODFHPHQWDQGWKHQVHOHFW2.!7KHIXQFUHSODFHPHQWDQGWKHQVHOHFW2.!7KHIXQF WLRQVEORFNLVUHSODFHG
WLRQVEORFNLVUHSODFHG
6HOHFWWKHQH[WHUURULQWKHH6HOHFWWKHQH[WHUURULQWKHHUURUOLVWDQGUHSHDWWKHDERYHUURUOLVWDQGUHSHDWWKHDERYHVWHSVXQWLODOOIXQFVWHSVXQWLODOOIXQF WLRQVEORFNDUHUHSODFHG
WLRQVEORFNDUHUHSODFHG
When all errors are When all errors are corrected, then run ‘Update Vercorrected, then run ‘Update Version’ again manually:sion’ again manually:
&OLFNR&OLFNRQWKHWQWKHWHUPLQDOHUPLQDOLQWKHLQWKHSURMHFWSURMHFWWUHHWRWUHHWRVHOHFWVHOHFWLWLW
&KHFNW&KHFNWKDWWKHKDWWKHFRPPXFRPPXQLFDWLRQQLFDWLRQVHWXSVHWXSLQ&$3LQ&$3LVFLVFRURU UHFWE\ORRNLQJDWµ6HWXS¶LQWKH2QOLQHPHQX
UHFWE\ORRNLQJDWµ6HWXS¶LQWKH2QOLQHPHQX
6HOHFW6HOHFWµ8SORDµ8SORDG2SWLRG2SWLRQV¶LQQV¶LQWKH2QWKH2QOLQHPHOLQHPHQXDQGQXDQG XSORDGLQJVWDUWVE\XSORDGLQJWKHOLVWRIIXQFWLRQV$ XSORDGLQJVWDUWVE\XSORDGLQJWKHOLVWRIIXQFWLRQV$ ZDUQLQJLVGLVSOD\HGLIFRQWHQWVGLIIHU
ZDUQLQJLVGLVSOD\HGLIFRQWHQWVGLIIHU
6HOHFW6HOHFWµ5HSODµ5HSODFH¶DQFH¶DQGWKHOGWKHOLVWRILVWRIIXQFWLRIXQFWLRQVLVUQVLVUHSODFHGHSODFHG DQG8SGDWH9HUVLRQVWDUWVDXWRPDWLFDOO\
DQG8SGDWH9HUVLRQVWDUWVDXWRPDWLFDOO\
&OLFNR&OLFNRQWKHWQWKHWHUPLQDOHUPLQDOLQWKHLQWKHSURMHFWSURMHFWWUHHWRWUHHWRVHOHFWVHOHFWLWLW 6HOHFWµ8SGDWH9HUVLRQ¶LQWKH0DNHPHQXDQGXSGDW 6HOHFWµ8SGDWH9HUVLRQ¶LQWKH0DNHPHQXDQGXSGDW
LQJRIWKHOLEUDU\VWDUWV LQJRIWKHOLEUDU\VWDUWV
)XQFWLRQVHOHFWRU )XQFWLRQVHOHFWRU Tutorial Tutorial ,QVWUXFWLRQV ,QVWUXFWLRQV
7
7H
HUUP
PLLQ
QD
DOO R
RS
SWWLLR
RQ
QV
V
The TThe 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 7KH77KH7HUPLQDO2SWLRQVGLDORJHUPLQDO2SWLRQVGLDORJ
)
)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
9HUVLRQVDQGODWHURIWKH5([[[WHUPLQDOVXVHVWKHIXQFWLRQVHOHFWRUV 9HUVLRQVDQGODWHURIWKH5([[[WHUPLQDOVXVHVWKHIXQFWLRQVHOHFWRUV
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
)XQFWLRQVHOHFWRU )XQFWLRQVHOHFWRU 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 &RPSDUHWK&RPSDUHWKH,2PRGXOHDV%,0OHIWRUDVDH,2PRGXOHDV%,0OHIWRUDVD%20ULJKW²RQO\DSDUWR%20ULJKW²RQO\DSDUWRII WKHIXQFWLRQEORFNLVVKRZQ
WKHIXQFWLRQEORFNLVVKRZQ
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
)XQFWLRQVHOHFWRU )XQFWLRQVHOHFWRU 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 7KHIXQFWLRQVHOHFWRU7KHIXQFWLRQVHOHFWRU
6HOHFW6HOHFWWKHWHUPWKHWHUPLQDOLQLQDOLQWKH3WKH3URMHFW7URMHFW7UHHUHH
6HOHFW6HOHFWWKHµ)XWKHµ)XQFWLRQ6QFWLRQ6HOHFWRU¶LQHOHFWRU¶LQWKH(WKH(GLWGLW PHQX
PHQX
6HOHFW6HOHFWWKHµ/RWKHµ/RDG¶FRPPDDG¶FRPPDQGLQWKQGLQWKH)LOHH)LOH PHQXWRVHOHFWWKHGDWDVRXUFHVIRUWKH PHQXWRVHOHFWWKHGDWDVRXUFHVIRUWKH IXQFWLRQVHOHFWRUWRRO
)XQFWLRQVHOHFWRU )XQFWLRQVHOHFWRU 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:
6HOHFW6HOHFW)XQFWLRQ)XQFWLRQ*URXS*URXS,2PR,2PRGXOHGXOH
8VHWKH9DOXHVFUROOEDUWRFKDQJHWKHYDOXHIURP%,0WR%20 8VHWKH9DOXHVFUROOEDUWRFKDQJHWKHYDOXHIURP%,0WR%20
6HOHFWWKHµ6HW¶EXWWRQDQGWKHY6HOHFWWKHµ6HW¶EXWWRQDQGWKHYDOXHFKDQJHVLQWKH6HOHFWHG9DOXHVVHFWLRQDOXHFKDQJHVLQWKH6HOHFWHG9DOXHVVHFWLRQ
6HOHFW6HOHFWWKHµ6DYHWKHµ6DYH¶EXWWRQ¶EXWWRQDQGWKDQGWKHQHZHQHZIXQFWLIXQFWLRQLVVRQLVVDYHGDYHG
To close the function selector:To close the function selector:
:RUNVKHHW :RUNVKHHW 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
YYou 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 ::RUNVKHHWFDOOHG00,RUNVKHHWFDOOHG00,
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 ::RUN6KHHW6L]HGLDORJER[RUN6KHHW6L]HGLDORJER[
'RXEOH'RXEOHFOLFNFOLFNWKHOHIWWKHOHIWPRXVHEPRXVHEXWWRQRQXWWRQRQWKHWKH ZRUNVKHHWLFRQIRUWKHWHUPLQDODQGWKH ZRUNVKHHWLFRQIRUWKHWHUPLQDODQGWKH ZRUNVKHHWDSSHDUV
:RUNVKHHW :RUNVKHHW 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%ORFNGLDORJER[)XQFWLRQ%ORFNGLDORJER[
&OLF
&OLFNWKHOHIWPRXVHEXWWRQWRVHWDQNWKHOHIWPRXVHEXWWRQWRVHWDQLQVHUWLRQPDUNLQWKHLQVHUWLRQPDUNLQWKH ZRUNVKHHW
ZRUNVKHHW
&OLFNW&OLFNWKHOHIWKHOHIWPRXVHPRXVHEXWWRQEXWWRQRQWKHRQWKH,QVHUW),QVHUW)XQFWLRQXQFWLRQ%ORFN%ORFN LFRQRQWKHWRROEDUDQGWKH)XQFWLRQ%ORFNGLDORJER[ LFRQRQWKHWRROEDUDQGWKH)XQFWLRQ%ORFNGLDORJER[ DSSHDUV
:RUNVKHHW :RUNVKHHW 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
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 7KHWZRREMHFWVLVFRQQHFWHGE\XVLQJWKH7KHWZRREMHFWVLVFRQQHFWHGE\XVLQJWKHFRQQHFWLRQPRGHFRQQHFWLRQPRGH
6HOHFW6HOHFWWKHW\SHWKHW\SH$1'$1'
7KHUHD7KHUHDUHPRUHUHPRUHWKDQRQHWKDQRQH$1'IXQF$1'IXQFWLRQEOWLRQEORFNV6HRFNV6HOHFW$OHFW$IURPWKHIURPWKH ,QVWDQFHOLVW
,QVWDQFHOLVW
6HOHFW6HOHFW2.!WR2.!WRFRQILUFRQILUPDQGWPDQGWKHIXQFWKHIXQFWLRQEORLRQEORFNLVLFNLVLQVHUWHGQVHUWHGDWWKHDWWKHLQVHUWLLQVHUWLRQRQ PDUN
PDUN
&OLFNWKHOHIW&OLFNWKHOHIWPRXVHEXWWRQRQPRXVHEXWWRQRQWKH&RQQHFW2EMHFWWKH&RQQHFW2EMHFWVLFRQRQVLFRQRQ WKHWRROEDU
WKHWRROEDU
3RVLWLRQWKHFXUVRUDWWKH213RVLWLRQWKHFXUVRUDWWKH21RXWSXWWKHEOXHFLUFOHRIWKHRXWSXWWKHEOXHFLUFOHRIWKH 70IXQFWLRQEORFNDQGFOLFNWKHOHIWPRXVHEXWWRQ
70IXQFWLRQEORFNDQGFOLFNWKHOHIWPRXVHEXWWRQ
0RYHW0RYHWKHFXUVKHFXUVRUWRZDRUWRZDUGVWKHUGVWKH,138,1387LQS7LQSXWRIWKXWRIWKH$H$ IXQFWLRQEORFN&OLFNWKHOHIWPRXVHEXWWRQZKHQHYHU\RX IXQFWLRQEORFN&OLFNWKHOHIWPRXVHEXWWRQZKHQHYHU\RX ZDQWDQHZGLUHFWLRQRIWKHFRQQHFWLRQOLQH ZDQWDQHZGLUHFWLRQRIWKHFRQQHFWLRQOLQH &OLFNWKHOHIWPRXVHEXWWRQZKHQ\RXUHDFKHG,1387WKH &OLFNWKHOHIWPRXVHEXWWRQZKHQ\RXUHDFKHG,1387WKH JUHHQFLUFOHDQGWKHFRQQHFWLRQLVVHW JUHHQFLUFOHDQGWKHFRQQHFWLRQLVVHW
:RUNVKHHW :RUNVKHHW 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 7KHIXQFWLRQEORFNVEHIRU7KHIXQFWLRQEORFNVEHIRUHWKHFRQQHFWLRQLVVHWHWKHFRQQHFWLRQLVVHW
3RVLWL3RVLWLRQWKHRQWKHFXUVRURFXUVRURQWKH$QWKH$IXQFWLIXQFWLRQEORFNRQEORFN
3UHVV3UHVVDQGKRODQGKROGWKHOHGWKHOHIWPRXVHIWPRXVHEXWWRQEXWWRQ
0RYH0RYHWRZDUGWRZDUGVWKHIVWKHIXQFWLRQXQFWLRQEORFN7EORFN70V0VRWKDWRWKDWWKHFRQWKHFRQ QHFWLRQSRLQWVEOXHDQGJUHHQFLUFOHRYHUODS
QHFWLRQSRLQWVEOXHDQGJUHHQFLUFOHRYHUODS