中英文文献翻译-PLC控制器的简介

发布时间:2014-11-08 23:19:29

英文原文

Introduction To PLC Controllers

Along with the development of the ages, the technique that is nowadays is also gradually perfect, the competition plays more strong; the operation that list depends the artificial has already can't satisfied with the current manufacturing industry foreground, also can't guarantee the request of the higher quantity and high new the image of the technique 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 personnel's labor strength, reduce the establishment on the personnel. The target control of the hard realization in many complicated 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 to carry out, imitate these intelligences behavior, moderating the work through person's brain and calculators, with the mode that person's machine combine, for resolve the very complicated problem to look for the best path

We come in sight of the control that links after the electric appliances in various 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 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 calculations of cost, as long as order the importation that the button switch or the importation 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 the CPU of the CPU, and take to have an I/ O for expand of exterior to connect a people's 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 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 machine; 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 dates, the ROM can do deposit of the data permanence 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 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 the 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 deep into to the PLC.

PLC is one of the advantage above and only, this is also one part that the people comprehend more and easily, in a lot of equipments, the people have already no longer hoped to see too many control buttons, they damage not only and easily and produce the artificial error easiest, small is not a main error perhaps you can still accept; But lead even is a fatal error greatly is what we can't 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 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, and it combines with the PLC to our larger space.

HMI the control not only is reduced the control press button, increase the 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 help of various what lies in one's 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, and the noodles of the usage are wide more and more. The HMI foreground can say that think ° to be good very.

The PLC correspondence has already come more body now its value, at the PLC and correspondence between PLCs, can pass the communication of the information and the share of the dates to guarantee that of the equipments moderates 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 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 read 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; 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.

A line of transmission of the information contains 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 differentiations are also the as that we say to send out the data and combine sends out the data. A speed is more and slowly, but as long as 2 or three lines can solve problem, and can use the telephone line to carry on the long range control. But combine the ocular transmission speed is very quick of, it is a string of ocular of 25600%, occupy the advantage in the short distance, the in view of the fact TTL electricity is even, being limited by the scope of one meter generally, it combine unwell used for the data transmission of the long pull, thus the cost is too expensive.

When you are reading the book, you hear someone knock on door, you stop to start up of affair, open the door and combine to continue with the one who knock on door a dialogue, the telephone of this time rang, you signal hint to connect a telephone, after connecting the telephone through, return overdo come together knock on door to have a conversation, after dialogue complete, you continue again to see your book, this kind of circumstance we are called the interruption to it, it has the authority, also having sex of have the initiative, the PLC had such function .Its characteristics lie in us and may meet the urgently abrupt affairs in the operation process of the equipments, we want to stop to start immediately up of work, the whereabouts manages the more important affair, this kind of circumstance is we usually meet of, PLC while carry out urgent mission, total will keep the current appearance first, for example the address of the procedure, CPU of tired add the machine data etc., be like to stick down which the book that we see is when we open the door the page or simply make a mark, because we treat and would still need to continue immediately after book of see the behind. The CPU always does the affair that should do according to our will, but your mistake of give it an affair, it also would be same to do, this we must notice.

The interruption is not only a, sometimes existing jointly with the hour several inside break, break off to have the preferred Class, they will carry out the interruption of the higher Class according to person's request. This kind of breaks off the medium interruption to also became to break off the set. The Class that certainly break off is relevant according to various resources of CPU with internal PLC, also following a heap of capacity size of also relevant fasten.

When we are work a work piece, giving the PLC a signal, counting PLC inner part the machine add 1 to compute us for a day of workload, a count the machine and can solve problem in brief, certainly they also can keep the data under the condition of dropping the electricity, urging the data not to throw to lose, this is also what we hope earnestly.

The PLC still has the function that the high class counts the machine, being us while accept some dates of high speed, the high speed that here say is the data of the in all aspects tiny second class, for example the bar code scanner is scanning the data continuously, calculating high-speed signal of the data processor DSP etc., we will adopt the high class to count the machine to help we carry on count. It at the PLC carries out the procedure once discover that the high class counts the machine to should of interruption, will let go of the work on the hand immediately. The trapezoid diagram procedure that passes by to weave the distance again explains the high class for us to carry out procedure to count machine would automatic performance to should of work, thus rise the Class that the high class counts the machine to high one Class.

You heard too many this phrases perhaps:" crash", the meaning that is mostly is a workload of CPU to lead greatly, the internal resources shortage etc. the circumstance can't result in procedure circulate. The PLC also has the similar circumstance, there is a watchdog WDT in the inner part of PLC, we can establish time that a procedure of WDT circulate, being to appear the procedure to jump to turn the mistake in the procedure movement process or the procedure is busy, movement time of the procedure exceeds WDT constitution time, the CPU turn but the WDT reset the appearance. The procedure restarts the movement, but will not carry on the breakage to the interruption.

