The main theme of this article is how to create project’s configuration tree for PLC REF543.

In manufacturer‘s ABB manuals Relay Configuration Tool Tutorial 1MRS751903-MEM“  and Protection & Control Terminals Configuration Guideline 1MRS750745-MUMyou can read more about project’s configuration tree.

How to create project object see article no.2 “CAP505: creating project”.

 

1. Select project object (in my case project object is “IC-1”) and in “Object tools” window select “Relay Configuration tool”:

Master Design View. CAP505

 

2. In “Relay Configuration Tool log-in” window type password “ABB”:

5.1

 

 

3. Default configuration tree appears:

 

Relay configuration tool. CAP505

In this configuration tree you need to include library, program units (POUs), tasks, variables.

 

4. First create program unit (as a sample I will name “Registr”). Select “Logical POUs”, and then click “Edit>Insert”:

CAP505 project

 

 

CAP 505 Project / Edit / Inserts

 

In “Insert” window type data as shown in picture:

 

Insert Option CAP505

 

 

In “Logical POUs” catalogue appears subcatalogue (in my case “Registr”) with 3 files:

 

Projetc CAP505

 

Here asterisks means that you haven’t saved and compiled configuration tree.

 

5. In the same way create program units (in my cases ”Signal”, “Measure”, “Control”, “Protect”). Configuration tree looks as follows:

 

CAP 505 program units

 

6. Include in project configuration tree existing library “REFLIB04.PWT”. Select catalogue “Libraries” , press “Edit>Insert” and link pathway to existing library file:

CAP505 project’s configuration tree

 

 

Insert units CAP505

 

 

Annouce library CAP505

By default all existing libraries are in catalogue “drive:\cap505\common\ieclibs\fi”.

In project configuration tree’s catalogue “Libraries” appears library REFLIB04:

 

LIbraries file CAP505

 

7. Inserting Programmable logical controller REF543. In project configuration tree select catalogue “Physical Hardware”:

Configuration tree

 

Press button “Insert”

 

Insert button CAP505

or select “Edit>Insert”.

In “Insert” window type data as shown in picture:

Insert window CAP505

The “REF543” catalogue appears in project configuration tree’s catalogue “Physical Hardware”:

 

Physical Hardware CAP505

Select “REF543” and click “Edit>Insert”.

In “Insert” window type data as shown in picture:

 

Insert window

 

In“Insert” window select “Settings” and in“Configuration of REF543” window select relay variant. My relay’s variant (code) is on relay housing. 

 

Configuration of REF543

 

My PLC variant is:

5.19

New files appear in project configuration tree catalogue “Physical Hardware” and its subcatalogue “REF543”:

 

REF543

 

 

8. I’ll create tasks for program units (in my cases for programs “Registr”, “Signal”, “Measure”, “Control”, “Protect”). Programs are associated with tasks. Operation accuracy is increased when task speed is increased. It is necessary to define a maximum task execution interval for each function block.

a) In my case for program unit “Protect” I’ll create task T5. Time execution of task T5 will be 5 ms.

Select “Tasks”:

Project talsk CAP505

 

 

Press “Edit>Insert”. In “Insert” window type task name (in my case I’ve typed T5 task name). Select task type as shown in picture:

 

Inserting tasks in CAP505 project

Here parameter “Cyclic” means that tasks are activated within a specific time interval and the program is executed periodically.

In “Insert” window select “Settings” and set task interval to 5.0000 ms:

Project insert properties REF543

 

a subcatalog of your created task (in my case task T5) appears in configuration tree:

 

Create new task in REF543 CAP505

 

Select task (in my case T5) and select “Edit>Insert”. In “Insert”window type data (in my case I’ll type Protect). Define task type to “Program”:

 

Insert field CAP505

 

Subcatalogue Protect appears in task you crated (in my case its T5) catalogue:

 

 CAP505 project’s configuration tree 1

 

b) In the same manner I create task T10 for program “Registr”. Execution interval will be 10 ms.

 

Interval CAP505

 

Program instances

 

c) For “Control” ir “Signal” programs I create task T20. Execution time will be 20 ms.

Your programs’ and tasks’ names may be different.

d) For “Measure” program I create task T40. Execution time will be 40 ms.

Your program’s and task’s names may be different.

I’ve created tasks T5, T10, T20, T40 with files:

Tasks CAP505

 

9. Project configuration tree has been created. Now you need to compile project configuration tree. For the first time always select MAKE>Build Project:

 

CAP505 make / build project

 

When you’ve changed configuration and you want to compile project configuration tree again always select “MAKE>MAKE”.

If there are no any errors the window will look like this:

 

Relay configuration tool CAP505

But in my case there are 10 warnings:

 

Warning: Worksheet empty! CAP 505

These warnings say that, there are empty program units with their accociated files (in my cases – programs Protect, Control, Registr, Measure, Signal whit files ProtectV, ProtectT, ControlV, ControlT, RegistrV, RegistrT, MeasureV, MeasureT, SignalV, SignalT).

What is the purpose of these files (ProtectV, ProtectT, ControlV, ControlT, RegistrV, RegistrT, MeasureV, MeasureT, SignalV, SignalT) you discover in next articles. For now you can ignore these warnings and continue with configuration steps.

In my case project’s configuration tree looks as follows:

 

 CAP505 project’s configuration tree a CAP505 project’s configuration tree b

 

 

After successfully compilation, asterisks have disappeared..

Close configuration tree by selecting “File>Exit”:

 

File / exit CAP 505

For more detail about project configuration tree you may read manufacturer’s ABB manual “Protection & Control Terminals Configuration Guideline 1MRS750745-MUM”.

If you have any comments on CAP505 project’s configuration tree, leave a comment below.

 

In next article I’ll write about setting analogues channels of PLC’s.