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-MUM“ you 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”:
2. In “Relay Configuration Tool log-in” window type password “ABB”:
3. Default configuration tree appears:
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”:
In “Insert” window type data as shown in picture:
In “Logical POUs” catalogue appears subcatalogue (in my case “Registr”) with 3 files:
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:
6. Include in project configuration tree existing library “REFLIB04.PWT”. Select catalogue “Libraries” , press “Edit>Insert” and link pathway to existing library file:
By default all existing libraries are in catalogue “drive:\cap505\common\ieclibs\fi”.
In project configuration tree’s catalogue “Libraries” appears library REFLIB04:
7. Inserting Programmable logical controller REF543. In project configuration tree select catalogue “Physical Hardware”:
Press button “Insert”
or select “Edit>Insert”.
In “Insert” window type data as shown in picture:
The “REF543” catalogue appears in project configuration tree’s catalogue “Physical Hardware”:
Select “REF543” and click “Edit>Insert”.
In “Insert” window type data as shown in picture:
In“Insert” window select “Settings” and in“Configuration of REF543” window select relay variant. My relay’s variant (code) is on relay housing.
My PLC variant is:
New files appear in project configuration tree catalogue “Physical Hardware” and its subcatalogue “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”:
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:
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:
a subcatalog of your created task (in my case task T5) appears in configuration tree:
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”:
Subcatalogue Protect appears in task you crated (in my case its T5) catalogue:
b) In the same manner I create task T10 for program “Registr”. Execution interval will be 10 ms.
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:
9. Project configuration tree has been created. Now you need to compile project configuration tree. For the first time always select 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:
But in my case there are 10 warnings:
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:
After successfully compilation, asterisks have disappeared..
Close configuration tree by selecting “File>Exit”:
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.