外文文献及翻译_可编程逻辑控制器
可编程序控制器外文文献翻译

英语原文:Programmable logic con trollerA programmable logic controller (PLC) or simply programmable controller is a digital computer used for automatio n of in dustrial processes, such as con trol of machi nery on factory assembly lin es. Un like gen eral-purpose computers, the PLC is desig ned for multiple in puts and output arrangements,extended temperature ranges, immunity to electrical noise, and resista nee to vibratio n and impact. Programs to con trol mach ine operati on are typically stored in battery-backed or non-volatile memory・ A PLC is an example of a real time system since output results must be produced in resp onse to in put con diti ons with in a boun ded time, otherwise uninten ded operatio n will result..FeaturesThe main differe nee from other computers is that PLC are armored for severe con diti on (dust, moisture, heat, cold, etc) and have the facility for extensive input/output (I/O) arrangements.These connect the PLC to sensors and actuators. PLC read limit switches, analog process variables (such as temperature and pressure),a nd the positions of complex positi oning systems・ Some eve n use mach ine visio n. On the actuator side, PLC operate electric motors, pn eumatic or hydraulic cyli nders, magn etic relays or sole no ids, or an alog outputs. The in put/output arran geme nts may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC・PLC were inven ted as replaceme nts for automated systems that would use hun dreds or thousands of relays, cam timers, and drum sequencers. Often, a single PLC can be programmed to replace thousa nds of relays. Programmable con trailers were in itially adopted by the automotive manu facturi ng in dustry, where software revisio n replaced the re-wiri ng of hard-wired con trol pan els whe n producti on models cha nged.Many of the earliest PLC expressedall decision making logic in simple ladder logic whichappeared similar to electrical schematic diagrams. The electricia ns were quite able to trace out circuit problems with schematic diagrams using ladder logic. This program no tati on was chose n to reduce training dema nds for the existi ng tech nicians. Other early PLC used a form of in structi on list program ming, based on a stack-based logic solver.The functionality of the PLC has evolved over the years to include sequential relay con trol, moti on con trol, process con trol, distributed con trol systems and n etwork ing. The data han dli ng, storage, process ing power and com muni cati on capabilities of some moder n PLC are approximately equivale nt to desktop computers. PLC-like program ming comb ined with remote I/O hardware, allow a general-purpose desktop computer to overlap some PLC in certa in applicati ons.PLC compared with other con trol systemsPLC are well-adapted to a range of automati on tasks. These are typically in dustrial processes in manu facturi ng where the cost of develop ing and maintaining the automati on system is high relative to the total cost of the automation, and where changes to the system would be expected duri ng its operatio nal life. PLC contain in put and output devices compatible with in dustrial pilot devices and con trols; little electrical desig n is required, and the desig n problem cen ters on express ing the desired seque nee of operati ons in ladder logic no tati on. PLC applicati ons are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized con trol systems are econo mic due to the lower cost of the comp onen ts, which can be optimally chose n in stead of a ”ge neric" solution, and where the non・recurring engineering charges are spread over thousands of places.For high volume or very simple fixed automati on tasks, differe nt tech niq ues are used. For example, a con sumer dishwasher would be con trolled by an electromecha ni cal cam timer costing only a few dollars in production quantities.A microcontroller-based design would be appropriate where hundreds or thousandsof units willbe produced and so the development cost (design of power supplies and input/outputhardware) can be spread over many sales, and where the end-user would not n eed to alter the con trol. Automotive applicati ons are an example; millio ns of un its are built each year, and very few en d-users alter the program ming of these con trailers. However, some specialty vehicles such as tran sit busses econo mically use PLC in stead of custom-desig ned con trols, because the volumes are low and the developme nt cost would be unecono mic.Very complex process control, such as used in the chemical industry, may require algorithms and performs nee beyond the capability of eve n high-performa nee PLC. Very high - speed or precisi on con trols may also require customized solutio ns; for example, aircraft flight con trols.PLC may in elude logic for sin gle-variable feedback an alog con trol loop, a "proporti on al, in tegral, derivative" or ”PID con troller." A PID loop could be used to con trol the temperature of a manu facturi ng process, for example. Historically PLC were usually con figured with only a few analog control loops; where processesrequired hundreds or thousands of loops, a distributed con trol system (DCS) would in stead be used. However, as PLC have become more powerful, the boundary between DCS and PLC applications has become less clear-cut.Digital and an alog sig nalsDigital or discrete signals behave as binary switches, yielding simply an On or Off sig nal (1 or 0, True or False, respectively). Push butt on s, limit switches, and photoelectric sen sors are examples of devices providi ng a discrete sig nal. Discrete sig nals are sent using either voltage or current, where a specific range is designated asOn and another asOff. For example, a PLC might use 24 V DC I/O, with values above 22 V DC represe ntingOn, values below 2VDC represe nti ng Off, and in termediate values un defi ned. In itially, PLC had only discrete I/O.Analog signals are like volume controls, with a range of values between zero and full・ scale. These are typically in terpreted as in teger values (co un ts) by the PLC, with various ranges of accuracy depending on the device and the number of bits available to store the data. As PLC typicallyuse 16-bit sig ned binary processors, the in teger values are limited betwee n - 32,768 and +32,767. Pressure, temperature, flow, and weight are often represented by analog signals. Analog signals can use voltage or current with a magnitude proportional to the value of the process sig nal. For example, an an alog 4-20 m or 0 ・ 10 V in put would be conv erted into an in teger value of 0-32767.Curre nt in puts are less sen sitive to electrical no ise (i.e.from welders or electric motor starts) tha n voltage in puts.System scaleA small PLC will have a fixed nu mber of conn ecti ons built in for in puts and outputs. Typically, expa nsions are available if the base model does not have eno ugh I/O.Modular PLC have a chassis (also called a rack) into which is placed modules with differe nt functions. The processor and selecti on of I/O modules is custom for the particular application. Several racks can be administered by a single processor, and may have thousands of in puts and outputs・ A special high speed serial I/O link is used so that racks can be distributed away from the processor, reduc ing the wiri ng costs for large pla nts.PLC used in larger I/O systems may have peer-to-peer (P2P) com muni cati on betwee n processors. This allows separate parts of a complex process to have in dividual con trol while allowi ng the subsystems to co-ord in ate over the com muni cati on link. These com muni cati on links are also ofte n used for HMI (Huma Machi ne In terface) devices such as keypads or PC-type workstati ons. Some of today's PLC can com muni cate over a wide range of media in cludi ng RS-485, Coaxial, and eve n Ether net for I/O con trol at n etwork speeds up to 100m・Programmi ngEarly PLC, up to the mid・ 1980s, were programmed using proprietary programming pan els or special-purpose program ming term in als, which ofte n had dedicated fun cti on keys represe nting the various logical eleme nts of PLC programs. Programs were stored on cassette tape cartridges.Facilities for printing and documentation were very minimal due to lack of memory capacity. More rece ntly, PLC programs are typically writte n in a special applicati on on a pers onal computer, the n dow nl oaded by a direct-c onnection cable or over a n etwork to the PLC.The very oldest PLC used non-v olatile mag netic core memory but now the program is stored in the PLC either in battery-backed-up RAM or some other non-volatile flash memory.Early PLC were desig ned to replace relay logic systems. These PLC were programmed in "ladder logic**, which stron gly resembles a schematic diagram of relay logic. Moder n PLC can be programmed in a variety of ways, from ladder logic to more traditional programming languages such as BASIC and C. Another method is State Logic, a Very High Level Program ming Lan guage desig ned to program PLC based on State Tran siti on Diagrams.Recently, the International standard IEC 61131-3 has become popular. IEC 61131-3 currently defines five programming languages for programmable control systems: FBD (Function block diagram), LD (Ladder diagram), ST (Structured text, similar to the Pascal programming language), IL (Instruction list, similar to assembly Ianguage) and SFC (Seque ntial fun cti on chart). These tech niq ues emphasize logical orga ni zatio n of operati ons.While the fun dame ntal con cepts of PLC program ming are com mon to all manu facturers, differences in I/O addressing, memory organization and instruction sets mean that PLC programs are never perfectly interchangeable between different makers. Even within the same product line of a single manufacturer, different models may not be directly compatible.User in terfacePLC may n eed to in teract with people for the purpose of con figurati on, alarm report ing or everyday con trol. A Huma n-Mach ine In terface (HMI) is employed for this purpose. HMI' are also referred to as MMT (Ma n Mach ine In terface) and GUI (Graphical User In terface).A simple system may use butt ons and lights to in teract with the user. Text displays are available as well as graphical touch scree ns. Most moder n PLC can com muni cate over a n etwork to some other system, such as a computer running a SCADA (Supervisory Con trol And Data Acquisiti on) system or web browser.Com mun icatio nsPLC usually have built in com muni cati ons ports usually 9・Pi n RS232, and opti on ally for RS485 and Ether net. DF1 is usually in eluded as one of the com muni cati ons protocols. Other com muni cati ons protocols that may be used are listed in the List of automati on protocols.HistoryThe PLC was inven ted in resp onse to the n eeds of the America n automotive in dustry. Before the PLC, con trol, seque ncing, and safety in terlock logic for manu facturi ng automobiles was accomplished using relays, timers and dedicated closed-loop con trailers. The process for updati ng such facilities for the yearly model cha nge-over was very time consuming and expe nsive, as the relay systems n eeded to be rewired by skilled electricia ns. In 1968 GM Hydra (the automatic transmission division of General Motors) issued a request for proposal for an electro nic replaceme nt for hard-wired relay systems.The wi nning proposal came from Bedford Associates of Bedford, Massachusetts. The first PLC, desig nated the 084 because it was Bedford Associates' eighty-fourth project, was the result・Bedford Associates started a new compa ny dedicated to develop ing, manu facturi ng, selli ng, and servic ing this new product: Mod, which stood for One of the people whoworked on that project was Dick Morley, who is considered to be the "father" of the PLC. The brand was sold in 1977 to Gould Electr oni cs, and later acquired by Germa n Compa ny AEG and then by French Schn eider Electric, the curre nt owner.One of the very first 084 models built is now on display at headquarters in North Andover, Massachusetts .It was presented to by GM, when the unit was retired after nearly twenty years of unin terrupted service.The automotive industry is still one of the largest users of PLC, and still numbers some of its controller models such that they end with eighty-four. PLC are used in many different in dustries and machi nes such as packag ing and semic on ductor mach in es. Well known PLC brands are Toshiba, Sieme ns, Alle Bradley, ABB, Mitsubishi, Omro n, and Gen eral Electri・附录B英语翻译:可编程序控制器可编程逻辑控制器(PLC或干脆可编程序控制器是一个数字化的计算机用于自动化的工业生产过程,如控制机械的工厂装配生产线。
电气系统可编程序控制器毕业论文中英文资料外文翻译文献

