SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote...

56
SIMATIC NET (Win7/Win8.1) for SIMOTION ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ SIMOTION SIMOTION SCOUT SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information 12/2014 Introduction 1 Installation Guide 2 Communication and Handling 3 System Features 4 Tips 5 Notes on the Online Help and Documentation 6 Service and support A Siemens Controls

Transcript of SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote...

Page 1: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for

SIMOTION

___________________

___________________

___________________

___________________

___________________

___________________

___________________

SIMOTION

SIMOTION SCOUT SIMATIC NET (Win7/Win8.1) for SIMOTION

Product Information

12/2014

Introduction 1

Installation Guide 2

Communication and Handling

3

System Features 4

Tips 5

Notes on the Online Help and Documentation

6

Service and support A

Siemens Controls

Page 2: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Siemens AG Division Digital Factory Postfach 48 48 90026 NÜRNBERG GERMANY

Ⓟ 11/2014 Subject to change

Copyright © Siemens AG 2012 - 2014. All rights reserved

Legal information Warning notice system

This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION indicates that minor personal injury can result if proper precautions are not taken.

NOTICE indicates that property damage can result if proper precautions are not taken.

If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.

Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems.

Proper use of Siemens products Note the following:

WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.

Trademarks All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

Page 3: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 3

Table of contents

1 Introduction ............................................................................................................................................. 5

1.1 Overview ................................................................................................................................... 5

1.2 Schematic diagram at the design stage .................................................................................... 6

1.3 Schematic diagram at runtime .................................................................................................. 7

2 Installation Guide .................................................................................................................................... 9

2.1 Hardware and software requirements at the design stage ....................................................... 9

2.2 Hardware and software requirements at runtime ................................................................... 10

2.3 Required licenses ................................................................................................................... 11

3 Communication and Handling ............................................................................................................... 13

3.1 Fundamental procedures ........................................................................................................ 13

3.2 Configure the OPC Server/SIMOTION device interface at runtime ....................................... 14 3.2.1 Storage paths for export files .................................................................................................. 14 3.2.2 Configuring the interface for SIMOTION C/SIMOTION D4xx ................................................. 16 3.2.3 Configuring an interface on SIMOTION P .............................................................................. 17

3.3 OPC data export during the design stage .............................................................................. 18 3.3.1 OPC data export at the design stage ...................................................................................... 18 3.3.2 Parameterizing the data export ............................................................................................... 20 3.3.3 Exporting "OPC_DATA" (symbol file) ..................................................................................... 21 3.3.4 Exporting "OPC Alarm/Event" ................................................................................................. 22 3.3.5 Routing configuration with SIMOTION SCOUT ...................................................................... 22 3.3.6 Variables for consistency check ............................................................................................. 25

3.4 Data transfer to the OPC Server ............................................................................................. 26

3.5 SIMOTION OPC File Manager ............................................................................................... 26 3.5.1 Fundamental description of an application ............................................................................. 29 3.5.2 Time zone definition ................................................................................................................ 29 3.5.3 Routing definition .................................................................................................................... 31

4 System Features ................................................................................................................................... 35

4.1 System variables ..................................................................................................................... 35

4.2 OPC alarms and events for SIMOTION .................................................................................. 37

4.3 Consistent data access ........................................................................................................... 37

5 Tips ...................................................................................................................................................... 39

5.1 Programming tips .................................................................................................................... 39

5.2 How can a new OPC configuration (OPC Data, OPC Alarm/Event) be initialized when an OPC Client is running? ...................................................................................................... 40

5.3 OPC communication to SIMOTION and SIMATIC S7 controller via PROFIBUS ................... 42

Siemens Controls

Page 4: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Table of contents

SIMATIC NET (Win7/Win8.1) for SIMOTION 4 Product Information, 12/2014

5.4 OPC via PROFINET .............................................................................................................. 44

5.5 More tips ................................................................................................................................ 45

5.6 Comparison of SIMOTION IT OPC XML-DA/SIMATIC NET for SIMOTION ......................... 47

5.7 Example of an application ...................................................................................................... 48

6 Notes on the Online Help and Documentation ....................................................................................... 51

A Service and support .............................................................................................................................. 53

A.1 Service and support ............................................................................................................... 53

Index .................................................................................................................................................... 55

Page 5: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 5

Introduction 1 1.1 Overview

What is SIMOTION? SIMOTION is an extensive system for the automation of production machines focusing on motion control.

SIMOTION comprises:

● SIMOTION SCOUT,

An engineering system for creating a project by:

– Configuring, programming, parameter assignment

– Graphical or text-based programming

– Project download to SIMOTION P, C, D

The project also contains the hardware configuration and user data.

● SIMOTION Kernel

A kernel for various HW platforms.

What is SIMATIC NET? SIMATIC NET provides an OPC server as a standard component that enables access to the most diverse communication partners via the open OPC interface.

For a detailed description of SIMATIC NET, please refer to the current documentation CD "SIMATIC NET Manual Collection".

Which functionality is provided by SIMATIC NET for SIMOTION?

SIMATIC NET for SIMOTION provides:

● Access via OPC Data Access, enabling the user to read and write variables of a SIMOTION device.

● OPC Alarms and Events which can be used to receive alarms and events of a SIMOTION device.

● Gateway configuration.

● A SIMOTION OPC File Manager for the conditioning of network information relating to several SIMOTION SCOUT projects so that they can be simultaneously processed by the SIMATIC NET OPC server.

Siemens Controls

Page 6: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Introduction 1.2 Schematic diagram at the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION 6 Product Information, 12/2014

1.2 Schematic diagram at the design stage

Overview of design stage The figure below exemplifies an arrangement of the relevant software for the creation of an OPC Client application on an engineering PC/PG.

During the design stage, there is no communication between the PG/PC and the SIMOTION device (OFFLINE mode). A connection is not required.

Figure 1-1 Design stage overview (example)

Page 7: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Introduction 1.3 Schematic diagram at runtime

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 7

1.3 Schematic diagram at runtime

Runtime overview The following figure illustrates the arrangement of an OPC Client with the relevant software on an HMI PC, the kernel and the user data on the SIMOTION device during runtime.

Siemens Controls

Page 8: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Introduction 1.3 Schematic diagram at runtime

SIMATIC NET (Win7/Win8.1) for SIMOTION 8 Product Information, 12/2014

Figure 1-2 Overview at runtime (example)

Page 9: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 9

Installation Guide 2

Note

This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014 is valid for the Windows® 7 32-bit and 64-bit and Windows® 8.1 32-bit and 64-bit operating systems.

The 05/2013 "SIMATIC NET (XP/Win7) for SIMOTION" edition is valid for Windows® XP and Windows® 7 32-bit and 64-bit operating systems.

The "SIMATIC NET for SIMOTION" Product Information, Edition 05/2009, applies to Windows® 2000 and Windows® XP operating systems.

2.1 Hardware and software requirements at the design stage

Hardware requirements at the design stage Configuration Minimum requirement Processor Intel Pentium III or compatible,

1 GHz Main memory 512 MB RAM Screen resolution 1024 x 768 pixels

Software requirements at the design stage

● as of SIMOTION SCOUT V4.2, Windows® 7 32-bit

