Vous êtes sur la page 1sur 47

CONTENTS

1....... Disclaimer .................................................................................................................. 2


2....... INTRODUCTION TO DOCUMENT ............................................................................. 3
2.1 ... Scope of the document ................................................................................................... 3
2.2 ... Overview of the Content ................................................................................................. 3
2.3 ... Compatibility ................................................................................................................... 3
2.4 ... Safety Instructions .......................................................................................................... 3

3....... Overview .................................................................................................................... 4


3.1 ... The first example A_One_Zone .................................................................................. 5
3.2 ... The second example B_Multiple_zones ..................................................................... 7
3.3 ... The third example C_One_Group ............................................................................... 8
3.4 ... The fourth example D_Multiple_Groups .................................................................... 9

4....... Getting started with Examples ............................................................................... 10


4.1 ... Example: A_One_Zone ................................................................................................. 10
4.1.1

Configuration (Automation Builder) ........................................................... 10

4.1.2

Programing (IEC 61131-3 editor) ............................................................ 10

4.1.3

Program Download ................................................................................... 15

4.1.4

Visualization ............................................................................................. 15

4.2 ... Example: B_Multiple_Zones ......................................................................................... 18


4.2.1

Configuration (Automation Builder) ........................................................... 18

4.2.2

Programing (IEC 61131-3 editor) ............................................................ 18

4.2.3

Visualization ............................................................................................. 18

4.3 ... Example: C_One_Group ............................................................................................... 20


4.3.1

Configuration (Automation Builder) ........................................................... 20

4.3.2

Programing (IEC 61131-3 editor) ............................................................ 20

4.3.3

Program Download ................................................................................... 21

4.3.4

Visualization ............................................................................................. 21

4.4 ... Example: D_Multiple_Groups ....................................................................................... 22


4.4.1

Configuration (Automation Builder) ........................................................... 22

4.4.2

Programing (IEC 61131-3 editor) ............................................................ 22

4.4.3

Program Download ................................................................................... 24

4.4.4

Visualization ............................................................................................. 24

4.5 ... Example: D_Multiple_Groups_CP600 .......................................................................... 26


4.5.1

Configuration (Automation Builder) ........................................................... 26

4.5.2

Panel Builder 600 ..................................................................................... 27

4.5.3

CP600 Panel Builder screens ................................................................... 34

5....... REVISION HISTORY ................................................................................................ 44

PS564 TECT Example program


Version: V1.0.0

AC500 / Issue: 11.2015

1 Disclaimer
A. For customers domiciled outside Germany /
Fr Kunden mit Sitz auerhalb Deutschlands
Warranty, Liability:
The user shall be solely responsible for the use of this application example described within this file. ABB
shall be under no warranty whatsoever. ABB's liability in connection with this application example or the
files included within this file, irrespective of the legal ground, shall be excluded. The exclusion of liability
shall not apply in the case of intention or gross negligence. The present declaration shall be governed by
and construed in accordance with the laws of Switzerland under exclusion of its conflict of laws rules and of
the Vienna Convention on the International Sale of Goods (CISG)."
Gewhrleistung und Haftung:
Der Nutzer ist allein fr die Verwendung des in dieser Datei beschriebenen Anwendungsbeispiels
verantwortlich.
ABB unterliegt keiner Gewhrleistung. Die Haftung von ABB im Zusammenhang mit diesem
Anwendungsbeispiel oder den in dieser Datei enthaltenen Dateien - gleich aus welchem Rechtsgrund - ist
ausgeschlossen. Dieser Ausschlu gilt nicht im Falle von Vorsatz oder grober Fahrlssigkeit. Diese
Erklrung unterliegt Schweizer Recht unter Ausschlu der Verweisungsnormen und des UN-Kaufrechts
(CISG)."

B. Nur fr Kunden mit Sitz in Deutschland


