Discussion and entry into the numerical control construction operation in the development

In the modeling process, the system uses the Visual C6.0 language to encode, and uses the standard graphical interface to achieve support for OpenGL. Due to the good portability of OpenGL, especially in combination with VisualC object-oriented programming software, the MFC class library is used as the interface between OpenGL and Windows, and the dynamic link library is compiled to enhance the ability of other application calls. Developed graphics software that not only has a three-dimensional effect, but also provides good interactive functions, so that the graphics effects can be directly controlled. Therefore, the development of the system uses OpenGL to implement the virtual reality interface.

Using OpenGL to build a 3D model of a CNC machining system. Using GDI for Windows to call the corresponding function through the device description table (DC); similar to OpenGL drawing, OpenGL function is to complete the rendering of 3D graphics through the rendering description table (RC). . The window and device description table under Windows supports the bitmap format attribute, which is consistent with the RC structure of the bitmap. As long as the RC is connected to a DC when creating the RC, the OpenGL function can be drawn to the corresponding display device via the DC corresponding to the RC.

After the above analysis, the steps to establish a simulation model based on OpenGL with Visual C are as follows: Create a project file NCSystem, including header files and function library files gl\gl.h, gl\glu.h, gl\glaux.h, opengl32.lib, Glu32.lib, glaux.lib file.

The custom return type BOOL protected member function bSetupPixelFormat sets the pixel format and calls it in the OnCreate function in the View class. Define the Protected member function Init whose return type is void, create a coloring description table and initialize the coloring description table. After the execution is completed, use the OnDestroy function in the View class to delete the coloring description table and the device description table bound to the coloring description table. . Init is called in the OnCreate function, so that the OpenGL kernel is notified that the pixel format and coloring description table have been correctly created and managed effectively. Add cs.style|=WS_CLIPCHILDREN|WS_CLIPSIBLINGS to the PreCreateWindows function. Next edit the program in the Init function to get the size of the client area, eliminate the depth cache, start the depth test, and start the OpenGL model transformation. Call the custom DrawScene function in the OnDraw function in the View class to complete the model drawing. Use the SwapBuffers function to exchange the content display models in the two caches.

In this way, a visual simulation model framework for NC machining based on OpenGL standard is constructed. The function and design main interface completed by the main interface are divided into three areas: the dynamic display area of ​​the data, the dynamic display area of ​​the track, and the display area of ​​the processing program. The dynamic display area of ​​the data includes the workpiece coordinates and machine coordinate values, the relative coordinate value display of each machining segment, and the display of the tool number, spindle speed, and feed speed during machining. From the main interface, directly enter the machine adjustment interface, NC code editing and compilation interface, automatic processing interface, system parameter setting interface.

Conclusion In the VC development environment, a standard program framework based on OpenGL is built, which realizes the simulation system of CNC machining and milling movement, shortens the development cycle, saves money, and builds a visual test platform for new research methods and theories. It can be used as a manufacturing unit tool in virtual manufacturing to realize digital production of products. At the same time, the system has the following characteristics: (1) portability: although it is developed on the WindowsXP platform, it uses OpenGL to generate graphics, which is independent of the window system and operating system, so it is very convenient to transplant between various platforms; 2) Authenticity: Due to the use of solid modeling, combined with a series of special treatments such as illumination, texture, color, etc., the simulation processing environment is closer to reality; (3) Easy development: the use of OpenGL reduces the programming amount of system graphics, development Without having to master a large amount of graphics knowledge, you can concentrate on mastering difficult algorithmic problems.

(Finish)

Welding Turning Rolls

Turning rolls refers to the use of welding pieces and the friction between the active roller to drive the cylindrical welding device rotation device. Self-adjusting turning roller for circular tube welding, the distance between the rollers can be adjusted according to the size of the cylinder, a variety of specifications for the user to choose the turning roller.

As per the market demanding, we have developed and designed kinds series of turning rolls to satisfy the customer`s requests, such as KT series adjustable turning rolls, KTS serise manual adjustable turning rolls, KTD series electric adjustable turning rolls, KTF series heavy duty anti-creep adjustable turning rolls and ZT series self-aligning turning rolls. As per the customer`s requests, we can design ang manufacture non-standard turning rolls, such as turning rolls with trolley, inclining turning rolls, hydrulic elevation turning rolls and assembly turning rolls and so on.

KT Series Adjustable Welding Turning Rolls

Kt Welding Turning Roll 2

Composition and characteristics of the welding turning roller

1 The KT adjustable turning rolls include one power bed and one idle bed.The turning rolls below 40T adopt helical-worm &cycloidal pin wheel decelerator,and over 40T adopt cycloidal pin wheel or helical-worm decelerator.

2 The series turning rolls adopts screw to adjust,available for changes of workpiece diameter,simple structure and economy

3 The wheels are new combination style ,one rubber wheel and two steel wheels,with big load capacity ,big friction,strong drive and glue force

4 Imported transducer realized the stepless regulation with wide speed range ,high precision and big starting moment

5 The control system has the synchronized linkage interface with manipopulator and has remote controller ,easy and reliable.

ype

Load

(t)

Line speed

(mm/min)

Workpiece diameter(φ)

Wheel Size(mm)

Power(KW)

Size(mm)

Input voltage

Dia.

Wid.

L

W

H

KT-3

3

100-1000

250-2500

250

140

0.18*2

1977

468

375

Three-phase 380v

KT-5

5

100-1000

250-3000

250

140

0.25*2

2760

470

415

KT-10

10

100-1000

300-3500

300

170

0.37*2

2920

525

535

KT-20

20

100-1000

400-4500

350

180

0.55*2

3010

540

635

KT-30

30

100-1000

400-4500

350

180

0.75*2

3030

610

635

KT-40

40

100-1000

500-5000

400

200

0.75*2

3335

915

695

KT-50

50

100-1000

500-5000

450

220

1.10*2

3400

1055

810

KT-60

60

100-1000

500-5500

450

220

1.10*2

3570

1055

810

KT-80

80

100-1000

800-5500

500

240

1.50*2

3520

1130

900

KT-100

100

100-1000

800-5500

500

240

2.20*2

3450

1150

900

KT-200

200

100-1000

800-6000

600

240

2.20*2

4250

1190

1050

KT-300

300

100-1000

1000-6500

640

250

3.00*2

5400

1320

1150

KT-500

500

100-1000

1000-8000

700

300

5.50*2

6200

1580

1460

KT-800

800

100-1000

1000-8000

800

350

11.0*2

6880

1900

1825



Welding Turning Rolls,Pipe Turning Rolls,Ransome Turning Rolls,Tank Turning Rolls

SHIJIAZHUANG LONGXUAN TRADING CO., LTD , https://www.longxuanmachines.com