The PLC development has already entered for network ages of correspondence from the mode of the one, and together other works control the net plank and I/ O card planks to carry on the share easily. A state software can pass all se hardwires link, more animation picture of keep the view to carries on the control, and cans pass the Internet to carry on the control in the foreign land, the blast-off that is like the absolute being boat No.5 is to adopt this kind of way to make airship go up the sky.

The development of the higher layer needs our continuous effort to obtain. The PLC emergence has already affected a few persons fully, we also obtained more knowledge and precepts from the top one experience of the generation, coming to the continuous development PLC technique, push it toward higher wave tide

中文译文

PLC控制器的简介

随着时代的发展,当今的技术也日趋完善、竞争愈演愈烈;单靠人工的操作已不能满足于目前的制造业前景,也无法保证更高质量的要求和高新技术企业的形象.

人们在生产实践中看到,自动化给人们带来了极大的便利和产品质量上的保证,同时也减轻了人员的劳动强度,减少了人员上的编制.在许多复杂的生产过程中难以实现的目标控制、整体优化、最佳决策等,熟练的操作工、技术人员或专家、管理者却能够容易判断和操作,可以获得满意的效果.人工智能的研究目标正是利用计算机来实现、模拟这些智能行为,通过人脑与计算机协调工作,以人机结合的模式,为解决十分复杂的问题寻找最佳的途径

我们在各种场合看到了继电器连接的控制,那已经是时代的过去,如今的继电器只能作为低端的基层控制模块或者简单的设备中使用到;而PLC的出现也成为了划时代的主题,通过极其稳定的硬件穿插灵活的软件控制,使得自动化走向了新的高潮。

可编程控制器是60年代末在美国首先出现的,当时叫可编程逻辑控制器PLCProgrammable Logic Controller),目的是用来取代继电器。以执行逻辑判断、计时、计数等顺序控制功能。提出PLC概念的是美国通用汽车公司。PLC的基本设计思想是把计算机功能完善、灵活、通用等优点和继电器控制系统的简单易懂、操作方便、价格便宜等优点结合起来,控制器的硬件是标准的、通用的。根据实际应用对象,将控制内容编成软件写入控制器的用户程序存储器内,使控制器和被控对象连接方便。

70年代中期以后,PLC已广泛地使用微处理器作为中央处理器,输入输出模块和外围电路也都采用了中、大规模甚至超大规模的集成电路,这时的PLC已不再是仅有逻辑(Logic)判断功能,还同时具有数据处理、PID调节和数据通信功能。国际电工委员会(IEC)颁布的可编程控制器标准草案中对可编程控制器作了如下的定义:可编程控制器是一种数字运算操作的电子系统,专为在工业环境下应用而设计。它采用了可编程序的存储器,用来在其内部存储执行逻辑运算,顺序控制、定时、计数和算术运算等操作的指令,并通过数字式和模拟式的输入和输出,控制各种类型的机械或生产过程。可编程控制器及其有关外围设备,易于与工业控制系统联成一个整体,易于扩充其功能的设计。

可编程控制器对用户来说,是一种无触点设备,改变程序即可改变生产工艺。目前,可编程控制器已成为工厂自动化的强有力工具,得到了广泛的普及推广应用。 PLC的最大特点在于:电气工程师已不再电气的硬件上花费太多的心计,只要将按钮开关或感应器的输入点连接到PLC的输入点上就能解决问题,通过输出点连接接触器或继电器来控制大功率的启动设备,而小功率的输出设备直接连接就可以。

PLC的内部包含了具有中央处理器的CPU,并带有外部I/O口扩展的I/O接口地址和存储器三大块组成,CPU的核心是由一个或者多个累加器组成,它们具有逻辑的数学运算能力,并能读取程序存储器的内容通过计算后去驱动相应的存储器和I/O接口;I/O口将内部累加器和外部的输入和输出系统连接起来,并将相关的数据存入程序存储器或者数据存储器中;存储器可以将I/O口输入的数据存入存储器中,并在工作时调转到累加器和I/O接口上,存储器分程序存储器ROM和数据存储器RAM,ROM可以将数据永久的存入存储器中,而RAM只能作为CPU计算时临时计算使用的缓冲空间。

PLC的抗干扰是极其优秀的,我们根本不用去关心它的使用寿命和工作场合的恶劣,这些所有的问题已不再成为我们失败的主题,而留给我们的是关心如何来利用PLC的内部资源为我们加强设备的控制能力,使我们的设备更加的柔性。

