simotion it diag demo - siemens · simotion it diag demo simotion it application example y may 2011...

16
Applikationen & Tools Answers for industry. SIMOTION IT DIAG Demo SIMOTION IT Application example May 2011

Upload: lamtu

Post on 20-Jun-2018

257 views

Category:

Documents


13 download

TRANSCRIPT

Page 1: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

Applikationen & Tools

Answers for industry.

SIMOTION IT DIAG Demo

SIMOTION IT

Application example May 2011

Page 2: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

2 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

Industry Automation and Drives Technologies Service & Support Portal This article is taken from the Service Portal of Siemens AG, Industry Automation and Drives Technologies. The following link takes you directly to the download page of this document.

http://support.automation.siemens.com/WW/view/en/49974066

If you have any questions concerning this document please e-mail us to the following address:

[email protected]

Page 3: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

SIMOTION IT DIAG Democase V1.1, Entry ID: 49974066 3

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

s

SIMOTON IT DIAG Demo case

Automation Task 1

Automation Solution 2

Startup of the application 3

Operation of the Application

4

Page 4: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

Warranty and Liability

4 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

Warranty and Liability Note The Application Examples are not binding and do not claim to be

complete regarding the circuits shown, equipping and any eventuality. The Application Examples do not represent customer-specific solutions. They are only intended to provide support for typical applications. You are responsible for ensuring that the described products are used correctly. These application examples do not relieve you of the responsibility to use safe practices in application, installation, operation and maintenance. When using these Application Examples, you recognize that we cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these Application Examples at any time without prior notice. If there are any deviations between the recommendations provided in these application examples and other Siemens publications – e.g. Catalogs – the contents of the other documents have priority.

We do not accept any liability for the information contained in this document.

Any claims against us – based on whatever legal reason – resulting from the use of the examples, information, programs, engineering and performance data etc., described in this Application Example shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract (“wesentliche Vertragspflichten”). The damages for a breach of a substantial contractual obligation are, however, limited to the foreseeable damage, typical for the type of contract, except in the event of intent or gross negligence or injury to life, body or health. The above provisions do not imply a change of the burden of proof to your detriment.

Any form of duplication or distribution of these Application Examples or excerpts hereof is prohibited without the expressed consent of Siemens Industry Sector.

Page 5: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

Table of Contents

SIMOTION IT DIAG Democase V1.1, Entry ID: 49974066 5

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

Table of Contents

Warranty and Liability ................................................................................................4

1 Automation Task.......................................................................................6 1.1 Overview......................................................................................................... 6

2 Automation Solution ................................................................................7 2.1 Overview......................................................................................................... 7 2.2 Required Hardware and Software Components .............................................. 8

3 Start-up of the application .......................................................................9 3.1 Preparation ..................................................................................................... 9 3.2 Startup ............................................................................................................ 9

4 Operation of the Application..................................................................11 4.1 Overview....................................................................................................... 11 4.2 Controller D435 “Plotter“ ............................................................................... 12 4.2.1 User-defined page......................................................................................... 12 4.2.2 Standard pages............................................................................................. 14 4.3 Controller D410 PN ”OPL_SWIVEL“ ............................................................. 15

Page 6: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

1 Automation Task

6 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

1 Automation Task

1.1 Overview

Introduction SIMOTION IT DIAG offers the capability to commission a SIMOTION project without the need of the engineering system SCOUT. Integrated into the SIMOTION Controller is a web server that can be accessed with a standard web browser (e.g. Microsoft Internet Explorer V6.0 and later).

Overview of the automation task The figure below provides an overview of the automation task. Figure 1-1

Description of the automation task A SIMOTION project will be commissioned using a standard web browser.

SIMOTION controller

with web server

PC with web browser

(e.g. Internet Explorer)

HTTP Request

HTTP Response

Web capable device with web browser

(e.g. Opera Mobile)

Machine Workstation Connection

Page 7: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

2 Automation Solution

SIMOTION IT DIAG Democase V1.1, Entry ID: 49974066 7

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

2 Automation Solution

2.1 Overview

Display The following figure displays the most important components of the solution: Figure 2-1