Gewhrleistung und Haftung:
Die in diesem Anwendungsbeispiel enthaltenen Dateien beschreiben eine mgliche Anwendung der AC500
bzw. zeigen eine mgliche Einsatzart. Sie stellen nur Beispiele fr Programmierungen dar, sind aber keine
fertigen Lsungen. Eine Gewhr kann nicht bernommen werden.
Der Nutzer ist fr die ordnungsgeme, insbesondere vollstndige und fehlerfreie Programmierung der
Steuerungen selbst verantwortlich. Im Falle der teilweisen oder ganzen bernahme der
Programmierbeispiele knnen gegen ABB keine Ansprche geltend gemacht werden.
Die Haftung von ABB, gleich aus welchem Rechtsgrund, im Zusammenhang mit den
Anwendungsbeispielen oder den in dieser Datei enthaltenen Dateien wird ausgeschlossen. Der
Haftungsausschlu gilt jedoch nicht in Fllen des Vorsatzes, der groben Fahrlssigkeit, bei Ansprchen
nach dem Produkthaftungsgesetz, im Falle der Verletzung des Lebens, des Krpers oder der Gesundheit
oder bei schuldhafter Verletzung einer wesentlichen Vertragspflicht. Im Falle der Verletzung einer
wesentlichen Vertragspflicht ist die Haftung jedoch auf den vertragstypischen, vorhersehbaren Schaden
begrenzt, soweit nicht zugleich ein anderer der in Satz 2 dieses Unterabsatzes erwhnten Flle gegeben
ist. Eine nderung der Beweislast zum Nachteil des Nutzers ist hiermit nicht verbunden.
Es gilt materielles deutsches Recht unter Ausschlu des UN-Kaufrechts."

PS564 TECT Example program


Version: V1.0.0

AC500 / Issue: 11.2015

2 INTRODUCTION TO DOCUMENT
2.1 Scope of the document
The purpose of this document is to give some examples how to develop an application
with the PS564 temperature control library - TECT_TEMP_CONTROL_AC500_V24.lib

2.2 Overview of the Content


There are different examples available:

2.3 Compatibility
The example programs explained in this document have been created and tested with
the below engineering system versions. They should also work with other versions;
nevertheless some small adaptations may be necessary, for future versions.
Prerequisite to run the example programs:

Automation Builder V1.1.0 and V1.2

AC500 PLC: PM57x, PM58x, PM59x or PM595 with Firmware 2.4.2 or higher.

Automation Builder should have Panel Builder V1.90.0 installed or higher.

CP600 seried HMI

SD card

2.4 Safety Instructions


The user must follow all applicable safety instructions and the guidelines mentioned in
the user documents of the ABB products used in the example program.
Read the complete safety instructions for the AC500 before installation and
commissioning.
Read all safety instructions of your control station system manuals.
PS564 TECT Example program
Version: V1.0.0

AC500 / Issue: 11.2015

3 Overview
The Temperature Control library package consists of the following libraries:

Two libraries (ADCTRL_AC500_V24.lib and TECT_EXT_AC500_V24.lib) are internal


libraries. The main library is TECT_TEMP_CONTROL_AC500_V24.lib. It contains the
function blocks which are needed to setup a temperature control system for one zone,
one group of zones or for the entire system, consisting of several groups. Overview of
all function blocks and details can be found in the function block description of the
library.
The example project consists of four examples A to D:

PS564 TECT Example program


Version: V1.0.0

AC500 / Issue: 11.2015

3.1 The first example A_One_Zone


This example explains how to setup the temperature control for single zone.

The function block TECT_TEMP_CONTROL performs the temperature control including


automatic adaptation of control parameter to the process. The duty cycle containing
heating or cooling signals are connected to the actuators of the extruder zone, which is
simulated by the function block TECT_TEMP_SIMU. So there is no need to connect a
real temperature zone to the AC500 in this example. The actual temperature which is
simulated by TECT_TEMP_SIMU is fed back into the TECT_TEMP_CONTROL
function block in order to close the control loop.
Beyond the few inputs and outputs of the TECT_TEMP_CONTROL function block there
are several parameters stored in the global variable ZoneData (blue box in the picture
above) and it is defines as data type TECT_TEMPZONEDATA_TYPE: (Refer online
help: TECT_TEMPZONEDATA_TYPE)

It is grouped in substructures - SET_TYPEs for writing values and


STATUS_TYPEs for reading values. Furtheremore there are values which are read
and written by the MACHINE engineer who comissions the machine and others by the
PS564 TECT Example program
Version: V1.0.0

AC500 / Issue: 11.2015

PROCESS engineer who handles the process itself. For example:

TECT_MACHINE_SET_TYPE contains the temperature limits rHighHigh_Temp


and rLowLow_Temp which are determined by the machine. (Refer online help
TECT_MACHINE_SET_TYPE)

TECT_PROCESS_SET_TYPE contains the temperature limits rHigh_Temp and


rLow_Temp which are determined by the process. (Refer online help
TECT_PROCESS_SET_TYPE)

The structure Zone data acts as an interface between the function blocks
(TECT_TEMP_CONTROL, TECT_LOG_FILE, TECT_DATA_FLASH, ) and the HMI
(not part of this example).