● as of SIMOTION SCOUT V4.3, Windows® 7 64-bit

The installation requirements for the product are described in the SIMOTION and SIMATIC NET documentation (SIMATIC NET Manual Collection).

Siemens Controls

Page 10: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Installation Guide 2.2 Hardware and software requirements at runtime

SIMATIC NET (Win7/Win8.1) for SIMOTION 10 Product Information, 12/2014

2.2 Hardware and software requirements at runtime

Hardware requirements at runtime

Configuration Minimum requirements Processor Intel Pentium II, 266 MHz Main memory 256 MB RAM Monitor etc. VGA monitor, keyboard and mouse or

touchscreen Screen resolution 800 x 600 pixels at 256 colors Memory Approx. 150 MB on hard disk,

A minimum of 1 MB memory capacity on drive C: for the setup program (the setup files will be de-leted after successful installation)

Network cards PROFIBUS card, e.g. CP5611, CP5512 and/or Ethernet card e.g. CP1612

SIMOTION device SIMOTION C with Micro Memory Card (restricted operation is possible without the card) or SIMOTION P, SIMOTION D4xx

Software requirements at runtime

● Client/Server

– From Windows® 7 32/64-bit or Windows® 8.1 32/64-bit according to the compatibility list http://support.automation.siemens.com/WW/view/de/18857317

– SIMATIC NET PC software from Version 12 and higher

SIMOTION C

– SIMOTION Kernel (kernel included with product shipment)

● SIMOTION P

– SIMOTION Kernel (kernel included with product shipment)

● SIMOTION D4xx

– SIMOTION Kernel (kernel included with product shipment)

Page 11: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Installation Guide 2.3 Required licenses

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 11

2.3 Required licenses

Licenses dependent on communications path Depending on the connection used for OPC communication with SIMOTION RT, you will require one of the following SIMATIC NET licenses:

● For communication with SIMOTION RT via Ethernet:

– SOFTNET S7 for IE (Article No.: 6GK1704-1CW62-3AA0)

– SOFTNET S7 Lean (only 8 connections possible) (Article No.: 6GK1704-1LW62-3AA0)

– S7-1613 (only if the CP1613 communications processor is used)

(Article No.: 6GK1716-1CB62-3AA0)

– SIMATIC NET 2007 PC software

(Article No.: 6GK1716-1CB70-3AA0)

● For communication with SIMOTION RT via PROFIBUS/MPI:

– SOFTNET S7 for PROFIBUS (Article No.: 6GK1704-5CW62-3AA0)

– S7-5613 (only if the CP5613 communications processor is used)

(Article No.: 6GK1713-5CB62-3AA0)

● For PROFINET RT communication via SIMATIC NET PC software:

– If you are communicating with a SOFTNET Ethernet card as PROFINET IO RT controller, the following license is required: SOFTNET PN IO

(Article No.: 6GK1704-1HW63-3AA0).

– SIMATIC NET 2007 PC software

(Article No.: 6GK1704-1HW70-3AA0)

Siemens Controls

Page 12: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Installation Guide 2.3 Required licenses

SIMATIC NET (Win7/Win8.1) for SIMOTION 12 Product Information, 12/2014

Page 13: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 13

Communication and Handling 3 3.1 Fundamental procedures

Overview Some preparation is necessary for establishing a communication between the OPC Server for SIMATIC NET and a SIMOTION device.

Basically, you must:

Table 3- 1 Fundamental procedures

When? Step Procedure Comment Design stage/ runtime

1 Configure the SIMATIC NET PC software and communications pro-cessor.

See the section titled "Configur-ing the OPC Server/SIMOTION device interface at runtime" (Page 14)

Design stage 2 Create a project with SIMOTION SCOUT for the SIMOTION device.

See SIMOTION SCOUT operat-ing guide

Design stage 3 Export OPC data. See the sections titled "Exporting OPC data during the design stage" (Page 18) and "How is a new OPC configuration enabled when an OPC client is operat-ing?" (Page 40)

Design stage 4 If you have configured more than one network, you have to configure rout-ing between these networks after file export in SIMOTION SCOUT.

See the section titled "Configur-ing routing with SIMOTION SCOUT" (Page 22)

Design stage 5 If there are several projects, you must configure and integrate them with the SIMOTION OPC File Manager.

See the section titled "SIMOTION OPC File Manager" (Page 26)

Design stage 6 Transfer/copy the exported data to the HMI PC.

See the section titled "Data transfer to the OPC client" (Page 26)

Design stage 7 Create a Client application based on OLE/COM-DCOM.

For example in Visual Basic

Design stage 8 Download the project to the SIMOTION device.

See SIMOTION SCOUT operat-ing guide

Siemens Controls

Page 14: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.2 Configure the OPC Server/SIMOTION device interface at runtime

SIMATIC NET (Win7/Win8.1) for SIMOTION 14 Product Information, 12/2014

3.2 Configure the OPC Server/SIMOTION device interface at runtime

3.2.1 Storage paths for export files

Introduction The runtime behavior of SIMATIC NET is controlled with two parameter files (see "OPC data export during the design stage" (Page 18)).

Storage paths The runtime environment looks for the parameter files on the following paths:

● OPC_AE.xml: Prior to SIMATIC NET 2007 the file could be found in the following directory:

"<SIMATIC NET installation directory>\SIMATIC.net\opc2\bins7\simotion\xml\".

As of SIMATIC NET 2007, SIMATIC NET makes a distinction between the following two installation directories:

– Installation directory for programs

– Installation directory for data

The installation directory for data is identified from the registry using the key "HKEY_LOCAL_MACHINE\SOFTWARE\SIEMENS\SIMATIC_NET\General\Paths", value "SINEC_DataPath".

OPC_AE.xml must be stored in this installation directory inside the subdirectory \opc2\bins7\simotion\XML\.

Accordingly, the full path looks like this:

"<Installation directory for data>\opc2\bins7\simotion\XML\OPC_AE.xml"

● Symbol file OPC_DATA

We recommend storing OPC_DATA in the same directory.

File name extension

Note File name extension

The file name extension of the "OPC_DATA" file (SSD, STI, ATI) depends on the version of SIMOTION SCOUT.

Page 15: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.2 Configure the OPC Server/SIMOTION device interface at runtime

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 15

Additional note

Note

The "User Data" folder has the "System Folder" property and may be hidden.

The folder can be shown by selecting the menu command "Tools > Folder Options..." in the Windows Explorer.

Siemens Controls

Page 16: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.2 Configure the OPC Server/SIMOTION device interface at runtime

SIMATIC NET (Win7/Win8.1) for SIMOTION 16 Product Information, 12/2014

3.2.2 Configuring the interface for SIMOTION C/SIMOTION D4xx

Procedure In order to establish a connection between an HMI PC and SIMOTION C/SIMOTION D4xx, you must carry out the following steps to configure the interface:

Table 3- 2 Configuring the interface

Step Procedure 1 Install a PROFIBUS or Ethernet communications processor (e.g. CP5611) in the PC. In-

stall the SIMATIC NET PC software. 2 Call the configuration tool for the PC station by clicking the menu item Start->SIMATIC-

