Cp 400 First Steps

49
Copyright 2008 ABB. All rights reserved. Prep. DESTO/CPT / Stefan Buchholz 02.10.2007 Customer Appr. DESTO/CPT / Stefan Buchholz Approved Proj. no. Doc. kind Commissioning Instruction Doc. des. Ref. des. Title CP400 first steps Resp. dept DESTO/CPT Doc. no. Lang. Rev. ind. Page 1 ABB Stotz-Kontakt GmbH en M No. of p. 49 FILE: CP400 first steps.doc; TEMPLATE: Techn_Doc_Deliv_P.dot C; SKELETON: ; SAVEDATE: 6/15/2009 9:12:00 AM Control panel CP400 series Connection with AC500 / KT9x Connection with ACS-drives First steps

Transcript of Cp 400 First Steps

Page 1: Cp 400 First Steps

Copyright 2008 ABB. All rights reserved.

Prep. DESTO/CPT / Stefan Buchholz 02.10.2007 Customer Appr. DESTO/CPT / Stefan Buchholz Approved Proj. no. Doc. kind Commissioning Instruction Doc.

des. Ref. des.

Title CP400 first steps Resp. dept DESTO/CPT

Doc. no. Lang. Rev. ind. Page 1 ABB Stotz-Kontakt GmbH en M No. of p. 49

FILE: CP400 first steps.doc; TEMPLATE: Techn_Doc_Deliv_P.dot C; SKELETON: ; SAVEDATE: 6/15/2009 9:12:00 AM

Control panel CP400 series

Connection with AC500 / KT9x Connection with ACS-drives

First steps

Page 2: Cp 400 First Steps

Title Lang. Rev. Page 2

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

1. Content

1. Content ............................................ ......................................................................... 2

2. Configure the panel ................................ ................................................................. 4 2.1 Dip Switches ................................................................................................ 4 2.2 Systemmenu ................................................................................................ 4

3. Communication Settings in CP400Soft ................ .................................................. 4 3.1 Creat a new project: ..................................................................................... 4 3.2 Communication settings CP400 �� AC500 / KT9x.................................... 5

3.2.1 Ethernet connection (Modbus on TCP/IP)....................................... 5 3.2.2 serial Modbus connection to COM-Port .......................................... 6 3.2.3 Modbus COMx-port settings for Panel to drive (e.g. ACS800) ........ 7

3.3 Communication Settings for ......................................................................... 8 3.4 Download Communication settings PC � CP400 ........................................ 8

3.4.1 Ethernet connection........................................................................ 8 3.4.2 COMx Connection .......................................................................... 8 3.4.3 USB Connection ............................................................................. 9

3.5 Import variables from AC500 / KT9x-Exportfile........................................... 10 3.6 Direct addressing of variables .................................................................... 11

4. Communication Settings for AC500 in PS501.......... ............................................ 14 4.1 Communication settings CP400 �� AC500............................................. 14

4.1.1 Ethernet Open Modbus on TCP/IP ............................................... 14 4.1.2 COM1 Open Modbus seriell.......................................................... 15

4.2 Export variables from AC500 to use in CP400............................................ 16 4.2.1 Varlist(s) for panel-data exchange with AC500 ............................. 16 4.2.2 Export varlists ............................................................................... 18

5. Communication Settings for AC31 – serial connection ...................................... 19 5.1 Series 90 (07KT95-98) ............................................................................... 19

5.1.1 Init Modbus on COM2................................................................... 19 5.1.2 Init Modbus on COM3 or COM4 (07KP93).................................... 19

5.2 Series 40/50............................................................................................... 20 5.2.1 Init Modbus on COM1................................................................... 20 5.2.2 Init Modbus on COM2................................................................... 20 5.2.3 Init Modbus on COM3 (07KP53) ................................................... 21 5.2.4 Init Modbus on COM4 (07KP53) ................................................... 21

5.3 Communication settings CP400 �� 07KT9x, .......................................... 22 5.3.1 Ethernet Open Modbus on TCP/IP ............................................... 22

5.4 Export variables from AC500 to use in CP400............................................ 22 5.4.1 Varlist(s) for panel-data exchange with AC500 ............................. 22 5.4.2 Settings in CP400......................................................................... 24

6. Data exchange with drive (direct without PLC)...... .............................................. 26