PS564 TECT Example program


Version: V1.0.0

AC500 / Issue: 11.2015

3.2 The second example B_Multiple_zones


This example explains how to setup n zones of temperature control. The number of
zones is n = 6 in the example.

There are six instances of TECT_TEMP_CONTROL and TECT_TEMP_SIMU.


In the above example for six zones we can call one instance of TECT_PWM8 for
heating and another instance of TECT_PWM8 for cooling. (Refer online help
TECT_PWM8 for details) They care for an optimized use of the actuators, so that they
will not be switched on at the same time to avoid undesired voltage drop in the power
supply system.
In the above example six intances of TECT_TEMP_CONTROL, TECT_TEMP_SIMU
function blocks are called. For all the zones present, one instance of
TECT_DATA_FLASH and TECT_LOG_FILE function block is sufficient to handle all the
six zones.

PS564 TECT Example program


Version: V1.0.0

AC500 / Issue: 11.2015

3.3 The third example C_One_Group


This example explains how to setup a group of n zones. Instead of instantiating n
function blocks TECT_TEMP_CONTROL it is sufficient to instantiate one function block
TECT_GROUP which handles the complete group:

One instance of TECT_GROUP and six instances of TECT_TEMP_SIMU function


blocks are called.

PS564 TECT Example program


Version: V1.0.0

AC500 / Issue: 11.2015

3.4 The fourth example D_Multiple_Groups


This example explains the configuration of TECT_SYSTEM and TECT_GROUP for
multiple groups. Example contains n = 18 zones in m= 3 groups: Group 1 with 8 zones,
group 2 with 6 zones and group 3 with 4 zones.

The example also contains a Panel Builder 600 project D_Multiple_Groups_CP600 to


configure a CP600 panel for control and monitoring of all zones. The function block
TECT_HMI_MUX is used as interface between AC500 and CP600.

PS564 TECT Example program


Version: V1.0.0

AC500 / Issue: 11.2015

4 Getting started with Examples


Libraries are located in Common Files\CAATargets\ABB_AC500\AC500_V12\library\PS564-TEMPCTRL
The example project can be found in the folder:
Users\Public\Documents\AutomationBuilder\Examples\PS564-TEMPCTRL\

4.1 Example: A_One_Zone


This example program explains the simple configuration of one temperature control
zone along with a simulation block. It will guide on how to configure and monitor a
single temperature zone. The following components are required for this example:

AC500 PLC (PM573 or higher)

SD card

Automation Builder V1.1.0 or higher

Library: PS564 TEMPCTRL package

Example project: PS564_TECT_Example.project

4.1.1 Configuration (Automation Builder)


Open the example in Automation Builder 1.1.0 or higher.
Update the PLC target to the one used. (Default in example is PM573). Open the
application A_One_Zone in IEC 61131-3 editor

4.1.2 Programing (IEC 61131-3 editor)


A_One_Zone example has following POUs configured for single zone,

PS564 TECT Example program


Version: V1.0.0

10

AC500 / Issue: 11.2015

It has TECT_TEMP_CONTROL, TECT_TEMP_SIMU, TECT_DATA_FLASH and


TECT_LOG_FILE one instance called. Observe the closed control loop between the
two function blocks TECT_TEMP_CONTROL and TECT_TEMP_SIMU

In this example simulation zone (TECT_TEMP_SIMU) is used to simulate the


temperature and connected it as input ACT_TEMP_RAW of FB
TECT_TEMP_CONTROL. If a real zone has to be used, just remove
TECT_TEMP_SIMU FB and map DUTY_CYCLE and ACT_TEMP_RAW of FB
TECT_TEMP_CONTROL to the real actuators and temperature sensor.

4.1.2.1 Library
In order to access the temperatue control function blocks, following three libraries have
to be added in the project. (Default path after installation is C:\Program Files
(x86)\Common Files\CAA-Targets\ABB_AC500\AC500_V12\library\PS564TEMPCTRL)

TECT_TEMP_CONTROL_AC500_V24.lib

TECT_EXT_AC500_V24.lib (internal library used in the temperature control


library)

ADCTRL_AC500_V24.lib (internal library used in the temperature control library)

This can be added or accessed in the Library manager under Resouces tab.

PS564 TECT Example program


Version: V1.0.0

11

AC500 / Issue: 11.2015

Also following oject files has to be present in the folder PS564-TEMPCTRL

TECT_EXT_AC500_V24.obj

TECT_EXT_AC500_V24_FPU.obj

TECT_EXT_AC500_V24_VEC.obj

