using the ktp mobile panel along with the simatic overview mobile panel 2nd. generation and step 7...

19
Using the KTP Mobile Panel along with the SIMATIC Manager KTP Mobile Panel / STEP 7 V5.5; WinCC Comfort V14 https://support.industry.siemens.com/cs/ww/en/view/109741114 Siemens Industry Online Support

Upload: vuongdien

Post on 06-May-2019

218 views

Category:

Documents


0 download

TRANSCRIPT

Using the KTP Mobile Panel along with the SIMATIC Manager

KTP Mobile Panel / STEP 7 V5.5; WinCC Comfort V14

https://support.industry.siemens.com/cs/ww/en/view/109741114

Siemens Industry Online Support

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 2

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

This entry originates from Siemens Industry Online Support. The conditions of use specified there apply (www.siemens.com/nutzungsbedingungen).

Security Informati

on

Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks.

In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products and solutions only form one element of such a concept.

Customers are responsible to prevent unauthorized access to their plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place.

Additionally, Siemens’ guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit http://www.siemens.com/industrialsecurity.

Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase the customer’s exposure to cyber threats.

To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under http://www.siemens.com/industrialsecurity.

Contents 1 Overview ............................................................................................................. 3

1.1 Introduction ........................................................................................... 3 1.2 Configuration in the SIMATIC Manager ............................................... 3 1.3 Configuration with WinCC Comfort ...................................................... 4

2 Configuration with F Controller ....................................................................... 5

2.1 Evaluation of the Emergency Stop and Enable Buttons ...................... 5 2.2 Evaluation of Direct Keys ..................................................................... 9

3 Configuration without F Controller ................................................................ 16

4 Sample Projects ............................................................................................... 17

5 Literature / History ........................................................................................... 19

1 Overview

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 3

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

1 Overview

1.1 Introduction

The FAQ response describes the procedure for incorporating a Mobile Panel 2nd Generation in a STEP 7 V5.x project (SIMATIC Manager).

The following points are covered.

1. KTP Mobile Panel with F technology on a 300-series F controller.

2. KTP Mobile Panel without F technology on a 300-series F controller.

Notes The safety-related functions like evaluation of the Emergency Stop button and evaluation of the Enable button operate via the connected safety relays.

Under "Settings" of the KTP Mobile Panel, in the menu "Safety Operation > Operation Mode" you must select the option with a "Safety relay".

There are no special F blocks for the KTP Mobile Panel in the SIMATIC Manager.

1.2 Configuration in the SIMATIC Manager

You need GSDML files to incorporate the KTP Mobile Panel in the hardware configuration.

Connection box GSDML files

You can directly download the GSDML files using the web server integrated in the connection box.

Instructions for this are available at this link:

https://support.industry.siemens.com/cs/ww/en/view/29339880

On the page of the entry click the item "GSDML files for the Advanced/Standard Connection Box". The jump label takes you to the section describing how to download the GSDML files. You also get a description of how to incorporate the GSDML files in the hardware configuration of the SIMATIC Manager.

Device-specific GSDML files

The device-specific GSDML files for the "Evaluation of Direct Keys" can be downloaded at this link:

https://support.industry.siemens.com/cs/ww/en/view/73502293

1 Overview

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 4

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

1.3 Configuration with WinCC Comfort

You need WinCC Comfort V13 SP1 or higher to be able to configure the KTP Mobile Panel.

In combination with a "Proxy PLC device" you can directly access the SIMATIC controller configured in the SIMATIC Manager and its current data.

Refer here also to the following application example: "Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x", \3\.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 5

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

2 Configuration with F Controller

Note All the settings already described have been made in the attached sample projects.

Here, we provide information concerning only the KTP Mobile Panel with F technology.

2.1 Evaluation of the Emergency Stop and Enable Buttons

A KTP900F Mobile Panel is added to a STEP 7 V5.x configuration with a fail-safe SIMATIC controller. The Emergency Stop and Enable buttons are evaluated via safety relays.

Note First install the GSDML file of the KTP Mobile Panel (see instructions in section 1.2 "Configuration in the SIMATIC Manager"). Alternatively you can open the hardware configuration of the sample project. When you open the hardware configuration, the GSDML file is installed automatically in the hardware catalog.

Application 1

No. Action

1. SIMATIC Manager, Hardware Configuration

In SIMATIC Manager, you open the hardware configuration.

Open the hardware catalog and navigate to the GSDML file of the connection box: "PROFINET IO > HMI > SIMATIC HMI > GSD > "Your connection box" > Article number".

Connect the GSDML file to the PROFINET IO system by drag-and-drop.

Open the Properties of the GSDML file and enable "Assign IP address via IO controller". Click the "Ethernet…" button and assign an IP address to the connection box.

Compile the configuration and transfer the changed configuration to the controller.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 6

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

2. Assign device name of the connection box to the IO device

Mark the connection box.

Open the menu "PLC > Ethernet > Assign Device Name...".

Mark the connection box in the window and then click the "Assign name" button.

Close the window.

Transfer the hardware configuration to the controller.

