Professional Documents
Culture Documents
Reproduction, use or disclosure to third parties without express authority is strictly forbidden. ABB
Function Designer
Example Project
Resp. dept.
Doc. no. Lang. Rev. ind. Page 1
en
ABB Automation Products No. of p. 19
Function Designer: “PidLoopProj” Example Project
Contents
1. Introduction ................................................................................................................3
2. Prerequisites...............................................................................................................4
3. Prepare Project...........................................................................................................4
3.1 Open ControlBuilder project “PidLoopProj” ....................................................4
3.2 Allocate Object “Loop1” into Application_1.....................................................5
3.3 Generate ConfiData for CBM .........................................................................6
3.4 Allocate IO within CBM...................................................................................8
3.5 Establish Task Connection in CBM ..............................................................11
4. Download and Go Online.........................................................................................11
4.1 Start Softcontroller........................................................................................11
4.2 Force Channel ..............................................................................................13
4.3 Set PidSimpeReal1 Gain and TI...................................................................13
4.4 Start Automatic Mode and show graph ........................................................14
5. Watch Online Values within Function Designer ....................................................14
5.1 Start OPC Server..........................................................................................14
5.2 Establish OPC Connection within PPA.........................................................15
5.2.1 Adapt Basic Service Group ............................................................15
5.2.2 OPC Data Source Definition: Modify Control Network....................16
5.3 Watch Online Values in CBM .......................................................................17
1. Introduction
The PidLoopExample.afw contains a demo example for function designer.
It could be loaded into the system by an *.afw file called “PidLoopExample.afw”
As a result a CBM project called “PidLoopProj” will appear in the control structure of PPA.
Within the functional structure you will get a closed loop control example consisting of PI
Controller, a first order lead lag as process simulation and a hysteresis connected to the
output of the PI controller: this hysteresis was included in order to get an oscillating
controller output to the process which will lead to always changing values during online
mode. Of course this loop example has no good control performance (oscillating output).
2. Prerequisites
• PPA ,CBM , Engineering Platform ,etc. according Release Notes for SB3 installed
• System Extensions:
• Warning: be sure not to have already a CBM project named “PidLoopProj” ! Otherwise data
could be corrupted or lost!
• Start Import/Export Tool”
• Import :
o PidLoopExample.afw
o -> Yes to all questions
o
3. Prepare Project
• Go to Functional Structure
• Drop Loop1 into started IO Allocation tool:
• Go to Control Structure
• Go to Control Network
• Go to OPC Data Source Definition Aspect
• Create new service group
• Add service provider : choose your PC
- Select Port or Connection you would like to have on your online display:
REVISION
Rev. Page (P) Description Date
ind. Chapt.(C) Dept./Init.
Updated for SV3.1 30.9.03