预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共35页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

基于PLC的交通灯控制器设计与实现 摘要 PLC可编程序控制器是以微处理器为基础,综合了计算机技术、自动控制技术和通讯技术发展而来的一种新型工业控制装置。它具有结构简单、编程方便、可靠性高等优点,已广泛用于工业过程和位置的自动控制中。据统计,PLC、机器人、CAD/CAM将成为工业生产的三大支柱。由于PLC具有对使用环境适应性强的特性,同时其内部定时器资源十分丰富,可对目前普遍使用的“渐进式”信号灯进行精确控制,特别对多岔路口的控制可方便地实现。因此现在越来越多地将PLC应用于交通灯系统中。 本设计是以PLC控制为核心的交通灯,选用西门子S7-200系列CPU226型主机,5个EM222(DO8×直流24V)型数字量扩展模块,并利用定时、计数器作定时计数用,LED七段数码管作为计时显示用。利用CPU226的2个输入点作为启动按钮和停止按钮,16个输出点和一个EM222扩展模块的输出点作为东西方向和南北方向的左转、右转、直行的红、黄、绿灯。并利用4个EM222的28个输出点分别作为东西方向和南北方向的数码管个、十位显示输出。本交通灯系统简单,实用性强,成本低,使用维护方便,软件功能强,运行稳定可靠等优点。 关键词:PLC,交通灯,倒计数,显示 AbstractPLCprogrammablelogiccontrollerisamicroprocessor-based,integratedcomputertechnology,automaticcontroltechnologyandcommunicationtechnologiesdevelopedfromanewtypeofindustrialcontroldevices.Ithasasimplestructure,easyprogramming,highreliability,hasbeenwidelyusedforindustrialprocessandlocationoftheautomaticcontrol.Accordingtostatistics,PLC,robotics,CAD/CAMwillbethethreepillarsofindustrialproduction.TheuseofthePLChasthecharacteristicsofenvironmentaladaptability,whileitsinternaltimerresourcesareveryrich,thecurrentwidespreaduseofthe"progressive"signalforprecisecontrol,particularlycontrolofmulti-forkcanbeeasilyachieved.Therefore,thePLCisnowincreasinglyusedintrafficlightssystem.ThedesignisbasedonPLCcontrolasthecoreofthetrafficlights,useofSiemensS7-200seriesCPU226-typehost,5EM222(DO8×DC24V)digitalexpansionmodules,anduseregular,routinecountingcounter,LEDsevensegmentUsedasadigitaltimedisplay.UsingCPU226ofthetwoinputpointsasthestartbuttonandstopbutton,and16outputpointsandanEM222expansionmodule'soutputpointsasthedirectionofeast-westandnorthandsouthturnleft,turnright,gostraightred,yellow,green.EM222using4outputpoints,respectively,of28east-westandnorth-southdirectionasthedigitalcontrolaten-bitdisplayoutput.Thetrafficlightsystemissimple,practical,lowcost,easymaintenance,softwarefunctionisstrong,stableandreliable.Keywords:PLC,trafficlights,countdowndisplay 目录 TOC\o"1-2"\h\z\uHYPERLINK\l"_Toc250716638"摘要 PAGEREF_Toc250716638\hI HYPERLINK\l"_Toc250