7. Application in CP400Soft – first steps............. ..................................................... 27 7.1 Common Setup Options ............................................................................. 27

7.1.1 Language for CP400Soft .............................................................. 27 7.1.2 Languages to use in panel application.......................................... 27 7.1.3 Stop Beep on panel: ..................................................................... 28

7.2 First functions............................................................................................. 28 7.2.1 Read variables from AC500.......................................................... 28

7.2.1.1 Multistate Indicator for two (Bit) and more states:............ 28 7.2.1.2 Numeric display .............................................................. 30

7.2.2 Send variables to AC500 .............................................................. 30 7.2.2.1 Pushbuttons.................................................................... 30 7.2.2.2 Numeric entry.................................................................. 33

Page 3: Cp 400 First Steps

Title Lang. Rev. Page 3

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7.3 Clock-Macro to send cyclic data ................................................................. 34 7.3.1 Create Clock Macro: ..................................................................... 34

7.4 Passwords.................................................................................................. 35 7.4.1 Users Passwords level 1 - 9 ......................................................... 35 7.4.2 Developers password ................................................................... 36

7.5 Multi-Language support.............................................................................. 38 7.5.1 Multilanguage selection ................................................................ 38 7.5.2 Edit languages in objects.............................................................. 38 7.5.3 Create Action Button “Select Language x” to select language ...... 38

8. Compile and Download application................... ................................................... 40 8.1 Compile application .................................................................................... 40 8.2 Select the transmission Setup .................................................................... 40 8.3 Download firmware and application for the first time................................... 40 8.4 Download application ................................................................................. 41

8.4.1 Normal download.......................................................................... 41 8.4.1.1 Set passwordlevel to highest level .................................. 41 8.4.1.2 Acknowledge download on panel or set to system

menu............................................................................... 41 8.4.2 Ethernet Download ....................................................................... 42 8.4.3 Download using CF card or USB stick .......................................... 43 8.4.4 Load / Save Program from / to CF-Card / USB-Stick with

action buttons in application.......................................................... 44

9. Futher functions................................... .................................................................. 45 9.1 alarms ........................................................................................................ 45 9.2 CP400-time to AC500 ................................................................................ 45

9.2.1 Setup in CAP400Soft.................................................................... 45 9.2.2 Programming in AC500 ................................................................ 45

10. Futher Documentation............................... ............................................................ 47 10.1 software manual......................................................................................... 47 10.2 installation and hardware manual ............................................................... 47

11. Simulations of CP400 Application ................... ..................................................... 47 11.1 Off-line simulation....................................................................................... 47 11.2 On-line simulation....................................................................................... 47

12. Example Application................................ .............................................................. 48

13. REVISION................................................................................................................ 49

Page 4: Cp 400 First Steps

Title Lang. Rev. Page 4

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

2. Configure the panel

2.1 Dip Switches

While power off, select the dip switches on rear as follows: SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 SW9 SW10 SW11 SW12

On On Off Off On On On On

Res. Res. Appl Appl. ComPar CPSoft

No Pwd

Sys Menu

Pwd Lev1 Res. Com2

RS485 Com3 RS485 Res.

Detailed Info in Installations Manual to find in C:\Program Files\CP400 Soft\v1.0.2\Installation Manual\.. After the first application is loaded the SW7 can be set to Off, so the application will start directly after power on.

2.2 Systemmenu

After power on with the dip switch 7 "on" the system menu is displayed. With "F2 Confg" configure the display: Screen1:

Enable the communications ports COM1 .. COM3 if required Set the Download/Upload/Copy port (port to download the programm from PC):

Ethernet -> adress of panel is set in screen4 -> use crossover cable or switch

COM1, COM2 -> use specified cable USB -> USB-driver must be installed on PC, see chapter 3.4.3

Screen2: COM1 parameter setting: Set the Baud rate, Data bits, Parity, Stop bits, Node address… see also settings in CP400Soft in chapter 3.2.3 Modbus COMx-port settings Screen3: COM2 parameter setting: dito COM1 Screen4: COM3 parameter setting: dito COM1 Screen4: IP-Settings for panel: Set the IP-Address, Gateway and Sub-networt mask. "Save & Quit" starts the application, if already loaded.

3. Communication Settings in CP400Soft

3.1 Creat a new project:

File\New

