Configuration Software Development (zz)

Source: Internet
Author: User

Http://www.ad.siemens.com.cn/service/answer/solution.asp? Q_id = 53092 & cid = 1032

Bottom-layer-driven development is on the one hand. The most important thing is stability. New products can be developed without being developed. A trial run process is required to continuously discover and improve problems in this process, therefore, system stability is the most important thing for customers.
The monitoring configuration software is mainly composed of the following aspects.
1. Real-Time Database
Real-time database, as its name implies, is a database that processes and stores real-time data. It is divided into two forms. The first is to use development tools to directly develop the binary file mode and develop your own SQL engine, index and configuration file mechanisms, such as iFIX. The other is to store real-time data in binary files based on mature relational databases, but the SQL engine and Index, and configuration files all use relational databases and other mechanisms, such as WinCC.
1. kernel Communication
Speaking of kernel communication, the configuration software is rarely involved, because it is a framework that cannot be seen but can decide the configuration software. Two Communication frameworks are popular on the market. One is the core framework for communicating with real-time databases. graphic interfaces, scripts, and communication drivers all provide corresponding functions around real-time databases, the other is the core framework of message communication. This framework is similar to the SOA architecture. First, it establishes communication data elements and includes all the data formats used for access, then, the component receives the corresponding commands by publishing the message. In today's configuration software industry, message communication is also divided into memory Message Type and port message type, memory messaging is to use the message in the memory of MFC to gay other components. Its advantage is that the fast and stable disadvantage is that all components cannot be separated from one machine, this is also the initial approach of many configuration software vendors in China. The port Message Type uses sock ports for message communication, whether or not port communication is adopted on the local machine, the advantage is that many components can be distributed to each machine. The CS and BS architectures use this mechanism. The disadvantage is that the message elements are complex and there are many commands, exercise caution when considering its robustness.
2. Graphic Interface
There is nothing to say about the graphic interface, that is, graphic display, drawing, alarm, curve, and report. However, they are developed based on MFC in vc6. developed by netfm, from the interface, the development of MFC is fast and stable, but the interface is simple and the image quality is not very beautiful ,. NET development interface is brilliant, 3D strong dynamic and combined with GDI +, that is a tool in the interface, and his confirmation is that the running speed is slow, and the installation of machine configuration requirements are high.
4. Script
The script is the soul of the configuration software. Most configuration software can identify the products at the bottom of the high school by looking at the script. The script can be compiled or interpreted. The compilation type must be before the configuration software is running, compile the statement and nest it in the functions and events of the framework, such as the C script of WinCC. The other is interpreted, it is run while being interpreted by the syntax interpreter while the configuration software is running, such as the VBA script of iFIX. For scripts on the market, they can be seen in the following categories: custom, VB, C, and Other types. custom scripts include INTOUCH, Kingview, and force control; VB, for example, VBA of iFIX, VBA of rsview, and vbs of jikong; C, for example, ascic of WinCC and C # Of jiuyisi #; other configuration software uses open source scripting engines such as tcllua. Most scripts at the bottom use custom scripts, which have limited scalability and rely on the vendor's own development capabilities. Mid-end scripts use C scripts and open-source scripts, its mature technology should be widely popularized and mastered at that time. It is not very convenient for some common access techniques, such as accessing relational databases, APIs, DLL and controls, while the high-end scripts are the first VBA series, efficient access tools, mature control resources, and powerful API calls.
5. Communication driver
Communication-driven development is slow. This is also because it is too mature. First, let's talk about its framework structure, which is a combination of encapsulated communication frameworks and developing data streams, that is to say, developers do not need to understand the Framework Structure of the configuration software and how to map data to database variables. They only need to install the given framework, you can unpack and package data streams into the specified structure buffer zone. Let's talk about the driver. When talking about the driver, it should be composed of two parts. The first part is the interface and the other part is the protocol. The first part is about the interface for the Survival platform PC of the configuration software, interfaces are RS232/485/422, USB, TCP/IP (WiFi), and card. For other protocols, there are too many modbusrtu/ASCI/tcp, PROFIBUS, OPC, and S7 protocols.
6. interface development tools
The interface development tool is actually a component development tool. It is a development tool kit that is embedded in the configuration software itself (VC/. . Net). You can use these frameworks or guides to develop extension components based on the configuration software through development tools, for example, components for importing and exporting relational databases and real-time databases. In addition, developers can also use graphical components based on graphical interfaces.
7. Web Publishing
Web publishing is a configuration software feature that has been very popular in recent years. Due to the expansion of the SCADA market and MES market, factory-level management has become increasingly popular and has become part of the hot-selling concept of configuration software vendors, because of web usage, users can see the graphical interface and real-time data of the Configuration Software in the IE browser of a common PC, which is recognized by most owners. The Web publishing technology is basically three methods, the first ActiveX method. Generally, most configuration software of this web method is developed using vc6, which directly encapsulates a graphical browsing EXE in the COM component, when you browse IE, you will be prompted to install a plug-in. Then, the EXE is installed on the customer's PC. You can see the configuration interface by calling the EXE through IE, this is also known as the quasi-web method. Its advantage is that the speed is fast because it uses the CS mode. The disadvantage is that you must open the specified port, which cannot be seen once a router is encountered, another method is to use Java to re-convert the user group state project to one side through Java, the advantage of this technology is that no matter what network device management network you use, you can view data by developing port 80, disadvantage: Data refreshing is slow, but it is acceptable. In addition, it is time-consuming to rewrite the configuration software on one side, and then release it. The last one is. Net's WebService technology, which is undoubtedly the most powerful, but your framework development tool must use. net.

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.