PLC的语言并不是我们所想象的汇编语言或C语言来进行编程,而是采用原有的继电器控制的梯形图,使得电气工程师在编写程序时很容易就理解了PLC的语言,而且很多的非电气专业人士也对PLC很快认识并深入。

以上仅仅是PLC的优点之一,这也是人们比较容易理解的一部分,在很多的设备中,人们已不再希望看到太多的控制按钮,它们不但容易损坏而且极易产生人为的失误,小的并不是主要的失误也许你还能够接受;但过大的甚至是致命的失误是我们无法容忍的。新的技术总是为了给我们带来更安全和便捷的操作,使得我们面临的一大堆问题一扫而光,你有了解过HMI吗?这里说HMI你根本不清楚它是什么,也没有兴趣了解,换一个中文把它说明为触摸屏或者人机界面你就知道了,它和PLC的结合给了我们更大的空间。

HMI控制不仅仅是减少了控制按钮,增加控制的灵活性,更主要的它是可顺序性的,而且在能够改变数据输入和数据输出反馈,在温度控制曲线的模拟也能直观的显示出来。并且能够通过编写功能帮助程序来提供各种力所能及的帮助,使得操作者减少不必要的失误。HMI的厂商目前也越来越多,功能也越来越强,价格也越来越低,使用的面越来越广。HMI的前景可以说十分的看好。

在很多场合,单靠单机的控制是无法保证设备的顺畅运行,而通过设备与设备的信息交流达到我们想要的效果。比如在前包装和后工序的检测,我们就要将包装的信息反馈到检测处,而检测处的信息也要反馈到包装来。这样通过信息共享来使得两者之间链接起来,形成一个共体,从而使的两者间的配合更加的紧密,在彼此间达到映影相挥的效果。

PLC的通信已经愈来愈体现它的价值,在PLCPLC之间的通信,能够通过信息的沟通和数据的共享来保证设备之间的相互协调,已达到互补的效果。PLC之间的数据转换采用RS232接口来传送数据,而RS232接口只能保证10米的传输距离,如果在1000米的距离内我们可以通过RS485来进行通信,更长的距离只能通过MODEL来进行传输。

PLC的数据传送只是将内部的数据传送到对方的一块连续的地址中,我们把它称为一个表,对方的PLC通过读取表中的数据来进行操作。如果表中的数据是一个一般设置的数据的话,那只是一般的数据传送,比如今天的油价上升了,我要把油价的价格传送到所有的输油机上,那就是数据的共享;而当表中的数据是一段控制PLC的指令程序,那就很有难度了,比如你要控制一台机器人来按你想象的动作工作,你会给它编制一段程序并以数据的形式发送过去。

信息输送的形式有单工位、半双工位和全双工位的分别。单工位的意义也就是说两者之间,一个只能发送,而一个只能接收,比如一个特务他只能接收上司的指示,而无法给上司回复;半双工位也就是两个能都能发送和接受数据,但不能同时发送和接受,比如你打电话时是不能接电话,对方也一样;而全双工位是两者之间都能发送和接受数据,并可同时发送和接受。像互联网就是典型的例子。

信息输送的过程也有同步和异步之分:同步的意义在于发送数据时数据线和时钟线是同步的,也就是数据信号和时钟信号同时由CPU进行发送,这需要彼此都要专门的时钟信号来进行传送和接送,并且是强制性的,这种方法的特点在于它的速度极快、但相应占用CPU的工作时间也相对的要长、同时技术难度也非常的大。它的要求在于在一帧的数据传送中不能有一位的误差,不然的话整个数据将发生错误,这在硬件上是一个比较大的难度。在一些专用的设备中应用的越来越广泛,像专用的医疗设备、数字信号设备等,在比较单一数据的传输中,它的效果非常的好。

而异步是应用范围最广泛的,这得益于它的技术难度相对要小、同时不需要配制专门的时钟信号、它的特点在于,它的数据是间隔性的,离散性的发送和接受,当CPU太忙的时候可以停顿性去工作,在硬件上也减少了难度,同时数据的丢失相对要少,我们可以通过数据的检测来观察我们发送的数据是否有错误,像奇偶法、累加法和八位效验法等,都可以用来帮助我们检测发送的数据是否有错误发生,通过反馈来进行辨别。

