《PLC中英文资料外文翻译1.doc》由会员分享,可在线阅读,更多相关《PLC中英文资料外文翻译1.doc(23页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、可编程控制器技术讨论与未来发展摘自可编程控制器技术讨论与未来发展数字媒体系 08165110 多衡 随着时代的发展,当今的技术也日趋完善、竞争愈演愈烈;单靠人工的操作已不能满足于目前的制造业前景,也无法保证更高质量的要求和高新技术企业的形象.人们在生产实践中看到,自动化给人们带来了极大的便利和产品质量上的保证,同时也减轻了人员的劳动强度,减少了人员上的编制.在许多复杂的生产过程中难以实现的目标控制、整体优化、最佳决策等,熟练的操作工、技术人员或专家、管理者却能够容易判断和操作,可以获得满意的效果.人工智能的研究目标正是利用计算机来实现、模拟这些智能行为,通过人脑与计算机协调工作,以人机结合的模
2、式,为解决十分复杂的问题寻找最佳的途径我们在各种场合看到了继电器连接的控制,那已经是时代的过去,如今的继电器只能作为低端的基层控制模块或者简单的设备中使用到;而PLC的出现也成为了划时代的主题,通过极其稳定的硬件穿插灵活的软件控制,使得自动化走向了新的高潮。PLC的最大特点在于:电气工程师已不再电气的硬件上花费太多的心计,只要将按钮开关或感应器的输入点连接到PLC的输入点上就能解决问题,通过输出点连接接触器或继电器来控制大功率的启动设备,而小功率的输出设备直接连接就可以。PLC的内部包含了具有中央处理器的CPU,并带有外部I/O口扩展的I/O接口地址和存储器三大块组成,CPU的核心是由一个或者
3、多个累加器组成,它们具有逻辑的数学运算能力,并能读取程序存储器的内容通过计算后去驱动相应的存储器和I/O接口;I/O口将内部累加器和外部的输入和输出系统连接起来,并将相关的数据存入程序存储器或者数据存储器中;存储器可以将I/O口输入的数据存入存储器中,并在工作时调转到累加器和I/O接口上,存储器分程序存储器ROM和数据存储器RAM,ROM可以将数据永久的存入存储器中,而RAM只能作为CPU计算时临时计算使用的缓冲空间。PLC的抗干扰是极其优秀的,我们根本不用去关心它的使用寿命和工作场合的恶劣,这些所有的问题已不再成为我们失败的主题,而留给我们的是关心如何来利用PLC的内部资源为我们加强设备的控
4、制能力,使我们的设备更加的柔性。PLC的语言并不是我们所想象的汇编语言或C语言来进行编程,而是采用原有的继电器控制的梯形图,使得电气工程师在编写程序时很容易就理解了PLC的语言,而且很多的非电气专业人士也对PLC很快认识并深入。以上仅仅是PLC的优点之一,这也是人们比较容易理解的一部分,在很多的设备中,人们已不再希望看到太多的控制按钮,它们不但容易损坏而且极易产生人为的失误,小的并不是主要的失误也许你还能够接受;但过大的甚至是致命的失误是我们无法容忍的。新的技术总是为了给我们带来更安全和便捷的操作,使得我们面临的一大堆问题一扫而光,你有了解过HMI吗?这里说HMI你根本不清楚它是什么,也没有兴
5、趣了解,换一个中文把它说明为触摸屏或者人机界面你就知道了,它和PLC的结合给了我们更大的空间。HMI控制不仅仅是减少了控制按钮,增加控制的灵活性,更主要的它是可顺序性的,而且在能够改变数据输入和数据输出反馈,在温度控制曲线的模拟也能直观的显示出来。并且能够通过编写功能帮助程序来提供各种力所能及的帮助,使得操作者减少不必要的失误。HMI的厂商目前也越来越多,功能也越来越强,价格也越来越低,使用的面越来越广。HMI的前景可以说十分的看好。在很多场合,单靠单机的控制是无法保证设备的顺畅运行,而通过设备与设备的信息交流达到我们想要的效果。比如在前包装和后工序的检测,我们就要将包装的信息反馈到检测处,而
6、检测处的信息也要反馈到包装来。这样通过信息共享来使得两者之间链接起来,形成一个共体,从而使的两者间的配合更加的紧密,在彼此间达到映影相挥的效果。PLC的通信已经愈来愈体现它的价值,在PLC与PLC之间的通信,能够通过信息的沟通和数据的共享来保证设备之间的相互协调,已达到互补的效果。PLC之间的数据转换采用RS232接口来传送数据,而RS232接口只能保证10米的传输距离,如果在1000米的距离内我们可以通过RS485来进行通信,更长的距离只能通过MODEL来进行传输。PLC的数据传送只是将内部的数据传送到对方的一块连续的地址中,我们把它称为一个表,对方的PLC通过读取表中的数据来进行操作。如果
7、表中的数据是一个一般设置的数据的话,那只是一般的数据传送,比如今天的油价上升了,我要把油价的价格传送到所有的输油机上,那就是数据的共享;而当表中的数据是一段控制PLC的指令程序,那就很有难度了,比如你要控制一台机器人来按你想象的动作工作,你会给它编制一段程序并以数据的形式发送过去。信息输送的形式有单工位、半双工位和全双工位的分别。单工位的意义也就是说两者之间,一个只能发送,而一个只能接收,比如一个特务他只能接收上司的指示,而无法给上司回复;半双工位也就是两个能都能发送和接受数据,但不能同时发送和接受,比如你打电话时是不能接电话,对方也一样;而全双工位是两者之间都能发送和接受数据,并可同时发送和
8、接受。像互联网就是典型的例子。信息输送的过程也有同步和异步之分:同步的意义在于发送数据时数据线和时钟线是同步的,也就是数据信号和时钟信号同时由CPU进行发送,这需要彼此都要专门的时钟信号来进行传送和接送,并且是强制性的,这种方法的特点在于它的速度极快、但相应占用CPU的工作时间也相对的要长、同时技术难度也非常的大。它的要求在于在一帧的数据传送中不能有一位的误差,不然的话整个数据将发生错误,这在硬件上是一个比较大的难度。在一些专用的设备中应用的越来越广泛,像专用的医疗设备、数字信号设备等,在比较单一数据的传输中,它的效果非常的好。而异步是应用范围最广泛的,这得益于它的技术难度相对要小、同时不需要
9、配制专门的时钟信号、它的特点在于,它的数据是间隔性的,离散性的发送和接受,当CPU太忙的时候可以停顿性去工作,在硬件上也减少了难度,同时数据的丢失相对要少,我们可以通过数据的检测来观察我们发送的数据是否有错误,像奇偶法、累加法和八位效验法等,都可以用来帮助我们检测发送的数据是否有错误发生,通过反馈来进行辨别。信息的传送口线有串口和并口之分:通常的PLC是8位机,当然也有16位机。我们在发送数据的时候可以是一位一位的发送给对方,也可以8位8位的将数据发送到对方,一位和8位区别也就是我们所说的串口发送数据和并口发送数据。串口速度比较慢,但只要两条或者三条口线就能解决问题,并能借用电话线来进行远程控
10、制。而并口的传送速度是极快的,它是串口的256倍,在短距离占有优势,由于是TTL电平,一般限于1米的范围,它并不适用于长距离的数据传送,这样成本太昂贵了。很多的情况下我们总喜欢采用串并转换芯片来进行传输,这种情况下不需要我们进行过于复杂的寄存器设置了,而直接通过数据传送指令进行数据交流,但在通信中并不是一个十分可行的办法,因为在发送数据的时候对方的PLC必须一直等待你的数据输出,它不能去做其他的工作。当你在看书的时候,你听到有人敲门、你停下手上的事情、去打开门、并同敲门者对话、这个时候电话响了、你示意接个电话、在接完电话后、回过头来同敲门者继续对话、对话完毕后、你再继续看你的书,这种情况我们把
11、它称为中断,它具有权威性,也具有优先性,PLC具备了这样的功能。它的特点在于我们在设备的操作过程中可能会遇到紧急的突发事件,我们要立刻的停下手上的工作,去处理更重要的事情,这种情况是我们经常所遇到的,PLC在去执行紧急的任务时,总会先保存目前的状态,比如程序的地址,CPU的累加器数据等,就像我们去开门时要记下我们看的书在第几页了或者干脆作个记号,因为我们待会还要继续接着看后面的书。CPU总是按照我们的意愿去做应该做的事情,但你错误的给它一件事情,它也会同样的去做,这一点我们必须注意。中断并不是只有一个,有时会同时存在几个中断,中断具有优先的级别,他们会根据人的要求去执行更高级别的中断。这种中断
12、中的中断也就形成了中断嵌套。当然中断的级别根据各种PLC内部CPU的资源有关,同时也跟堆栈的容量大小也有关系。中断的内容有很多种,比如外部中断、通信中的发送和接受中断、定时和计数的时钟中断、还有WDT复位中断等,它们丰富了CPU在处理各种事务时响应种类。这样讲也许你并不能完全理解中断的内部结构和操作顺序,我们做一个小小的例子来说明.每一个设备总是不会忘记有一个按钮,它也是在我们遇到紧急情况时使用的,那就是急停按钮。当我们遇到人身事故和意外情况时我们只要按下它,机器立即停止所有的操作,并等待处理完意外后再恢复操作。急停按钮连接PLC内部CPU的内部I/O接口上,当按钮给CPU一个外部触发信号时,
13、CPU对I/O进行再次检测,当确认有外部触发信号时,CPU保护现场并将程序计数器自动转到相应的外部I/O中断程序中去,当外部中断程序处理完毕,程序计数器返回到主程序继续工作。有一点可以说明的是我们一般会把急停按钮的外部中断升至最高级别,从而保证安全。当我们在工作完一个工件时,给PLC一个信号,将PLC的内部计数器加1来计算我们一天的工作量时,一个简单的计数器能解决问题,当然它们也能够在掉电的情况下保持数据,促使数据不丢失,这也是我们所渴望的。PLC还具有高级计数器的功能,当我们在接受一些高速的数据时,这里所说的高速是在在微秒级的数据,比如条码扫描机在不断的扫描数据,数据处理器DSP计算的高速信
14、号等,我们就要采用到高级计数器来帮助我们进行计数。它在PLC执行程序时一旦发现高级计数器对应的中断,就会立即放下手上的工作。经过再次编程的梯形图程序说明我们在执行程序时高级计数器会自动的执行对应的工作,从而将高级计数器的级别升至高一级别。你也许听过太多的这个词:“死机”,大致的意思是CPU工作量过大,内部资源不足等情况造成程序无法运行。PLC也有类似的情况,在PLC内部有一个看门狗WDT,我们可以设置WDT一个程序运行的时间,当程序运行过程中出现程序跳转错误时或者程序繁忙时,程序的运行时间超过WDT的设置时间,CPU转而WDT复位状态。程序重新开始运行,但对中断不会进行破坏。PLC的发展已经从
15、单一的模式进入了通信的网络时代,并同其它的工控网板和I/O卡板轻易的进行共享。组态软件可以将所有的这些硬件连接起来,通过更直观的动画图片来进行控制,并可以通过互联网在异地进行控制,像神舟五号的发射就是采用这种办法来使飞船升空。更高层次的发展需要我们不断的努力来取得。PLC的出现已经足足影响了几代人,我们也从上一辈的经验中获取了更多的知识和教训,来不断的发展PLC技术,将它推向更高浪潮。英文原稿PLC technique discussion and future developmentAlong with the development of the ages, the technique t
16、hat is nowadays is also gradually perfect, the competition plays more more strong; the operation that list depends the artificial has already cant satisfied with the current manufacturing industry foreground, also cant guarantee the request of the higher quantity and high new the image of the techni
17、que business enterprise.The people see in produce practice, automate brought the tremendous convenience and the product quantities for people up of assurance, also eased the personnels labor strength, reduce the establishment on the personnel. The target control of the hard realization in many compl
18、icated production lines, whole and excellent turn, the best decision etc., well-trained operation work, technical personnel or expert, governor but can judge and operate easily, can acquire the satisfied result. The research target of the artificial intelligence makes use of the calculator exactly t
19、o carry out, imitate these intelligences behavior, moderating the work through persons brain and calculators, with the mode that persons machine combine, for resolve the very complicated problem to look for the best pathWe come in sight of the control that links after the electric appliances in vari
20、ous situation, that is already the that time generation past, now of after use in the mold a perhaps simple equipments of grass-roots control that the electric appliances can do for the low level only;And the PLC emergence also became the epoch-making topic, adding the vivid software control through
21、 a very and stable hardware, making the automation head for the new high tide.The PLC biggest characteristics lie in: The electrical engineering teacher already no longer electric hardware up too many calculationses of cost, as long as order the importation that the button switch or the importation
22、of the sensors order to link the PLC up can solve problem, pass to output to order the conjunction contact machine or control the start equipments of the big power after the electric appliances, but the exportation equipments direct conjunction of the small power can.PLC internal containment have th
23、e CPU of the CPU, and take to have an I/ O for expand of exterior to connect a peoples address and saving machine three big pieces to constitute, CPU core is from an or many is tired to add the machine to constitute, mathematics that they have the logic operation ability, and can read the procedure
24、save the contents of the machine to drive the homologous saving machine and I/ Os to connect after pass the calculation; The I/ O add inner part is tired the input and output system of the machine and exterior link, and deposit the related data into the procedure saving machine or data saving machin
25、e; The saving machine can deposit the data that the I/ O input in the saving machine, and in work adjusting to become tired to add the machine and I/ Os to connect, saving machine separately saving machine RAM of the procedure saving machine ROM and datas, the ROM can can do deposit of the data perm
26、anence in the saving machine, but RAM only for the CPU computes the temporary calculation usage of hour of buffer space.The PLC anti- interference is very and excellent, our root need not concern its service life and the work situation bad, these all problems have already no longer become the topic
27、that we fail, but stay to our is a concern to come to internal resources of make use of the PLC to strengthen the control ability of the equipments for us, make our equipments more gentle.PLC language is not we imagine of edit collected materials the language or language of Cs to carry on weaving th
28、e distance, but the trapezoid diagram that the adoption is original after the electric appliances to control, make the electrical engineering teacher while weaving to write the procedure very easy comprehended the PLC language, and a lot of non- electricity professional also very quickly know and go
29、 deep into to the PLC.Is PLC one of the advantage above and only, this is also one part that the people comprehend more and easily, in a lot of equipmentses, the people have already no longer hoped to see too many control buttons, they damage not only and easily and produce the artificial error easi
30、est, small is not a main error perhaps you can still accept; But lead even is a fatal error greatly is what we cant is tolerant of. New technique always for bringing more safe and convenient operation for us, make we a lot of problems for face on sweep but light, do you understand the HMI? Says the
31、HMI here you basically not clear what it is, also have no interest understanding, change one inside text explains it into the touch to hold or man-machine interface you knew, it combines with the PLC to our larger space.HMI the control not only only is reduced the control press button, increase the
32、vivid of the control, more main of it is can sequence of, and at can the change data input to output the feedback with data, control in the temperature curve of imitate but also can keep the manifestation of view to come out. And can write the function help procedure through a plait to provide the h
33、elp of various what lies in ones power, the one who make operate reduces the otiose error. Currently the HMI factory is also more and more, the function is also more and more strong, the price is also more and more low, the noodles of the usage are wide more and more. The HMI foreground can say that
34、 think to be good very.At a lot of situations, the list is is a smooth movement that cant guarantee the equipments by the control of the single machine, but pass the information exchanges of the equipments and equipments to attain the result that we want. For example fore pack and the examination of
35、 the empress work preface, we will arrive wrapping information feedback to examine the place, and examine the information of the place to also want the feedback to packing. Pass the information share thus to make both the chain connect, becoming a total body, the match of your that thus make is more
36、 close, at each other attain to reflect the result that mutually flick.The PLC correspondence has already come more more body now its value, at the PLC and correspondence between PLCs, can pass the communication of the information and the share of the datas to guarantee that of the equipments modera
37、tes mutually, the result that arrive already to repair with each other. Data conversion the adoption RS232 between PLC connect to come to the transmission data, but the RS232 pick up a people and can guarantee 10 meters only of deliver the distance, if in the distance of 1000 meters we can pass the
38、RS485 to carry on the correspondence, the longer distance can pass the MODEL only to carry on deliver.The PLC data transmission is just to be called a form to it in a piece of and continuous address that the data of the inner part delivers the other party, we, the PLC of the other party passes to re
39、ad data in the watch to carry on the operation. If the data that data in the watch is a to establish generally, that is just the general data transmission, for example today of oil price rise, I want to deliver the price of the oil price to lose the oil ally on board, that is the share of the data;
40、But take data in the watch for an instruction procedure that controls the PLC, that had the difficulty very much, for example you have to control one pedestal robot to press the action work that you imagine, you will draw up for it the form that a procedure combine with the data sends out to pass by
41、.The form that information transport contain single work, the half a work and the difference of a workses .The meaning of the single work also is to say both, a can send out only, but a can receive only, for example a spy he can receive the designation of the superior only, but cant give the superio
42、r reply; A work of half is also 2 and can can send out similar to accept the data, but cant send out and accept at the same time, for example when you make a phone call is to cant answer the phone, the other party also; But whole pair works is both can send out and accept the data, and can send out
43、and accept at the same time. Be like the Internet is a typical example.The process that information transport also has synchronous and different step cent: The data line and the clock lines are synchronous when synchronous meaning lie in sending out the data, is also the data signal and the clock si
44、gnals to be carry on by the CPU to send out at the same time, this needs to all want the specialized clock signal each other to carry on the transmission and connect to send, and is constrained, the characteristics of this kind of method lies in its speed very quick, but correspond work time of take
45、 up the CPU and also want to be long oppositely, at the same time the technique difficulty also very big. Its request lies in canting have an error margins in a datas deliver, otherwise the whole piece according to compare the occurrence mistake, this on the hardware is a bigger difficulty. Applied
46、more and more extensive in some appropriative equipmentses, be like the appropriative medical treatment equipments, the numerical signal equipments.etc., in compare the one data deliver, its result is very good.And the different step is an application the most extensive, this receive benefit in it o
47、f technique difficulty is opposite and want to be small, at the same time not need to prepare the specialized clock signal, its characteristics to lie in, its data is partition, the long-lost send out and accept, be the CPU is too busy of time can grind to a stop sex to work, also reduced the diffic
48、ulty on the hardware, the data throw to lose at the same time opposite want to be little, we can pass the examination of the data to observe whether the data that we send out has the mistake or not, be like strange accidentally the method, tired addition and eight efficacies method etc., can use to
49、helps whether the data that we examine to send out have or not the mistake occurrence, pass the feedback to carry on the discriminator.A line of transmission of the information contain a string of and combine the cent of: The usual PLC is 8 machines, certainly also having 16 machines. We can be an at the time of sending out the data a send out to the other party, also can be 88 send out the data to the other party, an and 8 differentiationses are also the as that we say to send o
限制150内