>SIMATIC NET->Settings->PC station settings. Set the PC properties as indicated on the following pages. 1. Navigate to Applications->OPC Settings->Symbols. 2. Click the "Edit List" button in the "Symbols" dialog.

– If you want to use "OPC Data" and "OPC Alarms and Events" or just "OPC Data," enter the file name of the symbol file "OPC_DATA" (see the note under "File name extension" (Page 14)) in the "File Name" field and click the "Browse" button to se-lect the directory

"<Installation directory for data>\opc2\bins7\simotion\xml\". (The directory that you used last is always offered for selection by default.)

Select the following files: – OPC_AE.XML – OPC_Data.idl – OPC_DATA (see the note under "File name extension" (Page 14))

The folder has the "System Folder" property and may be hidden. 3. Exit the dialog by clicking "OK" and save the file. 4. In the "Extended Symbols..." dialog for SIMOTION, select the communication module

(e.g. "CP5611 (PROFIBUS)"). 5. In the "Select OPC Protocol" dialog, select the protocols "S7" and "XML" and deselect

all other protocols not required. 6. Click "Finish" to exit the installation setup for the SIMATIC NET OPC Server.

3 After that, perform a test run of the communications processor. You can test the correct functioning of this module in the window "SIMATIC NET PC Sta-tion Settings" (which can also be called from the menu item Start->SIMATIC->SIMATIC NET->Settings->PC station settings). To do this, select a communications processor (e.g. "CP5611") and select "Refresh" at "Bus Nodes".

Note

If project data are changed in SIMOTION SCOUT after export of the symbol file, you must re-export the data (consistency).

Page 17: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.2 Configure the OPC Server/SIMOTION device interface at runtime

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 17

See also OPC alarms and events for SIMOTION (Page 37)

3.2.3 Configuring an interface on SIMOTION P

Procedure In order to establish a connection between an HMI PC and SIMOTION P, you must carry out the following steps to configure the interface:

Table 3- 3 Configuring the interface

Step Procedure 1 The PROFIBUS card and the SIMATIC NET PC software are included in the product ship-

ment. 2 Call the configuration tool for the PC station by clicking the menu item Start->SIMATIC-

>SIMATIC NET->Settings->Configuration console. Set the PC properties as indicated on the following pages. 1. Navigate to Applications->OPC Settings->Symbols. 2. Click the "Edit List" button in the "Symbols" dialog. The dialog window "Manage Symbol

Files" is displayed.

If you want to use "OPC Data" and "OPC Alarms and Events" or just "OPC Data", enter the file name of the symbol file "OPC_DATA" (see the note under "File name extension" (Page 14)) in the field "File name" and click "Browse" to select the directory "<Installation directory for data> \opc2\bins7\simotion\xml" (The directory that you used last is always offered for selection by default.)

Select the following files: – OPC_AE.XML – OPC_Data.idl – OPC_DATA (see the note under "File name extension" (Page 14))

The folder has the "System Folder" property and may be hidden. 3. Exit the dialog "Manage Symbol Files" by clicking "OK" and save the files with "Apply". 4. In the "Select OPC Protocol" dialog select the S7 protocol and deselect all of the other

protocols which you don't need. 5. Click "Finish" to exit the installation setup for the

SIMATIC NET OPC Server.

Siemens Controls

Page 18: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION 18 Product Information, 12/2014

Note

During the installation on the SIMOTION P, the access point CP_SM_1: must be connected to the PC internal (local) at "Configuration Console" after the configuration of the interface!

This access point can be set in the menu item

Start->SIMATIC->SIMATIC NET->Settings->Configuration Console.

Note

With SIMOTION V3.1 and higher, communication via PC internal (local) is set as default.

See also OPC alarms and events for SIMOTION (Page 37)

3.3 OPC data export during the design stage

3.3.1 OPC data export at the design stage

Exporting configured data To declare the data configured in SIMOTION SCOUT to SIMATIC NET, you have to export all usable data by selecting the menu command Options->OPC Data Export... (i.e. during the design stage).

Parameters are queried during the data export (see "Parameterizing the data export" (Page 20)).

Directory for files to be exported

The following directory is set by default as the export directory in SIMOTION SCOUT: "<LW>:\Siemens\Step7\S7proj\<project name>\U7\Tagfiles\"

If you are using the HMI PC both during the design stage and at runtime, select the following directory: "<Installation directory for data>\opc2\bins7\simotion\xml"

Page 19: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 19

Which files are exported?

You can export the following files:

● Symbol file "OPC_DATA" (see the note under "File name extension" (Page 14)), i.e.:

– System variables of the device and the technology objects

– Global device user variables

– Symbolic I/O variables

– Interface variables from user programs (for data types see "System variables")

● "OPC alarm/event" (OPC_AE.xml), i.e.:

– Technology object alarms

– Diagnostics buffer alarms

– Alarm_S/Q

– Connection information

Note

The online help in SIMOTION SCOUT describes the operator sequences required for the OPC data export in detail.

Router configuration Once the data export is complete, you will be asked if you wish to configure gateways (for routing). "Configuring gateways with SIMOTION SCOUT" describes how to do this.

The export process The export process is logged in SIMOTION SCOUT in the detail view on the Symbol File Export Status Display tab.

Notes

Note

If project data are changed in SIMOTION SCOUT after export of the symbol file, you must re-export the data (consistency).

Note

During commissioning, you must make sure that OPC data transmission is disabled on the active OPC client.

Siemens Controls

Page 20: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION 20 Product Information, 12/2014

Note

After the export, the files have to be transferred/copied to the OPC client (see "Data transfer to the OPC client" (Page 26)).

Note

If you are working with multiple projects, please see the information under "SIMOTION OPC File Manager" (Page 26).

See also OPC alarms and events for SIMOTION (Page 37)

3.3.2 Parameterizing the data export

Overview If the device has several interfaces, the data export requires the following parameters:

● Device

● Protocol

● Interface

Device The device for which you must select the bus interface is displayed in the "Device" selection field. You must specify the interface settings for each device in the project. You must specify these settings in this window for each device to be connected.

Protocol

In the "Protocol" selection field, you can select between:

● PROFIBUS

● TCP/IP

● PC-INTERNAL (SIMOTION P)

Interface

Note

The selection "Interface" appears if there are several interfaces on the SIMOTION device and they have been configured using different bus addresses.

In the "Interface" selection field, you must specify the interface of the OPC server on the HMI PC which will be used to connect to the respective SIMOTION device during operation.

Page 21: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 21

Each symbol name must be uniquely assignable to a hardware address (bus address).

This assignment is established via the "Interface" selection. SIMOTION SCOUT detects the communication interface and provides the following selection (e.g. for SIMOTION C):

● Select X8, for example, if the interface X8 is used on the device.

● Select X9, for example, if the interface X9 is used on the device.

WARNING

Cyclic data transfer not guaranteed

If the interface is parameterized for an equidistant bus cycle, this interface may not be used for an OPC client! Cyclic data transfer is not guaranteed when it is used.

3.3.3 Exporting "OPC_DATA" (symbol file)

Notes The export of "OPC Data" may take some time.

By deselecting the field "Arrays with single elements" it is possible to shorten the data export. When exporting in .ATI format, deselecting always results in only the first address of the array being exported. The server implements the resolution of the single elements during runtime.