Page 5: Cp 400 First Steps

Title Lang. Rev. Page 5

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

3.2 Communication settings CP400 �� AC500 / KT9x

After creation of a new project the window for Application Properties will apear automaticly: In a existing project select Apllication\Workstation Setup…:

The application name has be choosen. The type of Panel/Workstation and the Controller/PLC have to be selected according to the type of connection:

3.2.1 Ethernet connection (Modbus on TCP/IP)

Choose "Ethernet" in Panel/Workstation and choose the AC500 type with "Ethernet"

after selection of Controller/PLC type the window will change automaticlly to the "connection"-tab:

Type in the IP-Adress of the AC500 PLC

Page 6: Cp 400 First Steps

Title Lang. Rev. Page 6

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

3.2.2 serial Modbus connection to COM-Port

choose the controller type without "Ethernet" extension, even if it has an Ethernet coupler

after selection of Controller/PLC type the window will change automaticlly to the "connection"-tab:

Select the COMx (not Multilink slave)

Select the Parameters of AC500 according to the used parameter settings in the AC500 (see chapter 4.1.2)

Page 7: Cp 400 First Steps

Title Lang. Rev. Page 7

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

3.2.3 Modbus COMx-port settings for Panel to drive (e.g. ACS800)

Page 8: Cp 400 First Steps

Title Lang. Rev. Page 8

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

3.3 Communication Settings for

3.4 Download Communication settings PC � CP400

3.4.1 Ethernet connection

IP-Adress = Address of CP400

Or select a CP400 panel wich is already connected via the pulldown menu.

use crossover cable or switch to connect.

3.4.2 COMx Connection

Page 9: Cp 400 First Steps

Title Lang. Rev. Page 9

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

3.4.3 USB Connection

Install the USB-driver:

1. Connect the PC with CP400 with an USB-AB cable

2. switch on the power

3. the Windows hardware wizard should appear. browse for the driver C:\Program Files\CP400 Soft\vx.x.x\Usbdev.sys to install the USB-driver

Page 10: Cp 400 First Steps

Title Lang. Rev. Page 10

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

3.5 Import variables from AC500 / KT9x-Exportfile

To use variables already definied in PS501 / AC1131 generate an exportfile in PS501 / AC1131 (see 4.2 Export variables from AC500 to use in CP400) and import it as follows:

Page 11: Cp 400 First Steps

Title Lang. Rev. Page 11

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

If you do this not for the first time a warning appears:

acknowledge with yes.

You will receive a filled tag table (CP400Soft variables)

3.6 Direct addressing of variables

For direct adressing the PLC see chapter 10 of the CP400Soft manual.

Take care about the variable range for different PLC-types. The range in PM57x is less than in PM58x and PM59x.

For the AC500 – PM57x see chapter 10.3 in the CP400Soft manual.

For the AC500 – PM58x and PM59x see chapter 10.4 in the CP400Soft manual.

How to acces the manual see chapter 10.1 "software manual" of this document.

Or see the following tables below.

Page 12: Cp 400 First Steps

Title Lang. Rev. Page 12

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

Page 13: Cp 400 First Steps

Title Lang. Rev. Page 13

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

Page 14: Cp 400 First Steps

Title Lang. Rev. Page 14

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

4. Communication Settings for AC500 in PS501

4.1 Communication settings CP400 �� AC500

4.1.1 Ethernet Open Modbus on TCP/IP

Configuration in PLC Configuration:

Configuration in Syconet for ethernet coupler:

Server connection at least 1 so that the CP400 as master is able to read/write to the AC500 Swap to True!

Page 15: Cp 400 First Steps

Title Lang. Rev. Page 15

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

4.1.2 COM1 Open Modbus seriell

Settings in PLC configuration: COM1 to Modbus:

Change settings to the following:

• If needed, “enable login” on same Com-Port can be set, but then you must set Baudrate = 19200, Parity = none, Data Bits = 8, Stop Bits = 1. And be aware that the performance of PLC will decrease.

• If RS485 is used, RTS control must be set to "telegram" • Set operation mode to "Slave" • All other parameter should be the same as defined in the CP400 panel on

Application properties \ connections:

(see chapter 3.2.2) No Functionblock is needed to initialize.

If RS485 is used, RTS control must be set to "telegram"

Page 16: Cp 400 First Steps

