Application of touch screen in industrial automation system
Using PLC as the core of the control system, the cost is low, the stability is high, and the programming and debugging are also convenient. However, PLC is inconvenient in man-machine dialogue, fault judgment, online modification, etc., and needs to be operated by professionals who are very familiar with programming. Moreover, in order to intuitively understand the dynamic changes of the production process and monitoring signals, it is necessary to select a host computer to cooperate with the PLC to form a better automatic control system. Therefore, the system uses a touch screen to communicate with the PLC to form an automatic control system for the production process.
1 system composition
The system is mainly composed of touch screen, programmable controller PLC, switching power supply, stepping motor driver, stepping motor, frequency converter, three-phase asynchronous motor, etc. The configuration is shown in Figure 1. The control system mainly uses the program to control the speed, direction and displacement of the steel ring plate to achieve control forming.
Figure 1 system configuration block diagram
The touch screen can be used as a man-machine interface to set process parameters and monitor the operating status. The programmable controller is the core of the entire control system. It stores the process parameters and controls the running state of the inverter and the running state of the stepper motor through certain control algorithms. The switching power supply provides working power for touch screen, PLC, stepper motor (including proximity switch, button, intermediate relay). The stepper motor driver converts and amplifies the control signal given by the programmable controller to drive the stepper motor. The stepping motor as the execution unit mainly completes the lifting action of the steel ring plate of the twisting machine through mechanical transmission. The inverter controls the operating state through the programmable controller. Through the setting of the internal parameters, the operating frequency can be adjusted to control the operating state and operating frequency of the three-phase asynchronous motor.
The three-phase asynchronous motor as the actuator unit mainly completes the transmission of the spindle and the roller through mechanical transmission.
2 EView touch screen and PLC communication
This design uses EView MTS000 industrial embedded touch screen man-machine interface. Define the serial port device s7.200PLC in the MTS000 configuration software, the serial port number is COM. After the device definition is finished, I/0 real variables and discrete variables are defined, which are respectively connected with the device input register and output register to realize the control port of the switch.
Figure 2 hardware connection diagram
3 MT5000 configuration software
In MTS000, "engineering" is used to indicate the application system generated by the configuration software configuration. Creating a new project is creating a new user application system. The general steps to build a project are: constructing a database (defining variables) _ + defining a device - designing a graphical interface - establishing an animated connection. + Run and debug. However, when designing, they are not independent, but alternate, and need to be considered together. First, create a new project, define the path and name, select a COM port in the device options, and make a PLC connection. The Device Connection Wizard dialog box provided by MTS000 lists some hardware devices (such as PLC, board, smart meter, inverter, etc.) commonly used in industrial production, and has made corresponding communication protocols according to the communication protocols of these common devices. Frees the application from the cumbersome underlying drivers. After selecting the Siemens S7.200 series PLC, select the communication method, and give the device name and address, and also set the sampling time and communication parameters.
Then, the design of the animated screen and the definition of the variables are performed. Double-click on the data dictionary to define and write all variables of the system. Variables can be set to read-only, write-only, and read/write modes. For the variable that needs to collect the PLC status and realize the remote control of the PLC, set the read/write mode, and the variable that does not need to send the command to the PLC is set to read-only, which can save the PLC scan time, speed up the system process, and improve PLC efficiency.
When drawing a graphic screen, double-click the screen option to draw the monitoring screen corresponding to the twisting machine in the pop-up drawing environment. There are many devices monitored by the system. In order to display the various parameters of different devices more clearly and clearly, multiple pictures need to be drawn, which is convenient for display and convenient for on-site operators to control.
In the main screen, the ShowPicture function is used to implement calls to other screens. After drawing the process picture, the system is mapped to the parameters to be monitored and the variables in the picture. This completes the HMI configuration.
4 configuration interface design and function introduction
The configuration interface of the system is programmed in the MTS000 configuration software. According to the characteristics of the system and the actual use, the interface design is welcomed by the system boot, power-on prompt, zero adjustment and query (total range, motion, speed increase, speed reduction, level rise, taxi), mode setting modification and query (forming method, parking mode, zero return mode), data modification and query (count length, roller diameter, height coefficient, manual speed, zero return speed) and other interface components.
Figure 3 Zero adjustment interface
The zero adjustment interface dynamically displays the height and length of the yarn. An animation shows the forming process of the yarn. Different yarn types have different animation display processes. The data setting uses the pop-up numeric keypad to set and modify the data. The entire interface is designed to be easy to understand. At a glance. The operator does not need professional knowledge, and with the operation prompts and help, the first operation can be performed substantially independently.
Figure 4 data setting interface
5 PLC programming
The main input/output port definition of the PLC and the PLC register unit assignment.
In order to easily add or delete program modules, it is also convenient to perfect for different program modules, and the program design adopts a modular structure.
Cangnan Younglite Electrical Co., Ltd. is located in Ningbo City, the most important seaport city in China. We are only 40 Kilometers far from Ningbo Airport. Near the express way, the transportation is very convenient.We are specialized in manufacturing and exporting LED Flashlight, headlamp, camping lantern and so on.We have outstanding management, strong production capability and advanced technology ability to design and develop many new items which have good quality control and testing at every stage of the production process. We can ensure that each product is eco-friendly and will provide long life and high performance service. Currently, our products are very popular in the USA, Europe, South Asia, the Middle East and Hong Kong."Quality first, delivery on time, reputation as life" is our premier principle. Let us make better quality products to you-----our valued customers.
We are the vendor of ALDI, WalMart and other supermarket, also we supplier the products to professional tool wholesaler like SBI, Carl Kammerling etc.
Plastic Headlamp,Plastic Cob Led Headlamp,Led Plastic Headlamp,Plastic Headlight Lens Headlamp
Cangnan Younglite Electrical Co., Ltd. , https://www.younglitetec.com