×
Siemens Industry Online Support
Siemens AG
Tipo de artículo: Ejemplo de aplicación ID de artículo 21523291, Fecha del artículo: 20/07/2005
(1)
Evaluar

OPC Communication via the SEND/RECEIVE Protocol with a Visual Basic .NET OPC Client

  • Artículo
  • Relacionado con producto(s)


Task
The following application shows you how to transfer process data to a PG/PC in a heterogeneous automation system (e.g. SIMATIC S7 together with SIMATIC S5).

Solution
For the solution of the task, the SEND/RECEIVE protocol is used here (S5-compatible communication). The communication between SIMATIC NET OPC server and automation stations occurs via this protocol. The OPC client is realized with Microsoft Visual Basic .NET.

This application comprises the following points:

  • Dealing with the communication services of the SEND/RECEIVE protocol with regards to program technology: for enabling exchange of larger data volumes between PC and mixed automation systems (i.e. SIMATIC S5 and SIMATICT S7). In detail, these are:

    • Block services (AG_SEND / AG_RECEIVE)

    • Variable services (FETCH / WRITE)

  • STEP7 side configuration of the SEND/RECEIVE protocol when using Industrial Ethernet

  • Generating an OPC clients with graphical user interface in Visual Basic .NET

  • Demonstrating the handling of the Data Access interface of the OPC server via the Custom Interface, and the integrating process into .NET-Framework using the OPC DA RC-Wrapper

  • Displaying the procedure for implementing an individually programmed acknowledgement mechanism (additional level 7 protocol).

Functional structure

The following figure shows the interaction of the automation components, which are described in this example, in principle.

 

Hardware configuration

Here you see the hardware setup realized for this application as well as the software to be installed for the components.

 

 

Downloads

Download contents  

Download

Documentation (German)
The documentation was divided into three clearly displayed parts:
  • Introduction: contains the application description, the function principles, details of required hardware and software, basic performance data as well as a list of alternative solution
  • Extension: contains the basics, detailed function principles and program structures
  • Demonstration: contains setup, installation, configuration and operation of the application

Introduction

21523291_OPC_SR_Introduction_DOKU_v10_d.pdf ( 561 KB )
Extension 21523291_OPC_SR_Extension_DOKU_v10_d.pdf ( 1764 KB )
Demonstration 21523291_OPC_SR_Demonstration_DOKU_v10_d.pdf ( 795 KB )
Documentation (English)
The documentation was divided into three clearly displayed parts:
  • Introduction: contains the application description, the function principles, details of required hardware and software, basic performance data as well as a list of alternative solution
  • Extension: contains the basics, detailed function principles and program structures
  • Demonstration: contains setup, installation, configuration and operation of the application
Introduction 21523291_OPC_SR_Introduction_DOKU_v10_e.pdf ( 613 KB )
Extension 21523291_OPC_SR_Extension_DOKU_v10_e.pdf ( 1834 KB )
Demonstration 21523291_OPC_SR_Demonstration_DOKU_v10_e.pdf ( 814 KB )
STEP 7 Example Project
Hardware configuration, network configuration, S7 program
21523291_OPC_SR_STEP7_v10.zip ( 249 KB )
Code - OPC client
Visualization program and Visual Basic .NET source code
21523291_OPC_SR_CODE_v10.zip ( 233 KB )

 

History

Issue

Changes

05/2005 First edition


Información de seguridad
Para proteger las infraestructuras tecnológicas, los sistemas, las máquinas y las redes contra amenazas cibernéticas, es necesario implementar y mantener continuamente un concepto de seguridad de TI holístico de última generación. Los productos y soluciones de Siemens son parte de este concepto. Para obtener más información sobre seguridad cibernética. Encontrará más información sobre la seguridad cibernética en
https://www.siemens.com/cybersecurity#Ouraspiration.
Evaluar artículo
No hay ninguna valoración
Solicitudes y comentarios
¿Qué desea hacer?
Nota: La respuesta se refiere siempre al presente artículo. Su mensaje se remite a los redactores del Online Support. Dentro de uno días recibirá respuesta, siempre que su propia respuesta lo requiera. Si todo está claro, no recibirá más respuesta.
Respaldo de estadísticas
With this function the IDs found are listed according to number (format .txt).

Generar lista
Copiar URL
Mostrar esta página en el nuevo diseño
mySupport Cockpit