4.1.2.2 PLC_PRG (POU)


This POU calls the other three POUs namely, ZoneSimulation, TempControl and
OptionalFunctions

4.1.2.3 TempControl (POU)


This POU has the instance of temperature control declared and action to initialize
parameters of zone.

PS564 TECT Example program


Version: V1.0.0

12

AC500 / Issue: 11.2015

This is the main function block to control the temperature at each zone. For more details
on the function block refer online help: TECT_TEMP_CONTROL.
The main parameters of the structure zone data are set in the first cycle of this action.

More details on the parameters can be found in the online help:


TECT_TEMPEZONEDATA_TYPE structure

4.1.2.4 ZoneSimulation (POU)


This POU has the instance of TECT_TEMP_SIMU function block, which is used to
simulate the real zone parameters for the example. This POU can be disabled when
real zone is connected and temperature is read from the sensors.

To simulate the actual temperature for the temperature control function block,
PS564 TECT Example program
Version: V1.0.0

13

AC500 / Issue: 11.2015

TECT_TEMP_SIMU function block is useful. For more details refer online help
TECT_TEMP_SIMU.

4.1.2.5 OptionalFunctions (POU)


This POU has the optional functions used in the example program for additional
features.

TECT_LOG_FILE function block is optional and user can use this block to log the
process status based on different selections and mode. For more details refer online
help: TECT_LOG_FILE.

Data flash function block can be used to store internal parameters and machine set
parameters into the flash memory. For more details on the function block refer online
help: TECT_DATA_FLASH.

PS564 TECT Example program


Version: V1.0.0

14

AC500 / Issue: 11.2015

Recipe function block can be used to store all the basic settings done in the structure
TECT_TEMPZONEDATA_TYPE for each zone into SDCARD/FLASHDISK. For more
details on the function block refer online help: TECT_RECIPE

4.1.3 Program Download


The CPU program can be downloaded to PLC using normal TCP/IP gateway. Put the
PLC in Run mode.
Note: Battery is required to retain the parameters declared as global retain variables
even after restart/ shut down of PLC.

4.1.4 Visualization
Open the visualization PLC_VISU which allows to control and monitor one zone:

PS564 TECT Example program


Version: V1.0.0

15

AC500 / Issue: 11.2015

For starting the example click on Enable Temperature Control and AutoTune:

Wait some minutes until the AutoTune is complete: (Indicator Tune Done)

Push button Accept AutoTune in order to copy the tuned control parameters (KP, TI,
TD and T1) to the actual parameters. Disable AutoTune to run the normal PID_Process:

PS564 TECT Example program


Version: V1.0.0

16

AC500 / Issue: 11.2015

When the control loop is settled the deviation between Set Point (50) and ACT
temperature becomes less than 0,5C, so that the High Deviation error disappears
NoError
Change the SET temperature (e.g. to 40C in the first step and to 45C in the second
step) and wait until ACT temperature follows:

PS564 TECT Example program


Version: V1.0.0

17

AC500 / Issue: 11.2015

4.2 Example: B_Multiple_Zones


This example program explains the simple configuration of multiple temperature control
zone along with simulation blocks. It will guide on how to configure and monitor multiple
temperature zones. The following components are required for this example:

AC500 PLC (PM573 or higher)

SD card

Automation Builder V1.1.0 or higher

Library: PS564 TEMPCTRL package

Example project: PS564_TECT_Example.project

4.2.1 Configuration (Automation Builder)

Open the example in Automation Builder 1.1.0 or higher.

Update the PLC target to the one used. (Default in example is PM573). Open the
application B_Multiple_Zones in IEC 61131-3 editor

4.2.2 Programing (IEC 61131-3 editor)


B_Multiple_Zones example has following POUs configured for multiple zones,

This example has 6 instances of TECT_TEMP_CONTROL function block called for 6


temperature zones. Temperature of the process is simulated instead of real zones for
each zone using TECT_TEMP_SIMU function block. It has optional functions
TECT_RECIPE, TECT_LOG_FILE and TECT_DATA_FLASH Library.
Refer chapter 4.1 for more detailed description and screenshots

4.2.3 Visualization
ALL_ZONES: This Visualization can be used to enable/disable all the 6 zones in the
example program. User can monitor the variation of actual temperature for all the
zones. It also display the latest three logs of the process for each zone. For more
details on the use of LOG_VISU feature refer online help TECT_LOG_ENTRY_PH.

PS564 TECT Example program


Version: V1.0.0

18

AC500 / Issue: 11.2015