Title Lang. Rev. Page 16

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

4.2 Export variables from AC500 to use in CP400

To use already definied variables in CP400 you can export this variables from PS501 and import them in your CP400Soft Project.

4.2.1 Varlist(s) for panel-data exchange with AC500

1. define a (global) varlist wich contains the variables to be written from and to be read by CP400 this variables have to be definied with a fix address.

2. define the variables with sequential addresse so the communication is done faster.

3. the names of the variables should not be changed if you have already used them in the CP400Soft. If you change the addresses later, they will be changed in the CP400Soft automaticly. If you change the name of a variable the tags using this variable will generate an compiler error and have to be connected again.

4. check the addresse in AC500 docu or CP400Soft docu on chapter 10.3.

Page 17: Cp 400 First Steps

Title Lang. Rev. Page 17

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

5. examples of varlists:

Page 18: Cp 400 First Steps

Title Lang. Rev. Page 18

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

4.2.2 Export varlists

Page 19: Cp 400 First Steps

Title Lang. Rev. Page 19

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

5. Communication Settings for AC31 – serial connect ion

5.1 Series 90 (07KT95-98)

5.1.1 Init Modbus on COM2

Please prepare the following on the Program for the 07KT9x Insert Additional Library

• Base_S90_V4.1 and

• COM_S90_V4.1

Insert MODINIT POU and descript the inputs

102 at MAST_SLV means Slave Address 2 (100 plus Slave Address)

5.1.2 Init Modbus on COM3 or COM4 (07KP93)

Connect the 07KP93 to the 07KT97 Please prepare the following on the Program for the 07KT9x Insert Additional Library

• Base_S90_V4.1 and

• COM_S90_V4.1

Insert MODINIT POU and descript the inputs

Page 20: Cp 400 First Steps

Title Lang. Rev. Page 20

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

102 at MAST_SLV means Slave Address 2 (100 plus Slave Address)

5.2 Series 40/50

5.2.1 Init Modbus on COM1

Write the slave address to the system “Constant KW00_06” (100 plus Slave Address)

Using the default parameters for the COM1 Port (9600 Baud, 1 Stop Bit, 8 Data Bit, No Parity) no more actions are necessary. Otherwise the “SINIT” POU have to be used for the parameters of the Interface. Insert SINIT POU and descript the inputs

5.2.2 Init Modbus on COM2

Write the slave address to the system “Constant KW00_00” (1100 plus Slave Address)

Insert SINIT POU and descript the inputs

Page 21: Cp 400 First Steps

Title Lang. Rev. Page 21

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

5.2.3 Init Modbus on COM3 (07KP53)

Connect the 07KP53 to 07Kx51 Insert MODMASTW POU

5.2.4 Init Modbus on COM4 (07KP53)

Insert MODMASTW POU

Page 22: Cp 400 First Steps

Title Lang. Rev. Page 22

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

5.3 Communication settings CP400 �� 07KT9x,

5.3.1 Ethernet Open Modbus on TCP/IP

5.4 Export variables from AC500 to use in CP400

To use already definied variables in CP400 you can export this variables from AC1131 and import them in your CP400Soft Project.

5.4.1 Varlist(s) for panel-data exchange with AC500

1. define a (global) varlist wich contains the variables to be written from and to be read by CP400 this variables have to be definied with a fix address. Variable name should not be longer than 32 characters.

2. define the variables with sequential addresse so the communication is done faster.

3. the names of the variables should not be changed if you have already used them in the CP400Soft. If you change the addresses later, they will be changed in the CP400Soft automaticly. If you change the name of a variable the tags using this variable will generate a compiler error and have to be connected again.

Page 23: Cp 400 First Steps

Title Lang. Rev. Page 23

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

4. check the addresse in AC1131 docu or CP400Soft docu on chapter 10.1 , 10.2.

5. Export varlists

Page 24: Cp 400 First Steps

Title Lang. Rev. Page 24

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

6. Import varlist like descriped in chapter 3.5 Import variables from AC500 / KT9x-Exportfile.

5.4.2 Settings in CP400

For connection settings of CP400 please see chapter 3.2.2 “serial Modbus connection to COM-Port” and replace selection of AC500 with your KT9x-type. Adpate settings in CP400-Soft to your settings in KT9x (Baudrate = 9600, …) Example of settings in CP400:

Page 25: Cp 400 First Steps

Title Lang. Rev. Page 25

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

Page 26: Cp 400 First Steps

Title Lang. Rev. Page 26

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

6. Data exchange with drive (direct without PLC)

Communication setup see chapter 3.2.3 “Modbus COMx-port settings for Panel to drive (e.g. ACS800)”

For direct communication panel <-> drive use direct Modbus-adresses in panel application:

address of control word from drive

Page 27: Cp 400 First Steps

Title Lang. Rev. Page 27

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7. Application in CP400Soft – first steps

7.1 Common Setup Options

7.1.1 Language for CP400Soft

7.1.2 Languages to use in panel application

Page 28: Cp 400 First Steps

Title Lang. Rev. Page 28

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7.1.3 Stop Beep on panel:

7.2 First functions

7.2.1 Read variables from AC500

7.2.1.1 Multistate Indicator for two (Bit) and more states:

Bit-Variable:

Page 29: Cp 400 First Steps

Title Lang. Rev. Page 29

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

Value-Variable:

Page 30: Cp 400 First Steps

Title Lang. Rev. Page 30

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

Enter text for the diffrent states and diffrent languages

7.2.1.2 Numeric display

Select "Object / "Numeric Display" for an object to show an numeric number of the AC500

And select the variable as shown.

7.2.2 Send variables to AC500

7.2.2.1 Pushbuttons

To send digital signals from the panel to the AC500 select

Page 31: Cp 400 First Steps

Title Lang. Rev. Page 31

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

"Object" / "Push Button" / …

A ) "Set" or "Reset" or "Maintained" or "Momentary"- functions can be change lateron.

Page 32: Cp 400 First Steps

Title Lang. Rev. Page 32

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

B) Set constant value

C) Incremet / Decrement value

Page 33: Cp 400 First Steps

Title Lang. Rev. Page 33

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7.2.2.2 Numeric entry

Select "Object" / "Numeric Entry"

Choose the variable from the tag table – as known from the other objects.

Check the different options of this tag like "input limits" and "Integral Digits" …

If you don´t fill in the field "Read" the variable form the "Write" field will be used. (default)

Page 34: Cp 400 First Steps

Title Lang. Rev. Page 34

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7.3 Clock-Macro to send cyclic data

To send cyclic data from the panel the clock macro can be used. It´s executed every 500ms, if the panel application is running.

This can be used to keep the communication from panel to only an ACS-Drive via Modus-RTU.

7.3.1 Create Clock Macro:

Application \CLOCK Macro

Select "MOVE" from the OP-Pulldown-menu

Replace "A1" with the destination adress and "A2" with the value.

Page 35: Cp 400 First Steps

Title Lang. Rev. Page 35

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7.4 Passwords

Passwords are stored in the panel (not in the application software).

Users Passwords can be change via an action button "password table" Developers password (level0) is change in the Software

There are ten password levels: Level 0 has all rights, level 9 is the lowest user level.

7.4.1 Users Passwords level 1 - 9

The password table can only be accessed with user level 1. Be sure to set DippSwitch SW8 to ON for changing the passwords the first time.

1. create action button "password table"

2. compile and download application to panel -> see chapter 8

3. push "password table" button on panel:

4. enter the new passwords:

each password must be a combination of exactly 8 numbers!

Every entry in the password table must be terminated with the "ENT" (Enter) button.

Page 36: Cp 400 First Steps

Title Lang. Rev. Page 36

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7.4.2 Developers password

To change the developers password goto Application\Workstation setup\Passwords:

The developers password consists of 9 numbers

If you changed the developers password, you must download the application before it is changed in the panel. To use the Ethernet Download option you must confirm the developers password which is actually stored in the panel. See chapter 0 “

Page 37: Cp 400 First Steps

Title Lang. Rev. Page 37

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

Download application”

Page 38: Cp 400 First Steps

Title Lang. Rev. Page 38

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

7.5 Multi-Language support

7.5.1 Multilanguage selection

Up to 5 languages selectable

See: manual chapters 2.4.3 and 2.9.1

Startup Language will be set after new start of panel. If “Save Current Language” is checked the last selected language will be set after startup.

Select Language… will help to use right letter support

7.5.2 Edit languages in objects