3. SIMATIC Manager, User Program

You do not have to configure any special program steps/blocks in the user program.

Four Boolean operations have been configured in FB400 to test the application.

4. SIMATIC Manager, Check Block Consistency

When you have completed the STEP 7 user program and the hardware configuration, you run a block consistency check.

In the project tree you mark the "Blocks" folder.

In the "Edit" menu bar you open the "Check block consistency..." function. A dialog box opens.

In the dialog box you select "Program > Compile all".

After compilation you close the window and clear any error messages.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 7

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

5. WinCC (TIA Portal)

Create a WinCC (TIA Portal) project and add to it a Proxy PLC device and a KTP900F Mobile Panel.

Detailed information on the topic of "Proxy PLC" is given in the application example "Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x", \3\.

6. Screens

A screen has been created to test the application. The screen includes a message window and multiple buttons via which a bit is set in the controller.

7. Connection Box Wiring

Details about the terminal assignment of the individual safety components, like the Enable button, are available in the operating instructions of the KTP Mobile Panel in section 11.10.4 or you can download the complete operating instructions \4\.

The signals are evaluated via safety relays.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 8

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

8. SIRIUS Safety Relays

If you are using a fail-safe Mobile Panel in a hard-wired F system, then you have to use safety relays for the safety-related components.

Details on the tested and released safety relays are given in the operating instructions of the KTP Mobile Panel in section 1.6. Alternatively you can download the complete operating instructions \4\.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 9

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

2.2 Evaluation of Direct Keys

A KTP900F Mobile Panel is added to a STEP 7 V5.x configuration with a fail-safe SIMATIC controller. The function keys and system keys are evaluated via the "Direct Key" system function.

Application 2

Table 2-1

No. Action

1. SIMATIC Manager, Hardware Configuration

In the Hardware Configuration you incorporate the GSDML file for the connection box and the GSDML file of your KTP Mobile Panel as follows.

In SIMATIC Manager, you open the hardware configuration.

Open the hardware catalog and navigate to the GSDML file of the connection box: "PROFINET IO > HMI > SIMATIC HMI > GSD > "Your connection box" > Article number".

Connect the GSDML file to the PROFINET IO system by drag-and-drop.

Navigate to the GSDML for the KTP Mobile Panel. "PROFINET IO > HMI > SIMATIC Mobile Panel > KTP Mobile > "Your Mobile Panel".

Connect the GSDML file to the PROFINET IO system by drag-and-drop.

If the GSDML file of the connection box is not in the hardware catalog, you have to install it. For this refer to the application example "Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x", section 3.5 "GSD/GSDML Files". Download the documentation for this \3\.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 10

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

2. Edit Properties of the GSDML Files

Connection box - GSDML files

Open the Properties of the GSDML file and enable "Assign IP address via IO controller". Click the "Ethernet…" button and assign an IP address to the connection box.

KTP Mobile Panel - GSDML file

Open the Properties of the GSDML file and enable "Assign IP address via IO controller". Click the "Ethernet…" button and assign an IP address to the KTP Mobile Panel.

Enter the device name. The device name must match the device name given in the Control Panel and in WinCC (TIA Portal).

Define IO addresses "KTP900F Standard IO"

Mark the GSDML file of the KTP Mobile Panel.

In the block window you open slot 1 "KTP900F Standard IO" with a double-click.

Select the "Addresses" tab. Here you define the IO area via which the buttons are addressed via the "Direct Key" system function.

– In this example: Input area: 100 to 105 Output area: 100 to 101

IO addresses "KTP900F_Failsafe_IO"

You do not have to make any settings in this IO area.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 11

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

3. Assign device name of the KTP Mobile Panel to the IO device

Mark the GSDML file of the KTP Mobile Panel.

Assign the device name to the GSDML file "PLC > Ethernet > Assign Device Name...".

Mark the KTP Mobile Panel in the window and then click the "Assign name" button.

Close the window.

Repeat the name assignment for the connection box. Mark the connection box.

Open the menu "PLC > Ethernet > Assign Device Name...".

Mark the connection box in the window and then click the "Assign name" button.

Close the window.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 12

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

4. Transfer the Hardware Configuration

Transfer the hardware configuration to the controller.

5. SIMATIC Manager, User Program

You do not have to configure any special program steps/blocks in the user program.

You can access the stored address area directly. In this case:

Input area: 100 to 105

Output area: 100 to 101

In the attached sample project the evaluation is done in FB400 "Direct Key Evaluation".

Details on configuring direct keys are given in the application example "Direct Keys Application for Touch and Key Panels". Download the documentation for this \5\.

6. WinCC (TIA Portal)

Create a WinCC (TIA Portal) project and add to it a Proxy PLC device and a KTP Mobile Panel.

Detailed information on the topic of "Proxy PLC" is given in the application example "Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x", \3\.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 13

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

7. Device Configuration, KTP Mobile Panel

Open the device configuration of the KTP Mobile Panel.

Enter the device name. This must match the device name in the STEP 7 hardware configuration. In this example the device name is "ktpmobile" (Link).

