The implementation of software of the monitoring in system of high-power solid laser beam machining and PLC communication

  • Time:
  • Click:94
  • source:WEINBERG CNC Machining
The inspect in introducing to leave system of high-power solid laser beam machining in two kinds of circumstances pulls the implementation of software and PLC communication, undertook comparative to two kinds of means. One kind is to use VB6.

The implementation of serial communication of the monitoring software of 0 development and PLC, gave out the implementation that specific example shows to; is the monitoring software that is based on feeling screen development and PLC communication a kind. In supervisory system of high-power solid laser, the control PLC of system of laser beam machining can collect the data of real time condition with system of memory laser beam machining, monitoring software inquires through timing these data will realize the monitoring function to laser. The article uses RS232 interface and VB6 with OMRON PLC respectively.

The monitoring software of 0 development has serial communication, and the communication that the stage amounts to PLC to use a stage to amount to software of feeling screen configuration to come true is exemple, research issues the news report of PLC and superstratum software in different situation. 1 be based on VB go up the communication monitoring function of a machine and PLC basically is reflected be opposite treatment system real time data is seasonable and accurate show and record it to basically be divided for control management module, data corresponds module, breakdown processing module, data processing module and, the data format that the operation that operates personnel instruction translate into consolidates passes serial communication port to send PLC to control module of communication of systematic 〔 data to be in charge of reading the data that takes PLC to control a system to be transmitted at the same time, call data processing module to undertake handling to its. The design of course of correspondence of the VB in monitoring software is as follows: (Port of 1) initialization communication is in system of high-power solid laser beam machining, supervisory system uses OMRON controallable process designing implement CQM1H series serves as leave an opportunity, average PC serves as go up a machine. Communication port is COM1 mouth, rate of baud of communication parameter set is 9600, occasionally desired result, 7 data, 2 stop. This parameter must install conform to with what PLC carries, cannot have news report otherwise. Particular program is as follows: (After 2) serial port is opened, the sends data form that has data wants a standard, include code of date of initial magic figures drawn by Taoist priests to invoke or expel spirits and bring good or ill fortune, node, caption, data, accord with of FCS, end. If send, is a string of data, go up a machine and PLC should unite data format, identify in order to facilitate. After computational good FCS, have frame send can. What a frame sends is the biggest data piece is 131 character, if over 13, character, before send beard fractionation becomes an above frame. When a group of deferent data should be decomposed, the first frame and the extreme of intermediate each frame replace those who end accord with to send 〔 with dividing line accord with below above the communication order that deferent power gives machine monitoring software PLC is exemple: (3)PC machine receives PLC to transmit data to transmit data by PLC, the program that has reception through monitoring software and this photograph are similar. The processing when the data in means of this kind of communication is deferent is relatively simple, overcame use the data that when defining data format oneself, appears to lose a phenomenon, can not have correctly be sent by accident and receive data. The interface of man-machine of newsletter industry level of software of 2 feeling screen and PLC) the small-sized workstation that can serve as PLC, have the function that connects line monitoring with PLC, and the configuration software that the capacity that uses character, number or graphical synchronism to show in-house contact condition and data felt screen manufacturer to offer this factory to feel screen product for the user each, these software offerred a variety of general tool module for the user, the user does not need to master too much programming language skill, can fulfil the almost all function of need of place of a project well. The stage amounts to feeling screen software is a kind among them, it passes the huge volume instruction with direct figure and photograph simpler contrast to edit systematic interface. Huge volume instruction is similar to PLC instruction, the basic function that PLC instruction can realize, huge volume instruction also can come true, and write a method relatively simple. Systematic hardware uses a stage to amount to series PLC and feeling screen, software includes configuration environment and moving environment two parts. Configuration environment uses design and construction from already applied system; runs environmental part criterion according to configuration the configuration project of the construction in the environment, the target that runs design of configuration of the user that finish and function give interface of systematic monitoring configuration in the development on the computer, set communication parameter, option of " of set of parameter of " model group chooses in menu of " option " , can play at this moment give a window, the set that has communication parameter in this window (if pursue,show) 1 times. After parameter set is good, in using the configuration project that has written USB to carry day to download to touch screen from inside the computer, can undertake use. By the graph 1 can see, the parameter that should have news report according to consultative set and PLC only can, go easily simply, in needing to undertake special process designing 〕 feels screen software, the executive process of the instruction follows PLC same, take inquiry kind, scan ceaselessly. In the some line Cheng in the process, inquire those who string together a mouth timely to receive buffer, if there is data to read access to if there is data in buffer,occupy; in buffer, this line Cheng will continue to carry out in usually, inquire a kind to means is the directest read the kind that string together a mouth, but because must undertake the mouth inquires stringing together ceaselessly, because this meeting takes up of a large number of CPU when ask. The good point that man of 3 last word hand compile labour to control software is flexibility tall, specific aim is stronger, can undertake the implementation of corresponding module according to systematic need, the cost of software is low but defect is workload time of bigger, expenses compares long, dependability poor, versatility is low, to different application the object should redesign a program, systematic part alters redesign with respect to what may bring about software. The stage amounts to the software that touchs screen to belong to small-sized configuration software, the function is strong, use convenient, the process designing technology with little very professional need, saved time and manpower resource. But also put in the function the finite, flexibility difference, defect that cannot satisfy certain and special requirement is accordingly in actual application, the characteristic that should be aimed at different system and requirement choice develop way differently, in an attempt to achieves optimal result. CNC Milling