Serialization | Iot framework ServerSuperIO tutorial-16.OPC Server usage steps. Appendix: Release and version update instructions ., Iot framework

Source: Internet
Author: User

Serialization | Iot framework ServerSuperIO tutorial-16.OPC Server usage steps. Appendix: Release and version update instructions ., Iot framework

1. C # Introduction to cross-platform Iot communication framework ServerSuperIO (SSIO)

Serialization | Iot framework ServerSuperIO tutorial 1.4 communication modes and mechanisms.

Serialization | Iot framework ServerSuperIO tutorial 2. service instance configuration parameters

Serialization | Iot framework ServerSuperIO tutorial-3. Device Driver Introduction

Serialization | Iot framework ServerSuperIO tutorial-4. For example, you can develop a device driver that supports both serial and network communication.

Serialization | Iot framework ServerSuperIO tutorial-5. Polling communication mode development and precautions.

Serialization | Iot framework ServerSuperIO tutorial-6. concurrent communication mode development and precautions

Serialization | Iot framework ServerSuperIO tutorial-7. Self-control communication mode development and precautions

Serialization | Iot framework ServerSuperIO tutorial-8. single-instance communication mode development and precautions

Serialization | Iot framework ServerSuperIO tutorial-9. protocol filter to solve multiple packet-related, sticky packet, and redundant data

Serialization | Iot framework ServerSuperIO tutorial-10. Two Methods for continuous transmission of large data streams (such as files)

Serialization | Iot framework ServerSuperIO tutorial-11. Implement device (driver) and device (driver) interaction and cascade control.

Serialization | Iot framework ServerSuperIO tutorial-12. Service Interface Development and bidirectional interaction with the cloud

Serialization | Iot framework ServerSuperIO tutorial-13. Custom View display interface development to meet different display requirements

Serialization | Iot framework ServerSuperIO tutorial-14. Introduction to preparation tools and mounting of device drivers, view drivers, and service instances

Serialization | Iot framework ServerSuperIO tutorial-15. Use of data persistence Interfaces

 

Contents

16. Steps for using OPC Server... 2

16.1 overview... 2

16.2 ServerSuperIO OPC use process... 2

16.2.1 inherit dynamic interfaces... 3

16.2.2 Add a device driver... 3

16.2.3 label attribute preparation... 5

16.2.4 install OPC components... 6

16.2.5 start the OPC Server service... 6

16.2.6 run the program... 7

16.2.7 OPC Client reads data in real time... 7

16.3 considerations... 7

16.4 video demo... 8

16. OPC Server usage steps
16.1 Overview

OLE for Process Control (OLE for Process Control) is an industrial standard based on Microsoft's OLE (current Active X) and COM (Component Object Model) and DCOM (Distributed Component Object Model) technology. OPC includes a set of standard sets of interfaces, attributes, and methods. It is used by all major companies in the world, including automated control systems, instruments, and process control systems.

ServerSuperIO interacts with hardware sensors and collects data through the loaded device driver using the network port or serial port as the communication link in real time. After the device driver collects data from the hardware sensor, it immediately transmits it to the OPC Server, after the data of the OPC Server changes, the OPC Client can respond immediately, which can better reflect the real-time data and avoid delay caused by regularly reading the data information of the database by the OPC Server, and cannot reflect the authenticity of data changes in a timely manner.

The structure diagram is as follows:

Public class DeviceDyn: DeviceDynamic {public DeviceDyn (): base () {} public override string GetAlertState () {throw new NotImplementedException ("no alarm information ");} private float Flow {set; get;} private float Signal {set; get ;}}

Of course, the development of device drivers not only includes this. For more information, see previous tutorials.

16.2.2 Add a device driver

Run the “serversuperio.tool.exe tool and click the basic configuration menu. Configure the developed device driver assembly in the configuration tool to verify that the current device driver can run on the platform, for example:

 

1. [serialization] C # communication (Serial Port and network) Framework Design and Implementation

2. [Open Source] C # cross-platform Iot communication framework ServerSuperIO (SSIO) Introduction

2. Overall system construction solution using SuperIO and open-source cross-platform Iot framework ServerSuperIO

3. C # technical route of industrial IoT and integrated system solutions (data sources, data collection, data upload and receiving, ActiveMQ, Mongodb, WebApi, and mobile App)

5. ServerSuperIO Open Source Address: https://github.com/wxzz/ServerSuperIO

Internet of Things & integrated technology (. NET) QQ Group:54256083

: Http://www.bmpj.net/thread-14-1-1.html

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.