DMM = Double Motor Module

Delimitation This application does not include a description of

HTML

SIMOTION IT OPC XML-DA

SIMOTION IT DIAG

Basic knowledge of these topics is assumed.

Required knowledge Basic knowledge of SIMOTION IT Ethernet-based HMI- and diagnostic functions is assumed.

D410 PN D435 + DMM

PC

Page 8: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

2 Automation Solution

8 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

2.2 Required Hardware and Software Components

The application was generated with the following components:

Hardware components Table 2-1

Component No. MLFB / order number Note

SIMOTION training unit 1 6ZB2470-0AE00 SIMOTION D435 + DMM

SIMOTION D410 PN 1 6AU1410-0AB00-0AA0 2x PN ports

Standard software components Table 2-2

Component No. MLFB / order number

Note

SIMOTION SCOUT V4.2.1

1 6AU1810-... Not required for this demo application

STEP7 V5.5 HF4 1 6ES7810-4CC10-0YA5

Not required for this demo application

Microsoft Internet Explorer

V6.0

Sample files and projects The following list includes all files and projects that are used in this example. Table 2-3

Component Note

SIMOTION_IT_Democase_V1_1.zip Applikationsbeispiel_SIMOTION_IT_Demokoffer_V1_1_de.pdf

Application_Example_SIMOTION_IT_Democase_V1_1_en.pdf

Page 9: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

3 Start-up of the application

SIMOTION IT DIAG Democase V1.1, Entry ID: 49974066 9

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

3 Start-up of the application

3.1 Preparation

Table 3-1: Preparations for the SIMOTION IT DIAG demo

No. Instruction Remarks

1 All devices should be setup from scratch (empty CF card) with the SIMOTION firmware V4.2.1.0

The firmware can be found on the SIMOTION DVD

2 The 24V power supply for the SIMOTION D410 PN can be taken from the SIMOTION training unit.

3 Connect your PC, the SIMOTION D410 PN (X200 / X201) and the D435 (X120) via Ethernet.

The topology is shown in figure 2-1

4 Switch on the SIMOTION training unit. 5 After power-on, a firmware update will take place on

the SIMOTION and the SINAMICS devices. Do NOT switch off the power supply during this period.

6 The firmware update is complete when the RDY-LED on the double motor module flashes red with a cycle of 2 Hz. After this, cycle power.

For this SINAMICS update, the DRIVE-CLiQ connection between the D435 (X100) and the double motor module (X200) must be plugged in.

3.2 Startup

The default user-name and password is “simotion“ (lower case)

Table 3-2: Commissioning of the plotter sample application for the SIMOTION training unit

No. Instruction Remarks

1 Open a web browser. 2 Type in the address http://192.168.214.1 to connect

to the SIMOTION D435 (X120). This is the default address of the X120 Ethernet connector on a D4x5.

3 In the standard web page “Settings” you must switch the controller to STOP mode.

4 In the standard web page “Manage Config” you then send the file “IT-Democase_V1_1\Device_Update_Tool_Data\Plotter.ZIP” to the SIMOTION controller.

This update does not change the IP address of the SIMOTION controller.

5 After the transfer is complete, switch the controller back to RUN mode.

Page 10: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

3 Start-up of the application

10 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

Table 3-3: Commissioning of the AchsFB sample application for the SIMOTION D410 PN

No. Instruction Remarks

1 Set the IP address of the D410 PN PROFINET interface (X200 / X201) to 192.168.214.2 using HW-Config or the Primary Setup Tool (see note). The subnet mask must be 255.255.255.0.

The default IP address of the PROFINET interface (X200 / X201) is 0.0.0.0.

2 Open a web browser. 3 Type in the address http://192.168.214.2 to connect

to the SIMOTION D410 PN (X200 / X201).

4 In the standard web page “Settings” you must switch the controller to STOP mode.

5 In the standard web page “Manage Config” you then send the file “IT-Democase_V1_1\Device_Update_Tool_Data\OPL_SWIVEL.ZIP” to the SIMOTION controller.

This update does not change the IP address of the SIMOTION controller.