Use pulldown menu “language x” in all objects with property “text” to choose language and edit/write text in choosen language:

7.5.3 Create Action Button “Select Language x” to select language

Place an action button in a screen to choose language:

Page 39: Cp 400 First Steps

Title Lang. Rev. Page 39

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

or use an action button in a slide-out menu to choose language:

Page 40: Cp 400 First Steps

Title Lang. Rev. Page 40

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

8. Compile and Download application

8.1 Compile application

8.2 Select the transmission Setup

If the panel is in the system menu, the transmission setup must correspond to the setting in the system menu\F2 Confg\”Download/Upload/Copy port” …

If the panel on already a application running you can choose the transmission setup independent of the setting in the panel system menu. You then must prompt the download on the panel.See also chapter 0 Download application

8.3 Download firmware and application for the first time

If the panel is used the first time a firmware and application download must be done.

The flash will be erased and then the firmware and the application will be downloaded

Page 41: Cp 400 First Steps

Title Lang. Rev. Page 41

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

8.4 Download application

For CP400Soft version 1.0.3 Build 166 and higher you can use serveral ways of downloading an application:

1. Normal download, which has to be acknowledge on the panel – see 8.4.1 - 8.4.1.2

2. Ethernet download, without operation on the panel – see 8.4.2

3. Load program form CF-Card or USB-Stick on panel directly – see 8.4.3 - 8.4.4

8.4.1 Normal download

8.4.1.1 Set passwordlevel to highest level

If you have activated password with dip-switch 6 set to "on" or dip-switch 8 to “off” you must change to the highest password level (level 1) before selecting to download.

The default password for level 1 is

"00000000"

Otherwise you will receive the error message: "Job cancelled"

8.4.1.2 Acknowledge download on panel or set to system menu

After the selection to download, the CP400Soft attemps to link to the panel. If the application on the panel is running, you mus t acknowledge the question on the panel within some seconds

so be sure to be next to the panel, if you start the download, or set the panel to system menu before (action button or power on with dip switch 7 set to “on”). otherwise the download is

stopped with error message:

"No Response"

Page 42: Cp 400 First Steps

Title Lang. Rev. Page 42

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

8.4.2 Ethernet Download

To Download without confirmation on the panel itself, you can use the “Ethernet Download”. 1. Change the developers password once on Application\Workstation setup\Password

2. Download the application with normal Download � the new developers password is stored in the panel. 3. Choose “Ethernet Download” and type in the Developer´s Password � the panel will be loaded directly without any confi rmation on the panel itself ! Errors: If you try to use a developers password, which is not yet loaded in the panel, you get an error:

If you use Ethernet Download while the panel is on the system menu you get the error: “Inappropriate command Sequence” on the panel and the error “Invalid Operation Code” in the CP400Soft.

Page 43: Cp 400 First Steps

Title Lang. Rev. Page 43

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

8.4.3 Download using CF card or USB stick

The application can also be downloaded using a CF card or USB stick without PC connected to CP400.

1. Compile the Program and then choose Download Application

Compile: generates the file "<Program>.c64". Download Application: generates the file "<Program>.fw6".

2. Rename the compiled file "<Program>.c64" and "<Program>.fw6" in project folder into "app_main.c64" und "app_main.fw6"

3. Save the files "app_main.c64" und "app_main.fw6" on CF-Card or USB stick

4. Insert the CF-Card or USB stick into CP400 while an application is running (e.g. Demo

program, which is already loaded on new deliverd panels)

5. The following windows appear on CP400, choose “Ja” to both and the application will be downloaded.

Page 44: Cp 400 First Steps

Title Lang. Rev. Page 44

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

8.4.4 Load / Save Program from / to CF-Card / USB-Stick with action buttons in application

With an action button using actions “Update Application Data from File ” or “Write Application Data to File ” you can select to update or save special application programs (*.c64 and *.fw6).

You must select the name of application to be updated / to be saved on the CF-Card / USB-stick with file-type “.c64”

If you have activated password (with dip-switch 6 set to "on" or dip-switch 8 to “off”) you must change to the password level, that is definied under “Application\Workstation Setup\Password” before you can use those action buttons.

Page 45: Cp 400 First Steps

Title Lang. Rev. Page 45

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

9. Futher functions

9.1 alarms

tbd

9.2 CP400-time to AC500

