The CNC three-dimensional drilling machine is a device that can perform precise drilling on three surfaces of H-beam simultaneously. It has 7 CNC axes, and the processing program can be directly generated using CAD/CAM. The maximum processing H-beam cross-sectional dimension (web height x flange width) is 1000x500mm, and the maximum drilling diameter is Ф33.5mm. The control system is composed of computer numerical control system, AC servo system, photoelectric encoder, PLC, etc. Just input the workpiece size to automatically generate the processing program, and it can also store, call, display and process H-beam at any time according to the part number.