6 After the transfer is complete, switch the controller back to RUN mode.

Note The Primary Setup Tool can be downloaded from following link.

http://support.automation.siemens.com/WW/view/de/14929629

Page 11: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

4 Operation of the Application

SIMOTION IT DIAG Democase V1.1, Entry ID: 49974066 11

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

4 Operation of the Application

When the commissioning of chapter 3 is complete, the web server for each SIMOTION controller is accessible via web browser using the following addresses.

Table 4-1: IP addresses of the SIMOTION controllers

SIMOTION controller IP address

D435 (training unit) 192.168.214.1 D410 PN 192.168.214.2

The description of the standard web pages can be found in the system documentation “SIMOTION_IT_DIAG.pdf“.

The user defined pages in the “User’s Area” are described below.

4.1 Overview

PLANT Figure 4-1: User-specific site PLANT

These user defined pages reside on both controllers and can be accessed from their IP addresses. They show an overview of the controllers.

Available “plotter” data is: the CPU state, the count of active alarms, the program state and the motor temperature.

Page 12: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

4 Operation of the Application

12 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

The links “Home”, “Alarms” and “Diagnostics buffer” open the related standard web pages of the SIMOTION D435.

4.2 Controller D435 “Plotter“

4.2.1 User-defined page

CONTROL Figure 4-2: User-defined page “CONTROL”

The user defined page “CONTROL” offers the capability to change the length and speed of the movement. The picture “Profil_01.PNG” defines each value.

With the START and STOP buttons, the movement of both axes is controlled. The user defined page “STATE” shows the current process values.

The button “Simulate drive error” is doing just that. A drive error is triggered which stops both axes. Additionaly the standard web page “Messages&Logs” will show the drive’s error details. Here you can acknowledge any error message with the “quit” button.

Page 13: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

4 Operation of the Application

SIMOTION IT DIAG Democase V1.1, Entry ID: 49974066 13

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

STATE Figure 4-3: User-defined page “STATE”

The user defined page “STATE“ is showing the current state of the plotter axes using, OPC XML-DA Subscription, to update the values. Detailed information can be found here:

Source code

“SIMOTION_IT_DIAG.pdf” chapter 3.5.6

Page 14: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

4 Operation of the Application

14 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

4.2.2 Standard pages

A detailed description of these pages can be found in the system documentation “SIMOTION_IT_DIAG.pdf“.

Diagnostics – Watch Figure 4-4: Standard page: Diagnostics - Watch

The file “IT-Democase_V1_1\Watch_Trace_Config\Plotter_watch.xml“ can be used with this standard page on the SIMOTION D435 (training unit) “Plotter”. To transfer it to the controller, select the buttons “More Options” and “Send selected file” respectively.

Diagnostics – Trace In the page “Diagnostics – Watch“, the trace configuration “IT-Democase_V1_1\Watch_Trace_Config\Plotter_wtrace.xml“ can be sent to the “Plotter” SIMOTION controller. With the imported configuration, values for the position and speed of the X and Z axes are displayed.

Page 15: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

4 Operation of the Application

SIMOTION IT DIAG Democase V1.1, Entry ID: 49974066 15

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved

4.3 Controller D410 PN ”OPL_SWIVEL“

AxisFB Figure 4-5: User-defined page: “AxisFB”

This user defined page connects to the SIMOTION library LMCBasic. It offers simple commissioning of the axes.

The virtual axes “CrossSeal” and “FoilFeed” can be controlled with this page.

A detailed description of this standard application can be found inside the “Anwenderhandbuch IT-Diag HMTL AXIS FB.pdf“

Note The password fort his sample application is “simotion“

Page 16: SIMOTION IT DIAG Demo - Siemens · SIMOTION IT DIAG Demo SIMOTION IT Application example y May 2011 . 2 ... Note The Application Examples are not binding and do not claim to be

4 Operation of the Application

16 SIMOTION IT DIAG Democase

V1.1, Entry ID: 49974066

Cop

yrig

ht

Sie

men

s A

G C

opyr

ight

201

1 A

ll rig

hts

rese

rved