application example ac500 scalable plc for individual ... application example - 2 - ac500/issue:...

12
Application Example AC500 Scalable PLC for Individual Automation AC500-eCo Modbus TCP/IP Data Exchange between two AC500-eCo CPUs www.infoPLC.net

Upload: others

Post on 18-Oct-2020

27 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example AC500 Scalable PLC

for Individual Automation

AC500-eCo Modbus TCP/IP Data Exchange between two AC500-eCo CPUs

www.infoPLC.net

Page 2: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 1 - AC500/Issue: 12.2011

Content

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

1.1 For customers domiciled outside Germany / Für Kunden mit Sitz außerhalb Deutschlands............................................................................................................................ 2

1.2 Nur für Kunden mit Sitz in Deutschland ........................................................................ 2

2 Introduction ...............................................................................................................3

2.1 Hardware and Software requirement ............................................................................. 3

2.2 Connections .................................................................................................................... 3

3 Hardware configuration ............................................................................................4

4 PLC program..............................................................................................................5

4.1 Control Builder Plus........................................................................................................ 5

4.1.1 PS501 Configurator ................................................................................................. 5 4.1.2 AC500 eCo CPU...................................................................................................... 5 4.1.3 rtsinfo....................................................................................................................... 6

5 PLC_PRG ...................................................................................................................7

5.1 Settings Client ................................................................................................................. 7

5.2 Settings Server................................................................................................................9

6 Visualization ............................................................................................................10

6.1 Client Visualisation ....................................................................................................... 10

6.2 Server Visualisation ...................................................................................................... 10

www.infoPLC.net

Page 3: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 2 - AC500/Issue: 12.2011

1 Disclaimer

1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz außerhalb 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)." "Gewährleistung und Haftung: Der Nutzer ist allein für die Verwendung des in dieser Datei beschriebenen Anwendungsbeispiels verantwortlich. ABB unterliegt keiner Gewährleistung. 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 Fahrlässigkeit. Diese Erklärung unterliegt Schweizer Recht unter Ausschluß der Verweisungsnormen und des UN-Kaufrechts (CISG)."

1.2 Nur für Kunden mit Sitz in Deutschland "Gewährleistung und Haftung: Die in diesem Anwendungsbeispiel enthaltenen Dateien beschreiben eine mögliche Anwendung der Steuerung AC500 bzw. zeigen eine mögliche Einsatzart der Steuerung. Sie stellen nur Beispiele für Programmierungen dar, sind aber keine fertigen Lösungen. Eine Gewähr kann nicht übernommen werden. Der Nutzer ist für die ordnungsgemäße, insbesondere vollständige und fehlerfreie Programmierung der Steuerungen selbst verantwortlich. Im Falle der teilweisen oder ganzen Übernahme der Programmierbeispiele können gegen ABB keine Ansprüche 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 Fällen des Vorsatzes, der groben Fahrlässigkeit, bei Ansprüchen nach dem Produkthaftungsgesetz, im Falle der Verletzung des Lebens, des Körpers 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 erwähnten Fälle gegeben ist. Eine Änderung der Beweislast zum Nachteil des Nutzers ist hiermit nicht verbunden. Es gilt materielles deutsches Recht unter Ausschluß des UN-Kaufrechts."

www.infoPLC.net

Page 4: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 3 - AC500/Issue: 12.2011

2 Introduction

This application example demonstrates data exchange between two AC500-eCo PLC’s via Modbus TCP/IP Protocol. One of the AC500 is master, the other one is slave. To simplify the operation the programs contains visualizations.

2.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 2x AC500 CPU:PM564 ETH, FW: V2.1.3 PS501 Control Builder Plus: V2.1.0 Ethernet cables

Switch

2.2 Connections

www.infoPLC.net

Page 5: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 4 - AC500/Issue: 12.2011

3 Hardware configuration

In the following example we will take an AC500 eCo CPU/PM564. The red lines in the following picture are the 24VDC (L+). The blue lines are ground (M).

www.infoPLC.net

Page 6: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 5 - AC500/Issue: 12.2011

4 PLC program

This chapter will show you how to configure the different parameters.

4.1 Control Builder Plus

4.1.1 PS501 Configurator The PLC program was written with the ABB Control Builder Plus PS501 V2.1.0

4.1.2 AC500 eCo CPU Using the AC500-eCo CPU PM564 ETH V2.1

www.infoPLC.net

Page 7: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 6 - AC500/Issue: 12.2011

4.1.3 rtsinfo It’s very important that you use the firmware V2.1.3.

www.infoPLC.net

Page 8: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 7 - AC500/Issue: 12.2011

5 PLC_PRG

The two PLC programs are given in this example as text and could be written with the actual version of the AC500 Control Builder Plus.

5.1 Settings Client Please open the the program for the Client by double click on Receiver_Client. Take a look at the red box in the next picture.

www.infoPLC.net

Page 9: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 8 - AC500/Issue: 12.2011

The following screen will displayed.

Now, we have to change the IP and optional the Port from the Client. These provide a connection to the Server. Becareful, the Port in the Client and in the Server must be the same e.g. 4444. Insert the IP from the Server (CPU).

www.infoPLC.net

Page 10: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 9 - AC500/Issue: 12.2011

5.2 Settings Server Please open the the program for the Client by double click on Sender_Server. Take a look at the red box in the next picture.

The following screen will displayed.

Insert the same Port as the Client, e.g. 4444

www.infoPLC.net

Page 11: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

Application Example - 10 - AC500/Issue: 12.2011

6 Visualization

6.1 Client Visualisation In the Client-Visualization you can’t select anything. You will only see if a String received and a counter which show you the count of received strings. If you disconnected from the Server you will see a red box with the text Disconnected.

6.2 Server Visualisation If the Activate button is grey, you are disconnected from the Client. In this Visualization you are connected and you can insert a string and send it to the Client. The maximum length of the text is 80 signs. If you want to send something, enter a text in the textfield, connect to the client and push send. Now, you can see your text on the Client side.

www.infoPLC.net

Page 12: Application Example AC500 Scalable PLC for Individual ... Application Example - 2 - AC500/Issue: 12.2011 1 Disclaimer 1.1 For customers domiciled outside Germany/ Für Kunden mit Sitz

ABB Automation Products GmbH Wallstadter Str. 59 D-68526 Ladenburg Tel. : +49 62 21 / 701-1444 Fax : +49 62 21 / 701-1382 E-Mail : [email protected] www.abb.com/plc

Doc. kind: No. o. p.:

Helpline document 11 Title: Lang.:

AC500-eCo Modbus TCP/IP Data Exchange between two AC500-eCo CPUs

EN

Man

ual N

o. 2

CD

C 1

25 1

89 M

0201

www.infoPLC.net