ZONE_DATA: This visualizations calls the TECT_ZONE_DATA_PH for each zone.


Using this user can monitor and control process of each zone.

PS564 TECT Example program


Version: V1.0.0

19

AC500 / Issue: 11.2015

4.3 Example: C_One_Group


This example program explains the simple configuration of onegroup of temperature
control zone along with a simulation blocks for each zone. It will guide on how to
configure and monitor a group of temperature zones. The following components are
required for this example:

AC500 PLC (PM573 or higher)

SD card

Automation Builder V1.1.0 or higher

Library: PS564 TEMPCTRL package

Example project: PS564_TECT_Example.project

4.3.1 Configuration (Automation Builder)


Open the example in Automation Builder 1.1.0 or higher.
Update the PLC target to the one used. (Default in example is PM573). Open the
application C_One_Group in IEC 61131-3 editor

4.3.2 Programing (IEC 61131-3 editor)


C_One_Group example has following POUs configured for one group.

This example program has one group function block called for six temperature zones,
Temperature is simulated instead of Real zones for each zone using
TECT_TEMP_SIMU function block. It has optional functions TECT_RECIPE,
TECT_LOG_FILE and TECT_DATA_FLASH
PLC_PRG (POU): This POU calls the other three POUs namely,
Multi_Zone_Simulation, TempControl and OptionalFunctions
TempControl (POU): This POU has the instance of Group function block declared and
actions to initialize parameters of zone, to transfer the heat and cool status, to read the
temperature from simulation for each zone.
TECT_GROUP function block: This function block can handle multiple zones. In the
example B_Multiple_Zones 6 instances of TECT_TEMP_CONTROL function block is
PS564 TECT Example program
Version: V1.0.0

20

AC500 / Issue: 11.2015

called for 6 zones. But, using one instance of this block all 6 instance of temperature
control can be handled. User can group the temperature zones in a whole and call this
block to configure and monitor in one go. For more details of the function block refer
online help TECT_GROUP.

4.3.3 Program Download


The CPU program can be downloaded to PLC using normal TCP/IP gateway. Put the
PLC in Run mode.
Note: Battery is required to retain the parameters declared as global retain variables
even after restart/ shut down of PLC.

4.3.4 Visualization
ALL_ZONES: This Visualization can be used to enable/disable all the 6 zones in the
example program. User can monitor the variation of actual temperature for all the
zones. It also display the latest three logs of the process for each zone. For more
details on the use of LOG_VISU feature refer online help: TECT_LOG_ENTRY_PH.
User can enable/ disable Temperature control, Standby, Auto tune, Accept auto tune
using the ON/OFF buttons available. Also user can cold reset or Warm reset the
process.

PS564 TECT Example program


Version: V1.0.0

21

AC500 / Issue: 11.2015

ZONE_DATA: Refer previous chapter for more detailed description and screenshots

4.4 Example: D_Multiple_Groups


This example program explains the simple configuration of multiple temperature control
groups along with a simulation blocks. It will guide on how to configure and monitor
multiple group of temperature groups in a system. The following components are
required for this example:

AC500 PLC (PM573 or higher)

SD card

Automation Builder V1.1.0 or higher

Library: PS564 TEMPCTRL package

Example project: PS564_TECT_Example.project

4.4.1 Configuration (Automation Builder)


Open the example in Automation Builder 1.1.0 or higher.
Update the PLC target to the one used. (Default in example is PM573). Open the
application D_Multiple_Groups in IEC 61131-3 editor

4.4.2 Programing (IEC 61131-3 editor)


D_Multiple_Groups example has following POUs configured for single zone,

PS564 TECT Example program


Version: V1.0.0

22

AC500 / Issue: 11.2015

This example program explains how to configure a system of multiple group with
different set of temperature zones. Temperature is simulated instead of Real zones for
each zone using TECT_TEMP_SIMU function block. It has optional functions
TECT_RECIPE, TECT_LOG_FILE and TECT_DATA_FLASH. This example also
explains how to interface IEC 61131-3 editor program with CP600 panel.
TempControl (POU): This POU has the instance of Group function block declared and
actions to initialize parameters of zone, to transfer the heat and cool status, to read the
temperature from simulation for each zone.
TECT_SYSTEM function block: This function block can be used to control and monitor
multiple groups together. In this example one instance of TECT_SYSTEM function
block is called which handles the three groups of eight, six and four zones respectively.

HMI_Interface (POU): This POU calls the function block TECT_HMI_MUX which is
used as interface between AC500 PLC and CP600 control panel. For more details
about this function block refer the online help: TECT_HMI_MUX.