Note

OPC data export will only be possible if • SIMATIC NET software has been installed for the engineering PC/PG (only applicable to

versions prior to SIMOTION SCOUT Version V3.2) • A project is open

Note

With an array of data type "String", the array is always exported with single elements.

Deselection of the "Arrays with individual elements" field is only possible for this data type.

As a string variable is itself already an array, only the individual elements can be exported for addressing reasons.

Note Warning in the Symbol Editor

The following warning is displayed when you open a SIMOTION .ATI file in the Symbol Editor: "Symboleditor Warning: The following incompatible symbol names were found in the file”

You can ignore this warning: The SIMOTION .ATI file can be used without restrictions.

Siemens Controls

Page 22: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION 22 Product Information, 12/2014

3.3.4 Exporting "OPC Alarm/Event"

Notes

Note

No user-defined diagnostics buffer contents are exported with "OPC Alarm/Event", but only the specific SIMOTION diagnostics buffer contents. OPC can access these exported text items.

See also OPC alarms and events for SIMOTION (Page 37)

3.3.5 Routing configuration with SIMOTION SCOUT

Introduction If you have configured several networks with NetPro and wish to access a SIMOTION device via a router to a SIMATIC OPC Server, you have to reconfigure this router once more in a dialog after file export in SIMOTION SCOUT.

Configuring a router The "Configure Router" dialog displays the following:

● All configured networks

● All SIMOTION devices contained in the project

First select a location of the OPC Server and then the first router for each node to be addressed via the OPC Server.

The following diagram illustrates a routing configuration.

Page 23: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 23

Figure 3-1 Sample configuration for routing

Network configuration for SIMOTION P With SIMOTION P, you already require the network configuration if you want the OPC Server on the P device to access both the runtime in the SIMOTION P device itself and another SIMOTION device which has been networked via PROFIBUS.

(The reason is that there is an internal "router" between the OPC Server under Windows and the SIMOTION P Runtime. Runtime SIMOTION P has access to the PROFIBUS interface.)

In this case, you need the SIMOTION P device as a router; see the figure below.

Figure 3-2 Example: SIMOTION P

Network configuration for SIMOTION D4xx With SIMOTION D4xx the integrated drive is defined as a separate device.

Siemens Controls

Page 24: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION 24 Product Information, 12/2014

Create a routed connection for this integrated drive as part of the network configuration.

Several projects internetworked

Note

If there are several internetworked projects, please note the following description.

To communicate with the SIMOTION devices in a network interconnection through several projects, the SIMATIC NET OPC Server must be forwarded the following files and items of information:

● "OPC Alarm/Event" files, which may originate from several SIMOTION SCOUT projects

● Time zones

● Router

An auxiliary program, "SIMOTION OPC File Manager", enables you to configure these data for the SIMATIC NET OPC Server. This user program is described under "SIMOTION OPC file manager."

Page 25: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.3 OPC data export during the design stage

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 25

3.3.6 Variables for consistency check

Introduction When exporting the OPC data from SIMOTION SCOUT, a consistency value is also transferred.

Using this value, the OPC client can check whether this value agrees with the consistency value saved in the SIMOTION device.

Variables for determining the consistency status To determine the consistency status in relation to a SIMOTION device, the server provides the following variables:

● &stateconsistence()

● &stateconsistenceval()

Table 3- 4 Variables for checking the consistency

&stateconsistence() &stateconsistenceval() Meaning "NOTCONFIGURED" 0 No consistency value was saved in the XML

file. "NOTAVAILABLE" 1 Consistency check (still) pending, because

the connection was interrupted, for example. "CONSISTENCE" 2 After the check: The configuration is con-

sistent. "INCONSISTENT" 3 After the check: The configuration is incon-

sistent. "IGNORE" 4 After the check:

The controller does not have a consistency value. In SIMOTION SCOUT, the "Activate HMI consistency check" checkbox was deselect-ed during the transfer of the XML project data in the menu Tools ->Settings->Download.

Note

The OPC server can only access the consistency status if a connection is established to the respective device. A connection is established if at least one variable is read from the device.

If no connection is established, the status will be "NOTAVAILABLE".

Siemens Controls

Page 26: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.4 Data transfer to the OPC Server

SIMATIC NET (Win7/Win8.1) for SIMOTION 26 Product Information, 12/2014

Example for programming the variables in Visual Basic The syntaxes for variable names for an OPC client with Visual Basic are:

● S7:[<devicename>]&stateconsistence()

● S7:[<devicename>]&stateconsistenceval()

Device name (<device_name>) corresponds to the name for the SIMOTION device as defined in the SIMOTION SCOUT configuration:

For example: "S7:[C230_2]&stateconsistence()"

The syntax for the variable names for the test software OPC SCOUT (included in the SIMATIC NET delivery kit; detailed information can be found in the SIMATIC NET documentation) is described in the following (as example).

