Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please...

18
Commisioning Examples AC500 Scalable PLC for Individual Automation AC500 V2 EtherCAT via RECA-01 to ACS800 www.infoPLC.net

Transcript of Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please...

Page 1: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

Commisioning Examples AC500 Scalable PLC

for Individual Automation

AC500 V2 EtherCAT via RECA-01 to ACS800

www.infoPLC.net

Page 2: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 1 Commisioning Examples AC500/Issue: 03.2012

Content

1 Introduction ...............................................................................................................2

1.1 Hardware and Software requirement: ............................................................................ 2

1.2 Connection ...................................................................................................................... 2

2 Drive configuration....................................................................................................3

3 Configuration in PS501 Control Builder Plus .........................................................4

3.1 Preparation ......................................................................................................................4

3.2 Configure EtherCAT........................................................................................................ 4

4 Run the drive ...........................................................................................................12

5 Acyclic data exchange..............................................................................................0

6 Related documents ...................................................................................................3

www.infoPLC.net

Page 3: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 2 Commisioning Examples AC500/Issue: 03.2012

1 Introduction

This document demonstrates the commissioning of EtherCAT communication between AC500 V2 and ACS800. In the example, AC500 controls drive with speed. It uses ABB Drives Profile. The reference and actual value are 16 bits.

1.1 Hardware and Software requirement:

NOTICE

The following configuration is used in this document. The newer version of hardware and software should work, however it should be tested by the user himself.

Hardware Software

ACS800 with standard FW ASXR7340 DriveWindow 2.20

RECA-01: ACS800 EtherCAT communication module

AC500 CPU: FW V2.1.3 PS501 Control Builder Plus: V2.1.0

Ethernet cable

1.2 Connection

RECA-01 mounted on ACS800

CM579-EtherCAT AC500 CPU

www.infoPLC.net

Page 4: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 3 Commisioning Examples AC500/Issue: 03.2012

2 Drive configuration

Set the following ACS800 parameters in DriveWindow:

ABB DRIVES

1: Transparent mode (ABB DRIVES)

FIELDBUS (read only)

www.infoPLC.net

Page 5: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 4 Commisioning Examples AC500/Issue: 03.2012

3 Configuration in PS501 Control Builder Plus

3.1 Preparation Download the XML description file of RECA-01 for ACS800 “ACS800_Standard_RECA_v.x.xx.XML”

from internet.

3.2 Configure EtherCAT Start PS501 Control Builder Plus, create a new project (as EtherCAT_ACS800.project for example).

Open the Device Repository and install the description file of RECA-01:

www.infoPLC.net

Page 6: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 5 Commisioning Examples AC500/Issue: 03.2012

NOTICE

You can check the installation in Device Repository.

www.infoPLC.net

Page 7: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 6 Commisioning Examples AC500/Issue: 03.2012

Plug CM579-ECAT

www.infoPLC.net

Page 8: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 7 Commisioning Examples AC500/Issue: 03.2012

Add RECA as EtherCAT slave:

www.infoPLC.net

Page 9: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 8 Commisioning Examples AC500/Issue: 03.2012

Double click on the slave to open the settings and activate “Enable Expert Settings”:

Assign the PDO21 for ABB DRIVES profile (assign Outputs and Inputs with PDO21):

www.infoPLC.net

Page 10: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 9 Commisioning Examples AC500/Issue: 03.2012

NOTICE

In the PDO content, one object can inserted, edited or deleted.

www.infoPLC.net

Page 11: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 10 Commisioning Examples AC500/Issue: 03.2012

www.infoPLC.net

Page 12: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 11 Commisioning Examples AC500/Issue: 03.2012

Map the PDO data to PLC variables:

Double click on the AC500 icon to start the programming interface:

NOTICE

In the programm, the mapped variables can be found in “Global variables”:

Login to the PLC, Run the program.

NOTICE

LED’s on RECA-01 should have the following status: ETHERCAT RUN: green Link/ ACTIVITY 1: green flashing quickly

LED’s on CM579 has the following status:

www.infoPLC.net

Page 13: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 12 Commisioning Examples AC500/Issue: 03.2012

4 Run the drive

Open EtherCAT Variables:

To start the Drive: Enter a value for REF_Speed, then enter 16#047E (Ready or Stop) for ControlWord, then change ControlWord to 16#047F (Start). The motor can be stopped with 16#047E.

NOTICE

For more information about how to control the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter Module RECA-01.

The process values can be monitored in DriveWindow:

Parameter Meaning

09.06 Control Word

09.07 Reference 1 (speed)

03.02 Status Word

01.02 Actual value 1 (speed)

www.infoPLC.net

Page 14: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

5 Acyclic data exchange

Insert a new program in CoDeSys:

NOTICE

The input values can be found in following places:

Input “NODE”:

www.infoPLC.net

Page 15: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 1 Commisioning Examples AC500/Issue: 03.2012

Input “IDX” and “SUBIDX”:

Call the ECAT_acyclic in PLC_PRG:

www.infoPLC.net

Page 16: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 2 Commisioning Examples AC500/Issue: 03.2012

Download and run the program. Test the read and write function blocks. The values can be checked in DriveWindow. For example:

NOTICE

900 (DEC) = 384 (HEX) After byte swap (big endian) it will be: 8403 (HEX)

www.infoPLC.net

Page 17: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH 3 Commisioning Examples AC500/Issue: 03.2012

6 Related documents

Part Document DocNo / Rev

RECA-01 User’s Manual EtherCAT Adapter Module

RECA-01

EN_RECA_01_EtherCAT_AdapterModule_UM_A.pdf

3AUA0000043520 REV A

EN

EFFECTIVE: 30.09.2008

www.infoPLC.net

Page 18: Commisioning Examples AC500 Scalable PLC for … Examples AC500 Scalable PLC ... the motor please refer to ABB DRIVES profile in User’s Manual EtherCAT Adapter ... via EtherCAT.doc

ABB STOTZ-KONTAKT GmbH Eppelheimer Straße 82 Postfach 101680 69123 Heidelberg, Germany 69006 Heidelberg, Germany Telephone (06221) 701-0 Telefax (06221) 701-240 E-Mail [email protected] Internet http://www.abb.de/stotz-kontakt

Doc. kind: No. o. p.:

Helpline document 18 Title: Lang.:

AC500-V2 ACS800 via EtherCAT.doc EN

Man

ual N

o. 2

CD

C x

xx x

xx X

xxxx

www.infoPLC.net