【编者按】网学网自动化PLC频道为大家收集整理了“数控切割机自动控制系统设计“提供大家参考,希望对大家有所帮助!
论文编号:DQ317 论文字数:10360,页数:30
摘 要
经过几十年的发展,数控切割机在切割能源和数控控制系统两方面取得了长足的发展,切割能源已由单一的火焰能源切割发展为目前的多种能源切割方式;数控切割机控制系统已由当初的简单功能、复杂编程和输入方式、自动化程度不高发展到具有功能完善、智能化、图形化、网络化的控制方式; 驱动系统也从的步进驱动、模拟伺服驱动到今天的全数字式伺服驱动。
首先对切割机机的工艺流程、性能指标和控制要求等进行了简要说明。接下去对硬件的组成和软件构成及编写进行了详细的介绍。该控制系统使用了RS-232-c串口来实现PC机与PLC之间的通信。PC机控制界面主要由Visual Basic语言来编写,并通过串口实现语句传输,来控制系统统。对PLC的输出采用了步进电机进行控制,使其快速准确的定位,来满切割机的精度要求。
关键词:可编程逻辑控制器 串口 切割系统
Abstract
After several decades of development, CNC cutting machine in cutting energy and the two NC control system had made great strides in development, cutting energy from a single flame cutting energy for the development of a variety of cutting energy; CNC cutting machine Control System has had a simple function, complex programming and input methods, not high degree of automation to the development of a comprehensive, intelligent, graphics, network-based control; drive from the stepping-driven, simulated Servo drives to today''''s all-digital servo drives.
First on the cutting machine processes, performance indicators and control requirements, such as a summary statement. Goes to the hardware and software composition and preparation of a detailed introduction. The control system uses the RS-232-c to achieve a PC serial port and communications between the PLC。 PC-controlled interface mainly by the Visual Basic language to the preparation and realization of statements by serial transmission, to control systems integration. The output of the PLC by the stepper motor control, so fast and accurate positioning, the cutting machine to full accuracy.
Keywords:PLC Serial ports Cutting system
目 录
摘要……………………………………………………………………………………………..I
Abstract……………………………………………………………………………………Ⅱ
1 绪论…………………………………………………………………………………………..1
1.1 切割机研究背景及意义…………………………………………………….……1
1.2 本论文的主要研究内容………………………………………………………………2
2 总体设计方案……………………………………………………………………………….3
2.1 生产工艺要求……………………………………………………………………..……3
2.2 系统总体结构设计……………………………………………….…….………..……..3
2.3 系统总体软件流程…………………………………………………………………..…4
3 系统硬设计…………………………………………………………………………..……....5
3.1 系统的硬件组成……………………………………………………………………….5
3.2 控制器模块……………………………………………………………..………..…….5
3.3 实验设备说明…………………………..………………………………………………7
3.4 执行机构…………………………..………………………………………………8
3.5 输入输出电路参数设计…………………………………………………………..…9
4 系统的软件设计…………………………………………………………………...………..10
4.1 PC与PLC的通信………………………………………………………….…….…10
4.1.1 RS-232-C串口及设置……………………………………………..…………...10
4.1.2 通信实现方法…………………………………………………….…………….12
4.2 切割机系统中MSComm控件的使用……………………………………..……..…14
4.2.1 切割机系统MSComm控件的嵌入步骤………………………..…………...14
4.2.2 MSComm控件属性及其设置………………………………….…………...15
4.3 VB程序编写………………………………………………………………………..….18
4.3.1 切割机界面设计…………………………………………………….………...18
4.3.2 切割机代码编写……………………………………………………..….……...18
4.4 PLC程序设计………………………………………………………………..…..…….20
4.4.1 直线插补程序分析…………………………………………………………...21
4.4.2 圆弧插补程序分析……………………………………...…………………...23
4.5 程序调试…………………………………………………………………..…..…….25
5 结论…………………………………………………………………………..…………..……27
5.1 论文的主要成果………………………………………………………………………27
5.2 存在的不足……………………………………………………………………………27
致谢…………………………………………………………………..…………………………...28
参考文献…………………………………………………………...….………………………...29