In OPC SCOUT, both variables must be entered in one group via Add Item (e.g.: "S7:[C230_2]&stateconsistence()).

Then they can be monitored.

You can find OPC SCOUT (SIMATIC NET) in the SIMATIC NET start menu.

3.4 Data transfer to the OPC Server

Notes Once you have exported the data, you must transfer/copy it to the HMI PC (OPC client).

The file in the HMI PC has to be located in the following directory:

"<Installation directory for data>\opc2\bins7\simotion\xml"

Note

During commissioning, you must make sure that OPC data transmission is disabled on the active OPC client.

3.5 SIMOTION OPC File Manager

Introduction The SIMATIC NET OPC server can be used to monitor SIMOTION devices from multiple SIMOTION projects.

During an export, a symbol file and a file named OPC_AE.xml is generated for each SIMOTION project.

The OPC server can handle several symbol files generated for the files exported from SIMOTION projects, but only one OPC_AE.xml file.

Page 27: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 27

The SIMOTION OPC File Manager closes this gap by combining the exported OPC_AE.xml files from multiple SIMOTION projects in a single file.

SIMOTION OPC File Manager The SIMOTION OPC File Manager is an auxiliary program which offers the following functionality:

● File selection (selection of the *.xml files to be merged)

● Time zone definition

● Routing definition

The SIMOTION OPC File Manager prepares the network information related to multiple SIMOTION projects in a way that they can be processed together by the SIMATIC NET OPC server.

Delivery and program call SIMOTION OPC File Manager is delivered as a component of SIMATIC NET.

This is called up in the SIMATIC NET start menu via Simotion OPC File Manager.

Figure 3-3 SIMOTION OPC File Manager

Note

The software contains open source code with the following copyright "Portions copyright (c) Chris Maunder, 1998".

Siemens Controls

Page 28: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION 28 Product Information, 12/2014

File selection SIMOTION OPC File Manager generates from n number of OPC_AE*.xml source files (created during OPC export in SIMOTION SCOUT from several SIMOTION SCOUT projects) a common parameter file and supplements it in places where ambiguities might occur (the respective projects contain the same alarm numbers which wouldn't be doubled in the database) with the information from which project the data originates.

If the project contains data which exclude each other, an error message is displayed in the errors area. Switchover to different screens and a generation of the target file will then be inhibited.

The following screen form represents the file selection in the SIMOTION OPC File Manager:

Figure 3-4 File selection

See also Storage paths for export files (Page 14)

Page 29: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 29

3.5.1 Fundamental description of an application

Example Multiple SIMOTION projects have been created for one modular machine. A single PC is to be used for monitoring purposes.

Procedure Carry out the following steps:

1. Run an OPC export for each SIMOTION project involved and export the data to various directories.

2. Start the SIMOTION OPC File Manager.

3. On the "Select Files" screen, mark all generated OPC_AE*.xml files as source files ("add" button).

4. If necessary, enter time zones and routing information.

5. Select "Create output file" to generate the combined OPC_AE.xml.

Step 1 is completed on the engineering PC/PG. Steps 2 to 5 can be completed either on the engineering PC/PG or on the HMI PC.

Note

If you are working solely on the engineering PC/PG, the XML file generated for the OPC client must be copied to the correct directory, i.e.:

"<Installation directory for data>\opc2\bins7\simotion\xml".

3.5.2 Time zone definition The time when an alarm is issued will be transmitted without a reference system in SIMOTION RT. The OPC Standard however defines that times will always be transmitted as UTC times. Besides the time, they also contain a time zone indication. The OPC server sets GMT as standard.

Siemens Controls

Page 30: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION 30 Product Information, 12/2014

Time zone definition In the "Time zone definition" dialog, a deviation from GMT can be defined for each CPU.

Figure 3-5 Time zones

Page 31: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 31

3.5.3 Routing definition An OPC client can communicate with several SIMOTION devices over different networks via the SIMATIC NET OPC server. The routers of the respective projects are configured accordingly with the SIMOTION OPC File Manager.

Prerequisite Prerequisite for introducing the respective projects is:

● Communication of the SIMOTION devices with each other must be configured with NetPro in SIMOTION SCOUT.

Note

The router can also be configured within SIMOTION SCOUT. This process is described in "Configuring Routing with SIMOTION SCOUT".

Note

For every additional project, the router must be reconfigured with the SIMOTION OPC File Manager.

Optimum access times In order to ensure optimum access times, data of the SIMOTION device can only pass every bus segment once. The routing strategy of SIMATIC NET (one standard router per HMI PC), on the other hand, can lead to this standard router referring back to the same segment from which the request comes.

In order to define the access to all devices even in unfavorable configurations, you can, after defining which bus segment you are operating the OPC server on, set any other SIMOTION device of this segment as the first router per SIMOTION device.

Siemens Controls

Page 32: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION 32 Product Information, 12/2014

Networking example The following example shows a networking of SIMOTION devices which communicate by an OPC server:

Figure 3-6 Example configuration

The OPC server requires routers for communication. The table below shows the routers of the example configuration:

Table 3- 5 Routers of the example configuration

Subnet OPC server Network node/target device Router Subnet 1 CPU 1 is in the same subnet

CPU 2 CPU 1 CPU 3 is in the same subnet CPU 4 CPU 3

Page 33: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 33

"Routing definition" dialog In the "Routing definition" dialog you determine:

● the subnet in which the OPC server is,

● the target devices to be addressed,

● the respective routers via which the target device can be addressed by the OPC server.

Figure 3-7 Routing definition

Note

Please observe the following general conditions: • If you use the "Open" function in the OPC File Manager to read in an existing

configuration, you must recheck the router to every target device and re-enter it if necessary under "Routing definition". With the "Open" function, you open a parameter file in which the OPC File Manager notes which exports it is processing and what appropriate information has already been entered. This parameter file is not identical with the "project export" and the merged "group export".

• When you enter routed connections with the "routing definition" function, you must select the subnet explicitly in the "Subnets" dropdown list before you process the routers.

Siemens Controls

Page 34: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Communication and Handling 3.5 SIMOTION OPC File Manager

SIMATIC NET (Win7/Win8.1) for SIMOTION 34 Product Information, 12/2014

Page 35: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 35

System Features 4 4.1 System variables

Introduction To obtain more precise information on the exported data, an XML export may be initiated in SIMOTION SCOUT using the menu item Project->Save and Export. This XML file can then be viewed using an XML capable Web browser (e.g. MS Internet Explorer 5 or Netscape 6.1).

The variables contained in this file are, amongst others, limit values and file types, and for enums (enumerator data types) the defined values.

Note

To use these enums within an OPC Client environment, a descriptive file (idl file) is generated during OPC data export via the menu item Options->OPC Data Export... in addition to the symbols file.

A description of the limit values for SIMOTION system variables can be found in the reference lists, named "SIMOTION Technology Package CAM System Variables".

Data types The following data types are available in SIMOTION:

Table 4- 1 Data types

SIMOTION Bit width Sign BOOL 1 bit - BYTE/USINT 8 bits - SINT 8 bits Yes WORD/UINT 16 bits - INT 16 bits Yes DWORD/UDINT 32 bits - DINT 32 bits Yes REAL 32 bits Yes LREAL 64 bits Yes DATE 64 bits - TOD (Time of Day) 32 bits no DT (Date and Time) 64 bits - TIME 32 bits Yes

Siemens Controls

Page 36: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

System Features 4.1 System variables

SIMATIC NET (Win7/Win8.1) for SIMOTION 36 Product Information, 12/2014

SIMOTION Bit width Sign STRING 1 byte/character, max. length ->

254 characters

Array Note: Only the data types listed here are valid for an "array".

Notes

Note

If ProTool/Pro CS is used as an OPC Client, this application will only accept variables in INTEGER format as range pointers.

Note

To determine the consistency status in relation to a SIMOTION device, the server provides the following variables: • &stateconsistence() • &stateconsistenceval()

OPC data for SIMOTION

Note

Please note the following general conditions and function restrictions: • When asynchronously writing a ReadOnly variable, no error message is returned

although the value cannot be and is not written. (When synchronously writing a ReadOnly variable, on the other hand, an error message is returned.)

• The valid value range for variables of the type "Date" and "DT" is not maintained via OPC. Values can be written to the variables that are outside of the valid value range. The valid value range for Simotion and OPC is from 1992-01-01 to 2089-12-31.

See also Variables for consistency check (Page 25)

Page 37: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

System Features 4.2 OPC alarms and events for SIMOTION

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 37

4.2 OPC alarms and events for SIMOTION

Notes

Note

Please note the following general conditions and function restrictions: • User-defined diagnostic buffers are not exported with "Export OPC data". Therefore no

message text is supplied for these events. • The OPC client that starts the OPC server also receives diagnostic buffer entries that

were entered before this time. • Only one language setting for all clients:

Alarm texts are sent to all clients in the same language, namely the language that was set last. The process is independent of the previously set different "LocalIDs".

• A maximum of 40 "Alarm_S" are permitted for OPC alarms and events for SIMOTION: If more than 40 different alarms of the "Alarm_S" category are triggered in rapid succession, only the first 40 alarms are transmitted.

• Restriction when using the Automation Wrapper, e.g. with VB OPC clients: If a client instances several subscriptions by the Automation Wrapper "sopcdaauto.dll", the subscription activated first always gets the events for both subscriptions, i.e. the subscriptions activated later receive no alarms.

• When you disconnect the OPC client from the OPC server, you must wait at least 15 seconds before you re-establish the connection.

Note Alarm status at "Alarm_SQ"

If an "Alarm_SQ" comes and goes in rapid succession and this alarm is then acknowledged, the status of this alarm may be at "Acknowledged incoming" instead of "Acknowledged outgoing" (only relevant if the time between "Incoming" and "Outgoing" is less than 10 ms).

Note "ALARM_SQ" alarms with "Outgoing" status show sporadically false time stamp

When connecting an OPC_AE client ("OPC Alarm/Event" client) to an operating SIMOTION controller, the existing alarms are queried (refresh functionality). With "ALARM_SQ" alarms with "Outgoing" status (only acknowledgement required) a false time stamp (date and time) may be displayed sporadically.

4.3 Consistent data access

General Access to a data item of a simple SIMOTION device data type is always consistent.

Siemens Controls

Page 38: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

System Features 4.3 Consistent data access

SIMATIC NET (Win7/Win8.1) for SIMOTION 38 Product Information, 12/2014

If you want to access several individual data items or arrays in the SIMOTION device (e.g. positions of several axes), user support is required to ensure consistency.

The SIMOTION ST Programming Guide describes in a programming example, how the client application (e.g. an HMI terminal) ensures consistent data access with the SIMOTION device by means of mutual queries.

Page 39: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 39

Tips 5 5.1 Programming tips

If you are using an OPC client for creating, then consider the following:

Arrays If arrays are greater than a PDU (Protocol Data Unit) (currently always 480 bytes on all SIMOTION HW platforms, of which 22 bytes are assigned to the header), we recommend the following:

● Message frames with a user data length greater than 458 bytes need to be split into two or more message frames (e.g. in the case of 540 bytes, into 240 bytes and 300 bytes).

● Use "group.syncRead()" once instead of "item.Read()" several times.

If the data changes within the space of two read access attempts to the PDUs in the array, the array will be inconsistent.

Application solution:

See the SIMOTION ST Programming Manual, "Consistent data access with HMI devices".

Time for data transmission

If you are running a SIMOTION device with multiple OPC clients (user interfaces) on one HMI PC, the data flow will be faster than with a single OPC client.

If, having completed one job, you are waiting for the next job to start based on a timer, you will need to take account of a Windows-related delay of at least 10 to 15 ms.

Recommendation:

You should use "group.syncRead()" to read several arrays rather than sending multiple individual read calls with "item.Read()".

Consistent data access

Access to a data item of an elementary data type in the SIMOTION device is always consistent.

However, if you wish to access several single data items or arrays in the SIMOTION device (e.g. positions of multiple axes), you will need user support to ensure consistency.

The SIMOTION ST Programming Manual uses a programming example to describe how the client application (e.g. HMI device) ensures consistent data access by means of mutual data querying with the SIMOTION device.

Protocol

Activate only the "S7 protocol" on the OPC server and deactivate all other protocols (see also "Configuring the OPC server/SIMOTION device interface at runtime" (Page 14)). In other words, deactivate protocol multiplexers.

Siemens Controls

Page 40: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.2 How can a new OPC configuration (OPC Data, OPC Alarm/Event) be initialized when an OPC Client is running?

SIMATIC NET (Win7/Win8.1) for SIMOTION 40 Product Information, 12/2014

5.2 How can a new OPC configuration (OPC Data, OPC Alarm/Event) be initialized when an OPC Client is running?

Requirement No fundamental changes must have been made to the configuration.

Example An example application for no fundamental changes would be:

Within the SIMOTION SCOUT project you delete a variable which has not been declared to the OPC client. Deleting the variable causes the address range to shift in the project.

Procedure To activate the new OPC configuration by transferring/copying the new project data to the OPC client (see also "Data transfer to the OPC client" (Page 26)), proceed as follows:

1. Start the file export (see also "Exporting OPC data during the design stage" (Page 14)).

Note

For this export, the target directory must not be the SIMATIC NET installation directory on the HMI PC. (This is because these files are opened exclusively by the OPC server when it is running.)

Note

If you have a number of SIMOTION SCOUT configurations for various machines/installations, and these function independently with the task of accessing all devices from a single user interface (their remit might also include routing), you should combine these exported files subsequently with the OPC File Manager (see "SIMOTION OPC File Manager" (Page 26)).

2. Make the following entry in the "Registry" section of the "sopcsrvr.ini" file (<Installation directory for SIMATIC NET>\SIMATIC.net\opc2\bin): [Registry]

AllowServerStart=0

Page 41: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.2 How can a new OPC configuration (OPC Data, OPC Alarm/Event) be initialized when an OPC Client is running?

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 41

3. Stop the OPC server. You can do this in several ways:

– You can quit all clients so that the OPC server stops and you copy the new project data to the OPC client.

Comment: The in-process DP OPC server cannot be stopped in the "Configuration Console" under "Applications->OPC Settings->Quit OPC Server->Stop".

(This server is activated the first time an OPC client accesses data.)

To stop the OPC server even if the OPC client is running, proceed as follows:

– Set the "ForceShutdown" entry in the Windows registry on the HMI PC to the value "1".

The entry is located in the following directory:

MyComputer\HKEY_LOCAL_Machine\SOFTWARE\Siemens\SIMATIC\OPC \SimaticNET. The OPC client is informed of the quitting of the OPC server via the shutdown mechanism and will have to subsequently (see Step 6) reconnect and reinitialize.

Note

See the "Application example" in the Visual Basic program.

4. Transfer/copy the files exported under Step 1 to the OPC client (target hardware), to the following directory:

"<Installation folder for SIMATIC NET>\SIMATIC.net\opc2\bins7\simotion\xml".

5. Reset the "AllowServerStart" entry in the "sopcsrvr.ini" file (<Installation directory for data>\opc2\bin) to "1" or delete the line with "AllowServerStart". [Registry]

AllowServerStart=1

6. The OPC server will restart with the updated symbols as soon as the OPC client reconnects to the OPC server.

Note

It will not be possible to start the OPC server if the "AllowServerStart" entry is set to "0". This value could be set, for example, due to a process for activating a new OPC configuration failing or the Windows operating system being shut down in the meantime. Therefore, we recommend setting this value to "1" when Windows ramps up (see Step 2) or deleting the line in the "sopcsrvr.ini" file on ramp-up.

See also OPC alarms and events for SIMOTION (Page 37)

Siemens Controls

Page 42: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.3 OPC communication to SIMOTION and SIMATIC S7 controller via PROFIBUS

SIMATIC NET (Win7/Win8.1) for SIMOTION 42 Product Information, 12/2014

5.3 OPC communication to SIMOTION and SIMATIC S7 controller via PROFIBUS

Requirements If OPC communication to SIMOTION and SIMATIC S7 controllers via PROFIBUS is to be performed, the following are required:

● Requirements and settings for the OPC communication with SIMOTION:

– The controllers are on the same PROFIBUS line.

– The configuration in SIMOTION SCOUT has been loaded to the controller via PROFIBUS.

– An OPC export has been performed for the configuration.

– The symbol file OPC_DATA (see the note under "File name extension" (Page 14) has been entered in SIMATIC NET "Set PC station" and the access point CP_SM_1 has been set to PROFIBUS/CP5611.

● Additional requirements and settings for the OPC communication with S7:

– The S7 configuration has been loaded to the controller via PROFIBUS.

– In SIMATIC NET "Set PC Station", the module operating mode must be set to "Configured mode" under Modules – CP5611 - General (see following figure).

Figure 5-1 Configured mode

– A PC station from the HW catalog must be inserted in NetPro.

Page 43: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.3 OPC communication to SIMOTION and SIMATIC S7 controller via PROFIBUS

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 43

– In the HW Config, an OPC server must be inserted in the PC station at Index 1 and a CP5611 PROFIBUS card must be inserted at Index 2 from the HW catalog (see following figure).

Figure 5-2 HW catalog

– After Save and compile, the PC station must be loaded to the Station Configuration Editor via the PG/PC interface "PC internal" (see following figure).

Figure 5-3 Station Configuration Editor

Siemens Controls

Page 44: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.4 OPC via PROFINET

SIMATIC NET (Win7/Win8.1) for SIMOTION 44 Product Information, 12/2014

– In SIMATIC NET "Set PC Station", the access point CP_L2_1 must be set to "PC internal".

– In NetPro, an S7 connection must be created for the OPC server in the PC station (see following figure).

Figure 5-4 NetPro

Note

Further information on the configuration of an OPC S7 connection, can be found under SIMATIC NET "Set PC Station" - SIMATIC NET Configuration: Example: "OPC S7 PROFIBUS"

5.4 OPC via PROFINET

Introduction This section describes the fundamentals for OPC communication via PROFINET. The corresponding SIMOTION C/SIMOTION D/SIMOTION P manuals describe what must be observed during a PROFINET configuration.

Page 45: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.5 More tips

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 45

Fundamentals This connection is used for the OPC communication via PROFINET in order to establish an OPC connection via TCP/IP. The same protocols are used as for OPC via Ethernet.

This does not effect the other communication via PROFINET between SIMOTION controllers and drives.

The OPC export with the routing and the access points is equivalent to Ethernet / TCP/IP.

It is possible to directly access a SIMOTION P with MCI-PN board or a D4x with CBE30 card from a PG/PC with Ethernet connection via a PROFINET cable.

The OPC routing between PROFIBUS and PROFINET functions from one network to the other.

The following figure represents a possible connection of the HMI PC via PROFINET.

Figure 5-5 PROFINET

5.5 More tips

How do I create an OPC Server in HW Config? How to create an OPC Server in HW Config is described in the SIMATIC NET documentation on the "SIMATIC NET PC/Software CD 11/2003, electronic documentation" CD-ROM.

Siemens Controls

Page 46: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.5 More tips

SIMATIC NET (Win7/Win8.1) for SIMOTION 46 Product Information, 12/2014

If you use an OPC Server for SIMOTION P, please follow the descriptions in the SIMOTION P manual.

How do I operate the OPC SCOUT?

Among other things, the OPC SCOUT supports connection tests for the OPC client->OPC server->SIMOTION RT connection and programming of an OPC Client.

You can create one or more groups from the OPC client via the OPC server among other things. You may choose any name.

In these groups, you can create one or more items. These items directly correspond to the variable names in the SIMOTION SCOUT project.

A group can be switched active or inactive.

● Active means that the OPC server scans the variables in the

SIMOTION SCOUT in a time base and places them in the cache.

● "Inactive" means the OPC Client reads the variables directly from the SIMOTION device.

Note

The reason for bad quality in an item can be: • HMI consistency flag set in SIMOTION RT • Wrong project/wrong OPC configuration loaded • Item name misspelling • No connection to SIMOTION RT available

OPC communication with SIMOTION modules

Note

A SIMATIC PC station may not be used for OPC communication with SIMOTION modules only. The reason is that the configuration for OPC communication with SIMOTION is significantly different than that with SIMATIC modules. The procedure for mixed operation is described in "OPC communication with SIMOTION and SIMATIC S7 controller via PROFIBUS" (Page 42).

Download in running OPC SCOUT

Note

A project download or a download in HW Config can be performed with the OPC SCOUT running. If an OPC server is configured in the component configurator in this case, the connection to the controller is broken and the OPC SCOUT must be restarted. Before restarting the OPC SCOUT it must be ensured that the configured OPC server is in the "RUN" operating state.

Page 47: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.6 Comparison of SIMOTION IT OPC XML-DA/SIMATIC NET for SIMOTION

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 47

Going online with SIMOTION SCOUT with running Alarm Client

Note

You may sometimes not be able to go online with SIMOTION SCOUT when an alarm client is running.

In this case you must first end the alarm client or interrupt the connection to the "OPC Alarms and Events" server.

Maximum permissible number of PG/PC connections via Ethernet/PROFINET It is possible to go ONLINE to 10 PROFINET nodes simultaneously with SIMOTION SCOUT.

The STEP 7 standard package supports a maximum of 10 simultaneous ONLINE connections via Ethernet.

As SIMOTION SCOUT uses the STEP 7 standard package drivers to go ONLINE, this number also applies here.

If SIMATIC NET is installed in addition to SCOUT, it is possible to establish connections to more than 10 nodes, as SIMATIC NET uses its own drivers that do not have this restriction.

5.6 Comparison of SIMOTION IT OPC XML-DA/SIMATIC NET for SIMOTION

Overview In addition to SIMATIC NET for SIMOTION, there is another product,

SIMOTION IT OPC XML-DA. This package also enables you to access data and monitor operating states of the SIMOTION device via Ethernet.

The following table compares the two packages and describes the basic procedures:

Table 5- 1 Basic procedure for accessing data

SIMOTION IT OPC XML–DA SIMATIC NET for SIMOTION No configuration (OPC export) with SCOUT re-quired. Program variable can be activated via a switch.

OPC export with SIMOTION SCOUT required, which has to be repeated for every project change.

Symbols are interpreted in the SIMOTION device; communication in text format (XML).

Symbols are interpreted during OPC export and stored in the OPC server on the Windows system in a binary form; binary communication -> higher data throughput.

At present only SIMOTION with OPC XML DA. Access to S7 devices not possible at present.

Simultaneous access to SIMOTION and S7 de-vices.

Client can run on any operating system. Based on Windows COM/DCOM technology; client and server can only run on Windows oper-ating systems.

Siemens Controls

Page 48: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.7 Example of an application

SIMATIC NET (Win7/Win8.1) for SIMOTION 48 Product Information, 12/2014

SIMOTION IT OPC XML–DA SIMATIC NET for SIMOTION Communication with standard protocols (TCP/IP, XML, SOAP), no manufacturer-specific (SIEMENS) tools, drivers required on the client system.

S7 protocol used for communication, appropriate manufacturer-specific drivers required on the client.

Communication only possible via Ethernet. Communication via PROFIBUS/MPI and Ethernet is possible.

Direct addressing via firewalls is possible. Generally, DCOM communication not released for firewalls.

5.7 Example of an application

Example

Note

This section describes a short example of an OPC client application.

The examples for SIMATIC NET can be found in the "SIMATIC.net\opc2\samples" directory.

An OPC client connected to an OPC server is to execute the following tasks:

1. Respond to a OPC server quitting

2. Instantiate the OPC server

3. Restore the connection to the OPC server (see "How is a new OPC configuration enabled when an OPC client is operating?" (Page 40))

Visual Basic program The following Visual Basic program contains these steps: Option Expicit Option Base 0 Const NUM OF ITEMS As Long = 3 Dim WithEvents myOPCserver As OPCServer Attribute myOPCserver.VB_VarHelpID = -1 Dim WithEvents myOPCgroup As OPCGroup Attribute myOPCgroup.VB_VarHelpID = -1 Dim myOPCitem1 As OPCItem Dim myOPCitem2 As OPCItem Dim myOPCitem3 As OPCItem Dim readData As Variant Dim writeData(0 To 255) As Integer Dim writeDataDINT As Long

Page 49: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.7 Example of an application

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 49

Dim ItemIDs(NUM_OF_ITEMS) As String Dim ClientHandles(NUM_OF_ITEMS) As Long Dim ServerHandles(NUM_OF_ITEMS) As Long Dim Values() As Variant Dim Errors() As Long Dim ErrorString As String ’called at program start Private Sub Form Load() Call Init End Sub ’called at program end Private Sub Form Unload(Cancel As Integer) Call Destroy End Sub ’called after connection loss or access fault Private Sub TimerInit Timer() TimerInit.Enabled = False ’disable timer

Call Destroy Call Init

End Sub ’called at OPC server shutdown Private Sub myOPCserver ServerShutDown(ByVal Reason As String) Debug.Print Now & " server shutdown"

TimerInit.Interval = 10000 ’try to reconnect after 10 seconds TimerInit.Enabled = True

End Sub ’initialize OPC connection Private Sub Init() On Error GoTo InitError

Set myOPCserver = New OPCServer ’ server

myOPCserver.Connect ("OPC.SimaticNET") Set myOPCgroup = myOPCserver.OPCGroups.Add("Test") ’group With myOPCgroup

.IsActive = False ’read synchronous from device .IsSubscribed = False ’read synchronous from device ’synchronous With myOPCgroup.OPCItems

Set myOPCitem1 = .AddItem("P350.VARIABLE.db1", 1) Set myOPCitem2 = .AddItem("P350.ST_1.array1", 1) Set myOPCitem3 = .AddItem("P350.ST 1.dint1", 1)

End With

End With ServerHandles(0) = myOPCitem1.ServerHandle ServerHandles(1) = myOPCitem2.ServerHandle ServerHandles(2) = myOPCitem3.ServerHandle Debug.Print Now & " server connected" Timer1.Interval = 500 ’poll data every 500ms Timer1.Enabled = True ’poll data

Exit Sub InitError:

Siemens Controls

Page 50: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Tips 5.7 Example of an application

SIMATIC NET (Win7/Win8.1) for SIMOTION 50 Product Information, 12/2014

MsgBox "Error connecting OPC server: " & Err.Number & " " & Err.Description

End Sub

Page 51: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 51

Notes on the Online Help and Documentation 6

Overview

Table 6- 1 Online help and documentation

What to do? Names Content SIMOTION SCOUT Online Help

Is part of the SIMOTION SCOUT software

Provides help for the user interface

Entire documentation on the SIMOTION software installation DVD

SIMOTION System Overview Overview of the product family SIMOTION SCOUT, Operator's Guide

Describes the SIMOTION SCOUT engineering system, i.e. details on the installation and Workbench

SIMOTION MCC, Programming Guide

Describes the graphics-based SIMOTION programming language Motion Control Chart

SIMOTION ST, Programming Guide

Describes the text-based SIMOTION programming language Structured Text

SIMOTION LAD/FBD, Program-ming Manual

Describes the programming language LAD/FBD

SIMOTION C, Manual Describes the hardware and commis-sioning

SIMOTION Technology Functions of Motion Control (divided in sever-al manuals and lists of references)

Describes the effects of technology objects for Motion Control and con-tains reference lists for system varia-bles and functions

SIMOTION Function Blocks, Man-ual

Supplement for the CP and FM mod-ules

SIMOTION P, Manual Describes hardware, software and installation

SIMOTION D4xx, Manual Describes hardware, software and installation

All documents on doc-umentation CD "SIMATIC NET Manual Collection"

"SIMATIC NET Manual Collection" Amongst other subject items, details of the installation, OPC interface, OPC Server

Note

A detailed breakdown of the documentation for SIMOTION can be found in the "SIMOTION documentation overview".

Siemens Controls

Page 52: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Notes on the Online Help and Documentation

SIMATIC NET (Win7/Win8.1) for SIMOTION 52 Product Information, 12/2014

Page 53: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 53

Service and support A A.1 Service and support

Additional information Sources of additional information about the products described in the manual are listed under "Contact" in the following table: Requirement Contact Representatives and sales offices

http://www.siemens.com/automation/partner

Additional technical documentation

http://www.siemens.com/mdm

Training center http://www.siemens.com/sitrain Technical support http://www.siemens.com/automation/service&support Online support re-quest form

http://www.siemens.com/automation/support

Service http://www.siemens.com/automation/service

Siemens Controls

Page 54: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Service and support A.1 Service and support

SIMATIC NET (Win7/Win8.1) for SIMOTION 54 Product Information, 12/2014

Page 55: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

SIMATIC NET (Win7/Win8.1) for SIMOTION Product Information, 12/2014 55

Index

A Access times, 31 Arrays, 39

C Communication and Handling, 13 Configuring SIMOTION C/SIMOTION D4xx, 16 Configuring SIMOTION P, 17 Consistency status, 25 Consistent data access, 37, 39 Creating a user program, 39

D Data types, 35 Design stage, 6 Device, 20

F File name extension, 14 ForceShutdown, 41

I Installation directory for data, 14 Interface, 20

O OPC alarm/event, 19 OPC alarms and events for SIMOTION

ALARM_S, 37 ALARM_SQ, 37 General conditions, 37

OPC data for SIMOTION General conditions, 36

OPC SCOUT, 46 Download in running OPC SCOUT, 46

OPC server Create in HW Config, 45 Instantiating, 48

Quitting, 48 Restoring a connection, 48 Starting, 41 Stopping, 41

OPC_AE.xml, 19 OPC_DATA, 19 OPC_DATA Export

Warning in the Symbol Editor, 21

P PDU, 39 Protocol, 20, 39

Q Quality Bad, 46 Quitting OPC clients, 41

R Router configuration, 19, 22, 22 Routing, 22 Routing definition

General conditions, 33 runtime, 8

S SIMATIC NET, 5 SIMOTION Kernel, 5 SIMOTION OPC File Manager, 27

Delivery and program call, 27 Description of an application in principle, 29 File selection, 28 Routing definition, 31, 33 Time zone definition, 29

SIMOTION SCOUT, 5 Storage paths, 14 Symbol file OPC_DATA, 14 System variables, 35

T Time for data transmission, 39

Siemens Controls

Page 56: SIMATIC NET (Win7/Win8.1) for SIMOTIONucc.colorado.edu/siemens/pi_opc-simotion-Win7-Win81_76.pdfNote This product information "SIMATIC NET (Win7/Win8.1) for SIMOTION" Edition 12/2014

Index

SIMATIC NET (Win7/Win8.1) for SIMOTION 56 Product Information, 12/2014