电气系统可编程序控制器中英文资料外文翻译文献英文原文Programmable controller designed for electro-pneumatic systems This project deals with the study of electro-pneumatic systems and theprogrammable controller that provides an effective and easy way to control thesequence of the pneumatic actuators movement and the states of pneumatic system.The project of a specific controller for pneumatic applications join the studyof automation design and the control processing of pneumatic systems with theelectronic design based on microcontrollers to implement the resources of thecontroller.1.IntroductionThe automation systems that use electro-pneumatic technology are formed mainlyby three kinds of elements: actuators or motors, sensors or buttons and controlelements like valves. Nowadays, most of the control elements used to execute thelogic of the system were substituted by the Programmable LogicController(PLC).Sensors and switches are plugged as inputs and the direct controlvalves for the actuators are plugged as outputs. An internal program executes allthe logic necessary to the sequence of the movements, simulates other componentslike counter, timer and control the status of the system.With the use of the PLC the project wins agility, because it is possible tocreate and simulate the system as many times as needed. Therefore, time can besaved, risk of mistakes reduced and complexity can be increased using the sameelements.A conventional PLC, that is possible to find on the market from many companies,offers many resources to control not only pneumatic systems, but all kinds of systemthat uses electrical components. The PLC can be very versatile and robust to beapplied in many kinds of application in the industry or even security system andautomation of buildings.Because of those characteristics, in some applications the PLC offers to much resources that are not even used to control the system, electro-pneumatic system is one of this kind of application. The use of PLC, especially for small size systems, can be very expensive for the automation project.An alternative in this case is to create a specific controller that can offer the exactly size and resources that the project needs[3,4].This can be made using microcontrollers as the base of this controller.The controller, based on microcontroller, can be very specific and adapted to only one kind of machine or it can work as a generic controller that can be programmed as a usual PLC and work with logic that can be changed. All these characteristics depend on what is needed and how much experience the designer has with developing an electronic circuit and firmware for microcontroller. But the main advantage of design the controller with the microcontroller is that the designer has the total knowledge of his controller, which makes it possible to control the size of the controller, change the complexity and the application of it. It means that the project gets more independence from other companies, but at the same time the responsibility of the control of the system stays at the designer hands2.Electro-pneumatic systemOn automation system one can find three basic components mentioned before ,plus a logic circuit that controls the system. An adequate technique is needed to project the logic circuit and integrate all the necessary components to execute the sequence of movements properly.For a simple direct sequence of movement an intuitive method can be used[1,5],but for indirect or more complex sequences the intuition can generate a very complicated circuit and signal mistakes. It is necessary to use another method that can save time of the project, make a clean circuit, can eliminate occasional signal overlapping and redundant circuits.The presented method is called step-by-step or algorithmic [1,5], it is valid for pneumatic and electro-pneumatic systems and it was used as a base in this work. The method consists of designing the systems based on standard circuits made for each change on the state of the actuators, these changes are called steps.Fig.1.Standard circuit for the pneumatic system.Fig.2.Standard circuit for the electro-pneumatic system.The first part is to design those kinds of standard circuits for each step, the next task is to link the standard circuits and the last part to connect the control element that receive signals from sensors, switches and the previous movement and give the air or electricity to the supply lines of each step. In Figs.1 and 2 the standard circuits are drawn for pneumatic and electro-pneumatic system [8].It is possible to see the relations with the previous and the next steps.3. The method applied inside the controllerThe result of the method presented before is a sequence of movements of the actuator that is well defined by steps. It means that each change on the position of the actuators is a new state of the system and the transition between statesis called step.The standard circuit described before helps the designer to define the states of the systems and to define the condition to each change between the states. In the end of the design, the system is defined by a sequence that never chances and states that have the inputs and the outputs well defined. The inputs are the condition for the transition and the outputs are the result of the transition.All the configuration of those steps stays inside of the microcontroller and is executed the same way it was designed. The sequences of strings are programmed inside the controller with 5 bytes; each string has the configuration of one step of the process. There are two bytes for the inputs, one byte for the outputs and two more for the other configurations and auxiliary functions of the step. After programming, this sequence of strings is saved inside of a non-volatile memory of the microcontroller, so they can be read and executed.The controller task is not to work in the same way as a conventional PLC, but the purpose of it is to be an example of a versatile controller that is design for an specific area. A conventional PLC process the control of the system using a cycle where it makes an image of the inputs, execute all the conditions defined by the configuration programmed inside, and then update the state of the outputs. This controller works in a different way, where it read the configuration of the step, wait the condition of inputs to be satisfied, then update the state or the outputs and after that jump to the next step and start the process again.It can generate some limitations, as the fact that this controller cannot execute, inside the program, movements that must be repeated for some time, but this problem can be solved with some external logic components. Another limitation is that the controller cannot be applied on systems that have no sequence. These limitations are a characteristic of the system that must be analyzed for each application.4. Characteristics of the controllerThe controller is based on the MICROCHIP microcontroller PIC16F877 [6,7] with 40 pins, and it has all the resources needed for this project. It ha enough pins for all the components, serial communication implemented in circuit, EEPROM memory to save all the configuration of the system and the sequence of steps. For the execution of the main program, it offers complete resources as timers and interruptions.The list of resources of the controller was created to explore all the capacity of the microcontroller to make it as complete as possible. During the step, the program chooses how to use the resources reading the configuration string of the step. This string has two bytes for digital inputs, one used as a mask and the other one used as a value expected. One byte is used to configure the outputs value. One bytes more is used for the internal timer, the analog input or time-out. The EEPROM memory inside is 256 bytes length that is enough to save the string of the steps, with this characteristic it is possible to save between 48 steps.The controller has also a display and some buttons that are used with an interactive menu to program the sequence of steps and other configurations.4.1.Interaction componentsFor the real application the controller must have some elements to interact with the final user and to offer a complete monitoring of the system resources that are available to the designer while creating the logic control of the pneumatic system:.Interactive mode of work; function available on the main program for didactic purposes, the user gives the signal to execute the step..LCD display, which shows the status of the system, values of inputs, outputs, timer and statistics of the sequence execution..Beep to give important alerts, stop, start and emergency..Leds to show power on and others to show the state of inputs and outputs.4.2. SecurityTo make the final application works property, a correct configuration to execute the steps in the right way is needed, but more then that it must offer solutions in case of bad functioning or problems in the execution of the sequence. The controller offers the possibility to configure two internal virtual circuits that work in parallel to the principal. These two circuits can be used as emergency or reset buttons and can return the system to a certain state at any time[2]. There are two inputs that work with interruption to get an immediate access to these functions. It is possible to configure the position, the buttons and the value of time-out of the system.er interfaceThe sequence of strings can be programmed using the interface elements of the controller. A computer interface can also be used to generate the user program easily. With a good documentation the final user can use the interface to configure the strings of bytes that define the steps of the sequence. But it is possible to create a program with visual resources that works as a translator to the user,it changes his work to the values that the controller understands.To implement the communication between the computer interface and the controller a simple protocol with check sum and number of bytes is the minimum requirements to guarantee the integrity of the data.4.4. FirmwareThe main loop works by reading the strings of the steps from the EEPROM memory that has all the information about the steps.In each step, the status of the system is saved on the memory and it is shown on the display too. Depending of the user configuration, it can use the interruption to work with the emergency circuit or time-out to keep the system safety.A block diagram of micro controller main program is presented.5.Example of electro-pneumatic systemThe system is not a representation of a specific machine, but it is made with some common movements and components found in a real one. The system is composed of four actuators. The actuators A,B and C are double acting and D-single acting. Actuator A advances and stays in specified position till the end of the cycle, it could work fixing an object to the next action for example(Fig.3), it is the first step. When A reaches the end position, actuator C starts his work together with B, making as many cycles as possible during the advancing of B. It depends on how fast actuator B is advancing; the speed is regulated by a flowing control valve. It was the second step. B and C are examples of actuators working together, while B pushes an object slowly, C repeats. its work for some time.Fig.3.Time diagram of A,B,C and D actuators.When B reaches the final position, C stops immediately its cycle and comes back to the initial position. The actuator D is a single acting one with spring return and works together with the back of C, it is the third step. D works making very fast forward and backward movement, just one time. Its backward movement is the fourth step. D could be a tool to make a hole on the object.When D reaches the initial position, A and B return too, it is the fifth step.Fig.4 shows the first part of the designing process where all the movements of each step should be defined[2]. (A+)means that the actuator A moves to the advanced position and (A . )to the initial position. The movements that happen at the same time are joined together in the same step. The system has five steps.Fig.4.Step sequence of A,B,C and D actuators.These two representations of the system(Figs.3 and 4) together are enough to describe correctly all the sequence. With them is possible to design the whole control circuit with the necessary logic components. But till this time, it is not a complete system, because it is missing some auxiliary elements that are not included in this draws because they work in parallel with the main sequence.These auxiliary elements give more function to the circuit and are very important to the final application; the most important of them is the parallel circuit linked with all the others steps. That circuit should be able to stop the sequence at any time and change the state of the actuators to a specific position. This kind of circuit can be used as a reset or emergency buttons.The next Figs.5 and 6 show the result of using the method without the controller. These pictures are the electric diagram of the control circuit of the example, including sensors, buttons and the coils of the electrical valves.Fig.5.Electric diagram of the example.Fig.6.Electric diagram of the example.The auxiliary elements are included, like the automatic/manual switcher that permit a continuous work and the two start buttons that make the operator of a machine use their two hands to start the process, reducing the risk of accidents.6. Changing the example to a user programIn the previous chapter, the electro-pneumatic circuits were presented, used to begin the study of the requires to control a system that work with steps andmust offer all the functional elements to be used in a real application. But, as explained above, using a PLC or this specific controller, the control becomes easier and the complexity can be increase also.It shows a resume of the elements that are necessary to control the presented example.With the time diagram, the step sequence and the elements of the system described in Figs.3 and 4 it is possible to create the configuration of the steps that can be sent to the controller.While using a conventional PLC, the user should pay attention to the logic of the circuit when drawing the electric diagram on the interface (Figs.5and 6), using the programmable controller, describe in this work, the user must know only the concept of the method and program only the configuration of each step.It means that, with a conventional PLC, the user must draw the relation between the lines and the draw makes it hard to differentiate the steps of the sequence. Normally, one needs to execute a simulation on the interface to find mistakes on the logic.The new programming allows that the configuration of the steps be separated, like described by the method. The sequence is defined by itself and the steps are described only by the inputs and outputs for each step.The structure of the configuration follows the order:1-byte: features of the step;2-byte: for the inputs;3-byte: value expected on the inputs;4-byte: value for the outputs;5-byte: value for the extra function.Fig.7.Actuators A and B, and sensors.Fig.8.Actuators C and D, and sensors.Table 5 shows how the user program is saved inside the controller, this is the program that describes the control of the example shown before.The sequence can be defined by 25 bytes. These bytes can be divided in five strings with 5 bytes each that define each step of the sequence (Figs.7 and 8).7. ConclusionThe controller developed for this work shows that it is possible to create a very useful programmable controller based on microcontroller. External memories or external timers were not used in case to explore the resources that the microcontroller offers inside. Outside the microcontroller, there are only components to implement the outputs, inputs, analog input, display for the interface and the serial communication.Using only the internal memory, it is possible to control a pneumatic system that has a sequence with 48 steps if all the resources for all steps are used, but it is possible to reach sixty steps in the case of a simpler system.The programming of the controller does not use PLC languages, but a configuration that is simple and intuitive. With electro-pneumatic system, the programming follows the same technique that was used before to design the system, but here the designer works directly with the states or steps of the system.With a very simple machine language the designer can define all the configuration of the step using four or five bytes. It depends only on his experience to use all the resources of the controller.The controller task is not to work in the same way as a commercial PLC but the purpose of it is to be an example of a versatile controller that is designed for a specific area. Because of that, it is not possible to say which one works better; the system made with microcontroller is an alternative that works in a simple way.References[1]E.Nelli Silva,Fluid-mechanics systems Manual, Escola PolitecnicaUSP,2002(in Portuguese).[2]J.Swider,Control and Automation of Technological Process and Mechatronic systems,Silesian University Publishing Company,Gli-wice,2002(redaction in Polish).[3]J.Swider, G.Wszolek, W.Carvalho. Example of the system prepared to be controlled by the controller based on microcontroller,in:12 International Scientific Conference—Achievements in Mechanical and MaterialsEngineering,Gliwice-Zakopane,Poland,2003,pp.965-970.[4]J.Swider,G.Wszolek,W.Carvalho, Controller based on microcontroller designed to execute the logic control of pneumatic systems, in:12International Scientific Conference— Achievements in Mechanical and Materials Engineering,Gliwice-Zakopane,Poland,2003,pp. 959–964.[5]J.Swider,G.Wszoek, The methodical collection of laboratory and project tasks of technological process control in Pneumatic and Electro-pneumatic Systems with Logical PLC Control, Silesian University Publishing Company,Gliwice,2003.[6]PIC 16f87xDatasheet.MICROCHIP,2001.[7]Application notes AN587 and AN546.MICROCHIP,1997.[8]Fundamental of electro-pneumatic—FESTODidactic,2000.中文翻译应用于电气系统的可编程序控制器摘要此项目主要是研究电气系统以及简单有效的控制气流发动机的程序和气流系统的状态。
可编程控制器外文翻译、中英文翻译、外文文献翻译

