PLC FBD Control software

Source: Internet
Author: User

APMC Advanced Process Industrial control and configuration software
1 overview
APMC for I use C # Independent design and development of C # Source industrial control and configuration software. The original design is to use the IEC FBD61499 standards to develop advanced FBD control algorithm block, the use of graphical programming, through a simple connection to complete the complex control, and in order to complete the reading and writing of different devices, the development of a common C#dll interface, users can write their own device driver, Can be integrated into the APMC, and combined with configuration software technology, to achieve the purpose of configuration control. The software is divided into the development environment and the operating environment 2 parts, the development environment can realize the configuration and real-time online control strategy simulation, and through the operating environment real-time control and monitoring.

2 Function Introduction
2.1 Image editing
Using basic elements such as lines, polygons, rectangles, circles, ellipses, text, buttons, and pictures, you can freely arrange the monitoring screen, provide real-time curve control, alarm control and instrument control and other advanced graphic elements, can automatically alarm and display data real-time curve. Each element and picture has 3 attributes, as follows:
Basic properties: Provides property settings for the element's color, position, size, visibility, lock, edge style, fill style, font, rotation, and so on.
Animated properties: Provides animated effects such as color, position, size, visibility, rotation, edge style, fill style, and more. According to the Y=F (x) trajectory freely set the element to run the trajectory or change the size of the graphic, provide a flexible expression method, the user can be based on C # trigonometric function arithmetic, logical expression set and mathematical logic operation, to achieve the purpose of data transformation.
Event Properties: You can click on the mouse, double-click to open the screen, application open, variable value settings, sound playback and other operations.
2.2 IO Device driver
Virtual drive:
There are a variety of virtual data sources to choose from, such as sin curve, x^2 curve, cyclic change, flicker change, etc., the initial and final values and change time parameters can be freely set, can be used for simulation and element motion.
OPC drive:
Support 1.0, 2.0 and general OPC server data read and write specification.
User-driven:
In order to give different users the ability to integrate their own device data into the configuration software, the design of a common driver DLL interface, the user in accordance with the open source DLL driver I provide to develop their own device driver, can be integrated into the APMC,

Solves the challenge of non-standard protocol for small devices.
2.3 Alarm Settings
The user can specify the alarm data item, when the alarm occurs, can be automatically displayed in the alarm control, and can be automatically stored in the database, convenient historical query. Currently support greater than, less than, equals, greater than equals, less than equals, such as logical operations, alarm conditions the user can write the expression directly.
2.4 Event Settings
The user specifies the event action when the event occurs and disappears, through the event trigger condition, can open the picture, play the sound, execute the *.exe executable program and set the variable value, etc.
2.5 Real-time database
The user specifies the data storage method, which can be stored in the database by timing, conditional expression and rate of change.
2.6 Control Strategy
With FBD61499 graphical programming, users can complete advanced complex control with simple drag-and-drop and wiring. Input variables can support expression operations, such as sin (AVR) x100+1234, is completely soft plc form!
2.7 reporting and printing
Through the ireport report software, can carry on the historical data inquiry, the alarm and the event inquiry and the printing, and the historical curve analysis. Data can be imported into Excel, free to report and data processing, but also to form pictures and HTML documents, historical curve scalable analysis and printing.
Note:
The software database can be used as access or SQL database, database connection string method to provide users freely set the database connector.
3 operation and exit of the program
The program is divided into the editing environment and the operating environment, editing environment in addition to editing, but also for the control strategy of the graphical simulation run, to see the effect of design control, running environment, hehe, run. Press the Q or ESC key to exit after full screen. Of course, the software is a personal hobby and development of the amateur, there are many imperfect places, I hope enthusiasts continue to improve it! My goal is for everyone to be able to do their own configuration software!
4 Software (development environment
The development environment uses view partitioning, with drawing view, tool view, and control view on the left, property view, animation view, and event view on the right, and output view at the bottom
Engineering View: Managing the project's picture and drive
Tool View: Provides various elements for screen editing
Control view: Various FBD function blocks that provide control policies
Properties View: Provides settings for properties of engineering, elements and FBD function blocks, such as color, size, position, name, etc.
Animated View: Provides an animated property setting interface for the screen edit entity, which allows the user to set the variable and condition for animating.
Event View: Provide mouse click, double-click the event interface, can set the mouse event action, such as open screen, execute program, set variable value, and play sound and so on.
Output view: Provides state information at the time of the FBD Control Policy compilation
In the middle of the software is the document view, the document tab tiling method, the tab name can be used to select the document screen, user-friendly operation. The software interface diagram is as follows:
Description
The configuration software source code of the individual after the test run a good result, the graphical interface refresh timely, drive read and write convenient, control strategy writing easy, data storage for analysis, history and real-time curve display, etc., can be used for teaching demonstration and learning. The software uses C # self-development, which involves software graphics interface segmentation, OPC driver, ListView and tree view, and DLL control development and graphics animation display, and many other places worth learning, welcome to discuss together.

Can contact me to watch and video demo

Contact information:

Tel: 15153513673

qq:229125113

: beiqu609

Email: [Email protected]

PLC FBD Control software

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.