《电器与可编程控制器课程设计》
课程设计题目:四工位组合机床 班 级:电气工程及其自动化1班
姓 名: 学 号:
指 导 老 师:
2012 年 6 月28 日
1
目录
《电器与可编程控制器》课程设计任务书 ······························································································· 3
第1章 绪论 ··········································································································································· 5
1.1机床介绍 ········································································································································ 5 1.2 流程控制 ······································································································································· 6 1.3 设计过程 ······································································································································· 7
第二章 硬件设计 ···································································································································· 8
2.1 硬件清单 ······································································································································· 8 2.2 地址分配 ······································································································································· 9 2.3控制系统的PLC I/O接线图 ······································································································· 10 2.4 主轴电动机的电气原理图 ········································································································· 12
第三章 软件设计 ········································································································································· 13
3.1 状态转移图 ································································································································· 13 3.2公共模块 ······································································································································ 14 3.3总程序 ·········································································································································· 14 3.4指令程序清单 ······························································································································ 20
第4章 操作与调试 ······························································································································ 24
参考文献 ······················································································································································· 24
总结 ································································································································································ 24
2
《电器与可编程控制器》课程设计任务书
学年学期:2011/2012 第2学期 专业班级:09电气工程及其自动化 指导教师:刘美俊
设计时间:2012年6月25日~30日 学时周数:1周 一、设计目的
本课程设计是电气工程专业教学计划中不可缺少的一个综合性教学环节,是实现理论与实践相结合的重要手段。它的主要目的是培养学生综合运用本课程所学知识和技能去分析和解决本课程范围内的一般工程技术问题,建立正确的设计思想,掌握工程设计的一般程序和方法。通过课程设计使学生得到工程知识和工程技能的综合训练,获得应用本课程的知识和技术去解决工程实际问题的能力。 二、设计任务及要求 设计任务
四工位组合机床由四个工作滑台各载一个加工动力头,组成四个加工工位完成对零件进行铣端面、钻孔、扩孔和攻丝等工序的加工,采用回转工作台传送零件,有夹具、上、下料机械手和进料器四个辅助装置以及冷却和液压系统。系统中除加工动力头的主轴由电动机驱动以外,其余各运动部分均由液压驱动。机床的四个动力头同时对一个零件进行加工,一次加工完成一个零件。
本机床共有连续全自动工作循环、单机半自动循环和手动调整三种工作方式。连续全自动和单机半自动循环的控制要求为:按下启动按钮,上料机械手向前,将待加工零件送到夹具上,同时进料装置进料,然后上料机械手退回原位, 送料装置放料,回转工作台自动微抬并转位,接着四个工作滑台向前,四个动力头同时加工,加工完成后,各工作滑台退回原位,下料机械手向前抓住零件,夹具松开,下料机械手退回原位并取走已加工完的零件,完成一个工作循环,并开始下一个工作循环,实现全自动工作方式。如果选择预停,则每个工作循环完成后,机床自动停止在初始位置,等到再次发出启动命令后,才开始下一个循环,这就是半自动循环工作方式。
1.根据控制对象的用途、基本结构、运动形式、工艺过程、工作环境和控制要求,确定控制方案。
2. 绘制主轴电动机的电气原理图、控制系统的PLC I/O接线图和梯形图,写出指令程序清单。
3.选择电器元件,列出电器元件明细表。
3
4.编写设计说明书。 设计要求
1、所选控制方案合理,所设计的控制系统能够满足控制对象的工艺要求,并且技术先进,安全可靠,操作方便。
2.所绘制的设计图纸符合国家标准局颁布的GB4728-84《电气图用图形符号》、GB6988-87《电气制图》、GB7159-87《电气技术中的文字符号制定通则》。 3.所编写的设计说明书应重点突出,层次清楚,条理分明,篇幅不少于7000字。
三、设计时间进度安排
1.2012年6月25日上午:课题内容介绍。
2.2012年6月25日下午:仔细阅读设计任务书,明确设计任务与要求,收集设计资料,准备设计工具。确定控制方案。绘制电气原理图、控制系统的PLC I/O接线图和梯形图,
3.2012年6月26日~2012年6月28日:写出指令程序清单。设计控制系统的工艺图纸。选择电器元件,列出电器元件明细表。
4. 2012年6月29日上午:编写设计说明书,准备答辩。 5. 2012年6月29日下午:答辩。 四、成绩考核
设计70% 答辩与考勤30% 五、报告书写格式
1.课程设计说明书封面。 2.课程设计任务书。 3.说明书目录。 4.前言。 6.总结。 7.参考文献。 六、参考资料
1. 刘美俊 电气控制与PLC工程应用[M] 北京 机械工业出版社 2011年 2 刘美俊.可编程控制器应用技术[M].福州:福建科技出版社,2006
3 刘美俊.PLC控制系统故障检测与显示[J].上海:低压电器,2002,4:32~49
4 刘美俊.PLC在四工位组合机床控制系统中的应用[J].大连:组合机床与自动化加工技术,2003.5:73~74
5 刘美俊.PLC在压滤机控制系统中的应用[J].大连:组合机床与自动化加工 技术,2003.11:58~59
4
5.正文(按设计内容逐项书写)。
第1章 绪论
机床控制是PLC的主要应用领域之一。传统上,机床的控制大多使用继电器逻辑控制系统,这种控制系统功能比较单一,在用于具有复杂逻辑关系的机床控制时,电路复杂,元器件多,可靠性差。用PLC对机床控制进行技术改造是PLC的主要应用领域之一
1.1机床介绍
机床由四个工作滑台各载一个加工动力头,组成四个加工工位。上图所示为该机床十字轴铣端面打中心孔的俯视示意图。除了四个加工工位外,还有夹具,上、下料机械手和进料器四个辅助装置以及冷却和液压系统共14个部分。机床的四个加工动力头同时对一个零件的四个端面及中心孔进行加工。一次加工完成一个零件,由上料机械手自动上料,下料机械手自动取走加工完成的零件
5