信息的传送口线有串口和并口之分:通常的PLC8位机,当然也有16位机。我们在发送数据的时候可以是一位一位的发送给对方,也可以88位的将数据发送到对方,一位和8位区别也就是我们所说的串口发送数据和并口发送数据。串口速度比较慢,但只要两条或者三条口线就能解决问题,并能借用电话线来进行远程控制。而并口的传送速度是极快的,它是串口的256倍,在短距离占有优势,由于是TTL电平,一般限于1米的范围,它并不适用于长距离的数据传送,这样成本太昂贵了。

很多的情况下我们总喜欢采用串并转换芯片来进行传输,这种情况下不需要我们进行过于复杂的寄存器设置了,而直接通过数据传送指令进行数据交流,但在通信中并不是一个十分可行的办法,因为在发送数据的时候对方的PLC必须一直等待你的数据输出,它不能去做其他的工作。

当你在看书的时候,你听到有人敲门、你停下手上的事情、去打开门、并同敲门者对话、这个时候电话响了、你示意接个电话、在接完电话后、回过头来同敲门者继续对话、对话完毕后、你再继续看你的书,这种情况我们把它称为中断,它具有权威性,也具有优先性,PLC具备了这样的功能。它的特点在于我们在设备的操作过程中可能会遇到紧急的突发事件,我们要立刻的停下手上的工作,去处理更重要的事情,这种情况是我们经常所遇到的,PLC在去执行紧急的任务时,总会先保存目前的状态,比如程序的地址,CPU的累加器数据等,就像我们去开门时要记下我们看的书在第几页了或者干脆作个记号,因为我们待会还要继续接着看后面的书。CPU总是按照我们的意愿去做应该做的事情,但你错误的给它一件事情,它也会同样的去做,这一点我们必须注意。

中断并不是只有一个,有时会同时存在几个中断,中断具有优先的级别,他们会根据人的要求去执行更高级别的中断。这种中断中的中断也就形成了中断嵌套。当然中断的级别根据各种PLC内部CPU的资源有关,同时也跟堆栈的容量大小也有关系。

中断的内容有很多种,比如外部中断、通信中的发送和接受中断、定时和计数的时钟中断、还有WDT复位中断等,它们丰富了CPU在处理各种事务时响应种类。这样讲也许你并不能完全理解中断的内部结构和操作顺序,我们做一个小小的例子来说明.

每一个设备总是不会忘记有一个按钮,它也是在我们遇到紧急情况时使用的,那就是急停按钮。当我们遇到人身事故和意外情况时我们只要按下它,机器立即停止所有的操作,并等待处理完意外后再恢复操作。急停按钮连接PLC内部CPU的内部I/O接口上,当按钮给CPU一个外部触发信号时,CPUI/O进行再次检测,当确认有外部触发信号时,CPU保护现场并将程序计数器自动转到相应的外部I/O中断程序中去,当外部中断程序处理完毕,程序计数器返回到主程序继续工作。有一点可以说明的是我们一般会把急停按钮的外部中断升至最高级别,从而保证安全。

当我们在工作完一个工件时,给PLC一个信号,将PLC的内部计数器加1来计算我们一天的工作量时,一个简单的计数器能解决问题,当然它们也能够在掉电的情况下保持数据,促使数据不丢失,这也是我们所渴望的。

PLC还具有高级计数器的功能,当我们在接受一些高速的数据时,这里所说的高速是在在微秒级的数据,比如条码扫描机在不断的扫描数据,数据处理器DSP计算的高速信号等,我们就要采用到高级计数器来帮助我们进行计数。它在PLC执行程序时一旦发现高级计数器对应的中断,就会立即放下手上的工作。经过再次编程的梯形图程序说明我们在执行程序时高级计数器会自动的执行对应的工作,从而将高级计数器的级别升至高一级别。

你也许听过太多的这个词:“死机”,大致的意思是CPU工作量过大,内部资源不足等情况造成程序无法运行。PLC也有类似的情况,在PLC内部有一个看门狗WDT,我们可以设置WDT一个程序运行的时间,当程序运行过程中出现程序跳转错误时或者程序繁忙时,程序的运行时间超过WDT的设置时间,CPU转而WDT复位状态。程序重新开始运行,但对中断不会进行破坏。

PLC的发展已经从单一的模式进入了通信的网络时代,并同其它的工控网板和I/O卡板轻易的进行共享。组态软件可以将所有的这些硬件连接起来,通过更直观的动画图片来进行控制,并可以通过互联网在异地进行控制,像神舟五号的发射就是采用这种办法来使飞船升空。

更高层次的发展需要我们不断的努力来取得。PLC的出现已经足足影响了几代人,我们也从上一辈的经验中获取了更多的知识和教训,来不断的发展PLC技术,将它推向更高浪潮。

中英文文献翻译-PLC控制器的简介

相关推荐