Application principle of numerical control protection for machine tools

Implementation Principle of LSWEDM Machine Power-Down Protection This article will introduce a power-down protection measure based on pure software. Of course, a power supply voltage detection signal is required and a UPS power supply is provided for the IPC. It is recommended that all CNC equipment that requires power-down protection function (hardware structure system: PC/IPC+DSP type CNC equipment, research object LSWEDM machine tool hardware structure system IPC+ motion control card) are equipped with a UPS power supply for IPC/PC. As long as the system has a power supply voltage detection device, when the power is unexpectedly lost (that is, the power is suddenly turned off, the power of the device can be restored in a short time UPS power supply time), the device is placed in a pause state, and then the device is powered on again before being executed. Purpose of short-term power failure protection

The following describes how to implement the protection problem of LSWEDM machine power failure for a long time. When the power-down signal is detected, the machine is paused and the data to be saved (such as block line number, power-down point coordinates and drawing parameters) is written to the database (there is only one data in the database table pow2erlosser, ie The current power-down point information, because only the current data is valid; after that, if the power supply cannot be powered normally in a short time, the IPC can be turned off. When the power returns to normal, restart the device and select the last processing information. When everything is ready, set the power-down flag to valid and execute. After pressing the execute button, the power-off flag is detected to be true when the program is executed. The machine state must be set to pause, and then the executed program must run the program to the position when the power is off. After running to the target position, the pulse power supply will enter the normal state. Processing stage. LSWEDM machine power failure protection process such as.

LSWEDM machine power-down protection implementation method Create a power-down information table (pow2erlosser) in the Access database, and create an ADO recordset smart pointer (2RecordsetPtrbRstd;) and connection library smart pointer for the table in the header file (2ConnectionPtrpConn; For the operation method of the ADO database interface, please refer to the related book collection). It is the user interface that is intercepted when the power-down signal is obtained during debugging. After detecting the power-down signal, the flag bPowerlosser is set to true, and the processing state is set to the pause state, in which the required saved data can be passed to the intermediate variable (the intermediate variable is a global variable and is a CString type variable). Then, the intermediate variable is passed to the corresponding field in the database. The key function that needs to be used is: pRstd->PutCollect("dCount", 2variant2t(strcount)); this function can be interpreted as: passing the value of the intermediate variable named str2count to the variable of the field name dCount in the database. After saving the data to the table (powerlosser), you can close the IPC.

After the power supply resumes normal power supply, the IPC is opened, the user interface is called up, and the field value of the data table (powerlosser) can be transmitted to the intermediate variable by clicking on the write information. The key function to be used is: pRstd->GetCollect ("dCount"); The function of this function is to read the value of the field named dCount in the database. After the intermediate variable gets the data value, it can be transmitted to each processing information (at this time, the operation state of the screen is still paused before the power is turned off, and the normal processing can be continued after the information is transmitted). This is the user interface that is intercepted from the power-down point until the end of processing by reading the data values ​​in the database. The two pieces together are a two-dimensional plan view of a complete profiled part.

Conclusion This paper proposes a software implementation method for power-off protection of machine tool numerical control system. With VC as the development platform, ADO database interface is the data storage object. Through the storage and reading of processing information data, the LSWEDM machine tool power-down protection is well solved. The problem. This method is suitable for all machine tool numerical control systems composed of PC/IPC+DSP. It not only reduces development cost, but also has higher stability and reliability, easier function upgrade and wide application space.

(Finish)

We supply turbocharger for Isuzu Heavy Machine . Such as the TA5108 model for the 6RB1-TRC  Isuze diesel engine and other turbo models.We can provide not only complete turbochargers, but also Turbo Spare Parts like chra, core, catridge, repair kits, compressor housing, compressor wheel, turbine housing and turbine wheel.

 

If you need turbo, please contact us and provide some details like photos, engine or part numbers to further confirm.

Isuzu Heavy Machine

Isuzu Heavy Machine,Heavy Machine Turbo,Isuzu Machine,Isuzu Earth Moving Trubo

Skydragon Turbocharger Manufacturing Co., Ltd , http://www.sdt-turbo.com

This entry was posted in on