[Fs1 topic] _ fs1 Introduction

Source: Internet
Author: User

Under the company's authorization, I will introduce some development knowledge of flexem studio in this flexem Studio 1 topic, so that new users can understand what flexemstudio is.

First introduce several industry concepts.

1. Configuration Software

The following is an excerpt from Baidu Encyclopedia:

Configuration Software refers to some special software for data collection and process control. It is a software platform and development environment at the monitoring layer of the automatic control system, it can provide a good user development interface and simple usage with flexible and diverse configuration methods (rather than programming methods), which solves the general problems of the control system. Its pre-configured software modules can easily implement and complete various functions of the monitoring layer, and support the computer and I/O products of various hardware manufacturers at the same time, combined with highly reliable industrial control computers and network systems, you can provide all the software and hardware interfaces to the control layer and management layer for system integration. Configuration Software usually has the following functions:

(1) powerful interface display configuration function. Currently, most industrial control configuration software is running in windows, making full use of Windows's graphic functions to improve the beautiful features of the interface, visual M-style interface, and rich toolbar, the operator can directly enter the developer development status to save time. The rich Graphic Control Charts and working condition libraries provide both the required components and the interface creation wizard. A wide range of drawing tools are provided for users to draw various industrial interfaces as they wish and edit them as they wish. This frees developers from the heavy interface design, rich animation connection methods, such as implicit, blinking, and moving, make the interface vivid and intuitive.

(2) Good openness. The socialized production makes it impossible for all the hardware and software components of the system to come from the products of a company. "heterogeneous" is one of the main features of today's control system. Openness means that the configuration software can communicate with multiple communication protocols and support multiple hardware devices. Openness is an important indicator to measure the quality of a configuration software. The configuration software should be able to communicate with the low-layer data collection equipment, and communicate with the management layer upwards to achieve two-way communication between the upper computer and the lower computer.

(3) rich functional modules. Provides a wide range of control and repair function libraries to meet the user's measurement and control requirements and on-site monitoring requirements. Various functional modules are used to monitor and generate functions in real time, such as reporting historical curves, real-time curves, and providing alarms. This gives the system a good man-machine interface and easy operation, the system is applicable to standalone centralized control, distributed DCS control, and Remote Measurement and Control System with remote communication capability.

(4) powerful databases. It is equipped with a real-time database that can store various types of data, such as analog, discrete, and dense data, to exchange data with external devices.

(5) programmable command language. A Programmable command language allows you to compile it based on your needs.ProgramTo enhance the graphic interface

(6) Careful system security prevention. Different operators are assigned different operation permissions to ensure the safe and reliable operation of the entire system.

(7) simulation functions. It provides powerful simulation functions for parallel system design, thus shortening the development cycle.

 

2. Upper and Lower computers

 

It is excerpted from Baidu encyclopedia

A host computer is a computer that allows a person to directly issue control commands. Generally, it is a PC. Various signal changes (hydraulic pressure, water level, temperature, etc.) are displayed on the screen ).Lower computerIs a computer that directly controls the device to obtain the device status, generally PLC/single chip microcomputer and so on. The Command issued by the upper computer is first sent to the lower computer, and then the lower computer directly controls the corresponding device based on the command as the corresponding time series signal. The lower Computer Reads device status data from time to time (generally analog) and converts the data to digital signals for feedback to the upper computer. In short, the actual situation varies widely,Changing: Programming is required for both the upper and lower computers and dedicated development systems are available.

Concept

The Controller and the service provider are upper computers.

The controlled and served persons are lower computers.

It can also be understood as the relationship between the host and the slave

However, the upper and lower computers can be converted.

The communication between the two machines generally depends on the lower computer.TCP/IPIt is generally supported. However, the lower computer generally has a more reliable and unique communication protocol. When purchasing the lower computer, there will be a lot of manualsCDIt shows you how to use the special protocol for communication. There are a lot of examples in it. It is generally the case for programmers to see it at a glance and use some new APIs. Multi-language support function module. Generally, it supports programming in several advanced languages at the same time.

Generally, different communication protocols can be used for communication between the upper and lower computers, or RS232 serial communication or RS485 serial communication, when using a computer to communicate with a PLC, not only the traditional D-form serial communication can be used, but also the dual-linePROFIBUS-DPCommunication: The encapsulated program development tool can be used to implement the communication between the PLC and the host computer. Of course, you can write the Driver Interface Protocol to control the communication between the upper and lower computers.

 

3. flexem Studio

Our flexem studio is obviously a host computer system. the lower computer is developed by another group. it is not an appropriate analogy: flexemstudio is like Visual Studio. industrial devices are like Windows operating systems and hosts. however. net is almost equivalent to the lower computer. this is not the case. on Windows, we use vs to develop applications. after writing the code, compile it into an executable file by the operating system. in addition, in the development of industrial equipment software, we developed applications on devices through FS on Windows. then, use the FS compilation function to package your application into a format file that can be recognized by the lower computer. then burn it to the device. run the interpreter on the device. you can run the program we developed on windows on the device.

The field development mode is fs1 <-> touch screen (HMI) <-> PLC <-> industrial equipment. however, through address Communication Between HMI and PLC, the read/write PLC address indirectly controls industrial equipment.

 

4. flexem Studio development

 

In fact, flexemstudio is an industry Software Based on. net wpf technology. With mvvm architecture, development will follow the mvvm mode (mvvm practices adopt Caliburn. micro.

For example, the process for developing a module is as follows:

    • The Requirement Specification will be prepared on the Wiki first.
    • The designer proposed the model design.
    • The Model Designer designs the model. the model will adopt csla. net service object concept. during model design, you need to write external attribute data verification information about this module. it is best to write unit tests for verification in this part.
    • The view designer also designs the view.
    • After the Model Designer finishes the model design, the view designer integrates the view and viewmodel for debugging.

Here, the view designer does not need to understand the csla business objects. you only need to know the attributes and attribute verification that the model will provide to you. the view designer only needs to use propertystatus for display when data verification fails.

More development details will be mentioned later
 

 

 

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.