PS564 TECT Example program


Version: V1.0.0

23

AC500 / Issue: 11.2015

4.4.3 Program Download


The CPU program can be downloaded to PLC using normal TCP/IP gateway. Put the
PLC in Run mode.
Note: Battery is required to retain the parameters declared as global retain variables
even after restart/ shut down of PLC.
Note: After compliation the Codeys program might throw Warnings related to Callback.
This can be ignored since it will not effect any functionality

4.4.4 Visualization
In ZONE_DATA_IN_GROUP user can control and monitor the parameters of each
individual temperature zones of the respective groups. Using the Group selector on top
user can switch between Group 1, 2 and 3.

PS564 TECT Example program


Version: V1.0.0

24

AC500 / Issue: 11.2015

In GROUP_1 you can monitor all eight zones of first group. On top of the visualization
there are Group command buttons for sending commands to all zones of the group.
User can check the behavior of actual temperature of each zone through graphs. It also
display the latest three logs of the process for each zone. For more details on the use of
LOG_VISU feature refer online help: TECT_LOG_ENTRY_PH.

GROUP_2 and GROUP_2 are similar for the group 2 and 3.


In SYSTEM_CONTROL you can send commands for Group 1, 2 or 3. The buttons in
the top area System Control are valid for the complete system which means all zones
of all groups.

PS564 TECT Example program


Version: V1.0.0

25

AC500 / Issue: 11.2015

4.5 Example: D_Multiple_Groups_CP600


This example program explains the simple configuration of multiple temperature control
groups and monitoring from CP600 Control Panel. It will guide on how to configure and
monitor multiple group of temperature groups in a system. The following components
are required for this example:

AC500 PLC (PM573 or higher)

SD card

Automation Builder V1.1.0 or higher

Library: PS564 TEMPCTRL package

Example project: PS564_TECT_Example.project

CP600 Panel

Note: This example is developed using CP635 series of CP600 Panel.

4.5.1 Configuration (Automation Builder)


Open the example in Automation Builder 1.1.0 or higher.
Update the PLC target to the one used. (Default in example is PM573). Download the
program D_Multiple_Groups into AC500 PLC (see previous chapter)
Open the application D_Multiple_Groups_CP600 in Panel builder 600.

Open the application Panel Builder 600 in Panel Builder

PS564 TECT Example program


Version: V1.0.0

26

AC500 / Issue: 11.2015

4.5.2 Panel Builder 600


4.5.2.1 IP configuration and other settings before download:

Configured IP address of the Panel is 192.168.0.10 and can be changed optionally.


[Refer the hardware settings manual of CP600 Control panel for steps to modify IP.]
In the panel builder project the IP address of the AC500 CPU is set to 192.168.0.145.
For different IP addresses please perform the following steps:
Open Config menu and double click on Protocols.
Click on the configuration for ABB Codesys ETH. This will open configuration window

PS564 TECT Example program


Version: V1.0.0

27

AC500 / Issue: 11.2015

Click on Modify button, it will open another window. User needs to enter IP address of
the CPU at this position.

Once IP address is done, user should click on tags and update all the tags.

PS564 TECT Example program


Version: V1.0.0

28

AC500 / Issue: 11.2015

Refer to next chapter for more details on importing tags.


Now HMI program is ready to be use.

4.5.2.2 Importing symbol files and creating tags:


These chapter explains how to import symbol files from AC500 PLC into HMI program
and create/update the tags.
In the example D_Multiple_Groups, Global_Variables_HMI is having all the variables
for tagging in the CP600. These tags have to be imported as symbol file (.SYM) and
tagged for respective variables in the CP600

In the IEC 61131-3 editor project file select the creation of symbol files. Project
Options Symbol configuration.

PS564 TECT Example program


Version: V1.0.0

29

AC500 / Issue: 11.2015

Also check if download symbol file is selected in Target settings

PS564 TECT Example program


Version: V1.0.0

30

AC500 / Issue: 11.2015

After the download of project file into AC500 PLC, in the automation builder export the
symbol file into desired location in the PC.

Now in the panel builder 600 under config Tags ABB Codesys ETH Prtocol
Import tags

Select the location to where the symbol file is exported and import the tags from
D_Multiple_Groups.SYM file into Panel builder.

PS564 TECT Example program


Version: V1.0.0

31

AC500 / Issue: 11.2015

Once the tags are imported the list of tags will appear under the ABB Codeys ETH
Prtocol,

