1 MCGS software functions and features
The MCGS (Control commissions and so on) is a System for the Windows platforms, industrial process Control and real-time monitoring service 32-bit all Chinese interface configuration software System. It is through the field data collection, analysis and processing, with animation display, alarm, process control and report output and so on many kinds of ways to practical engineering problems, the solution has been widely applied in industrial control. Users without understanding complicated programming knowledge, can use the MCGS in short time to complete a stable, mature and professional computer monitoring system development work. But in real application, because the particularity of the equipment used, the actual engineering needs and personalized needs, will demand for further development of configuration software, have their own style of the interface, design and control algorithm or hardware matching of the driver.
All Chinese MCGS configuration software is used in industrial process control and real-time monitoring system of general computer software. Its function and characteristics can be analysed and summarized as follows:
(1) the graphic animation display function. The MCGS in Windows environment, use the visual graphic tools and visualization development environment, can easily create a variety of complex picture, Use the simple state (namely) parameter setting, animation, can make more vivid dynamic display of the visual effect.
(2) real-time database. It is the system of data exchange and processing center, the storage of different types of data objects, and the name of a data acquisition, processing, output control, animation connection and the device driver object. In the system operation process, each part through real-time database data exchange, the formation of interconnected overall.
(3) embedded scripting language. The built-in MCGS provides programming language called scripting language and its programming grammar similar to ordinary, but the Basic language than in the concept and use more easy. Through scripting language can write specific flow control and operation procedures, enhance the flexibility of the system.
(4) open the equipment management functions. The processing of equipment MCGS using open structure, make it become "and" the system of device-independent, Using the corresponding equipment components and setting attributes of various hardware equipments, include all sorts of PLC to control system and drive, realize the equipment. Therefore, based on MCGS software, the function and characteristics through the configuration of control system programming, real-time graphics display monitor, alarm display, In addition, the use of other MCGS function modules, also can complete the report output, curve shows, security mechanism etc. Functions.
(5) application MCGS software PLC control method of working condition. Based on MCGS software of PLC control system, PLC hardware structure of the typical and superordination machine (ordinary PC or industrial IPC machine) through RS232 serial connection lines or RS485 communication. As the high reliability PLC machine mainly undertakes to industrial site equipment directly control functions, Mainly responsible for monitoring and PC management function, both parts, such as functions of control in the necessary opened a can of PLC start and stop, etc, to realize the remote control commands.
Software, PC and PLC is equipped with complete in the software, and equipped with MCGS software. Using the tools, generally provide MCGS through the steps below the working state of PLC control computer graphics functions:
(1) drawing cartoon graphics. By MCGS software provides a basic graphic elements and animation component library, can be in user window "combination" into the main components of control of the picture, for instance, pump, valve graphics, hydraulic cylinder, travel switch, moving parts, etc. Rendering graphics should be the scene elements in shape, animation with relative position control system of actual situation.
(2) define data objects. On the actual project simplified and abstract processing, on the basis of the characteristics of the project site will represent the quantities, as data object defined, such as travel switch hige, solenoid valve and electricity, piston rod location and size of pressure can be defined as the data object. Each object has its own numerical data types, properties and operation method, the data object composition of real-time database.