– "Properties > General > PROFINET interface [X1] > Ethernet addresses" in the "PROFINET" section.

Enter the IP address. This must match the IP address in the hardware configuration of the SIMATIC Manager. For this see the Properties of the GSDML file of the KTP Mobile Panel (Link).

The other settings are those of a standard configuration.

Device name view:

8. Screens

A screen has been created to test the application. The screen has only one message window.

You can use the function keys F1 to F6 to set/reset a bit in the controller.

The "Direct Key" function automatically assigns predefined IO areas to the function keys. The evaluation is done by the control program.

Details on configuring direct keys are given in the application example "Direct Keys Application for Touch and Key Panels". Download the documentation for this \5\.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 14

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

9. Connection Box Wiring

Details about the terminal assignment of the individual safety components, like the Enable button, are available in the operating instructions of the KTP Mobile Panel in section 11.10.4 or you can download the complete operating instructions \4\.

The signals are evaluated via safety relays.

10. SIRIUS Safety Relays

If you are using a fail-safe Mobile Panel in a hard-wired F system, then you have to use safety relays for the safety-related components.

Details on the tested and released safety relays are given in the operating instructions of the KTP Mobile Panel in section 1.6. Alternatively you can download the complete operating instructions \4\.

2 Configuration with F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 15

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

No. Action

11. Control Panel, KTP Mobile Panel

Open the Control Panel of the KTP Mobile Panel.

Open the PROFINET settings.

Enable the "PROFINET IO enabled" option.

Enter the device name. This must match the device name in the STEP 7 hardware configuration. In this example the device name is "ktpmobile" (Link).

3 Configuration without F Controller

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 16

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

3 Configuration without F Controller

Evaluation of Direct Keys

A KTP900F Mobile Panel is added to a STEP 7 V5.x configuration with a fail-safe SIMATIC controller. The function and system keys are evaluated via the "Direct Key" system function.

Solution

The solution corresponds to Application 2. For this see section 2.2 "Evaluation of Direct Keys".

Use a CPU without F technology instead of a fail-safe CPU.

4 Sample Projects

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 17

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

4 Sample Projects

Overview of the Sample Projects

The attached ZIP file includes two project files.

Project_Code1 Configuration with F Controller. Evaluation: Emergency Stop and Enable buttons (see section 2.1).

Project_Code2 Configuration with F Controller. Evaluation: Evaluation of Direct Keys (see section 2.2).

Each project file includes:

One STEP 7 V5.5 project

One WinCC (TIA Portal) project (generated with V13 SP1 Update 7)

Password: simatic / 100

Brief description of each project

Project_Code1

Table 4-1

No. Action

1. SIMATIC Manager, FB400 - Program

Four Boolean operations have been configured in FB400 to test the application.

The tags in the "Basic screen" screen are used on the HMI operator panel.

2. WinCC (TIA Portal)

The configuration includes the Proxy PLC device and the KTP Mobile Panel project.

The KTP Mobile Panel project includes one screen (Basic screen).

Pressing the "Button on" button sets a bit in the controller and pressing the "Button off" button resets the bit.

The background color of the graphical element changes according to the output signal.

4 Sample Projects

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 18

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

Project_Code2

Table 4-2

No. Action

1. SIMATIC Manager, FB400 - Program

Six Boolean operations have been configured in FB400 to test the application.

The PEW and PAW of the KTP Mobile Panel are accessed directly.

This addresses keys F1 to F6 on the HMI operator panel.

Pressing a function key triggers the associated LED.

2. WinCC (TIA Portal)

The configuration includes the Proxy PLC device and the KTP Mobile Panel project.

The KTP Mobile Panel project includes one screen.

Pressing one of the function keys F1 to F6 sets the associated bit in the controller and releasing the function key resets the bit. You do not have to configure a system function, like "SetBit", for this.

Pressing the function key triggers the associated LED.

5 Literature / History

Mobile Panel 2nd. Generation and STEP 7 V5 Entry ID: 109741114, V1.0, 08/2017 19

S

iem

en

s A

G 2

01

7 A

ll ri

gh

ts r

ese

rve

d

5 Literature / History

Literature

Table 5-1

Topic

\1\ Siemens Industry Online Support

https://support.industry.siemens.com

\2\ Download page of the entry https://support.industry.siemens.com/cs/ww/en/view/EntryID

\3\ Shared configuration with WinCC (TIA Portal) and STEP 7 V5.x

https://support.industry.siemens.com/cs/ww/en/view/73502293

\4\ Operating instructions, SIMATIC HMI Operator Panels Mobile Panels 2nd Generation

https://support.industry.siemens.com/cs/ww/en/view/109477845

\5\ Direct Keys Application for Touch and Key Panels

https://support.industry.siemens.com/cs/ww/en/view/92186980

\6\ Which GSDML files are there for SIMATIC HMI operator panels with PROFINET IO?

https://support.industry.siemens.com/cs/ww/en/view/29339880

\7\

History

Table 5-2

Version Date Change

V1.0 08/2017 First edition