Note: Same steps described as to be followed if tags has to be changed if any


modification is done is IEC 61131-3 editor or AC500 IP address is changed.

4.5.2.3 Panel builder program download


Connect Panel to the common Switch together with Engineering PC and AC500
Download to Target (change IP address before if required)

PS564 TECT Example program


Version: V1.0.0

32

AC500 / Issue: 11.2015

On the Panel do the following configurations


By navigating between different pages user can configure control, process settings and
monitor the whole process.
1. Home page, from here user can navigate to any of the control and monitoring
pages. User can also control the major process of the system/group by ON/OFF
buttons available.
2. If the configuration is for the first time then user should select Options Startup
page. This will guide from one page to another for the limit settings, auto tune
settings, PID settigns which can be done for each group separately.
3. After the startup configuration user can start the process and choose between
automatic/ manual control of the process under Contol/Status button.
4. If there is any changes in the settings to be made after the process is started/
running then user can navigate to Settings page where limit and control settings can
be edited.
5. After the settings are done, navigate to PID/Tune page where the auto tune can be
controlled, here user can accept/reject the autotune values.
6. After all the settings are done and tune values are accepted, navigate to the
monitoring screens. Trends, alarms and home page are the monitoring screens.
7. Go to Trends page to observe the variations in the actual temperature for each
zone.
8. After this user click on alarm screen to check the list of all warnings/ faults
generated in the system. Latest alarm can also be seen in the status bar below each
page.

PS564 TECT Example program


Version: V1.0.0

33

AC500 / Issue: 11.2015

4.5.3 CP600 Panel Builder screens


4.5.3.1 HOME

Home screen of the HMI has navigations to different control and monitoring pages.
Using the System configuration user can Enable/ disable the temperature control
process, standby process, autotune process. When ON button is pressed it will start
the respective operation for the system. Status of different groups in the system is
displayed above like number of groups in Ready or Not ready or Auto tune and so on.
Similar way user can ON/OFF the process for individual groups using Group level
control buttons. Also for the group/system warm reset and cold reset can be done. By
pressing the backward/forward button we can switch between the groups.
In additional to above functionalities user can select the Recipe function. In this, user
can save the different control settings into a .CSV file in the SDCARD or can load the
control settings from the CSV file into the structure.For more details on the Recipe
function refer chapter 4.1.2.6.3 TECT_RECIPE. On the right side of the home page
user can launch different pages of controlling and monitoring like Settings, PID/Tune,
alarms andtrends. These pages will be explained further in detail.

4.5.3.2 Control / Status


Control/Status has three pages namely Automatic control, Manual control and
advanced status.
Automatic control page has zone level control for each group. User can configure/ set
the parameters process setpoint, standby setpoint. Process enable/ disable can be
controlled by the ON button. Similar way user can initiate the process to run at standby
setpoint by pressing Enable Standby. Each individual group warm reset option is also
available.

PS564 TECT Example program


Version: V1.0.0

34

AC500 / Issue: 11.2015

4.5.3.2.1

Automatic Control

In the Second set of data, Actual temperature and other process status are displayed. If
the colour is red then heat process is running and blue indicates cooling process of the
individual zone. In the last row control state of each zone is displayed which is easy to
monitor the group.

4.5.3.2.2

Manual Control

In the Manual control page user can override all the running process and take complete
control of the system into his control. For the zones for which Manual Mode is ON, it is
under manual control and runs with the user defined duty cycle, Manual Output. For
example in the above image we can see for Zone 1, 3, 6 and 8 manual mode is
activated.
User can view the present running status and monitor the process. User has to be
PS564 TECT Example program
Version: V1.0.0

35

AC500 / Issue: 11.2015

careful in choosing the Manual output values because erroneous value could lead to
serious damage. Control state indicates the present running process in each zone.
Note: In the manual mode there is no limits defined and user has to be careful while
assigning the values. It might lead to damage of apparatus.

4.5.3.2.3

Advanced Status

Advanced status page is a monitoring screen where user can view more details about
the system status and errors. All the parameters in this page is read only.

4.5.3.3 Settings
In the settings of the system there are two pages, one for limit settings and another for
control settings

4.5.3.3.1

Limit settings

PS564 TECT Example program


Version: V1.0.0

36

AC500 / Issue: 11.2015

This is the page where all the limit settings for each zone can be made. These settings
will generate alarms/faults for the respective zone based on the limits declared here.

4.5.3.3.2

Control settings

Control settings page provides major control parameter configuration for the user like
dutycycle, temp difference cool and cool off ratio. Using the ON button user can trun on/
turn off heating and cooling for each zone.