毕业设计中英文翻译院系专业班级姓名学号指导教师20**年 4 月Programmable Logic Controllers (PLC)1、MotivationProgrammable Logic Controllers (PLC), a computing device invented by Richard E. Morley in 1968, have been widely used in industry including manufacturing systems, transportation systems, chemical process facilities, and many others. At that time, the PLC replaced the hardwired logic with soft-wired logic or so-called relay ladder logic (RLL), a programming language visually resembling the hardwired logic, and reduced thereby the configuration time from 6 months down to 6 days [Moody and Morley, 1999].Although PC based control has started to come into place, PLC based control will remain the technique to which the majority of industrial applications will adhere due to its higher performance, lower price, and superior reliability in harsh environments. Moreover, according to a study on the PLC market of Frost and Sullivan [1995], an increase of the annual sales volume to 15 million PLCs per year with the hardware value of more than 8 billion US dollars has been predicted, though the prices of computing hardware is steadily dropping. The inventor of the PLC, Richard E Morley, fairly considers the PLC market as a 5-billion industry at the present time.Though PLCs are widely used in industrial practice, the programming of PLC based control systems is still very much relying on trial-and-error. Alike software engineering, PLC software design is facing the software dilemma or crisis in a similar way. Morley himself emphasized this aspect most forcefully by indicating [Moody and Morley, 1999, p. 110]:`If houses were built like software projects, a single woodpecker could destroy civilization.”Particularly, practical problems in PLC programming are to eliminate software bugs and to reduce the maintenance costs of old ladder logic programs. Though the hardware costs of PLCs are dropping continuously, reducing the scan time of the ladder logic is still an issue in industry so that low-cost PLCs can be used.In general, the productivity in generating PLC is far behind compared to other domains, for instance, VLSI design, where efficient computer aided design tools are in practice. Existent software engineering methodologies are not necessarily applicable to the PLC basedsoftware design because PLC-programming requires a simultaneous consideration of hardware and software. The software design becomes, thereby, more and more the major cost driver. In many industrial design projects, more than SO0/a of the manpower allocated for the control system design and installation is scheduled for testing and debugging PLC programs [Rockwell, 1999].In addition, current PLC based control systems are not properly designed to support the growing demand for flexibility and reconfigurability of manufacturing systems. A further problem, impelling the need for a systematic design methodology, is the increasing software complexity in large-scale projects.PLCs (programmable logic controllers) are the control hubs for a wide variety of automated systems and processes. They contain multiple inputs and outputs that use transistors and other circuitry to simulate switches and relays to control equipment. They are programmable via software interfaced via standard computer interfaces and proprietary languages and network options.Programmable logic controllers I/O channel specifications include total number of points, number of inputs and outputs, ability to expand, and maximum number of channels. Number of points is the sum of the inputs and the outputs. PLCs may be specified by any possible combination of these values. Expandable units may be stacked or linked together to increase total control capacity. Maximum number of channels refers to the maximum total number of input and output channels in an expanded system. PLC system specifications to consider include scan time, number of instructions, data memory, and program memory. Scan time is the time required by the PLC to check the states of its inputs and outputs. Instructions are standard operations (such as math functions) available to PLC software. Data memory is the capacity for data storage. Program memory is the capacity for control software.Available inputs for programmable logic controllers include DC, AC, analog, thermocouple, RTD, frequency or pulse, transistor, and interrupt inputs. Outputs for PLCs include DC, AC, relay, analog, frequency or pulse, transistor, and triac. Programming options for PLCs include front panel, hand held, and computer.Programmable logic controllers use a variety of software programming languages for control. These include IEC 61131-3, sequential function chart (SFC), function block diagram (FBD), ladder diagram (LD), structured text (ST), instruction list (IL), relay ladder logic (RLL), flow chart, C, and Basic. The IEC 61131-3 programming environment provides support for five languages specified by the global standard: Sequential Function Chart,Function Block Diagram, Ladder Diagram, Structured Text, and Instruction List. This allows for multi-vendor compatibility and multi-language programming. SFC is a graphical language that provides coordination of program sequences, supporting alternative sequence selections and parallel sequences. FBD uses a broad function library to build complex procedures in a graphical format. Standard math and logic functions may be coordinated with customizable communication and interface functions. LD is a graphic language for discrete control and interlocking logic. It is completely compatible with FBD for discrete function control. ST is a text language used for complex mathematical procedures and calculations less well suited to graphical languages. IL is a low-level language similar to assembly code. It is used in relatively simple logic instructions. Relay Ladder Logic (RLL), or ladder diagrams, is the primary programming language for programmable logic controllers (PLCs). Ladder logic programming is a graphical representation of the program designed to look like relay logic. Flow Chart is a graphical language that describes sequential operations in a controller sequence or application. It is used to build modular, reusable function libraries. C is a high level programming language suited to handle the most complex computation, sequential, and data logging tasks. It is typically developed and debugged on a PC. BASIC is a high level language used to handle mathematical, sequential, data capturing and interface functions.Programmable logic controllers can also be specified with a number of computer interface options, network specifications and features. PLC power options, mounting options and environmental operating conditions are all also important to consider.2、ResumeA PLC (programmable Logic Controller) is a device that was invented to replace the necessary sequential relay circuits for control.The PLC works by looking at its input and depending upon their state, turning on/off its outputs. The user enters a program, usually via software or programmer, which gives the desired results.PLC is used in many "real world" applications. If there is industry present, chance are good that there is a PLC present. If you are involved in machining, packing, material handling, automated assembly or countless other industries, you are probably already using them. If you are not, you are wasting money and time. Almost any application that needs some type of electrical control has a need for a PLC.For example, let's assume that when a switch turns on we want to turn a solenoid on for 5second and then turn it off regardless of how long the switch is on for. We can do this with a simple external timer. But what if the process included 10 switches and solenoids? We should need 10 external times. What if the process also needed to count how many times the switch individually turned on? We need a lot of external counters.As you can see the bigger the process the more of a need we have for a PLC. We can simply program the PLC to count its input and turn the solenoids on for the specified time.We will take a look at what is considered to be the "top 20" PLC instructions. It can be safely estimated that with a firm understanding of these instructions one can solve more than 80% of the applications in existence.Of course we will learn more than just these instruction to help you solve almost ALL potential PLC applications.The PLC mainly consists of a CPU, memory areas, and appropriate circuits to receive input/output data. We can actually consider the PLC to be a box full of hundreds or thousands of separate relay, counters, times and data storage locations,Do these counters,timers, etc. really exist? No,they don't "physically" exist but rather they simulated and be considered software counters, timers, etc. . These internal relays are simulated through bit locations in registers.What does each part do? Let me tell you.Input RelaysThese are connected to the outside world.They physically exsit and receive signals from switches,sensors,ect..Typically they are not relays but rather they are transistors.Internal Utility RelaysThese do not receive signals from the outside world nor do they physically exist.they are simulated relays and are what enables a PLC to eliminate external relays.There are also some special relays that are dedicated to performing only one task.Some are always on while some are always off.Some are on only once during power-on and are typically used for initializing data that was stored.CountersThese again do not physically exist. They are simulated counters and they can be programmed to count pulses.Typically these counters can count up,down or both up anddown.Since they are simulated,they are limited in their counting speed.Some manufacturers also include high-speed counters that are hardware based.We think of these as physically existing.Most times these counters can count up,down or up and down.TimersThese also do not physically exist.They come in many varieties and increments.The most common type is an on-delay type.Others include off-delays and both retentive and non-retentive types.Increments vary from 1ms through 1s.Output RelaysThere are connected to the outside world.They physically exist and send on/off signals to solenoids,lights,etc..They can be transistors,relays,or triacs depending upon the model chosen Data StorageTypically there are registers assigned to simply store data.They are usually used as temporary storage for math or data manipulation.They can also typically be used to store data when power is removed form the PLC.Upon power-up they will still have the same contents as before power was moved.Very convenient and necessary!A PLC works by continually scanning a program.We can think of this scan cycle as consisting of 3 important steps.There are typically more than 3 but we can focus on the important parts and not worry about the others,Typically the others are checking the system and updating the current internal counter and timer values,Step 1 is to check input status,First the PLC takes a look at each input to determine if it is on off.In other words,is the sensor connected to the first input on?How about the third...It records this data into its memory to be used during the next step.Step 2 is to execute program.Next the PLC executes your program one instruction at a time.Maybe your program said that if the first input was on then it should turn on the first output.Since it already knows which inputs are on/off from the previous step,it will be able to decide whether the first output should be turned on based on the state of the first input.It will store the execution results for use later during the next step.Step 3 is to update output status.Finally the PLC updates the status the outputs.It updates the outputs based on which inputs were on during the first step and the results executing your program during the second step.Based on the example in step 2 it would now turn on the firstoutput because the first input was on and your program said to turn on the first output when this condition is true.After the third step the PLC goes back to step one repeats the steps continuously.One scan time is defined as the time it takes to execute the 3 steps continuously.One scan time is defined as the time it takes to execute the 3 steps listed above.Thus a practical system is controlled to perform specified operations as desired.3、PLC StatusThe lack of keyboard, and other input-output devices is very noticeable on a PLC. On the front of the PLC there are normally limited status lights. Common lights indicate;power on - this will be on whenever the PLC has powerprogram running - this will often indicate if a program is running, or if no program is runningfault - this will indicate when the PLC has experienced a major hardware or software problemThese lights are normally used for debugging. Limited buttons will also be provided for PLC hardware. The most common will be a run/program switch that will be switched to program when maintenance is being conducted, and back to run when in production. This switch normally requires a key to keep unauthorized personnel from altering the PLC program or stopping execution. A PLC will almost never have an on-off switch or reset button on the front. This needs to be designed into the remainder of the system.The status of the PLC can be detected by ladder logic also. It is common for programs to check to see if they are being executed for the first time, as shown in Figure 1. The ’first scan’ input will be true on the very first time the ladder logic is scanned, but false on every other scan. In this case the address for ’first scan’ in a PLC-5 is ’S2:1/14’. With the logic in the example the first scan will seal on ’light’, until ’clear’ is turned on. So the light will turn on after the PLC has been turned on, but it will turn off and stay off after ’clear’ is turned on. The ’first scan’ bit is also referred to at the ’first pass’ bit.Figure 1 An program that checks for the first scan of the PLC4、Memory TypesThere are a few basic types of computer memory that are in use today.RAM (Random Access Memory) - this memory is fast, but it will lose its contents when power is lost, this is known as volatile memory. Every PLC uses this memory for the central CPU when running the PLC.ROM (Read Only Memory) - this memory is permanent and cannot be erased. It is often used for storing the operating system for the PLC.EPROM (Erasable Programmable Read Only Memory) - this is memory that can be programmed to behave like ROM, but it can be erased with ultraviolet light and reprogrammed.EEPROM (Electronically Erasable Programmable Read Only Memory) – This memory can store programs like ROM. It can be programmed and erased using a voltage, so it is becoming more popular than EPROMs.All PLCs use RAM for the CPU and ROM to store the basic operating system for the PLC. When the power is on the contents of the RAM will be kept, but the issue is what happens when power to the memory is lost. Originally PLC vendors used RAM with a battery so that the memory contents would not be lost if the power was lost. This method is still in use, but is losing favor. EPROMs have also been a popular choice for programming PLCs. The EPROM is programmed out of the PLC, and then placed in the PLC. When the PLC is turned on the ladder logic program on the EPROM is loaded into the PLC and run. This method can be very reliable, but the erasing and programming technique can be time consuming. EEPROM memories are a permanent part of the PLC, and programs can be stored in them like EPROM. Memory costs continue to drop, and newer types (such as flash memory) are becoming available, and these changes will continue to impact PLCs.5、Objective and Significance of the ThesisThe objective of this thesis is to develop a systematic software design methodology for PLC operated automation systems. The design methodology involves high-level description based on state transition models that treat automation control systems as discrete event systems, a stepwise design process, and set of design rules providing guidance and measurements to achieve a successful design. The tangible outcome of this research is to find a way to reduce the uncertainty in managing the control software development process, that is, reducing programming and debugging time and their variation, increasing flexibility of theautomation systems, and enabling software reusability through modularity. The goal is to overcome shortcomings of current programming strategies that are based on the experience of the individual software developer.A systematic approach to designing PLC software can overcome deficiencies in the traditional way of programming manufacturing control systems, and can have wide ramifications in several industrial applications. Automation control systems are modeled by formal languages or, equivalently, by state machines. Formal representations provide a high-level description of the behavior of the system to be controlled. State machines can be analytically evaluated as to whether or not they meet the desired goals. Secondly, a state machine description provides a structured representation to convey the logical requirements and constraints such as detailed safety rules. Thirdly, well-defined control systems design outcomes are conducive to automatic code generation- An ability to produce control software executable on commercial distinct logic controllers can reduce programming lead-time and labor cost. In particular, the thesis is relevant with respect to the following aspect Customer-Driven ManufacturingIn modern manufacturing, systems are characterized by product and process innovation, become customer-driven and thus have to respond quickly to changing system requirements.A major challenge is therefore to provide enabling technologies that can economically reconfigure automation control systems in response to changing needs and new opportunities. Design and operational knowledge can be reused in real-time, therefore, giving a significant competitive edge in industrial practice.Higher Degree of Design Automation and Software QualityStudies have shown that programming methodologies in automation systems have not been able to match rapid increase in use of computing resources. For instance, the programming of PLCs still relies on a conventional programming style with ladder logic diagrams. As a result, the delays and resources in programming are a major stumbling stone for the progress of manufacturing industry. Testing and debugging may consume over 50% of the manpower allocated for the PLC program design. Standards [IEC 60848, 1999; IEC-61131-3, 1993; IEC 61499, 1998; ISO 15745-1, 1999] have been formed to fix and disseminate state-of-the-art design methods, but they normally cannot participate in advancingthe knowledge of efficient program and system design.A systematic approach will increase the level of design automation through reusing existing software components, and will provide methods to make large-scale system design manageable. Likewise, it will improve software quality and reliability and will be relevant to systems high security standards, especially those having hazardous impact on the environment such as airport control, and public railroads.System ComplexityThe software industry is regarded as a performance destructor and complexity generator. Steadily shrinking hardware prices spoils the need for software performance in terms of code optimization and efficiency. The result is that massive and less efficient software code on one hand outpaces the gains in hardware performance on the other hand. Secondly, software proliferates into complexity of unmanageable dimensions; software redesign and maintenance-essential in modern automation systems-becomes nearly impossible. Particularly, PLC programs have evolved from a couple lines of code 25 years ago to thousands of lines of code with a similar number of 1/O points. Increased safety, for instance new policies on fire protection, and the flexibility of modern automation systems add complexity to the program design process. Consequently, the life-cycle cost of software is a permanently growing fraction of the total cost. 80-90% of these costs are going into software maintenance, debugging, adaptation and expansion to meet changing needs [Simmons et al., 1998].Design Theory DevelopmentToday, the primary focus of most design research is based on mechanical or electrical products. One of the by-products of this proposed research is to enhance our fundamental understanding of design theory and methodology by extending it to the field of engineering systems design. A system design theory for large-scale and complex system is not yet fully developed. Particularly, the question of how to simplify a complicated or complex design task has not been tackled in a scientific way. Furthermore, building a bridge between design theory and the latest epistemological outcomes of formal representations in computer sciences and operations research, such as discrete event system modeling, can advance future development in engineering design.Application in Logical Hardware DesignFrom a logical perspective, PLC software design is similar to the hardware design of integrated circuits. Modern VLSI designs are extremely complex with several million parts and a product development time of 3 years [Whitney, 1996]. The design process is normally separated into a component design and a system design stage. At component design stage, single functions are designed and verified. At system design stage, components are aggregated and the whole system behavior and functionality is tested through simulation. In general, a complete verification is impossible. Hence, a systematic approach as exemplified for the PLC program design may impact the logical hardware design.可编程控制器1、前言可编程序的逻辑控制器(PLC),是由Richard E.Morley 于1968年发明的,如今已经被广泛的应用于生产、运输、化学等工业中。
自动化专业-外文文献-英文文献-外文翻译-plc方面

1、外文原文(复印件)A: Fundamentals of Single-chip MicrocomputerTh e si ng le-ch i p mi cr oc om pu ter is t he c ul mi nat i on o f bo th t h e d ev el op me nt o f th e d ig it al com p ut er an d t he int e gr at ed ci rc ui ta r gu ab ly th e t ow m os t s i gn if ic ant i nv en ti on s o f t h e 20t h c en tu ry[1].Th es e to w t ype s o f a rc hi te ct ur e a re fo un d i n s i ng le—ch ip m i cr oc om pu te r。
S o me em pl oy th e s p li t p ro gr am/d at a me mo ry of t he H a rv ar d ar ch it ect u re, sh ow n in Fi g.3-5A—1,ot he r s fo ll ow t hep h il os op hy, wi del y a da pt ed f or ge n er al—pu rp os e c o mp ut er s an dm i cr op ro ce ss or s, of ma ki ng no lo gi c al di st in ct io n be tw ee n p ro gr am a n d da ta m em or y a s i n th e Pr in cet o n ar ch it ec tu re,sh ow n in F ig。
3-5A-2.In g en er al te r ms a s in gl e—ch i p mi cr oc om pu ter isc h ar ac te ri zed b y the i nc or po ra tio n of al l t he uni t s o f a co mp ut er i n to a s in gl e de v i ce,as s ho wn i n F ig3—5A—3。
外文翻译--可编程逻辑控制器介绍

外文翻译--可编程逻辑控制器介绍What is a PLC?A PLC (i.e. Programmable Logic Controller) is a device that was invented to replace the necessary sequential relay circuits for machine control. The PLC works by looking at its inputs and depending upon their state, turning on/off its outputs. The user enters a program, usually via software, that gives the desired results. PLCs are used in many "real world" applications. If there is industry present, chances are good that there is a plc present. If you are involved in machining, packaging, material handling, automated assembly or countless other industries you are probably already using them. If you are not, you are wasting money and time. Almost any application that needs some type of electrical control has a need for a plc. For example, let's assume that when a switch turns on we want to turn a solenoid on for 5 seconds and then turn it off regardless of how long the switch is on for. We can do this with a simple external timer. But what if the process included 10 switches and solenoids? We would need 10 external timers. What if the process also needed to count how many times the switches individually turned on? We need a lot of external counters.As you can see the bigger the process the more of a need we have for a PLC. We can simply program the PLC to count its inputs and turn the solenoids on for the specified time.PLC HistoryIn the late 1960's PLCs were first introduced. The primary reasonfor designing such a device was eliminating the large cost involved in replacing the complicated relay based machine control systems. Bedford Associates (Bedford, MA) proposed something called a Modular Digital Controller (MODICON) to a major US car manufacturer. Other companies at the time proposed computer based schemes, one of which was based upon the PDP-8. The MODICON 084 brought the world's first PLC into commercial production.When production requirements changed so did the control system. This becomes very expensive when the change is frequent. Since relays are mechanical devices they also have a limited lifetime which requiredstrict adhesion to maintenance schedules.Troubleshooting was also quite tedious when so many relays are involved. Now picture a machine control panel that included many, possibly hundreds or thousands, of individual relays. The size could be mind boggling. How about the complicated initial wiring of so many individual devices! These relays would be individually wired together in a manner that would yield the desired outcome. Were there problems? You bet!These "new controllers" also had to be easily programmed by maintenance and plant engineers. The lifetime had to be long and programming changes easily performed. They also had to survive the harsh industrial environment. That's a lot to ask! The answers were to use aprogramming technique most people were already familiar with and replace mechanical parts with solid-state ones.In the mid70's the dominant PLC technologies were sequencer state-machines and the bit-slice based CPU. The AMD 2901 and 2903 were quite popular in Modicon and A-B PLCs. Conventional microprocessors lacked the power to quickly solve PLC logic in all but the smallest PLCs. As conventional microprocessors evolved, larger and larger PLCs were being based upon them. However, even today some are still based upon the 2903.(ref A-B's PLC-3) Modicon has yet to build a faster PLC than their 984A/B/X which was based upon the 2901.Communications abilities began to appear in approximately 1973. The first such system was Modicon's Modbus. The PLC could now talk to other PLCs and they could be far away from the actual machine they were controlling. They could also now be used to send and receive varying voltages to allow them to enter the analog world. Unfortunately, the lack of standardization coupled with continually changing technology has made PLC communications a nightmare of incompatible protocols and physical networks. Still, it was a great decade for the PLC!The 80's saw an attempt to standardize communications with General Motor's manufacturing automation protocol(MAP). It was also a time for reducing the size of the PLC and making them software programmable through symbolic programming on personal computers instead of dedicated programming terminals or handheld programmers. Today the world's smallest PLC is about the size of a single control relay!The 90's have seen a gradual reduction in the introduction of new protocols, and the modernization of the physical layers of some of the more popular protocols that survived the 1980's. The latest standard has tried to merge plc programming languagesunder one international standard. We now have PLCs that are programmable in function block diagrams, instruction lists, C and structured text all at the same time! PC's are also being used toreplace PLCs in some applications. The original company who commissioned the MODICON 084 has actually switched to a PC based control system.What will the 00's bring? Only time will tell.PLC OperationA PLC works by continually scanning a program. We can think of this scan cycle as consisting of 3 important steps. There are typically more than 3 but we can focus on the important parts and not worry about the others. Typically the others are checking the system and updating the current internal counter and timer values. Step 1-CHECK INPUT STATUS-First the PLC takes a look at each input to determine if it is on or off. In other words, is the sensor connected to the first input on? How about the second input? How about the third... It records this data into its memory to be used during the next step.Step 2-EXECUTE PROGRAM-Next the PLC executes your program oneinstruction at a time. Maybe your program said that if the firstinput was on then it should turn on the first output. Since it already knows which inputs are on/off from the previous step it will be able todecide whether the first output should be turned on based on the state of the first input. It will store the execution results for use later during the next step.Step 3-UPDATE OUTPUT STATUS-Finally the PLC updates the status ofthe outputs. It updates the outputs based on which inputs were on during the first step and the results of executing your program during the second step. Based on the example in step 2 it would now turn on thefirst output because the first input was on and your program said to turn on the first output when this condition is true. After the third step the PLC goes back to step one and repeats the steps continuously. One scan time is defined as the time it takes to execute the 3 steps listed above.PLC advantagesNow that we understand how the PLC processes inputs, outputs, andthe actual program we are almost ready to start writing a program. But first lets see how a relay actually works. After all, the main purpose of a plc is to replace "real-world" relays. We can think of a relay as an electromagnetic switch. Apply a voltage to the coil and a magnetic field is generated. This magnetic field sucks the contacts of the relay in, causing them to make a connection. These contacts can be considered to be a switch. They allow current to flow between 2 points thereby closing the circuit. Let's consider the following example. Here we simply turn on a bell (Lunch time!) whenever a switch is closed. We have 3 real-world parts. A switch, a relay and a bell. Whenever the switchcloses we apply a current to a bell causing it to sound. Notice in the picture that we have 2 separate circuits. The bottom(blue) indicates the DC part. The top(red) indicates the AC part.Here we are using a dc relay to control an AC circuit. That's thefun of relays! When the switch is open no current can flow through the coil of the relay. As soon as the switch is closed, however, currentruns through the coil causing a magnetic field to build up. This magnetic field causes the contacts of the relay to close. Now AC current flows through the bell and we hear it. Lunch time!Next, lets use a plc in place of the relay. (Note that this mightnot be very cost effective for this application but it does demonstrate the basics we need.) The first thing that's necessary is to createwhat's called a ladder diagram. After seeing a few of these it will become obvious why its called a ladder diagram. We have to create one of these because, unfortunately, a plc doesn't understand a schematic diagram. It only recognizes code. Fortunately most PLCs have software which convert ladder diagrams into code. This shields us from actually learning the plc's code. First step- We have to translate all of the items we're using into symbols the plc understands. The plc doesn't understand terms like switch, relay, bell, etc. It prefers input, output, coil, contact, etc. It doesn't care what the actual input or output device actually is. It only cares that its an input or an output.First we replace the battery with a symbol. This symbol is common to all ladder diagrams. We draw what are called bus bars. These simply looklike two vertical bars. One on each side of the diagram. Think of theleft one as being + voltage and the right one as being ground. Further think of the current (logic) flow as being from left toright.Next we give the inputs a symbol. In this basic example we have one real world input. (i.e. the switch) We give the input that the switchwill be connected to, to the symbol shown below. This symbol can also be used as the contact of a relay.A contact symbolNext we give the outputs a symbol. In this example we use one output (i.e. the bell). We give the output that the bell will be physically connected to the symbol shown below. This symbol is used as the coil of a relay.A coil symbolThe AC supply is an external supply so we don't put it in our ladder. The plc only cares about which output it turns on and not what's physically connected to it. Second step- We must tell the plc where everything is located. In other words we have to give all the devices an address. Where is the switch going to be physically connected to the plc? How about the bell? We start with a blank road map in the PLCs town and give each item an address. Could you find your friends if you didn't know their address? You know they live in the same town but which house?The plc town has a lot of houses (inputs and outputs) but we have to figure out who lives where (what device is connected where). We'll get further into the addressing scheme later. The plc manufacturers each do it a different way! For now let's say that our input will be called "0000". The output will be called "500".Final step- We have to convert the schematic into a logical sequence of events. This is much easier than it sounds. The program we're going to write tells the plc what to do when certain events take place. In our example we have to tell the plc what to do when the operator turns on the switch. Obviously we want the bell to sound but the plc doesn't know that. It's a pretty stupid device, isn't it!The picture above is the final converted diagram. Notice that we eliminated the real world relay from needing a symbol. It's actually "inferred" from the diagram. Huh? Don't worry, you'll see what we mean as we do more examples.1.PLC是什么PLC ,即可编程逻辑控制器,是发明用于取代必要的顺序继电器的机器控制电路一种装臵。
可编程控制器本科毕业论文中英文翻译材料关于PLC外文翻译

可编程控制器本科毕业论文中英文翻译材料关于PLC外文翻译中文翻译可编程控制器技术可编程序控制器(Programmable Logic Controller,习惯上简称为PLC)是以微处理器为核心的通用工业自动化装置。
是20世纪60年代末在继电器控制系统的基础上开发出来的,它将传统的继电器控制技术与计算机技术和通信技术融为一体,具有结构简单、性能优越、可靠性高、灵活通用、易于编程、使用方便等优点。
具体来说,PLC的特点表现为以下几个方面:?硬件的可靠性高。
PLC专业在工业环境的恶劣条件下应用而设计。
一个设计良好的PLC能置于有很强电噪声、电磁干扰、机械振动、极端温度和湿度很大的环境中。
在硬件设计方面,首先是选用优质器件,再就是采用合理的系统结构,加固、简化安装,使它易于抗振冲击,对印刷电路板的设计、加工和焊接都采取了极为严格的工艺措施,而在电路、结构及工艺上采取了一些独特的方式。
由于PLC 本身具有很高的可靠性,所以在发生故障的部位大多集中在输入/输出的部位以及如传感器件、限位开关、光电开关、电磁阀、电机等外围装置上。
?编程简单,使用方便。
用微机实现自动控制,常使用汇编语言编程,难于掌握,要求使用者具有一定水平的计算机硬件和软件知识。
PLC采用面向控制过程、面向问题的编程方式,与目前微机控制常用的汇编语言相比,虽然在PLC内部增加了解释程序,增加了程序的执行时间,但对大多数的机电控制设备来说,这种损耗是微不足道的。
?接线简单,通用性好。
在电信号匹配的情况下,PLC的接线只需将输入信号的设备(按钮、开关等)与PLC输入端子连接,将接受输出信号执行控制任务的执行元件(接触器、电磁阀)与PLC输出端子连接。
接线简单、工作量少,省去了传统的继电器控制系统的接线和拆线的麻烦。
PLC的编程逻辑提供了能随要求而改变的逻辑关系,这样生产线的自动化过程就能随意改变。
这种性能使PLC具有很高的经济效益。
用于连接现场设备的硬件接口实际上已经设计成为PLC的组成部分,模块化的自诊断接口电路能指出故障,并易于排除故障与替换故障部件,这样的软硬件设计就使现场电气人员与技术人员易于使用。
外文翻译---控制装置和可编程逻辑控制-其他专业

中文3475字Control Devices and PLCJoseph La FauciFrom Wikipedia, the free encyclopediaSeveral types of control devices are used in industry to satisfy the following control needs. Mechanical Control、Pneumatic Control、Electromechanical Control、Electronic Control、Computer Control、Programmable Logic Control (PLC)Mechanical control includes cams and governors. Although they have been used for the control of very complex machines, to be cost effectively, today they are used for simple and fixed-cycle task control. Some automated machines, such as screw machines, still use cam-based control. Mechanical control is difficult to manufacture and is subject to wear. Pneumatic control is still very popular for certain applications. It uses compressed air, valves, and switches to construct simple control logic, but is relatively slow. Because standard components are used to construct the logic, it is easier to build than a mechanical control. Pneumatic control parts are subject to wear.As does a mechanical control, an electromechanical control use switches, relays, timers, counters, and so on, to construct logic. Because electric current is used, it is faster and more flexible. The controllers using electromechanical control are called relay devices.Electric control is similar to electromechanical control, except that the moving mechanical components in an electromechanical control device are replaced by electronic switches, which works faster and is more reliable.Computer control is the most versatile control system. The logic of the control is programmed into the computer memory using software. It not only can be for machine and manufacturing system control, but also for data communication. Very complex control strategies with extensive computations can be programmed. The first is the interface with the outside world. Internally, the computer uses a low voltage (5 to 12 volts) and a low current (several milliamps). Machine requires much higher voltages (24, 110, or 220 voltages) and currents (measured in amps). The interface not only has to convert the voltage difference, but also must filter out the electric noise usually found in the shop. The interface thus must be custom-built for each application.In order to use the advantages of all those controllers and eliminate the difficulties, the programmable logic controllers were invented. A PLC was a replacement for relay devices. They are programmed using a ladder diagram, which is standard electric wiring diagram. As PLCs become more flexibility, high-level as well as low-level languages are available to PLC programmers. PLCs have the flexibility of computers as well as a standard and easy interface with processes and other devices. They are widely accepted in industry for controlling from a single device to a complex manufacturing facility.Automatic of many different processes, such as controlling machines or factory assembly lines, is done through the use of small the computers called a programmable logic controller (PLC), PLCs were first created to serve the automobile industry, and the first PLC project was developed in 1968 for General Motors to replace hard-wired relay systems with an electronic controller. Since the advent of PLCs, the ability to centralize factory processes, especially in the automotive industry, has improved greatly.Automatic control has become an important consideration in most industrial processes where certain repetitive operations are performed. This applies to situations such as the automatic assembly of modules and products where a cycle of events is conducted in a consistent and uniform manner. Applications generally include a combination of feeding, handing, drilling, cutting, assembling, discharging, inspecting, packaging and transporting by conveyor.Prior to the introduction of computer-based control systems the automation of such events was achieved by using either electrical relay logic circuits or pneumatic logic circuits. Althoughthese are conceptionally simple and easy to maintain, they are somewhat bulky and can be expensive. More important is the fact that the resulting control circuits are inflexible and do not lend themselves to easy system control alterations.The late 1960s saw the introduction of the programmable logic controller (PLC) as a direct replacement for the relay sequence controllers. In essence the PLC replaces the hardwired relay or pneumatic logic with a more flexible programmable logic. It offers a simple, flexible and low-cost means of implementing a sequence control strategy where outputs for switching devices on and off are set according to input conditions as read from digital sensor states. It should be noted that, particularly in the USA, the PLC is often referred to as a ‘programmable controller’ with the abbreviation of PC. It should not be confused with the personal computer ‘PC’ or IBM-PC.The PLC is composed of the same ingredients as a microcomputer such as a microprocessor, memory and input/output facilities. The processor executes the instructions held in memory by operating on inputs derived from the controlled process and providing outputs in accordance with the logic sequence defined in the control program. Its basic principle of operation during the execution of the program is that the program is scanned very fast, typically 1 to 20 us per step, to record all input states. The outputs are then set according to the logic specified in the program. The sequence is continually repeated for each scan period of the controller.Small PLCs dedicated to sequential control have typically 12 inputs and 8 outputs with the possibility of expansion up to 128 I/O lines. They come complete with an input interface to accommodate a range of input signals from the controlled process which are then converted to an appropriate from for the processor. Similarly, provision is made at the output of the PLC to interface with a variety of process hardware such as lamps, motors, relays and solenoids. The typical handing voltages are 24V DC and 110V AC.Program instructions can be input into the battery backup RAM of a PLC by means of either a hand-held programming keypad or a connected PC with an appropriate software development package. Some LCD programming consoles incorporate a limited graphical display which illustrates the program in ladder logic format as the programmer builds it up using symbolic keys. This is also the principle of the PC-based development system where additionally the programmer has access to a lager visual display and the PC’s disk operating system for data storage and retrieval. Once the program has been debugged and the control strategy verified by simulation, the codes can be loaded into an erasable and programmable read only memory chip (EPROM) which can then be installed in the PLC.There are a large number of manufacturers of PLCs. Although some use their own particular software language the majority are based on the ladder logic diagram. Historically this was introduced in order to gain the acceptance of customers who were interested in moving from hardwired relay control systems to the PLC. In addition to the basic input/output facilities the PLC also contains timers, counters and other special functions.As PLC technology has advanced, so have programming languages and communications capabilities, along with many other important features. Today’s PLCs offer faster scan times, space efficient high-density input/output systems, and special interfaces to allow non-traditional devices to be attached directly to the PLC. Not only can they communicate with other control systems, they can also perform reporting functions and diagnose their own failures, as well as the failure of a machine or process.Size is typically used to categorize today’s PLC, and is often an indication of the features and types of applications it will accommodate. Small, non-modular PLCs (also known as fixed I/O PLCs) generally have less memory and accommodate a small number of inputs and outputs in fixed configurations. Modular PLCs have bases or racks that allow installation of multiple I/O modules, and will accommodate more complex application.When you consider all of the advances PLCs have made and all the benefits they offer, it’s easy to see how they’ve become a standard in the industry, and why they will most likelycontinue their success in the future.Communicating with a variety of other control devices has not been strength of traditional PLC networks. Many industrial controllers are quipped with an RS232 serial port for the transfer of data to and from other digital control devices in a system.PLCs face ever more complex challenges these days. Where once they quietly replaced relays and gave an occasional report to a corporate mainframe, they are now grouped into cells, given new jobs and new languages, and are force to compete against a growing array of control products. For this year’s annual PLC technology update, we queried PLC makers on these topics and more.Higher level PLC programming languages have been around for some time, but lately their popularity has been mushrooming. As Raymond Leveille, vice president & general manager, Siemens Energy & Automation, Inc. Programmable Controls Division, points out: “As programmable controls are being used for more and more sophisticated operations, languages other than ladder logic become more practical, efficient, and powerful. For example, it’s very difficult to write a trigonometric function using ladder logic.”Language gaining acceptance includes Boolean, control system flowcharting, and such function chart languages as Graphcet and its variations. And there’s increasing interest in languages like C and BASIC.Thus far, PLCs have not been used extensively for continuous process control. Will this continue? “The feeling that I’ve gotten,” says Ken Jannotta, manager, product planning, Series one and Series Six product, at GE Fanuc North America, “is that PLCs will be used in the process industry but not necessarily for process control.”Several vendors-obviously betting that the opposite will happen-have introduced PLCs optimized for process applications. Rich Ryan, manager, commercial marketing, Allen-bradley Programmable Controls Div. cites PLCs’ increasing use in such industries as food, chemicals, and petroleum.While there are concerns about the lack of compatible communications between PLCs from different vendors, the connection at the other end-the I/O-is even more fragmented. With rare exceptions, I/O is still proprietary. Yet there are those who feel that I/O will eventually become more universal. GE Fanuc is hoping to do that with its Genius smart I/O line. The independent I/O makers are pulling in the same direction.Many say that I/O is such a high-value item that PLC makers will always want to keep it proprietary. As Ken Jannotta, says: “The I/O is going to be a disproportionate amount of the hardware sale. Certainly each PLC vendor is going to try to protect that.” For that reason, he says, PLC makers won’t begin selling universal I/O systems from other vendors. “If we start selling that kind of product,” says Jannotta, “what do we manufacture?”With more intelligent I/O appearing, Sal Provanzano feels this will lead to more differentiation among I/O from different makers. “Where the I/O becomes extremely intelligent and becomes part of the system,” he says, “it really is hard to define which is the I/O and which is the CPU. It really starts to become distributed processing. Now, in order for that distributed processing to work, the CPU, if you will, is equally integrated into the system as the I/O.”While different PLCs probably will continue to use proprietary I/O, several vendors make it possible to connect their I/O to IBM PC (personal computer)-compatible equipment. Allen-bradley, Gould, and Cincinnati Milacron already have, and rumor has it that GE is planning something along these same lines.“There are inherent architectural differences between a general purpose computer,”says Rich Ryan, “and a programmable controller. There are hardware constructs built into almost every manufacturer’s programmable controller today that customize the hardware to run ladder logic and to solve machine code.”One fundamental difference he cites is called state of the machine. Ryan: “When you shut the machine off, or interrupt the cycle, or you jump to another spot in the cycle, programmable controllers inherently remember the state of the machine: what the timers were, what the counters were, and what the states of all the latches were. Computersdon’t inherently do that.”附录B 中文翻译控制装置和可编程逻辑控制维基自由百科全书工业用的几种控制装置是为了满足以下一些控制要求:机械控制、气动控制、机电控制、电子控制、计算机控制、可编程控制。
可编程控制器英文文献及其翻译

Programmable Logic ControllerA programmable logic controller (PLC) or programmable controller is a digital computer used for automation of electromechanical processes, such as control of machinery on factory assembly lines, amusement rides, or lighting fixtures. PLCs are used in many industries and machines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed or non-volatile memory. A PLC is an example of a real time system since output results must be produced in response to input conditions within a bounded time, otherwise unintended operation will result.1.HistoryThe PLC was invented in response to the needs of the American automotive manufacturing industry. Programmable logic controllers were initially adopted by the automotive industry where software revision replaced the re-wiring of hard-wired control panels when production models changed.Before the PLC, control, sequencing, and safety interlock logic for manufacturing automobiles was accomplished using hundreds or thousands of relays, cam timers, and drum sequencers and dedicated closed-loop controllers. The process for updating such facilities for the yearly model change-over was very time consuming and expensive, as electricians needed to individually rewire each and every relay.In 1968 GM Hydramatic (the automatic transmission division of General Motors) issued a request for proposal for an electronic replacement for hard-wired relay systems. The winning proposal came from Bedford Associates of Bedford, Massachusetts. The first PLC, designated the 084 because it was Bedford Associates' eighty-fourth project, was the result. Bedford Associates started a new company dedicated to developing, manufacturing, selling, and servicing this new product: Modicon, which stood for MOdular DIgital CONtroller. One of the people who worked on that project was Dick Morley, who is considered to be the "father" of thePLC. The Modicon brand was sold in 1977 to Gould Electronics, and later acquired by German Company AEG and then by French Schneider Electric, the current owner.One of the very first 084 models built is now on display at Modicon's headquarters in North Andover, Massachusetts. It was presented to Modicon by GM, when the unit was retired after nearly twenty years of uninterrupted service. Modicon used the 84 moniker at the end of its product range until the 984 made its appearance.The automotive industry is still one of the largest users of PLCs.2.DevelopmentEarly PLCs were designed to replace relay logic systems. These PLCs were programmed in "ladder logic", which strongly resembles a schematic diagram of relay logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLCs used a form of instruction list programming, based on a stack-based logic solver.Modern PLCs can be programmed in a variety of ways, from ladder logic to more traditional programming languages such as BASIC and C. Another method is State Logic, a very high-level programming language designed to program PLCs based on state transition diagrams.Many early PLCs did not have accompanying programming terminals that were capable of graphical representation of the logic, and so the logic was instead represented as a series of logic expressions in some version of Boolean format, similar to Boolean algebra. As programming terminals evolved, it became more common for ladder logic to be used, for the aforementioned reasons. Newer formats such as State Logic and Function Block (which is similar to the way logic is depicted when using digital integrated logic circuits) exist, but they are still not as popular as ladder logic.A primary reason for this is that PLCs solve the logic in a predictable and repeating sequence, and ladder logic allows the programmer (the person writing the logic) to see any issues with the timing of the logic sequence more easily than would be possible in other formats.3.ProgrammingEarly PLCs, up to the mid-1980s, were programmed using proprietary programming panels or special-purpose programming terminals, which often had dedicated function keys representing the various logical elements of PLC programs.Programs were stored on cassette tape cartridges. Facilities for printing and documentation were very minimal due to lack of memory capacity. The very oldest PLCs used non-volatile magnetic core memory.More recently, PLCs are usually programmed using special application software written for use on desktop computers, and connecting between the desktop computer and the PLC such as via Ethernet or RS-232 cabling. Such software allows entry and editing of the ladder style logic, and then may provide additional functionality to assist debugging and troubleshooting the software, for example by highlights portions of the logic to show current status during operation or via simulation. Finally, the software may allow uploading and downloading of the program between the computer and the PLC, for backup and restoration purposes. Alternately, specific devices known as programming boards are used to hard wire the logic into the controller by the use of a removable chip, such as an EEPROM, where the program is transferred to the programming board from the workstation via serial or other bus logic.4.FunctionalityThe functionality of the PLC has evolved over the years to include sequential relay control, motion control, process control, distributed control systems and networking. The data handling, storage, processing power and communication capabilities of some modern PLCs are approximately equivalent to desktop computers. PLC-like programming combined with remote I/O hardware, allow a general-purpose desktop computer to overlap some PLCs in certain applications. Regarding the practicality of these desktop computer based logic controllers, it is important to note that they have not been generally accepted in heavy industry because the desktop computers run on less stable operating systems than do PLCs, and because the desktop computer hardware is typically not designed to the same levels of tolerance to temperature, humidity, vibration, and longevity as the processors used in PLCs. In addition to the hardware limitations of desktop based logic, operating systems such as Windows do not lend themselves to deterministic logic execution, with the result that the logic may not always respond to changes in logic state or input status with the extreme consistency in timing as is expected from PLCs. Still, such desktop logic applications find use in less critical situations, such as laboratory automation and use in small facilities where the application is less demanding and critical, because they are generally much less expensive than PLCs.In more recent years, small products called PLRs (programmable logic relays), and also by similar names, have become more common and accepted. These are verymuch like PLCs, and are used in light industry where only a few points of I/O (i.e. a few signals coming in from the real world and a few going out) are involved, and low cost is desired. These small devices are typically made in a common physical size and shape by several manufacturers, and branded by the makers of larger PLCs to fill out their low end product range. Popular names include PICO Controller, NANO PLC, and other names implying very small controllers. Most of these have between 8 and 12 digital inputs, 4 and 8 digital outputs, and up to 2 analog inputs. Size is usually about 4" wide, 3" high, and 3" deep. Most such devices include a tiny postage stamp sized LCD screen for viewing simplified ladder logic (only a very small portion of the program being visible at a given time) and status of I/O points, and typically these screens are accompanied by a 4-way rocker push-button plus four more separate push-buttons, similar to the key buttons on a VCR remote control, and used to navigate and edit the logic. Most have a small plug for connecting via RS-232 to a personal computer so that programmers can use simple Windows applications for programming instead of being forced to use the tiny LCD and push-button set for this purpose. Unlike regular PLCs that are usually modular and greatly expandable, the PLRs are usually not modular or expandable, but their price can be two orders of magnitude less than a PLC and they still offer robust design and deterministic execution of the logic.5.FeaturesThe main difference from other computers is that PLCs are armored for severe conditions (such as dust, moisture, heat, cold) and have the facility for extensive input/output (I/O) arrangements. These connect the PLC to sensors and actuators. PLCs read limit switches, analog process variables (such as temperature and pressure), and the positions of complex positioning systems. Some use machine vision. On the actuator side, PLCs operate electric motors, pneumatic or hydraulic cylinders, magnetic relays, solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC.6.System styleA small PLC will have a fixed number of connections built in for inputs and outputs. Typically, expansions are available if the base model has insufficient I/O.Modular PLCs have a chassis (also called a rack) into which are placed modules with different functions. The processor and selection of I/O modules is customised for the particular application. Several racks can be administered by a single processor, and may have thousands of inputs and outputs. A special high speed serial I/O link is used so that racks can be distributed away from the processor, reducing the wiring costs for large plants.7.PLC compared with other control systemsPLCs are well-adapted to a range of automation tasks. These are typically industrial processes in manufacturing where the cost of developing and maintaining the automation system is high relative to the total cost of the automation, and where changes to the system would be expected during its operational life. PLCs contain input and output devices compatible with industrial pilot devices and controls; little electrical design is required, and the design problem centers on expressing the desired sequence of operations. PLC applications are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized control systems are economic due to the lower cost of the components, which can be optimally chosen instead of a "generic" solution, and where the non-recurring engineering charges are spread over thousands or millions of units.For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities.A microcontroller-based design would be appropriate where hundreds or thousands of units will be produced and so the development cost (design of power supplies, input/output hardware and necessary testing and certification) can be spread over many sales, and where the end-user would not need to alter the control. Automotive applications are an example; millions of units are built each year, and very few end-users alter the programming of these controllers. However, some specialty vehicles such as transit busses economically use PLCs instead of custom-designed controls, because the volumes are low and the development cost would be uneconomic.Very complex process control, such as used in the chemical industry, may require algorithms and performance beyond the capability of even high-performance PLCs. Very high-speed or precision controls may also require customized solutions; for example, aircraft flight controls.Programmable controllers are widely used in motion control, positioning control and torque control. Some manufacturers produce motion control units to be integrated with PLC so that G-code (involving a CNC machine) can be used to instruct machine movements.PLCs may include logic for single-variable feedback analog control loop, a "proportional, integral, derivative" or "PID controller." A PID loop could be used to control the temperature of a manufacturing process, for example. Historically PLCs were usually configured with only a few analog control loops; where processes required hundreds or thousands of loops, a distributed control system (DCS) would instead be used. As PLCs have become more powerful, the boundary between DCS and PLC applications has become less distinct.PLCs have similar functionality as Remote Terminal Units. An RTU, however, usually does not support control algorithms or control loops. As hardware rapidly becomes more powerful and cheaper, RTUs, PLCs and DCSs are increasingly beginning to overlap in responsibilities, and many vendors sell RTUs with PLC-like features and vice versa. The industry has standardized on the IEC 61131-3 functional block language for creating programs to run on RTUs and PLCs, although nearly all vendors also offer proprietary alternatives and associated development environments.可编程控制器可编程逻辑控制器(PLC)或可编程控制器是一种数字化的计算机,机电流程自动化应用,如机械控制的工厂流水线,机动游戏,或照明装置。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2012届毕业设计说明书外文文献院、部:_____学生姓名:__________________指导教师:—专业:_________________班级:___________________完成时间:__________Programmable logic controllerA programmable logic controller (PLC) or programmable controller is a digital computer used for automation of electromechanical processes,such as control ofmachinery on factory assembly lines, amusement rides, or lighting fixtures. PLCs are used in many industries and machines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed or non-volatile memory. A PLC is an example of a real time system since output results must be produced in response to input conditions within a bounded time, otherwise unintended operation will result.1 HistoryThe PLC was invented in response to the needs of the American automotive manufacturing industry. Programmable logic controllers were initially adopted by the automotive industry where software revision replaced the re-wiring of hard-wired control panels when production models changed.Before the PLC, control, sequencing, and safety interlock logic for manufacturing automobiles was accomplished using hundreds or thousands of relays, cam timers, and drum sequencers and dedicated closed-loop controllers. The process for updating such facilities for the yearly model change-over was very time consuming and expensive, as electricians needed to individually rewire each and every relay.In 1968 GM Hydramatic (the automatic transmission division of General Motors) issued a request for proposal for an electronic replacement for hard-wired relay systems. The winning proposal came from Bedford Associates of Bedford, Massachusetts. The first PLC, designated the 084 because it was Bedford Associates' eighty-fourth project, was the result. Bedford Associates started a new company dedicated to developing, manufacturing, selling, and servicing this new product: Modicon, which stood for MOdular DIgital CONtroller. One of the people who worked on that project was Dick Morley, who is considered to be the "father" of thePLC. The Modicon brand was sold in 1977 to Gould Electronics, and later acquired by German Company AEG and then by French Schneider Electric, the current owner.One of the very first 084 models built is now on display at Modicon's headquarters in North Andover, Massachusetts. It was presented to Modicon by GM, when the unit was retired after nearly twenty years of uninterrupted service. Modicon used the 84 moniker at the end of its product range until the 984 made its appearance.The automotive industry is still one of the largest users of PLCs.2 DevelopmentEarly PLCs were designed to replace relay logic systems. These PLCs were programmed in "ladder logic", which strongly resembles a schematic diagram of relay logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLCs used a form of instruction list programming, based on a stack-based logic solver.Modern PLCs can be programmed in a variety of ways, from ladder logic to more traditional programming languages such as BASIC and C. Another method is State Logic, a very high-level programming language designed to program PLCs based on state transition diagrams.Many early PLCs did not have accompanying programming terminals that were capable of graphical representation of the logic, and so the logic was instead represented as a series of logic expressions in some version of Boolean format, similar to Boolean algebra. As programming terminals evolved, it became more common for ladder logic to be used, for the aforementioned reasons. Newer formats such as State Logic and Function Block (which is similar to the way logic is depicted when using digital integrated logic circuits) exist, but they are still not as popular as ladder logic. A primary reason for this is that PLCs solve the logic in a predictable and repeating sequence, and ladder logic allows the programmer (the person writing the logic) to see any issues with the timing of the logic sequence more easily than would be possible in other formats. 2.1ProgrammingEarly PLCs, up to the mid-1980s, were programmed using proprietary programming panels or special-purpose programming terminals, which often had dedicated function keys representing the various logical elements of PLC programs. Programs were stored on cassette tape cartridges. Facilities for printing and documentation were very minimal due to lack of memory capacity. The very oldest PLCs used non-volatile magnetic core memory.More recently, PLCs are programmed using application software on personal computers. The computer is connected to the PLC through Ethernet, RS-232, RS-485 or RS-422 cabling. The programming software allows entry and editing of the ladder-style logic. Generally the software provides functions for debugging and troubleshooting the PLC software, for example, by highlighting portions of the logic to show current status during operation or via simulation. The software will upload and download the PLC program, for backup and restoration purposes. In some models of programmable controller, the program is transferred from a personal computer to the PLC though aprogramming board which writes the program into a removable chip such as an EEPROM or EPROM.3 FunctionalityThe functionality of the PLC has evolved over the years to include sequential relay control, motion control, process control, distributed control systems and networking. The data handling, storage, processing power and communication capabilities of some modern PLCs are approximately equivalent to desktop computers. PLC-like programming combined with remote I/O hardware, allow a general-purpose desktop computer to overlap some PLCs in certain applications. Regarding the practicality of these desktop computer based logic controllers, it is important to note that they have not been generally accepted in heavy industry because the desktop computers run on less stable operating systems than do PLCs, and because the desktop computer hardware is typically not designed to the same levels of tolerance to temperature, humidity, vibration, and longevity as the processorsused in PLCs. In addition to the hardware limitations of desktop based logic, operating systems such as Windows do not lend themselves to deterministic logic execution, with the result that the logic may not always respond to changesin logic state or input status with the extreme consistency in timing as is expected from PLCs. Still, such desktop logic applications find use in less critical situations, such as laboratory automation and use in small facilities where the application is less demanding and critical, because they are generally much less expensive than PLCs.In more recent years, small products called PLRs (programmable logic relays), and also by similar names, have become more common and accepted. These are very much like PLCs, and are used in light industry where only a few points of I/O (i.e. a few signals coming in from the real world and a few going out) are involved, and low cost is desired. These small devices are typically made in a common physical size and shape by several manufacturers, and branded by the makers of larger PLCs to fill out their low end product range. Popular names include PICO Controller, NANO PLC, and other names implying very small controllers. Most of these have between 8 and 12 digital inputs, 4 and 8 digital outputs, and up to 2 analog inputs. Size is usually about 4" wide, 3" high, and 3" deep. Most such devices include a tiny postage stamp sized LCD screen for viewing simplified ladder logic (only a very small portion of the program being visible at a given time) and status of I/O points, and typically these screens are accompanied by a 4-way rocker push-button plus four more separate push-buttons, similar to the key buttons on a VCRremote control, and used to navigate and edit the logic. Most have a small plug for connecting via RS-232 or RS-485 to a personal computer so that programmers can use simple Windows applications for programming instead of being forced to use the tiny LCD and push-button set for this purpose. Unlike regular PLCs that are usually modular and greatly expandable, the PLRs are usually not modular or expandable, but their price can be two orders of magnitude less than a PLC and they still offer robust design and deterministic execution of the logic.4 PLC Topics4.1 FeaturesThe main difference from other computers is that PLCs are armored for severe conditions (such as dust, moisture, heat, cold) and have the facility for extensiveinput/output (I/O) arrangements.These connect the PLC to sensors and actuators. PLCs read limit switches, analog process variables (such as temperature and pressure), and the positions of complex positioning systems. Some use machine vision. On the actuator side, PLCs operate electric motors, pneumatic or hydraulic cylinders, magnetic relays, solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC.4.2 System scaleA small PLC will have a fixed number of connections built in for inputs andoutputs. Typically, expansions are available if the base model has insufficient I/O. Modular PLCs have a chassis (also called a rack) into which are placed modules with different functions. The processor and selection of I/O modules is customised for the particular application. Several racks can be administered by a single processor, and may have thousands of inputs and outputs. A special high speed serial I/O link is used so that racks can be distributed away from the processor, reducing the wiring costs for large plants.4.3 User interfacePLCs may need to interact with people for the purpose of configuration, alarm reporting or everyday control.A simple system may use buttons and lights to interact with the user. Text displaysare available as well as graphical touch screens. More complex systems use a programming and monitoring software installed on a computer, with the PLC connected via a communication interface.4.4 CommunicationsPLCs have built in communications ports, usually 9-pin RS-232, but optionally EIA-485 or Ethernet. Modbus, BACnet or DF1 is usually included as one of the communications protocols. Other options include various fieldbuses such as DeviceNet or Profibus. Other communications protocols that may be used are listed in the List of automation protocols.Most modern PLCs can communicate over a network to some other system, such as a computer running a SCADA (Supervisory Control And Data Acquisition) system or web browser.PLCs used in larger I/O systems may have peer-to-peer (P2P) communication between processors. This allows separate parts of a complex process to have individual control while allowing the subsystems to co-ordinate over the communication link. These communication links are also often used for HMI devices such as keypads or PC-type workstations.4.5ProgrammingPLC programs are typically written in a special application on a personal computer, then downloaded by a direct-connection cable or over a network to the PLC.The program is stored in the PLC either in battery-backed-up RAM or some other non-volatile flash memory. Often, a single PLC can be programmed to replace thousands of relays.Under the IEC 61131-3 standard, PLCs can be programmed using standards-basedprogramming languages. A graphical programming notation called Sequential Function Charts is available on certain programmable controllers. Initially most PLCs utilized Ladder Logic Diagram Programming, a model which emulated electromechanical control panel devices (such as the contact and coils of relays) which PLCs replaced. This model remains common today.IEC 61131-3 currently defines five programming languages for programmable control systems: FBD (Function block diagram), LD (Ladder diagram), ST (Structured text, similar to the Pascal programming language), IL (Instruction list, similar to assembly language) and SFC (Sequential function chart). These techniques emphasize logicalorganization of operations.While the fundamental concepts of PLC programming are common to all manufacturers, differences in I/O addressing, memory organization and instruction sets mean that PLC programs are never perfectly interchangeable between different makers. Even within the same product line of a single manufacturer, different models may not be directly compatible.5 PLC compared with other control systemsPLCs are well-adapted to a range of automation tasks. These are typically industrial processes in manufacturing where the cost of developing and maintaining the automation system is high relative to the total cost of the automation, and where changes to the system would be expected during its operational life. PLCs contain input and output devices compatible with industrial pilot devices and controls; little electrical design is required, and the design problem centers on expressing the desired sequence of operations. PLC applications are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized control systems are economic due to the lower cost of the components, which can be optimally chosen instead of a "generic" solution, and where the non-recurring engineering charges are spread over thousands or millions of units.For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities.A microcontroller-based design would be appropriate where hundreds or thousandsof units will be produced and so the development cost (design of power supplies, input/output hardware and necessary testing and certification) can be spread over many sales, and where the end-user would not need to alter the control. Automotive applications are an example; millions of units are built each year, and very few end-users alter the programming of these controllers. However, some specialty vehicles such as transit busses economically use PLCs instead of custom-designed controls, because the volumes are low and the development cost would be uneconomic.Very complex process control, such as used in the chemical industry, may require algorithms and performance beyond the capability of even high-performance PLCs. Very high-speed or precision controls may also require customized solutions; for example, aircraft flight controls.Programmable controllers are widely used in motion control, positioning control and torque control. Some manufacturers produce motion control units to be integrated with PLC so that G-code (involving a CNC machine) can be used to instruct machine movements.PLCs may include logic for single-variable feedback analog control loop, a "proportional, integral, derivative" or "PID controller". A PID loop could be used to control the temperature of a manufacturing process, for example. Historically PLCs were usually configured with only a few analog control loops; where processes required hundreds or thousands of loops, a distributed control system (DCS) would instead be used. As PLCs have become more powerful, the boundary between DCS and PLC applications has become less distinct.PLCs have similar functionality as Remote Terminal Units. An RTU, however, usually does not support control algorithms or control loops. As hardware rapidly becomes more powerful and cheaper, RTUs, PLCs and DCSs are increasingly beginning to overlap in responsibilities, and many vendors sell RTUs with PLC-like features and vice versa. The industry has standardized on the IEC 61131-3 functional block language for creating programs to run on RTUs and PLCs, although nearly all vendors also offer proprietary alternatives and associated development environments.6 Digital and analog signalsDigital or discrete signals behave as binary switches, yielding simply an On or Off signal (1 or 0, True or False, respectively). Push buttons, limit switches, and photoelectric sensors are examples of devices providing a discrete signal. Discrete signals are sent using either voltage or current, where a specific range is designated as On and another as Off. For example, a PLC might use 24 V DC I/O, with values above 22 V DC representing On, values below 2VDC representing Off, and intermediate values undefined. Initially, PLCs had only discrete I/O.Analog signals are like volume controls, with a range of values between zero and full-scale. These are typically interpreted as integer values (counts) by the PLC, with various ranges of accuracy depending on the device and the number of bits available to store the data. As PLCs typically use 16-bit signed binary processors, the integer values are limited between -32,768 and +32,767. Pressure, temperature, flow, and weight are often representedby analog signals. Analog signals can use voltage or current with a magnitude proportional to the value of the process signal. For example, an analog 0 - 10 V input or 4-20 mA would be converted into an integer value of 0 - 32767.可编程逻辑控制器可编程逻辑控制器(PLC)或可编程序控制器是用于机电过程自动化的数字计算机,例如控制机械厂生产线、游乐设施或照明装置。