9.2.1 Setup in CAP400Soft

Enable to write time and date to PLC:

Application \ Workstation Setup \ Miscellaneous checkbox "write time and date to PLC"; select a word address and be sure to have the following two words free.

For the format see the manual in chapter 4.4.1

9.2.2 Programming in AC500

In the AC500 you have to convert the BCD values from the panel.

Page 46: Cp 400 First Steps

Title Lang. Rev. Page 46

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

To set the AC500 internal realtimeclock with the values from the panel use the function block "CLOCL" form the SysExt_AC500_Vxx library

Example for the setting of AC500 clock from CP400:

Page 47: Cp 400 First Steps

Title Lang. Rev. Page 47

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

10. Futher Documentation

10.1 software manual

The manual for the CP400Soft Softwaer can be found under

Programs\CP400Soft\vx.x.x\Manuals\CP400Soft_Manual_EN for english

Programs\CP400Soft\vx.x.x\Manuals\CP400Soft_Manual_GN for german

10.2 installation and hardware manual

For installation manuals there is a link to the manual under:

Programs\CP400Soft\vx.x.x\Manuals\Installation Manual

Each file 1SBC159…. corresponds to a particular paneltype e.g. CP450T

11. Simulations of CP400 Application

In CP400Soft there are off- and on-line simulation possible.

11.1 Off-line simulation

After compilation of the program off-line simulation can be selected from the “Tool” menu.

In off-line simulation only internal variables are available. Off-line simulation is helpful for testing the screen-navigation buttons, slide-out menu and macros with internal variables.

11.2 On-line simulation

4. Connection settings for PC and PLC Choose the type of your connection from PC to the PLC (AC500) in the menu “Application\Workstation setup\connection”: choose your “COMx” or “Ethernet” from the PC in the left side HMI field. Make sure you have the same communication settings for the PC and the PLC.

5. Application\compile

6. Tool\on-line simulation

7. Check the communication port in the simulation window and start the simulation.

8. Confirm error messages and message that simulation can only be run for one hour

You can run the whole application from the PC – for one hour. So this is good for testing, if you do not have a panel, or wan´t to save download-time while testing.

Page 48: Cp 400 First Steps

Title Lang. Rev. Page 48

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

12. Example Application

Demo applications for each paneltype can be found in

C:\Program Files\CP400 Soft\vx.x.x\Demo-AP

File\Open… <file>.V6F

Appliacation\Compile

Tool\Off-line Simulation

Page 49: Cp 400 First Steps

Title Lang. Rev. Page 49

ABB ABB STOTZ-KONTAKT GmbH CP400 first steps en M No. o. p. 49

13. REVISION

Rev. ind. Page (P) Chapt. (C)

Description Date Dept./Init.

A First edition 01.10.07 STO/CPT - SBu

B C Chapter 6 "compile and download" added 10.10.07 STO/CPT - SBu

C C C 2.2 C 3.1.2 Modbus COMx-port settings C 4.1.2.AC500 settings: COM1 Open Modbus seriell C 5 data exchage with drive C 6.2. first functions - send variables to AC500

03.12.07 STO/CPT – SBu

D C 6.3 C 6.3 " Clock-Macro to send cyclic data" new 08.01.08 STO/CPT - SBu

E C 3.4 C 8

C 3.4 Direct addressing of variables – new C 8 – further documentation - new

21.01.08 STO/CPT - SBu

F C 4.1.2 C. 4.1.2 "COM1 Open Modbus seriell" - corrections 25.01.08 STO/CPT - SBu

G C 3.2 C 6.4

Communication settings in CP400 – adaptions for new project C 6.4 "Passwords" added

31.01.08 STO/CPT - SBu

H C 8 new C 8 "further functions" new (CP400-time to AC500) 04.02.08 STO/CPT - SBu

I C 10, C11 new

C 10 simulations, C11 location of demo application for panel

01.04.08 STO/CPT - SBu

J C 6.5 C 6.5 multi-language support 06.05.08 STO/CPT - SBu

K C 5 new Settings for serial connection to AC31 (KT9x) following chapter numbers increased

02.07.08 STO/CPT SBu

M C 7.4.2 C 8.4.3 C8.4.4

Developers password Ethernet download Download with CF-Card, USB-Stick

09.02.09 STO/CPM2 SBu