4.5.3.4 PID / TUNE


For the PID/tune settings there are two pages available, one page for the auto tune
settings and another page for the KP, TI, TD and T1 settings.

PS564 TECT Example program


Version: V1.0.0

37

AC500 / Issue: 11.2015

4.5.3.4.1

Auto Tune

In this Auto tune page, as in above image, all the auto tune related settings can be
configured and monitored. User can configure the tune step, and can enable tuning for
each zone individually. Once the tune is completed status of tune done will be green
(in the above image zone 1, 2, 3, 4 and 5). The tuned value can be accepted/ rejected
by ON button for zone 2 and 4 it is accepted). For each zone tuned values of KP, TI and
TD are available.

4.5.3.4.2

PID settings

In the PID settings page, each zone tuned value of KP,TI,TD and Cool factor is
available. In the previous page of Auto Tune, if the tune values for a zone is accepted
then it will be copied into process KP,TI, TD and Cool factor. (In the above image
observe zone 2 and zone 4).
PS564 TECT Example program
Version: V1.0.0

38

AC500 / Issue: 11.2015

4.5.3.5 Trends

This is the page in which user can monitor the variations in actual temperature for each
zone. Zone 1 to 4 is displayed in one trend and zone 5 to 8 in the next trend.

4.5.3.6 Alarms

Alarm screen will display all the alarms/ faults generated by temperature control system.
User can select from the filter to display only the triggered alarms or show all the
alarms. In the above image only triggered alarams are displayed. Yellow colour indicate
warning and red colour indicate fault.

PS564 TECT Example program


Version: V1.0.0

39

AC500 / Issue: 11.2015

4.5.3.7 Options

Options is the page which provides some options to the user, each of them are
explained below

4.5.3.7.1

Startup
Startup is the screen using which user can configure the parameters or control and
limits of the system for each group and zone.

Select the Group and assign group name for which initialization has to be made.
PS564 TECT Example program
Version: V1.0.0

40

AC500 / Issue: 11.2015

All the limit settings for the machine and process are set here. Based on the limit
settings made here warnings/ faults will be generated.

Control settings page provides major control parameter configuration for the user like
dutycycle, temp difference cool and cool off ratio. Using the ON button user can trun on/
turn off heating and cooling for each zone.

PS564 TECT Example program


Version: V1.0.0

41

AC500 / Issue: 11.2015

In this Auto tune page, as in above image, all the auto tune related settings can be
configured and monitored. User can configure the tune step, and can enable tuning for
each zone individually. Once the tune is completed status of tune done will be green (
in the above image zone 1,2, 3, 4 and 5). The tuned value can be accepted/ rejected by
ON button ( for zone 2 and 4 it is accepted) For each zone tuned values of KP, TI and
TD are available.

In the PID settings page, each zone tuned value of KP,TI,TD and Cool factor is
available. In the previous page of Auto Tune, if the tune values for a zone is accepted
then it will be copied into process KP,TI, TD and Cool factor. (In the above image
observe zone 2 and zone 4).

PS564 TECT Example program


Version: V1.0.0

42

AC500 / Issue: 11.2015

After all the settings are made startup completed page will appear. Here user can click
on Startup button to configure settings for all the group.

4.5.3.7.2

Users, Panel Settings, Info

These buttons are placeholders, they can be implemented by the user.

PS564 TECT Example program


Version: V1.0.0

43

AC500 / Issue: 11.2015

5 REVISION HISTORY
Rev. ind.

V1.0.0

Page (P)
Chapt. (C)

All

Description

Date
Dept./Init

First Release

PS564 TECT Example program


Version: V1.0.0

DEAPR/ACDT, 2015-11-26

44

AC500 / Issue: 11.2015


ABB Automation Products GmbH
Wallstadter Str. 59
68526 Ladenburg, Germany
Phone: +49 62 21 701 1444
Fax : +49 62 21 701 1382
E-Mail: plc.sales@de.abb.com
www.abb.com/plc

Manual No. 3ADR025230M0201

Note:
We reserve the right to make technical changes or modify the contents of this document without prior notice. With regard to purchase orders, the agreed
particulars shall prevail. ABB AG does not accept any responsibility whatsoever for potential errors or possible lack of information in this document.
We reserve all rights in this document and in the subject matter and illustrations contained therein. Any reproduction, disclosure to third parties or utilization
of its contents in whole or in parts is forbidden without prior written consent of ABB AG.
Copyright 2015 ABB , All rights reserved