plc控制数码管显示
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
一、设计目的
1、通过利用PLC控制数码管显示熟悉相关的编程应用
2、实现题目设计中要求的功能实现
二、设计要求
按下启动按钮后,由八组LED发光二极管模拟的八段数码管显示:先是一段段显示,显示次序是:A、B、C、D、E、F、G、H。随后显示数字及字符,显示次序0、1、2、3、4、5、6、7、8、9、a、b、c、d、e、f。再返回初始显示,并循环不止。
三、设计内容(可加附页)
1、列出输入输出表
2、画出系统接线图
3、根据控制要求设计出梯形图
4、写出指令表
LD 200.00 ANDNOT TIM000 LD TIM001 ANDNOT TIM002 ORLD
LD TIM002 ANDNOT TIM003 ORLD
LD TIM004 ANDNOT TIM005 ORLD
LD TIM005 ANDNOT TIM006 ORLD
LD TIM006 ANDNOT TIM007 ORLD
LD TIM007 ANDNOT TIM008 ORLD
LD TIM008 ANDNOT TIM009
ORLD
LD TIM009
ANDNOT TIM010
ORLD
LD TIM011
ANDNOT TIM012
ORLD
LD TIM013
ANDNOT TIM014
ORLD
LD TIM014
ANDNOT TIM015
ORLD
LD 200.01
ANDNOT TIM016
ORLD
OUT 10.00
LD 200.00
ANDNOT TIM000
LD TIM000
ANDNOT TIM001
ORLD
LD TIM001
ANDNOT TIM002
ORLD
LD TIM002
ANDNOT TIM003
ORLD
LD TIM003
ANDNOT TIM004
ORLD
LD TIM006
ANDNOT TIM007
ORLD
LD TIM007
ANDNOT TIM008
ORLD
LD TIM008
ANDNOT TIM009
ORLD
LD TIM009
ANDNOT TIM010 ORLD
LD TIM012 ANDNOT TIM013 ORLD
LD TIM016 ANDNOT TIM017 ORLD
OUT 10.01
LD 200.00 ANDNOT TIM000 LD TIM000 ANDNOT TIM001 ORLD
LD TIM002 ANDNOT TIM003 ORLD
LD TIM003 ANDNOT TIM004 ORLD
LD TIM004 ANDNOT TIM005 ORLD
LD TIM005 ANDNOT TIM006 ORLD
LD TIM006 ANDNOT TIM007 ORLD
LD TIM007 ANDNOT TIM008 ORLD
LD TIM008 ANDNOT TIM009 ORLD
LD TIM009 ANDNOT TIM010 ORLD
LD TIM010 ANDNOT TIM011 ORLD
LD TIM012 ANDNOT TIM013 ORLD LD TIM017
ANDNOT TIM018
ORLD
OUT 10.02
LD 200.00
ANDNOT TIM000
LD TIM001
ANDNOT TIM002
ORLD
LD TIM002
ANDNOT TIM003
ORLD
LD TIM004
ANDNOT TIM005
ORLD
LD TIM005
ANDNOT TIM006
ORLD
LD TIM007
ANDNOT TIM008
ORLD
LD TIM008
ANDNOT TIM009
ORLD
LD TIM010
ANDNOT TIM011
ORLD
LD TIM011
ANDNOT TIM012
ORLD
LD TIM012
ANDNOT TIM013
ORLD
LD TIM013
ANDNOT TIM014
ORLD
LD TIM018
ANDNOT TIM019
ORLD
OUT 10.03
LD 200.00
ANDNOT TIM000
LD TIM001
ANDNOT TIM002
ORLD
LD TIM005
ANDNOT TIM006
ORLD
LD TIM007
ANDNOT TIM008
ORLD
LD TIM009
ANDNOT TIM010
ORLD
LD TIM010
ANDNOT TIM011
ORLD
LD TIM011
ANDNOT TIM012
ORLD
LD TIM012
ANDNOT TIM013
ORLD
LD TIM013
ANDNOT TIM014
ORLD
LD TIM014
ANDNOT TIM015
ORLD
LD TIM019
ANDNOT TIM020
ORLD
OUT 10.04
LD 200.00
ANDNOT TIM000
LD TIM003
ANDNOT TIM004
ORLD
LD TIM004
ANDNOT TIM005
ORLD
LD TIM005
ANDNOT TIM006
ORLD
LD TIM006
ANDNOT TIM007
ORLD
LD TIM007