自动化制造系统与PLC关系---自动化外文翻译5000字
自动化制造系统与PLC论文中英文资料外文翻译文献
中英文资料外文翻译文献外文原文Automating Manufacturing Systems with PLCs2.1 INTRODUCTIONControl engineering has evolved over time. In the past humans were the main method for controlling a system. More recently electricity has been used for control and early electrical control was based on relays. These relays allow power to be switched on and off without a mechanical switch. It is common to use relays to make simple logical control decisions. The development of low cost computer has brought the most recent revolution,the Programmable Logic Controller (PLC). The advent of the PLC began in the1970s, and has become the most common choice for manufacturing controls.PLCs have been gaining popularity on the factory floor and will probably remain predominant for some time to come. Most of this is because of the advantages they offer. • Cost effective for controlling complex systems.• Flexible and can be reapplied to control other systems quickly and easily.• Computational abilities allow more sophisticated control.• Tr ouble shooting aids make programming easier and reduce downtime.• Reliable components make these likely to operate for years before failure.2.1.1 Ladder logicLadder logic is the main programming method used for PLCs. As mentioned before, ladder logic has been developed to mimic relay logic. logic diagrams was a strategic one. By selecting ladder logic as the main programming method, the amount of retraining needed forengineers and trades people was greatly reduced.Modern control systems still include relays, but these are rarely used for logic. A relay is a simple device that uses a magnetic field to control a switch, as pictured in Figure 2.1. When a voltage is applied to the input coil, the resulting current creates a magnetic field. The magnetic field pulls a metal switch (or reed) towards it and the contacts touch, closing the switch. The contact that closes when the coil is energized is called normally open. The normally closed contacts touch when the input coil is not energized. Relays are normally drawn in schematic form using a circle to represent the input coil. The output contacts are shown with two parallel lines. Normally open contacts are shown as two lines, and will be open (non-conducting) when the input is not energized. Normally closed contacts are shown with two lines with a diagonal line through them. When the input coil is not energized the normally closed contacts will be closed (conducting).Figure 2.1 Simple Relay Layouts and SchematicsRelays are used to let one power source close a switch for another (often high current) power source, while keeping them isolated. An example of a relay in a simple control application is shown in Figure 2.2. In this system the first relay on the left is used as normally closed, and will allow current to flow until a voltage is applied to the input A. The second relay is normally open and will not allow current to flow until a voltage is applied to the input B. If current is flowing through the first two relays then current will flow through the coil in the third relay, and close the switch for output C. This circuit would normally be drawn in the ladder logic form. This can be read logically as C will be on if A is off and B is on.Figure 2.2 A Simple Relay ControllerThe example in Figure 2.2 does not show the entire control system, but only the logic. When we consider a PLC there are inputs, outputs, and the logic. Figure 2.3 shows a more complete representation of the PLC. Here there are two inputs from push buttons.We can imagine the inputs as activating 24V DC relay coils in the PLC. This in turn drives an output relay that switches 115V AC, that will turn on a light. Note, in actual PLCs inputs are never relays, but outputs are often relays. The ladder logic in the PLC is actually a computer program that the user can enter and change. Notice that both of the input push buttons are normally open, but the ladder logic inside the PLC has one normally open contact, and one normally closed contact. Do not think that the ladder logic in the PLC need so match the inputs or outputs. Many beginners will get caught trying to make the ladder logic match the input types.Figure 2.3 A PLC Illustrated With RelaysMany relays also have multiple outputs (throws) and this allows an output relay to also be an input simultaneously. The circuit shown in Figure 1.4 is an example of this, it is called a seal in circuit. In this circuit the current can flow through either branch of the circuit, through the contacts labelled A or B. The input B will only be on when the output B is on. If B is off, and A is energized, then B will turn on. If B turns on then the input B will turn on, and keep output B on even if input A goes off. After B is turned on the output B will not turn off.Figure 2.4 A Seal-in Circuit2.1.2 ProgrammingThe first PLCs were programmed with a technique that was based on relay logic wiring schematics. This eliminated the need to teach the electricians, technicians and engineers how to program a computer - but, this method has stuck and it is the most common technique for programming PLCs today. An example of ladder logic can be seen in Figure 2.5. To interpret this diagram imagine that the power is on the vertical line on the left hand side, we call this the hot rail. On the right hand side is the neutral rail. In the figure there are two rungs, and on each rung there are combinations of inputs (two vertical lines) and outputs (circles). If the inputs are opened or closed in the right combination the power can flow from the hot rail, through the inputs, to power the outputs, and finally to the neutral rail. An input can come from a sensor, switch, or any other type of sensor. An output will be some device outside the PLC that is switched on or off, such as lights or motors. In the top rung the contacts are normally open and normally closed. Which means if input A is on and input B is off, then power will flow through the output and activate it. Any other combination of input values will result in the output X being off.Figure 2.5 A Simple Ladder Logic DiagramThe second rung of Figure 2.5 is more complex, there are actually multiple combinations of inputs that will result in the output Y turning on. On the left most part of the rung, power could flow through the top if C is off and D is on. Power could also (and simultaneously) flow through the bottom if both E and F are true. This would get power half way across the rung, and then if G or H is true the power will be delivered to output Y. In later chapters we will examine how to interpret and construct these diagrams.There are other methods for programming PLCs. One of the earliest techniques involved mnemonic instructions. These instructions can be derived directly from the ladderlogic diagrams and entered into the PLC through a simple programming terminal. An example of mnemonics is shown in Figure 2.6. In this example the instructions are read one line at a time from top to bottom. The first line 00000 has the instruction LDN (input load and not) for input A. . This will examine the input to the PLC and if it is off it will remember a 1 (or true), if it is on it will remember a 0 (or false). The next line uses an LD (input load) statement to look at the input. If the input is off it remembers a 0, if the input is on it remembers a 1 (note: this is the reverse of the LD). The AND statement recalls the last two numbers remembered and if the are both true the result is a 1, otherwise the result is a 0. This result now replaces the two numbers that were recalled, and there is only one number remembered. The process is repeated for lines 00003 and 00004, but when these are done there are now three numbers remembered. The oldest number is from the AND, the newer numbers are from the two LD instructions. The AND in line 00005 combines the results from the last LD instructions and now there are two numbers remembered. The OR instruction takes the two numbers now remaining and if either one is a 1 the result is a 1, otherwise the result is a 0. This result replaces the two numbers, and there is now a single number there. The last instruction is the ST (store output) that will look at the last value stored and if it is 1, the output will be turned on, if it is 0 the output will be turned off.Figure 2.6 An Example of a Mnemonic Program and Equivalent Ladder LogicThe ladder logic program in Figure 2.6, is equivalent to the mnemonic program. Even ifyou have programmed a PLC with ladder logic, it will be converted to mnemonic form before being used by the PLC. In the past mnemonic programming was the most common, but now it is uncommon for users to even see mnemonic programs.Sequential Function Charts (SFCs) have been developed to accommodate the programming of more advanced systems. These are similar to flowcharts, but much more powerful. The example seen in Figure 2.7 is doing two different things. To read the chart, start at the top where is says start. Below this there is the double horizontal line that says follow both paths. As a result the PLC will start to follow the branch on the left and right hand sides separately and simultaneously. On the left there are two functions the first one is the power up function. This function will run until it decides it is done, and the power down function will come after. On the right hand side is the flash function, this will run until it is done. These functions look unexplained, but each function, such as power up will be a small ladder logic program. This method is much different from flowcharts because it does not have to follow a single path through the flowchart..Figure 2.7 An Example of a Sequential Function CharStructured Text programming has been developed as a more modern programming language. It is quite similar to languages such as BASIC. A simple example is shown in Figure 2.8. This example uses a PLC memory location i. This memory location is for an integer, as will be explained later in the book. The first line of the program sets the value to 0. The next line begins a loop, and will be where the loop returns to. The next line recalls thevalue in location i, adds 1 to it and returns it to the same location. The next line checks to see if the loop should quit. If i is greater than or equal to 10, then the loop will quit, otherwise the computer will go back up to the REPEAT statement continue from there. Each time the program goes through this loop i will increase by 1 until the value reaches 10.Figure 2.8 An Example of a Structured Text Program2.1.3 PLC ConnectionsWhen a process is controlled by a PLC it uses inputs from sensors to make decisions and update outputs to drive actuators, as shown in Figure 2.9. The process is a real process that will change over time. Actuators will drive the system to new states (or modes of operation). This means that the controller is limited by the sensors available, if an input is not available, the controller will have no way to detect a condition.Figure 2.9 The Separation of Controller and ProcessThe control loop is a continuous cycle of the PLC reading inputs, solving the ladder logic, and then changing the outputs. Like any computer this does not happen instantly. Figure 2.10 shows the basic operation cycle of a PLC. When power is turned on initially the PLC does a quick sanity check to ensure that the hardware is working properly.If there is a problem the PLC will halt and indicate there is an error. For example, if the PLC power is dropping andabout to go off this will result in one type of fault. If the PLC passes the sanity check it will then scan (read) all the inputs. After the inputs values are stored in memory the ladder logic will be scanned (solved) using the stored values not the current values. This is done to prevent logic problems when inputs change during the ladder logic scan. When the ladder logic scan is complete the outputs will be scanned (the output values will be changed). After this the system goes back to do a sanity check, and the loop continues indefinitely. Unlike normal computers, the entire program will be run every scan. Typical times for each of the stages is in the order of milliseconds.Figure 2.10 The Scan Cycle of a PLC2.1.4 Ladder Logic InputsPLC inputs are easily represented in ladder logic. In Figure 2.11 there are three types of inputs shown. The first two are normally open and normally closed inputs, discussed previously. The IIT (Immediate InpuT) function allows inputs to be read after the input scan, while the ladder logic is being scanned. This allows ladder logic to examine input values more often than once every cycle.Figure 2.11 Ladder Logic Inputs2.1.5 Ladder Logic OutputsIn ladder logic there are multiple types of outputs, but these are not consistently available on all PLCs. Some of the outputs will be externally connected to devices outside the PLC, but it is also possible to use internal memory locations in the PLC. Six types of outputs are shown in Figure 2.12. The first is a normal output, when energized the output will turn on, and energize an output. The circle with a diagonal line through is a normally on output. When energized the output will turn off. This type of output is not available on all PLC types. When initially energized the OSR (One Shot Relay) instruction will turn on for one scan, but then be off for all scans after, until it is turned off. The L (latch) and U (unlatch) instructions can be used to lock outputs on. When an L output is energized the output will turn on indefinitely, even when the output coil is deenergized. The output can only be turned off using a U output. The last instruction is the IOT (Immediate OutpuT) The last instruction is the IOT (Immediate OutpuT)that will allow outputs to be updated without having to wait for the ladder logic scan to be completed.3.1 INPUTS AND OUTPUTSInputs to, and outputs from, a PLC are necessary to monitor and control a process. Both inputs and outputs can be categorized into two basic types: logical or continuous. Considerthe example of a light bulb. If it can only be turned on or off, it is logical control. If the light can be dimmed to different levels, it is continuous. Continuous values seem more intuitive, but logical values are preferred because they allow more certainty, and simplify control. As a result most controls applications (and PLCs) use logical inputs and outputs for most applications. Hence, we will discuss logical I/O and leave continuous I/O for later.Outputs to actuators allow a PLC to cause something to happen in a process. A short list of popular actuators is given below in order of relative popularity.Solenoid Valves - logical outputs that can switch a hydraulic or pneumatic flow. Lights - logical outputs that can often be powered directly from PLC output boards.Motor Starters - motors often draw a large amount of current when started, so they require motor starters, which are basically large relays.Servo Motors - a continuous output from the PLC can command a variable speed or position.Outputs from PLCs are often relays, but they can also be solid state electronics such as transistors for DC outputs or Triacs for AC outputs. Continuous outputs require special output cards with digital to analog converters.Inputs come from sensors that translate physical phenomena into electrical signals. Typical examples of sensors are listed below in relative order of popularity.Proximity Switches - use inductance, capacitance or light to detect an object logically. Switches - mechanical mechanisms will open or close electrical contacts for a logical signal. Potentiometer - measures angular positions continuously, using resistance.LVDT (linear variable differential transformer) - measures linear displacement continuously using magnetic coupling.Inputs for a PLC come in a few basic varieties, the simplest are AC and DC inputs. Sourcing and sinking inputs are also popular. This output method dictates that a device does not supply any power. Instead, the device only switches current on or off, like a simple switch. Sinking - When active the output allows current to flow to a common ground. This is best selected when different voltages are supplied. Sourcing - When active, current flows from asupply, through the output device and to ground. This method is best used when all devices use a single supply voltage. This is also referred to as NPN (sinking) and PNP (sourcing). PNP is more popular. This will be covered in detail in the chapter on sensors.3.1.1 InputsIn smaller PLCs the inputs are normally built in and are specified when purchasing the PLC. For larger PLCs the inputs are purchased as modules, or cards, with 8 or 16 inputs of the same type on each card. For discussion purposes we will discuss all inputs as if they have been purchased as cards. The list below shows typical ranges for input voltages, and is roughly in order of popularity. PLC input cards rarely supply power, this means that an external power supply is needed to supply power for the inputs and sensors. The example in Figure 3.1 shows how to connect an AC input card.Figure 3.1 An AC Input Card and Ladder LogicIn the example there are two inputs, one is a normally open push button, and the second is a temperature switch, or thermal relay. (NOTE: These symbols are standard and will be discussed later in this chapter.) Both of the switches are powered by the positive/ hot output ofthe 24Vac power supply - this is like the positive terminal on a DC supply. Power is supplied to the left side of both of the switches. When the switches are open there is no voltage passed to the input card. If either of the switches are closed power will be supplied to the input card. In this case inputs 1 and 3 are used - notice that the inputs start at 0. The input card compares these voltages to the common. If the input voltage is within a given tolerance range the inputs will switch on. Ladder logic is shown in the figure for the inputs. Here it uses Allen Bradley notation for PLC-5 racks. At the top is the location of the input card I:013 which indicates that the card is an Input card in rack 01 in slot 3. The input number on the card is shown below the contact as 01 and 03.Many beginners become confused about where connections are needed in the circuit above. The key word to remember is circuit, which means that there is a full loop that the voltage must be able to follow. In Figure 3.1 we can start following the circuit (loop) at the power supply. The path goes through the switches, through the input card, and back to the power supply where it flows back through to the start. In a full PLC implementation there will be many circuits that must each be complete. A second important concept is the common. Here the neutral on the power supply is the common, or reference voltage. In effect we have chosen this to be our 0V reference, and all other voltages are measured relative to it. If we had a second power supply, we would also need to connect the neutral so that both neutrals would be connected to the same common. Often common and ground will be confused. The common is a reference, or datum voltage that is used for 0V, but the ground is used to prevent shocks and damage to equipment. The ground is connected under a building to a metal pipe or grid in the ground. This is connected to the electrical system of a building, to the power outlets, where the metal cases of electrical equipment are connected. When power flows through the ground it is bad. Unfortunately many engineers, and manufacturers mix up ground and common. It is very common to find a power supply with the ground and common mislabeled.One final concept that tends to trap beginners is that each input card is isolated. This means that if you have connected a common to only one card, then the other cards are not connected. When this happens the other cards will not work properly. You must connect acommon for each of the output cards.3.1.2.Output ModulesAs with input modules, output modules rarely supply any power, but instead act as switches. External power supplies are connected to the output card and the card will switch the power on or off for each output. Typical output voltages are listed below, and roughly ordered by popularity.120 Vac24 Vdc12-48 Vac12-48 Vdc5Vdc (TTL)230 VacThese cards typically have 8 to 16 outputs of the same type and can be purchased with different current ratings. A common choice when purchasing output cards is relays, transistors or triacs. Relays are the most flexible output devices. They are capable of switching both AC and DC outputs. But, they are slower (about 10ms switching is typical), they are bulkier, they cost more, and they will wear out after millions of cycles. Relay outputs are often called dry contacts. Transistors are limited to DC outputs, and Triacs are limited to AC outputs. Transistor and triac outputs are called switched outputs. Dry contacts - a separate relay is dedicated to each output.This allows mixed voltages (AC or DC and voltage levels up to the maximum), as well as isolated outputs to protect other outputs and the PLC. Response times are often greater than 10ms. This method is the least sensitive to voltage variations and spikes. Switched outputs - a voltage is supplied to the PLC card, and the card switches it to different outputs using solid state circuitry (transistors, triacs, etc.) Triacs are well suited to AC devices requiring less than 1A. Transistor outputs use NPN or PNP transistors up to 1A typically. Their response time is well under 1ms.中文翻译自动化制造系统与PLC2.1介绍控制工程随着时间的推移在不断发展。
电气工程及其自动化专业_外文文献_英文文献_外文翻译_plc方面.
1、外文原文A: Fundamentals of Single-chip MicrocomputerTh e si ng le -c hi p m ic ro co mp ut er i s t he c ul mi na ti on of both t h e de ve lo pm en t of the dig it al com pu te r an d th e in te gr at ed c i rc ui t arg ua bl y t h e tow m os t s ig ni f ic an t i nv en ti on s o f t he 20th c e nt ur y [1].Th es e tow type s of arch it ec tu re are foun d in sin g le -ch i p m i cr oc om pu te r. Som e empl oy the spli t prog ra m/da ta me mo ry of the H a rv ar d ar ch it ect u re , sh ow n in Fig.3-5A -1, oth ers fo ll ow the p h il os op hy , wi del y ada pt ed for gen er al -p ur po se com pu te rs and m i cr op ro ce ss o r s, o f ma ki ng no log i ca l di st in ct ion be tw ee n p r og ra m and dat a me mo ry as in the Pr in ce to n arch ite c tu re , show n i n Fig.3-5A-2.In gen er al ter ms a sin gl e -chi p mic ro co mp ut er i sc h ar ac te ri zed b y t he i nc or po ra ti on of a ll t he un it s of a co mp uter i n to a sin gl e d ev i ce , as sho wn inFi g3-5A -3.Fig.3-5A-1 A Harvard typeFig.3-5A-2. A conventional Princeton computerFig3-5A-3. Principal features of a microcomputerRead only memory (ROM.R OM is usua ll y for the pe rm an ent,n o n-vo la ti le stor a ge of an app lic a ti on s pr og ra m .M an ym i cr oc om pu te rs and m are inte nd e d for high -v ol um e ap pl ic at ions a n d he nc e t h e eco n om ic al man uf act u re of th e de vic e s re qu ir es t h at t he cont en t s o f t he prog ra m me m or y be co mm it t ed perm a ne ntly d u ri ng the man ufa c tu re of ch ip s .Cl ea rl y, thi s im pl ie s a r i go ro us app ro ach to ROM cod e deve l op me nt sin ce cha ng es can not b e mad e afte r manu f a c tu re .Th is dev e lo pm en t proc ess may invo lv e e m ul at io n us in g aso ph is ti ca te d de ve lo pm en t sy ste m wit h a h a rd wa re emu la tio n cap ab il it y as w el l as the use o f po we rf ul s o ft wa re too ls.So me man uf act u re rs pro vi de add it io na l RO M opt i on s by i n cl ud in g in their ra n ge dev ic es wit h (or int en de d fo r use wit h u s er pro gr am ma ble me mo ry. Th e sim p le st of th es e is usu al ly d e vi ce whi ch can op er at e in a micro p ro ce ssor mod e by usi ng som e o f the inp ut /outp u t li ne s as an ad dr es s an d da ta b us fora c ce ss in g ex te rna l mem or y. Thi s t y pe of de vi ce can beh av ef u nc ti on al ly as th e sing le chip mi cr oc om pu te r from whi ch it is d e ri ve d al be it wit h re st ri ct ed I/O and a mod if ied ex te rn al c i rc ui t. The use of thes e d ev ic es is com mo n eve n in prod uc ti on c i rc ui ts wher e t he vo lu me does no tj us ti f y t h e d ev el o pm en t c osts o f c us to m o n -ch i p R OM [2];t he re c a n s ti ll bea s ignif i ca nt saving i n I /O and o th er c h ip s com pa re d to a conv en ti on al mi c ro pr oc es sor b a se d ci rc ui t. Mor e ex ac t re pl ace m en t fo r RO M dev i ce s ca n be o b ta in ed in th e fo rm of va ri an ts w it h 'p ig gy -b ack 'E P RO M(Er as ab le pro gr am ma bl e ROM s oc ke ts or dev ic e s with EPROM i n st ea d o f RO M 。
机电一体化毕业设计PLCS(可编程逻辑控制器)毕业论文外文文献翻译及原文
毕业设计(论文)外文文献翻译文献、资料中文题目:PLC文献、资料英文题目:文献、资料来源:文献、资料发表(出版)日期:院(部):专业:班级:姓名:学号:指导教师:翻译日期: 2017.02.14PLC1 .About Programmable Logic Controllers (PLCs)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, 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-languageprogramming. 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. PLC hardwarePLC hardware mainly has the central processing unit (CPU), memory, input unit, output unit, the communication interface, expansion interface power components. Among them, the CPU is the core, input unit of PLC with output unit is connected site input/output devices to the CPU, interface circuit between the communication interface used with programmer, connecting peripherals such as the PC.2.1 The central processing unit (CPU)The same sort of microcomputer is same, the CPU is the core of PLC. PLC deployed by the CPU in different and different, with models used into three categories: general microprocessor (such as 8086, Z80, 80286, etc.), single chip microprocessor (such as 8031, etc) and a piece 8096 microprocessors (such as AMD29W, etc.). Small PLC is used mostly eight general microprocessor and single chip microprocessor; Medium PLC is used mostly 16 general microprocessor or single chip microprocessor; Large PLC mostly by using high-speed a piece microprocessors.2.2 memoryMemory basically has two kinds: one kind is read/write operation of random access memory RAM, another kind is read only memory (ROM, PROM, an EPROM and EEPROM. In PLC, memory is mainly used for storage system programming, the user program and job data.System programming is written by PLC manufacturer, and PLC hardware related, complete system diagnosis, command interpretation, function subroutine calling, management, logic operations, communications and various parameters, and other functions, provide PLC operation platform. System programming related to the performance, but also in PLC PLC in use process fluctuant, so is not directly by manufacturer in read-only memory ROM, curing PROM or an EPROM, users can't access and modification.The user program with PLC control object is determined by users, according to the object of production process control requirements and prepare application. In orderto facilitate read, check and modification, the user program generally exist in CMOS static RAM, use of lithium battery as backup power, to ensure off when power is not lost information. In order to prevent interference in the destruction of RAM, when the user program after operating normally, not program, but will need to change its curable in read-only memory an EPROM. Now there are many PLC directly used as a user EEPROM memory.2.3 Input/output unitInput/output unit usually also say I/O unit or an I/O modules, PLC and industrial production site is the connection between the components. PLC via input interface can detect various controlled object data to these data to be controlled object as PLC to control the basis; Meanwhile PLC and through the output interface will deal with the results gave controlled object, in order to realize the control purpose.Due to external input device, and output equipment required the signal level is varied, and internal CPU processing of PLC information is only standard level, so I/O interface to realize the conversion. The I/O interface generally have photoelectric isolation and filter function, in order to improve the PLC anti-jamming ability. In addition, I/O interface usually a state instructions, working condition, intuitive, and easy to maintain. PLC offers a variety of operation level and drive ability of I/O interface, there are various functions of I/O interface for customers to choose. The I/O interface is the main type of: the digital quantity (the switch quantity) input, the digital quantity (the switch quantity) output, analogue inputs, analog output, etc.2.4 Communication interfacePLC with various communication interface, the communication interface with communications processor commonly. PLC through these communication interface can and monitors, printers, and other PLC, computers and other devices communicate. PLC and printer connections, but will process information, system parameters, such as output print; And monitor connection, but will control process image display; Connect with other PLC, can form a multiple machine system or network, realize the more massive joined control. And computer connections, can form a multistage distributed controlsystem, the realization control and management combined. Remote I/O system must also equipped with corresponding communication interface module.2.5. Intelligence interface moduleIntelligent interface module is an independent computer system, it has its own CPU, system program, storage and PLC system bus connected interface. It as a module, PLC system by bus and PLC is linked together, exchange data, and the coordinated management in PLC under work independently. PLC intelligent interface module is a lot of motion, such as: high-speed counting module, closed-loop control module, motion control module, interrupt control module, etc.2.6. Programming deviceProgramming device's role is to edit, commissioning, input user program, and also can be online monitoring PLC internal state and parameters, and PLC man-machine dialogue. It is the development, application and maintenance PLC indispensable tools. Programming device can be special programmer, also can be equipped with a special programming packages general computer system. Special programmer is by PLC specializes in this factory, some manufacturers use PLC, and it mainly consists of product keyboard, a display and external storage etc. Parts. Pick up socket Special programming implement have simple programmer and intelligent programmer two kinds.Simple type programmer can only online programming, and cannot directly enter and edit ladder-diagram program, should be ladder-diagram program into instruction table program can input. Simple programmer small volume, price cheap, it can directly interpolated in PLC programming socket, or use special cables and PLC is linked together, to facilitate the programming and debugging. Some simple programming device used to with storage box, store the user program, such as mitsubishi FX - 20P - E simple programming device.2.7. PowerPLC is equipped with switch power, for internal circuit use. Compared with ordinary power, PLC power good stability, strong anti-jamming capability. The powersupply provided for grid stability requirement is not high, average allowed in the power supply voltage rating the range of the plus or minus 15%. Many PLC also provide outward, used in dc 24V external sensor power supply.2. 8.Other external equipmentIn addition to the above mentioned components and equipment outside, PLC and many external devices, such as an EPROM writing implement, external storage,man/machine interface device etc. An EPROM writing implement user program can be used to cure to an EPROM memory of a PLC external equipment. In order to make the debugging good user program with an EPROM not easily lost, often written within the RAM save to an EPROM PLC.3. INTRODUCTIONFor simple programming the relay model of the PLC is sufficient. As more complex functions are used the more complex VonNeuman model of the PLC must be used. A VonNeuman computer processes one instruction at a time. Most computers operate this way, although they appear to be doing many things at once. Input is obtained from the keyboard and mouse, output is sent to the screen, and the disk and memory are used for both input and output for storage. (Note: the directions of these arrows are very important to engineers, always pay attention to indicate where information is flowing.)In this figure the data enters the left side through the inputs. (Note: most engineering diagrams have inputs on the left and outputs on the right.) It travels through buffering circuits before it enters the CPU. The CPU outputs data through other circuits. Memory and disks are used for storage of data that is not destined for output. If we look at a personal computer as a controller, it is controlling the user by outputting stimuli on the screen, and inputting responses from the mouse and the keyboard.4. OPERATION SEQUENCEAll PLCs have four basic stages of operations that are repeated many times per second. Initially when turned on the first time it will check it’s own hardware and software for faults. If there are no problems it will copy all the input and copy their values into memory, this is called the input scan. Using only the memory copy of the inputs the ladder logic program will be solved once, this is called the logic scan. While solving the ladder logic the output values are only changed in temporary memory. When the ladder scan is done the outputs will be updated using the temporary values in memory, this is called the output scan. The PLC now restarts the process by starting a self check for faults. This process typically repeats 10 to 100 times per second as is shown in Figure 3.SELF TEST - Checks to see if all cards error free, reset watch-dog timer, etc. (A watchdog timer will cause an error, and shut down the PLC if not reset withina short period of time - this would indicate that the ladder logic is not beingscanned normally).INPUT SCAN - Reads input values from the chips in the input cards, and copies their values to memory. This makes the PLC operation faster, and avoids caseswhere an input changes from the start to the end of the program (e.g., anemergency stop). There are special PLC functions that read the inputs directly,and avoid the input tables.LOGIC SOLVE/SCAN - Based on the input table in memory, the program is executed 1 step at a time, and outputs are updated. This is the focus of the latersections.OUTPUT SCAN - The output table is copied from memory to the output chips.These chips then drive the output devices.The input and output scans often confuse the beginner, but they are important.The input scan takes a snapshot of the inputs, and solves the logic. This prevents potential problems that might occur if an input that is used in multiple places in the ladder logic program changed while half way through a ladder scan. Thus changing the behaviors of half of the ladder logic program. This problem could have severe effects on complex programs that are developed later in the book. One side effect of the input scan is that if a change in input is too short in duration, it might fall between input scans and be missed.When the PLC is initially turned on the normal outputs will be turned off. This does not affect the values of the inputs.4.1 The Input and Output ScansWhen the inputs to the PLC are scanned the physical input values are copied into memory. When the outputs to a PLC are scanned they are copied from memory to the physical outputs. When the ladder logic is scanned it uses the values in memory, not the actual input or output values. The primary reason for doing this is so that if a program uses an input value in multiple places, a change in the input value will not invalidate the logic. Also, if output bits were changed as each bit was changed, instead of all at once at the end of the scan the PLC would operate much slower.4.2 The Logic ScanLadder logic programs are after relay logic. In relay logic each element in the ladder will switch as quickly as possible. But in a program elements can only be examines one at a time in a fixed sequence. Consider the ladder logic in Figure 4, the ladder logic will be interpreted left-to-right, top-to-bottom. In the figure the ladder logic scan begins at the top rung. At the end of the rung it interprets the top output first, then the output branched below it. On the second rung it solves branches, before moving along the ladder logic rung.Ladder Logic Execution SequenceThe logic scan sequence become important when solving ladder logic programs which use outputs as inputs. It also becomes important when considering output usage. Consider Figure 5, the first line of ladder logic will examine input A and set output X to have the same value. The second line will examine input B and set the output X to have the opposite value. So the value of X was only equal to A until the second line of ladder logic was scanned. Recall that during the logic scan the outputs are only changed in memory, the actual outputs are only updated when the ladder logic scan is complete. Therefore the output scan would update the real outputs based upon the second line of ladder logic, and the first line of ladder logic would be ineffective.A Duplicated Output ErrorPLC1.PLC介绍PLCS(可编程逻辑控制器)是用于各种自动控制系统和过程的可控网络集线器。
电气工程及自动化专业外文翻译--PLC相关问题
外文原文:PLC QuestionABSTRACT: This paper describes the main components of the PLC, and attention problems in use (such as the environment in use, the use of pre-note, etc.) Central Processing Unit (CPU) is the brain of a PLC controller. CPU itself is usually one of the microcontrollers. Aforetime these were 8-bit microcontrollers such as 8051, and now these are 16-and 32-bit microcontrollers. Unspoken rule is that you’ll find mostly Hitachi and Fujicu microcontrollers in PLC controllers by Japanese makers, Siemens in European controllers, and Motorola microcontrollers in American ones. CPU also takes care of communication, interconnectedness among other parts of PLC controllers, program execution, memory operation, overseeing input and setting up of an output. PLC controllers have complex routines for memory checkup in order to ensure that PLC memory was not damaged (memory checkup is done for safety reasons).Generally speaking, CPU unit makes a great number of check-ups of the PLC controller itself so eventual errors would be discovered early. You can simply look at any PLC controller and see that there are several indicators in the form. of light diodes for error signalization. System memory (today mostly implemented in FLASH technology) is used by a PLC for a process control system. Aside form. this operating system it also contains a user program translated forma ladder diagram to a binary form. FLASH memory contents can be changed only in case where user program is being changed. PLC controllers were used earlier instead of PLASH memory and have had EPROM memory instead of FLASH memory which had to be erased with UV lamp and programmed on programmers. With the use of FLASH technology this process was greatly shortened. Reprogramming a program memory is done through a serial cable in a program for application development. User memory is divided into blocks having special functions. Some parts of a memory are used for storing input and output status. Thereal status of an input is stored either as “1”or as “0”in a specific memory bit/ each input or output has one corresponding bit in memory. Other parts of memory are used to store variable contents for variables used in used program. For example, time value, or counter value would be stored in this part of the memory. PLC controller can be reprogrammed through a computer (usual way), but also through manual programmers (consoles). This practically means that each PLC controller can programmed through a computer if you have the software needed for programming. To day’s transmission computers are ideal for reprogramming a PLC controller in factory itself. This is of great importance to industry. Once the system is corrected, it is also important to read the right program into a PLC again. It is also good to check from time to time whether program in a PLC has not changed. This helps to avoid hazardous situations in factory rooms (some automakers have established communication networks which regularly check programs in PLC controllers to ensure execution only of good programs). Almost every program for programming a PLC controller possesses various useful options such as: forced switching on and off of the system input/outputs (I/O lines), program follow up in real time as well as documenting a diagram. This documenting is necessary to understand and define failures and malfunctions. Programmer can add remarks, names of input or output devices, and comments that can be useful when finding errors, or with system maintenance. Adding comments and remarks enables any technician (and not just a person who developed the system) to understand a ladder diagram right away. Comments and remarks can even quote precisely part numbers if replacements would be needed. This would speed up a repair of any problems that come up due to bad parts. The old way was such that a person who developed a system had protection on the program, so nobody aside from this person could understand how it was done. Correctly documented ladder diagram allows any technician to understand thoroughly how system functions. Electrical supply is used in bringing electrical energy to central processing unit. Most PLC controllers work either at 24 VDC or 220 V AC. On some PLC controllers you’ll find electricalsupply as a separate module. Those are usually bigger PLC controllers, while small and medium series already contain the supply module. User has to determine how much current to take from I/O module to ensure that electrical supply provides appropriate amount of current. Different types of modules use different amounts of electrical current. This electrical supply is usually not used to start external input or output. User has to provide separate supplies in starting PLC controller inputs because then you can ensure so called “pure” supply for the PLC controller. With pure supply we mean supply where industrial environment can not affect it damagingly. Some of the smaller PLC controllers supply their inputs with voltage from a small supply source already incorporated into a PLC.PLC which should pay attention in the application is specially the control device which serves for the industrial production, usually does not need to take any measure, may use directly in the industry environment. But, when the production environment is too bad, the electromagnetic interference is special intense, or installs uses improper, cannot guarantee PLC the normal operation, therefore should pay attention to the following question in the use.First, Siemens PLC maintenance1, maintenance procedures, equipment, periodic testing, adjustment provisions (1) half-yearly or quarterly inspection PLC cabinet terminal connections, and if time to re-loose strong local connection;(2) of the cabinet to the host power supply voltage of the monthly re-survey work; Second, the provisions of cleaning equipment on a regular basis(1) every six months or a quarter of the PLC to clean, cut off power to the PLC power supply to the power rack, CPU board and input / output board in turn be removed to purge, clean and then in turn installed in situ, will all link to resume evacuation call and start the host PLC. PLC box carefully sweeping health;(2) every three months to replace the power rack below the filter; three maintenance preparation, maintenance of order (1) ready before maintenance tools; (2) To protectthe components and the template does not function no fault damage, must be protection devices and serious preparations for anti-static;(3) maintenance scheduling and operator contact before and well, be linked to overhaul licensing office hung maintenance card;4, equipment and method of disassembly sequence(1) downtime, must be two or more monitoring operation;(2) the way the CPU on the front panel select switch from the "Run" to "stop" position;(3) Close the PLC power supply mains, and then close the other to the power supply module Osaka;(4) connected to the power supply rack power cord clear line number in mind and remove the link location, then remove the power rack and rack screws connected, power rack can be removed;(5) CPU motherboard and I / 0 board in the bottom of the screw rotation after template removed;(6) installed in reverse order;5, maintenance process and technical requirements(1) measure voltage, use a digital voltmeter or accuracy of 1% of the multimeter, measure(2) the power rack, CPU board can only be removed when the main power cut off;(3) RAM module to remove or insert the CPU from the CPU prior to disconnect the PC's power supply, so as to ensure the data is not confused;(4) before removing RAM modules, check the battery module is working correctly, if the battery fault light is removed when the PAM module content will be lost; (5) input / output board should be removed before the first turn off the mains, but if the production of necessary I / 0 boards can be removed at run-time programmable controllers, but the CPU board QVZ (overtime) lights;(6) pluggable template, to be more careful, gently, and the goods shipped out of static electricity;(7) the replacement of components not live action;(8) Maintenance must be placed after the template installed in placeSecond, installment and wiring(1) The power line, the pilot wire as well as the PLC power line and the I/O line should distinguish the wiring, between the insulating transformer and PLC and I/O should use the double rubberized wire connection.(2) PLC should be far away from the strong jamming source like electric welding machine, the high efficiency silicon rectifier unit and the large-scale power equipment, cannot install with the high-pressured electric appliance in the identical switch cabinet.(3) The input and output of PLC are best separate the line, the switch quantity and the simulation quantity must separate the placing. The simulation quantity signal's transmission should use the shielded wire, the shielding layer should an end or the both sides earth, and the earth resistance should be smaller than the shielding layer resistance 1/10.(4) The PLC elemental area and the expansion unit as well as functional module's ties cable should lie alone, prevents the outside signal the disturbance.(5) The exchange output line and the direct-current output line do not use the identical root electric cable, the output line to be far away from the high tension line and the power line as far as possible, avoids parallel.Third, I/O end wiring1. Input wiring (1) inputs the wiring not to surpass 30 meters generally. But if the environment disturbance is small, when the loss of voltage is not big, the input wiring may suitable long.(2)Inputs/the output line not to be able to use the identical root electric cable, the input/output line to be separated.(3)Uses the normally opened contact form to connect the input end as far as possible, causes the establishment the trapezoidal chart to be consistent with the relay schematic diagram, is advantageous for reading.2. Outgoing junction(1) The out-put wiring divides into the independent output and the public output. In not group, may use the different type and the voltage class output voltage. But can only use the identical type, the identical voltage class power source in the identical group's output.(2) Because the PLC output element is sealed on the print circuit wafer, and connects to the terminal strip, if will connect output element's load short circuit, will burn down the print circuit wafer, therefore, application fuse protection output element.(3)Uses when the relay outputs, withstands inductive load's size, will affect relay's service life, therefore, time use inductive load the selective relay working life must be long.(4) The PLC output load possibly has the disturbance, must therefore take the measure to control, if direct-current output's after flow guarantees protects, the exchange output anti- accommodates the absorbing circuit, the transistor and the bidirectional thruster output by-passed resistor protection.Fourth, outside security electric circuit to guarantee that the overall system can under the secure state the reliable work, avoids, because the external power supply breaks down, PLC to present the heavy economic loss which and the person casualty exceptionally, the disoperation as well as outputs by mistake creates, PLC the outside should install the essential protection circuit.(1) Stops the electric circuit anxiously. Regarding can cause the user to cause the damage the dangerous load, besides performs in the control procedure toconsider, but also exterior should design the emergency stop electric circuit, causes when PLC breaks down, can cause the injury load power source reliably to shut off.(2)Fragment. The forward and reverse revolution and so on reversible operation's control system must establish the exterior electric appliance interlock protection; the reciprocation moves and rises and falls motion the control system, must establish the exterior spacing protection circuit.(3)The programmable controller has self-checking functions and so on surveillance timer, when inspects exceptionally, outputs completely the closure. But when programmable controller CPU breakdown cannot control the output, therefore, regarding can cause the user to cause the damage the dangerous load, to guarantee that the equipment moves under the secure state, must design the external circuit to protect.(4) Power source load protection. If the PLC power source breaks down, the interruption interval is short in 10 seconds, PLC works not affected, if the power source interrupt surpasses 10 second or the power source drops surpasses the permissible value, then the PLC stop work, all output also separates; when the power source restores, if RUN input connection, then operates carries on automatically. Therefore, to establish the essential current limiting protection circuit to some easy over-loading's input device.(5) Significant breakdown warning and protection. Regarding easy to have heavy accident's place, to guarantee the control system when the heavy accident occurs still the reliable warning and the protection, should have with the significant breakdown the contacting signal to output through the external circuit, caused the control system to move under the safe condition.Fifth, PLC earth the good earth is guaranteed that the PLC reliable work the important condition, may avoid the heterogametic the voltage surge harm. PLC meets the grounding and machine's ground terminal docking, meets the grounding the cross-sectional area should not to be smaller than 2mm2, the earth resistance issmaller than 100Ω; If must use the expansion unit, its ground point should accept after checking with the elemental area earth in the same place. In order to suppress adds in the power source and the input end, out-port's disturbance, should joins the special-purpose grounding to PLC, the ground point should with the power equipment (for example electrical machinery) the ground point separate; If cannot meet this kind of requirements, must achieve with the other equipment public earth, forbids to establish contacts the earth with other equipment. The ground point should approach PLC as far as possible.Sixth, the redundant system and hot backup system in profession in and so on petroleum, chemical industry, metallurgy certain systems, the request control device has the extremely high reliability. If the control system breaks down, will create the production suspension, the raw material massive wastes or the equipment trouble, will create the enormous economic loss to the enterprise. But depends on the enhancement control system hardware's reliability to satisfy the above request is only not enough, because the PLC itself reliable enhancement has certain limit. Uses the redundant system or the hot backup system can solve the above problem quite effectively.(1) Redundancy control system in redundancy control system, entire PLC control system (or in system most important part, if the CPU module) of two set of identical system composition. Two CPU module use same user program multi-tasking, one is advocates CPU, another is spare CPU; advocates the CPU work, but the spare CPU output is forbidden, when advocates CPU breaks down, spare CPU automatic investment movement. This cut process is controlled by the redundancy processing unit RPU, the switching time in 1~3 scanning periods, the I/O system's cut is also completes by RPU.Hot backup system in the hot backup system, two CPU with the communication connection connects in together, which is at circular telegram condition .When the system presents the breakdown, advocates CPU informs spare CPU to make thespare CPU work. This cut process is not too generally quick, but its structure is simpler than the redundant system.Under a lot of circumstances we are total to like to adopt the string to combine the conversion chip to carry on deliver, under this kind of circumstance not need us to carry on to deposited the machine to establish too and complicatedly, but carry on the data exchanges through the data transmission instruction directly, but is not a very viable way in the correspondence, because the PLC of the other party must has been wait for your data exportation at the time of sending out the data, it can't do other works.When you are reading the book, you hear someone knock on door, you stop to start up of affair, open the door and combine to continue with the one who knock on door a dialogue, the telephone of this time rang, you signal hint to connect a telephone, after connecting the telephone through, return overdo come together knock on door to have a conversation, after dialogue complete, you continue again to see your book, this kind of circumstance we are called the interruption to it, it has the authority, also having sex of have the initiative, the PLC had such function .Its characteristics lie in us and may meet the urgently abrupt affairs in the operation process of the equipments, we want to stop to start immediately up of work, the whereabouts manages the more important affair, this kind of circumstance is we usually meet of, PLC while carry out urgent mission, total will keep the current appearance first, for example the address of the procedure, CPU of tired add the machine data etc., be like to stick down which the book that we see is when we open the door the page or simply make a mark, because we treat and would still need to continue immediately after book of see the behind. The CPU always does the affair that should do according to our will, but your mistake of give it an affair, it also would be same to do, this we must notice.The interruption is not only a, sometimes existing jointly with the hour several inside break, break off to have the preferred Class, they will carry out theinterruption of the higher Class according to person's request. This kind of breaks off the medium interruption to also became to break off the set. The Class that certainly break off is relevant according to various resources of CPU with internal PLC, also following a heap of capacity size of also relevant fasten.The contents that break off has a lot of kinds, for example the exterior break off, correspondence in of send out and accept the interruption and settle and the clock that count break off, still have the WDT to reset the interruption etc., they enriched the CPU to respond to the category while handle various business. Speak thus perhaps you can't comprehend the internal structure and operation orders of the interruption completely also, we do a very small example to explain.Each equipment always will not forget a button, it also is at we meet the urgent circumstance use of, which is nasty to stop the button. When we meet the Human body trouble and surprised circumstances we as long as press it, the machine stops all operations immediately, and wait for processing the over surprised empress recover the operation again. Nasty stop the internal I/ O of the internal CPU of the button conjunction PLC to connect up, be to press button an exterior to trigger signal for CPU, the CPU carries on to the I/ O to examine again, being to confirm to have the exterior to trigger the signal, CPU protection the spot breaks off procedure counts the machine turn the homologous exterior I/ O automatically in the procedure to go to also, be exterior interruption procedure processing complete, the procedure counts the machine to return the main procedure to continue to work. Have 1:00 can what to explain is we generally would nasty stop the button of exterior break off to rise to the tallest Class, thus guarantee the safety.When we are work a work piece, giving the PLC a signal, counting PLC inner part the machine add 1 to compute us for a day of workload, a count the machine and can solve problem in brief, certainly they also can keep the data under the condition of dropping the electricity, urging the data not to throw to lose, this is also what we hope earnestly.The PLC still has the function that the high class counts the machine, being us while accept some dates of high speed, the high speed that here say is the data of the in all aspects tiny second class, for example the bar code scanner is scanning the data continuously, calculating high-speed signal of the data processor DSP etc., we will adopt the high class to count the machine to help we carry on count. It at the PLC carries out the procedure once discover that the high class counts the machine to should of interruption, will let go of the work on the hand immediately. The trapezoid diagram procedure that passes by to weave the distance again explains the high class for us to carry out procedure to count machine would automatic performance to should of work, thus rise the Class that the high class counts the machine to high one Class.You heard too many this phrases perhaps:" crash", the meaning that is mostly is a workload of CPU to lead greatly, the internal resources shortage etc. the circumstance can't result in procedure circulate. The PLC also has the similar circumstance, there is a watchdog WDT in the inner part of PLC, we can establish time that a procedure of WDT circulate, being to appear the procedure to jump to turn the mistake in the procedure movement process or the procedure is busy, movement time of the procedure exceeds WDT constitution time, the CPU turn but the WDT reset the appearance. The procedure restarts the movement, but will not carry on the breakage to the interruption.The PLC development has already entered for network ages of correspondence from the mode of the one, and together other works control the net plank and I/ O card planks to carry on the share easily. A state software can pass all se hardwires link, more animation picture of keep the view to carries on the control, and cans pass the Internet to carry on the control in the foreign land, the blast-off that is like the absolute being boat No.5 is to adopt this kind of way to make airship go up the sky.The development of the higher layer needs our continuous effort to obtain. The PLC emergence has already affected a few persons fully, we also obtained moreknowledge and precepts from the top one experience of the generation, coming to the continuous development PLC technique, push it toward higher wave tide.Knowing the available PLC network options and their best applications will ensure an efficient and flexible control system design.The programmable logic controller's (PLC's) ability to support a range of communication methods makes it an ideal control and data acquisition device for a wide variety of industrial automation and facility control applications. However, there is some confusion because so many possibilities exist. To help eliminate this confusion, let's list what communications are available and when they would be best applied.To understand the PLC's communications versatility, let's first define the terms used in describing the various systems.ASCII: This stands for "American Standard Code for Information Interchange." As shown in Fig. 1, when the letter "A" is transmitted, for instance, it's automatically coded as "65" by the sending equipment. The receiving equipment translates the "65" back to the letter "A." Thus, different devices can communicate with each other as long as both use ASCII code.ASCII module: This intelligent PLC module is used for connecting PLCs to other devices also capable of communicating using ASCII code as a vehicle.Bus topology: This is a linear local area network (LAN) arrangement, as shown in Fig. 2A, in which individual nodes are tapped into a main communications cable at a single point and broadcast messages. These messages travel in both directions on the bus from the point of connection until they are dissipated by terminators at each end of the bus.中文译文:PLC 相关问题从结构上分,PLC分为固定式和组合式(模块式)两种。
(2021年整理)PLC中英文资料外文翻译(1)
(完整版)PLC中英文资料外文翻译(1)编辑整理:尊敬的读者朋友们:这里是精品文档编辑中心,本文档内容是由我和我的同事精心编辑整理后发布的,发布之前我们对文中内容进行仔细校对,但是难免会有疏漏的地方,但是任然希望((完整版)PLC中英文资料外文翻译(1))的内容能够给您的工作和学习带来便利。
同时也真诚的希望收到您的建议和反馈,这将是我们进步的源泉,前进的动力。
本文可编辑可修改,如果觉得对您有帮助请收藏以便随时查阅,最后祝您生活愉快业绩进步,以下为(完整版)PLC中英文资料外文翻译(1)的全部内容。
(完整版)PLC中英文资料外文翻译(1)编辑整理:张嬗雒老师尊敬的读者朋友们:这里是精品文档编辑中心,本文档内容是由我和我的同事精心编辑整理后发布到文库,发布之前我们对文中内容进行仔细校对,但是难免会有疏漏的地方,但是我们任然希望 (完整版)PLC中英文资料外文翻译(1)这篇文档能够给您的工作和学习带来便利。
同时我们也真诚的希望收到您的建议和反馈到下面的留言区,这将是我们进步的源泉,前进的动力。
本文可编辑可修改,如果觉得对您有帮助请下载收藏以便随时查阅,最后祝您生活愉快业绩进步,以下为〈(完整版)PLC中英文资料外文翻译(1)> 这篇文档的全部内容。
可编程控制器技术讨论与未来发展摘自《可编程控制器技术讨论与未来发展》数字媒体系 08165110 多衡随着时代的发展,当今的技术也日趋完善、竞争愈演愈烈;单靠人工的操作已不能满足于目前的制造业前景,也无法保证更高质量的要求和高新技术企业的形象。
人们在生产实践中看到,自动化给人们带来了极大的便利和产品质量上的保证,同时也减轻了人员的劳动强度,减少了人员上的编制.在许多复杂的生产过程中难以实现的目标控制、整体优化、最佳决策等,熟练的操作工、技术人员或专家、管理者却能够容易判断和操作,可以获得满意的效果。
人工智能的研究目标正是利用计算机来实现、模拟这些智能行为,通过人脑与计算机协调工作,以人机结合的模式,为解决十分复杂的问题寻找最佳的途径我们在各种场合看到了继电器连接的控制,那已经是时代的过去,如今的继电器只能作为低端的基层控制模块或者简单的设备中使用到;而PLC的出现也成为了划时代的主题,通过极其稳定的硬件穿插灵活的软件控制,使得自动化走向了新的高潮。
电气工程及其自动化专业 外文文献 英文文献 外文翻译 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 typ e s of a rc hi te ctu r e ar e fo un d i n s in gl e-ch ip m i cr oc om pu te r. So m e em pl oy t he sp l it p ro gr am/d ata me mo ry o f th e H a rv ar d ar ch it ect u re, sh ow n i n -5A, ot he rs fo ll ow th e ph i lo so ph y, w i de ly a da pt ed fo r g en er al-p ur pos e c om pu te rs an d m i cr op ro ce ss or s, o f m a ki ng no lo gi c al di st in ct io n b e tw ee n p ro gr am a n d da t a m em ory a s i n th e Pr in cet o n ar ch it ec tu re,sh ow n in-5A.In g en er al te r ms a s in gl e-chi p m ic ro co mp ut er i sc 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 dev i ce, as s ho wn in Fi g3-5A-3.-5A-1 A Harvard type-5A. A conventional Princeton computerFig3-5A-3. Principal features of a microcomputerRead only memory (ROM).R OM i s u su al ly f or th e p er ma ne nt, n o n-vo la ti le s tor a ge o f an a pp lic a ti on s pr og ra m .M an ym i cr oc om pu te rs an d mi cr oc on tr ol le r s a re in t en de d fo r h ig h-v ol ume a p pl ic at io ns a nd h en ce t he e co nom i ca l ma nu fa ct ure of t he d ev ic es r e qu ir es t ha t the co nt en ts o f the pr og ra m me mo ry b e co mm it te dp e rm an en tl y d ur in g th e m an uf ac tu re o f c hi ps . Cl ear l y, th is im pl ie sa ri g or ou s a pp roa c h t o R OM co de d e ve lo pm en t s in ce c ha ng es ca nn otb e m ad e af te r man u fa ct ur e .T hi s d e ve lo pm en t pr oce s s ma y in vo lv e e m ul at io n us in g a s op hi st ic at ed deve lo pm en t sy st em w i th a ha rd wa re e m ul at io n ca pa bil i ty a s we ll a s th e u se of po we rf ul so ft wa re t oo ls.So me m an uf act u re rs p ro vi de ad d it io na l RO M opt i on s byi n cl ud in g i n th ei r ra ng e de vi ce s wi th (or i nt en de d fo r us e wi th) u s er pr og ra mm ab le m em or y. Th e s im p le st of th es e i s us ua ll y d ev ice w h ic h ca n op er ate in a m ic ro pr oce s so r mo de b y usi n g so me o f th e i n pu t/ou tp ut li ne s as a n ad dr es s an d da ta b us f or acc e ss in g e xt er na l m e mo ry. T hi s t ype o f d ev ic e c an b e ha ve fu nc ti on al l y a s t he si ng le c h ip mi cr oc om pu te r fr om wh ic h i t i s de ri ve d a lb eit w it h r es tr ic ted I/O an d a mo di fie d e xt er na l ci rcu i t. T he u se o f t h es e RO Ml es sd e vi ce s is c om mo n e ve n in p ro du ct io n c ir cu it s wh er e t he v ol um e do es n o t ju st if y th e d e ve lo pm en t co sts of c us to m on-ch i p RO M[2];t he re c a n st il l b e a si g ni fi ca nt s a vi ng in I/O a nd ot he r c hi ps co mp ar ed t o a c on ve nt io nal mi cr op ro ce ss or b as ed c ir cu it. M o re e xa ctr e pl ac em en t fo r RO M d ev ic es c an b e o bt ai ne d in t he f o rm o f va ri an ts w i th 'pi gg y-ba ck'EP RO M(Er as ab le p ro gr am ma bl e ROM)s oc ke ts o rd e vi ce s w it h EP ROM i ns te ad o f R OM 。
(完整版)PLC英文文献+翻译
自动化专业本科毕业设计英文翻译学院(部):专业班级:学生姓名:指导教师:年月日Programmable Logic ControllerONE:PLC overviewProgrammable controller is the first in the late 1960s in the United States, then called PLC programmable logic controller (Programmable Logic Controller) is used to replace relays. For the implementation of the logical judgment, timing, sequence number, and other control functions. The concept is presented PLC General Motors Corporation. PLC and the basic design is the computer functional improvements, flexible, generic and other advantages and relay control system simple and easy to operate, such as the advantages of cheap prices combined controller hardware is standard and overall. According to the practical application of target software in order to control the content of the user procedures memory controller, the controller and connecting the accused convenient target.In the mid-1970s, the PLC has been widely used as a central processing unit microprocessor, import export module and the external circuits are used, large-scale integrated circuits even when the Plc is no longer the only logical (IC) judgment functions also have data processing, PID conditioning and data communications functions. International Electro technical Commission (IEC) standards promulgated programmable controller for programmable controller draft made the following definition : programmable controller is a digital electronic computers operating system, specifically for applications in the industrial design environment. It used programmable memory, used to implement logic in their internal storage operations, sequence control, timing, counting and arithmetic operations, such as operating instructions, and through digital and analog input and output, the control of various types of machinery or production processes. Programmable controller and related peripherals, and industrial control systems easily linked to form a whole, to expand its functional design. Programmable controller for the user, is a non-contact equipment, the procedures can be changed to change production processes. The programmable controller has become a powerful tool for factory automation, widely popular replication.Programmable controller is user-oriented industries dedicated control computer, with many distinctive features.First, high reliability, anti-interference capability;Second,programming visual, simple;Third, adaptability good;Fourth functional improvements, strong functional interface. TWO:History of PLCProgrammable 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 PLC 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 indicatingIf houses were built like software projects, a single woodpecker could d estroy civilization.”Particularly, practical problems in PLC programming are to eliminate software bugs and to reduce the maintenance costs of old ladderlogic programs. Though the hardware costs of PLC are dropping continuously, reducing the scan time of the ladder logic is still an issue in industry so that low-cost PLC 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 based software 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 of the manpower allocated for the control system design and installation is scheduled for testing and debugging PLC programs.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.The 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 the automation 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. Three:now of PLCFrom the structure is divided into fixed PLC and Module PLC, the two kinds of PLC including CPU board, I/O board, display panel, memory block, power, these elements into a do not remove overall. Module type PLC including CPU module, I/O modules, memory, thepower modules, bottom or a frame, these modules can be according to certain rules combination configuration.In the user view, a detailed analysis of the CPU's internal unnecessary, but working mechanism of every part of the circuit. The CPU control works, by it reads CPU instruction, interprets the instruction and executes instructions. But the pace of work by shock signal control.Unit work under the controller command used in a digital or logic operations.In computing and storage register of computation result, it is also among the controller command and work. CPU speed and memory capacity is the important parameters fot PLC . its determines the PLC speed of work, IO PLC number and software capacity, so limits to control size.Central Processing Unit (CPU) is the brain of a PLC controller. CPU itself is usually one of the microcontrollers. Aforetime these were 8-bit microcontrollers such as 8051, and now these are 16-and 32-bit microcontrollers. Unspoken rule is that you’ll find mostly Hitachi and Fujicu microcontrollers in PLC controllers by Japanese makers, Siemens in European controllers, and Motorola microcontrollers in American ones. CPU also takes care of communication, interconnectedness among other parts of PLC controllers, program execution, memory operation, overseeing input and setting up of an output.System memory (today mostly implemented in FLASH technology) is used by a PLC for a process control system. Aside form. this operating system it also contains a user program translated foram ladder diagram to a binary form. FLASH memory contents can be changed only in case where user program is being changed. PLC controllers were used earlier instead of PLASH memory and have had EPROM memory instead of FLASH memory which had to be erased with UV lamp and programmed on programmers. With the use of FLASH technology this process was greatly shortened. Reprogramming a program memory is done through a serial cable in a program for application development.User memory is divided into blocks having special functions. Some parts of a memory are used for storing input and output status. The real status of an input is stored either as “1”or as “0”in a specific memory bit/each input or output has one corresponding bit in memory. Other parts of memory are used to store variable contents for variables used in used program. For example, time value, or counter value would be stored in this part of the memory.PLC controller can be reprogrammed through a computer (usual way), but also through manual programmers (consoles). This practically means that each PLC controller can programmed through a computer if you have the software needed for programming. Today’s transmission computers are ideal for reprogramming a PLC controller in factory itself. This is of great importance to industry. Once the system is corrected, it is also important to read the right program into a PLC again. It is also good to check from time to time whether program in a PLC has not changed. This helps to avoid hazardous situations in factory rooms (some automakers have established communication networks which regularly check programs in PLC controllers to ensure execution only of good programs).Almost every program for programming a PLC controller possesses various useful options such as: forced switching on and off of the system input/outputs (I/O lines), program follow up in real time as well as documenting a diagram. This documenting is necessary to understand and define failures and malfunctions. Programmer can add remarks, names of input or output devices, and comments that can be useful when finding errors, or with system maintenance. Adding comments and remarks enables any technician (and not just a person who developed the system) to understand a ladder diagram right away. Comments and remarks can even quote precisely part numbers if replacements would be needed. This would speed up a repair of any problems that come up due to bad parts. The old way was such that a person who developed a system had protection on the program, so nobody aside from this person could understand how it was done. Correctly documented ladder diagram allows any technician to understand thoroughly how system functions.Electrical supply is used in bringing electrical energy to central processing unit. Most PLC controllers work either at 24 VDC or 220V AC. On some PLC controllers you’ll find electrical supply as a separatemodule. Those are usually bigger PLC controllers, while small and medium series already contain the supply module. User has to determine how much current to take from I/O module to ensure that electrical supply provides appropriate amount of current. Different types of modules use different amounts of electrical current.This electrical supply is usually not used to start external input or output. User has to provide separate supplies in starting PLC controller inputs because then you can ensure so called “pure” supply for the PLC controller. With pure supply we mean supply where industrial environment can not affect it damagingly. Some of the smaller PLC controllers supply their inputs with voltage from a small supply source already incorporated into a PLC.Four:PLC design criteriaA 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 aspects.In 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 inreal-time, therefore, giving a significant competitive edge in industrial practice.Studies 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 PLC 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 advancing the 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.The 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.Today, 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.From 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.可编程控制器一、PLC概述可编程控制器是60年代末在美国首先出现的,当时叫可编程逻辑控制器PLC(Programmable Logic Controller),目的是用来取代继电器。
自动化外文翻译---基于PLC的自动化系统的远程诊断的设计
2013 届本科毕业设计(论文)外文文献翻译学院:电气与自动化工程学院专业:自动化姓名:学号:外文出处: Springer-Verlag London Limited 2012(用外文写)附件: 1.外文资料翻译译文;2.外文原文。
附件1:外文资料翻译译文基于PLC的自动化系统的远程诊断的设计:远程诊断性能评价的影响因素Ramnath Sekar & Sheng-Jen Hsieh & Zhenhua Wu收稿日期:2010年6月16号接受日期:2012年5月17号施普林格出版社伦敦有限公司2012摘要在故障诊断中的性能故障排除任务通常是在不同工业领域的应用研究。
在以前进行了几个实验的研究中了解过程接口的能力,以协助当地的故障诊断和疑难排解,同时考虑到接口影响,故障性质和专业知识的疑难解答。
虽然有几个远程诊断架构已经提出和已经制定标准远程诊断的水平,在何种程度上的远程诊断体系结构的设计,可以帮助在诊断和远程故障诊断的影响因素性能没有被频繁的问题的疑难解答。
“本文的目的是了解影响远程故障诊断的性能的因素,包括远程诊断架构,故障类型,层次的专业知识,远程疑难解答,当地运营商和技术水平。
实验是在其中进行故障排除,使用三个层次的远程诊断体系结构诊断不同类型的故障,在可编程逻辑控制器根据离散自动化装配系统,同时加入当地工程师和新手驾驶员。
结果表明,故障是因为测量或监测相关的诊断远程专家故障排除工具的问题,远程系统变量故障排除性能的提升能增加远程诊断体系结构的水平。
与此相反,新手疑难排解,与这些故障的诊断有显著差异,在远程故障诊断性能方面观察三者之间的架构,对新手疑难排解遇到的一些问题与管理提供更多的信息。
专家们展现出更好的信息收集能力,他们花了更多的时间在每个信息源,完成来自较少的转换之间的信息故障诊断。
监控系统参数无关故障导致显著减少了远程故障诊断性能,与所有三个架构比较,相关的监控系统参数故障为专家和新手排解疑难问题。
自动化专业-外文文献-英文文献-外文翻译-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。
PLC的工作原理中英文翻译
PLC的工作原理可编程控制器,英文称ProgrammableLogicController,简称PLC。
PLC是基于电子计算机,且适用于工业现场工作的电控制器。
它源于继电控制装置,但它不像继电装置那样,通过电路的物理过程实现控制,而主要靠运行存储于PLC内存中的程序,进行入出信息变换实现控制。
PLC基于电子计算机,但并不等同于普通计算机。
普遍计算机进行入出信息变换,多只考虑信息本身,信息的入出,只要人机界面好就可以了。
而PLC则还要考虑信息入出的可靠性、实时性,以及信息的使用等问题。
特别要考虑怎么适应于工业环境,如便于安装,抗干扰等问题。
当PLC投入运行后,其工作过程一般分为三个阶段,即输入采样、用户程序执行和输出刷新三个阶段。
完成上述三个阶段称作一个扫描周期。
在整个运行期间,PLC的CPU以一定的扫描速度重复执行上述三个阶段。
1.输入采样阶段在输入采样阶段,PLC以扫描方式依次地读入所有输入状态和数据,并将它们存入I/O映象区中的相应得单元内。
输入采样结束后,转入用户程序执行和输出刷新阶段。
在这两个阶段中,即使输入状态和数据发生变化,I/O映象区中的相应单元的状态和数据也不会改变。
因此,如果输入是脉冲信号,则该脉冲信号的宽度必须大于一个扫描周期,才能保证在任何情况下,该输入均能被读入。
2.用户程序执行阶段在用户程序执行阶段,PLC总是按由上而下的顺序依次地扫描用户程序(梯形图)。
在扫描每一条梯形图时,又总是先扫描梯形图左边的由各触点构成的控制线路,并按先左后右、先上后下的顺序对由触点构成的控制线路进行逻辑运算,然后根据逻辑运算的结果,刷新该逻辑线圈在系统RAM存储区中对应位的状态;或者刷新该输出线圈在I/O映象区中对应位的状态;或者确定是否要执行该梯形图所规定的特殊功能指令。
即,在用户程序执行过程中,只有输入点在I/O映象区内的状态和数据不会发生变化,而其他输出点和软设备在I/O映象区或系统RAM存储区内的状态和数据都有可能发生变化,而且排在上面的梯形图,其程序执行结果会对排在下面的凡是用到这些线圈或数据的梯形图起作用;相反,排在下面的梯形图,其被刷新的逻辑线圈的状态或数据只能到下一个扫描周期才能对排在其上面的程序起作用。
电气工程与其自动化专业_外文文献_英文文献_外文翻译_plc方面
1、外文原文A: Fundamentals of Single-chip MicrocomputerTh e si ng le -c hi p mic ro co mput er i s t he c ul mi na ti on of both t h e de ve lo pmen t o f t he d ig it al co m pu te r an d th e i n te gr at ed c i rc ui t a rg ua bl y t h e to w mos t s ig ni f ic an t i nv en ti on s of t he 20th c e nt ur y [1].Th es e t ow ty pe s of ar ch it ec tu re a re fo un d i n s in gle -ch i p m i cr oc ompu te r. So me em pl oy t he spl i t pr og ra m/da ta memory o f th e Ha rv ar d ar ch it ect ure , sh own in Fi g.3-5A-1, o th ers fo ll ow t he ph il os op hy , wi del y a da pt ed f or ge ner al -pur po se co m pu te rs a nd m i cr op ro ce ss or s, o f maki ng n o log i ca l di st in ct ion be tw ee n pr og ra m an d d at a memory a s i n t he P r in ce to n ar ch ite c tu re , sh own i n F ig.3-5A-2.In g en er al te r ms a s in gl e -chi p m ic ro co mput er i sc h ar ac te ri zed by t he i nc or po ra ti on of a ll t he un it s of a co mputer i n to a s in gl e d ev i ce , as s ho wn in Fi g3-5A-3.Fig.3-5A-1 A Harvard typeProgrammemory DatamemoryCPU Input&Outputunitmemory CPU Input&OutputunitFig.3-5A-2. A conventional Princeton computerReset Interrupts PowerFig3-5A-3. Principal features of a microcomputerRead only memory (ROM).R OM i s us ua ll y f or th e p erm an ent, no n-vo la ti le s tor age o f an a pp lic ati on s pr og ra m .Man ym i cr oc ompu te rs an d m ar e in te nd e d f or hi gh -v ol ume a ppl ic at ions an d he nc e t he eco nomic al m an uf act ure o f th e de vic es re qu ir es t h at t he co nt en t s of t he pr og ra m mem or y b e co mm it t ed pe rm ane ntly du ri ng t he m an ufa c tu re o f ch ip s .Cl ea rl y, t hi s i mpl ie s a r i go ro us a pp ro ach to R OM c od e de ve l op ment s in ce ch ang es c an not be mad e af te r manu f ac tu re .Th is d ev elo pmen t pr oc ess ma y in vo lv e emul at io n us in g a so ph is ti ca te d d eve lo pmen t sy ste m w it h a ha rd ware e mula tio n c ap ab il it y as wel l as t he u se o f po werf ul s o ft ware t oo ls.Some m an uf act ure rs p ro vi de ad d it io na l ROM opt i on s byi n cl ud in g i n th eir r ange d ev ic es wi t h (or i nt en de d f or u se wit h)us er p ro gr ammable memory. Th e sim ple st o f th es e i s u su al lyde vi ce w hi ch c an o per at e in a mi cro pro ce ss or mod e b y u si ng s ome of t he i np ut /o utp ut li ne s as a n a ddr es s an d da ta b us f or ac ce ss in g ex te rna l m emor y. T hi s t y pe o f de vi ce ca n b eh av eExternalTimingcomponents System clock Timer/ CounterSerial I/OPrarallelI/ORAMROMCPUf u nc ti on al ly a s t he si ng le ch ip mi cr oc ompu te r fro m w hi ch it is de ri ve d al be it wi t h re st ri ct ed I/O a nd a m od if ied ex te rn alc i rc ui t. Th e u se o f th es e dev ic es i s c ommon e ve n i n pr od uc ti on c i rc ui ts wh ere t he vo lu me do es no t j us tif y t h e dev el opmen t costsof c us to m o n-ch i p ROM[2];t he re c a n s ti ll be a s ig nif i ca nt sa vingi n I/O an d o th er c hip s c ompa re d t o a co nv en ti on al mi c ro pr oc es sor ba se d ci rc ui t. Mo r e ex ac t re pl ace m en t fo r RO M dev i ce s ca n be ob ta in ed i n th e f orm o f va ri an ts wit h 'p ig gy-b ack'EPRO M(Er as ab le pr o gr ammabl e RO M )s oc ke ts o r d ev ic e s wi th EP ROM i n st ea d of ROM 。
PLC控制系统外文文献翻译、中英文翻译、外文翻译
PLC控制系统一、PLC概述可编程控制器是60年代末在美国首先出现的,当时叫可编程逻辑控制器PLC (Programmable Logic Controller),目的是用来取代继电器。
以执行逻辑判断、计时、计数等顺序控制功能。
提出PLC概念的是美国通用汽车公司。
PLC的基本设计思想是把计算机功能完善、灵活、通用等优点和继电器控制系统的简单易懂、操作方便、价格便宜等优点结合起来,控制器的硬件是标准的、通用的。
根据实际应用对象,将控制内容编成软件写入控制器的用户程序存储器内,使控制器和被控对象连接方便。
70年代中期以后,PLC已广泛地使用微处理器作为中央处理器,输入输出模块和外围电路也都采用了中、大规模甚至超大规模的集成电路,这时的PLC已不再是仅有逻辑(Logic)判断功能,还同时具有数据处理、PID调节和数据通信功能。
国际电工委员会(IEC)颁布的可编程控制器标准草案中对可编程控制器作了如下的定义:可编程控制器是一种数字运算操作的电子系统,专为在工业环境下应用而设计。
它采用了可编程序的存储器,用来在其内部存储执行逻辑运算,顺序控制、定时、计数和算术运算等操作的指令,并通过数字式和模拟式的输入和输出,控制各种类型的机械或生产过程。
可编程控制器及其有关外围设备,易于与工业控制系统联成一个整体,易于扩充其功能的设计。
可编程控制器对用户来说,是一种无触点设备,改变程序即可改变生产工艺。
目前,可编程控制器已成为工厂自动化的强有力工具,得到了广泛的普及推广应用。
可编程控制器是面向用户的专用工业控制计算机,具有许多明显的特点。
①可靠性高,抗干扰能力强;②编程直观、简单;③适应性好;④功能完善,接口功能强二、PLC的历史1968年,Richard E. Morley创造出了新一代工业控制装置可编程逻辑控制器(PLC),现在,PLC已经被广泛应用于工业领域,包括机械制造也、运输系统、化学过程设备、等许多其他领域。
plc外文论文及其翻译
摘自《可编程控制器在过程自动化中的应用》PROGRAMMABLE LOGIC CONTROLLERS INPROCESS AUTOMATIONAhti Mikkor, Lembit RoosimölderAbstract: Nowadays, control problems are solved using operating components from a wide variety of technologies: electronics, hydraulics, pneumatics and mechanics. Functio-nality, reliability and price of the controlled system are deter-mined by the quality of the solution made. The paper concentrates on practical use of programmable logic controllers (PLC) that is based on the five years project development experience in this area. Successful solutions and problems are under focus.Specific hardware, controller programming problems, data/signals exchange and human machine interfaces are considered. As a result the method for selecting programmable controllers according to specific needs is developed. Practical suggestions, possible hazards and warnings are proposed that could help to avoid mistakes.Key words: programmable controllers, PLC, automation, automation systems, process automation.1. INTRODUCTIONModern machinery consists of both mechanical and electronic parts. Overall functionality is determined by “balance”between these components. Initial planning and solution selection plays critical role in final result.In control methods the selection has to be made between relay-based circuits, special devices, programmable logic controllers (PLC) and new development electronics. This article is concentrated on PLC-s and experience that has collected over 5-year practical work with PLC-s. Strong and weak sides, positive and negative practices are discussed. Suggestions weather to use programmable controllers or not have been formed to help decision making.The most important decision in planning PLC-based system is selecting processor type. Mistakes mean extra costs for modifications or even need for completely new devices. The most common error is overestimating programming possibilities of small-sized processors. There are several methods for selecting PLC. Unfortunately most of them focus on electrical side of PLC-s and maximum count of signals allowed. They don’t involve analysis to determine possible special needs for user program or communications.Based on several existing methods, practical experience and future trends a new method for selecting PLC was developed. Ahti Mikkor has gainedhis experience by taking part in more than 15 big-scale automation projects. These projects include development of power consumption monitoring system in AS Kunda Nordic Cement factory, renewing testing rig for flowmeters, building Ahtme powerplant turbine safety systems, water treatment plants in towns Rakvere and Põlva, waste water treatment plant in town Jõgeva and development of monitoring system for central heating network in Tartu.2. PROS AND CONS IN USING PROGRAMMABLE LOGIC CONTROLLERS2.1 Positive argumentsThe main advantage that programmable controllers provide is flexibility (Jack, 2003). Behaviour of the system can be easily changed via program without any other alterations. Special devices for example make any changes in control algorithm very hard to implement. Flexibility makes PLC-s well suitable for frequently changed applications, for example in robotics.In PLC-s the relations between inputs and outputs are determined by user program. By using advanced programming technologies it is much easier to implement complex control algorithms than in any hard-wired solutions. It makes PLC-s very competitive for complex tasks, for example in controlling chemical processes.Special modules allow vast amount of different signals to be connected to the PLC system. Use of PLC-s should be considered in applications that require some “special” input or output signals. Typical example would be positioning using reference data from high-speed input.Typically PC visualization software packages are made for PLC-s. Some special devices have also PC software packages. Wide range of communication options between PLC-s makes it possible to gather all information from field devices into one central control point.Communication lines between PLC-s allow using information collected from other parts of the system in local process control. Modern communication technologies enable remote diagnostics and configuration (Jack, 2003). These two significantly reduce overall maintenance costs of the system.2.2 Negative argumentsProgrammable controllers are not equipped with enough memory to store big amounts of data. Although future trends show growth in PLC memory sizes, special devices (recorders) are still better suited for standalone datalogging applications. For networked solutions there is possibility to use visualization software packages together with PLC-s to archive collected data in any database format necessary. If logged data amounts are small or there are also control functions included, it’s reasonable to still use PLC-s. About visualization software packages it’s good to know that in standard versions most of them do not support offline recording so that after communication breakdown it is not possible toacquire data backwards from PLC.Modern communication options for PLC-s include standard protocols for example Ethernet. It is tempting to use existing office networks also as data carrier for automation system communications. Time has shown that it is better practice to keep these two separated if there is a need for constant online communication. Hardly traceable temporal network overloads can cause problems also in automation system communications All PLC-s need be programmed. All programming works include risk for accidental errors in control algorithm. Special devices are well tested and generally free of this kind of problems. If available, it’s economically thoughtful to use special devices.Safety applications that require highest degree of reliability should contain simplest devices and circuits possible. There is a rule that every new link in chain decreases overall reliability.In small applications it’s often cost saving to use relay-based circuits instead of PLC-s.3. FUTURE TRENDSProgress in process automation systems is aiming at so called complete automation when all the human has to do is to enter the parameters of the product wanted and everything else is carried out by machines (Rosin, 2000). Although the destination lies far ahead, trends indicate movement in that direction.Firstly, systems become more and more standardized. Big manufacturers organize their products into families. The aim is to reduce amount of knowledge needed for configuration and maintenance works of different devices from same company. It’s also important that this way built applications are easily expandable.Secondly, importance of communication is rising (Hughes, 2000). There are many reasons, some of more essentials are:• Better collaboration of different parts of the system.•Cutting costs on cabling. Less cabling results fall in fault probability, but also increases severity of ones that occur.• Sensors and actuators can be at longer distances from the processor module than if using conventional methods.• Increased scalability of the systems. New devices can be added at minimal costs.• At some cases it is better to make architecture of many small independent modules and network them. This solution enables system to keep working although some parts have failed.• Communication networks ease fault diagnostics and provide remote management possibilities. Central operating stations can be formed relatively easy.• Possibility to connect devices form different manufacturers (OPCFoundation, 2003).Third important tendency is spreading use of so called software controllers or Soft PLC-s (Siemens AG, 2003). These are PC software-based solutions that relate with field devices via communication networks. There is no need for processor module, resources of PC are used. Some Soft PLC-s are still formed as processor cards for PC (figure 1). Reliable communication networks are essential. Soft PLC-s are well suited for data acquisition applications because of data storage possibilities of PC-s.Figure 1. Siemens Simatic WinAC Slot PLC 412Fourthly, combo-devices (figure 2) that contain both operator panel and medium size processor module gain popularity (Siemens AG, 2002). In this solution possibility of disturbances is low and reuse of some components make whole package cheaper.Figure 2. Combo device Siemens Simatic C7-613Fifthly, processor software takes over properties from PC software. Data collected from production can be easily transferred into office applications (Siemens AG, 2000).4. METHOD FOR SELECTING PROGRAMMABLE CONTROLLERA method for forming an application specific list of required properties for selecting programmable controller was developed. There are nine criterions and the results are presented in Table 1. Selection is made by comparing results table with controller’s technical data. Following is short description of every criteria involved.Nature of solution determines weather it is expanding of old system or completely new development. In first case the architecture of system and hardware requirements are limited by already existing solution. Using hardware from same company makes servicing easier and avoids integration problems that would occur when using products form different manufacturers. For example many hardware producers integrate their own specific communication interfaces directly into processor module and for every universal protocol a special module is needed (Siemens AG, 2003). It is also possible to reduce spare part stock amounts when using same type hardware all over the system.Maximum number of electrical inputs-outputs allowed is classical criteria to determine processor class. If complex control algorithms and non-standard functions are needed, it’s not the most important parameter any more. Generally it is money saving to use one bigger processor module for input-output signals that originate from nearby locations than several smaller ones. In this case there will be no need for communication network and programming will be easier too.Special signals and modules are usually available for medium and large controller families only. Many microcontrollers do not even have possibility to add analogue output (Siemens AG, 2003). In some cases using special modules is the only way, in other ones (positioning) it is just an opportunity to save money.Layouts of sensors and actuators can be very different, sometimes the sensors are located several kilometres away from the actuator (pumping liquids in long pipes). In this case special communication network (Profibus, AS-inteface) might be the only solution. If not, it can at least save costs by reducing cabling works. Not all programmable controllers have interfaces for communication protocols.Properties of processor have important role in complex applications. Most common problem is lack of programming memory, sometimes also data memory. Memory requirements can be estimated by number of input and output signals. But in practice 100 digital input-output points system often has 3 times smaller program than 10 digital input-output points system. The only way to estimate program size exactly is using previous experience.Program specialities include special program functions needed. Different areas of applications have some typically used functions, for example temperature control in building automation. Programming is much simpler if these functions are already built into system software of processor. In process automation 2 digital output (up-down) closed loopPID regulation is quite often used. It might be a surprise but it’s not included in most of the microcontrollers (Siemens AG, 2003) and for average programmer it’s too complicated task to create his own regulator using standard functions. Basically there are 2 solutions: either to avoid this construction or to use applicable controller.Table 1. Table for method resultsCommunication is becoming more important in nowadays automation systems. In some cases non-standardised devices as barcode readers or electronic weights have to be included into the system. Then it’s vital to have functions for protocol programming (freeport programming). Standardised protocols demand existence of specific modules. Working conditions can usually be overcome by using special cabinets, but there are also specific series of programmable controllers that have improved resistance for electromagnetic disturbances, humidity and vibrations. In very dusty environments all cooling ventilators have to be equipped withfilters.5. CONCLUSIONSMain benefits of programmable controllers are:• flexibility• communication possibilities• realisation of complex control algorithms• reliabilityAlternative solutions should be considered if:• system is very simple• special devices are available• data recording is necessaryInitial selection of appropriate solution and hardware has great influence on final result. Mistakes in this step significantly increase overall budget of project as some programs might have to be changed and some hardware replaced.Based on his practical experience the author has formed a method for selecting programmable controller. It has 9 criteria’s: • nature of solution (new or existing)•maximum number of electrical inputs-outputs allowed (digital, analogue, inputs, outputs)• need for special modules (high-speed digital outputs)• layout of sensors and actuators (local or periphery)• properties of processor (program and data memory)• program specialities (special functions)• communication needs (Profibus, ASCII)• working conditions (humidity, temperature, vibration, dust) Method is not guaranteed to always point out the best selection, but using it certainly avoids mistakes.6. REFERENCESHughes, T. A. Programmable Controllers, Third Edition. ISA –The Instrumentation, Systems, and Automation Society, 2000, 334 p.Jack, H. Automating Manufacturing Systems with PLC-s, 828 p.,Available:/~jackh/books/plcs/pdf/plcbook4_2.pdf, Accessed:3.10.2003LOGO! Manual. Siemens AG, 2003, 312 p.OPC Foundation homepage: /, Accessed: 9.11.2003Rosin, A. Programmable Controllers Simatic S7. Tallinn, TTU, 2000, 120 p. [Master Thesis] – in Estonian.Berger, H. Automating with SIMATIC. Siemens AG, 2003, 214 p.SIMATIC Programming with STEP 7 V 5.2: Manual. Siemens AG, 2002, 610 p.SIMATIC S7-200 Programmable Controller System Manual. Siemens AG, 2003, 474 p.SIMATIC HMI WinCC Configuration Manual. Volume 1, 2, 3. Siemens AG 2000, 468 p.参考文献[1] Hughes, T. A. Programmable Controllers, Third Edition. ISA – The Instrumentation, Systems, and Automation Society, 2000, 334 p.[2] Jack, H. Automating Manufacturing Systems with PLC-s, 828 p., Available:[3]/~jackh/books/plcs/pdf/plcbook4_2.pd f,Accessed:3.10.2003[4] LOGO! Manual. Siemens AG, 2003, 312 p.[5] OPC Foundation homepage: /, Accessed: 9.11.2003[6] Rosin, A. Programmable Controllers Simatic S7. Tallinn, TTU, 2000, 120 p. [Master Thesis] – in Estonian.[7] Berger, H. Automating with SIMATIC. Siemens AG, 2003, 214 p.[8] SIMATIC Programming with STEP 7 V 5.2: Manual. Siemens AG, 2002, 610 p.[9] SIMATIC S7-200 Programmable Controller System Manual. Siemens AG, 2003, 474 p.[10] SIMATIC HMI WinCC Configuration Manual. Volume 1, 2, 3. Siemens AG2000, 468 p.翻译:摘自《可编程控制器在过程自动化中的应用》摘要:目前,控制问题解决了各种各样的技术操作部分:电子,液压,气动和机械。
PLC控制系统外文翻译
附录Abstract: Programmable controller in the field of industrial control applications, and PLC in the application process, to ensure normal operation should be noted that a series of questions, and give some reasonable suggestions.Key words: PLC Industrial Control Interference Wiring Ground Proposal DescriptionOver the years, programmable logic controller (hereinafter referred to as PLC) from its production to the present, to achieve a connection to the storage logical leap of logic; its function from weak to strong, to achieve a logic control to digital control of progress; its applications from small to large, simple controls to achieve a single device to qualified motion control, process control and distributed control across the various tasks. PLC today in dealing with analog, digital computing, human-machine interface and the network have been a substantial increase in the capacity to become the mainstream of the field of control of industrial control equipment, in all walks of life playing an increasingly important role.ⅡPLC application areasCurrently, PLC has been widely used in domestic and foreign steel, petroleum, chemical, power, building materials, machinery manufacturing, automobile, textile, transportation, environmental and cultural entertainment and other industries, the use of mainly divided into the following categories:1. Binary logic controlReplace traditional relay circuit, logic control, sequential control, can be used to control a single device can also be used for multi-cluster control and automation lines. Such as injection molding machine, printing machine, stapler machine, lathe, grinding machines, packaging lines, plating lines and so on.2. Industrial Process ControlIn the industrial production process, there are some, such as temperature, pressure, flow, level and speed, the amount of continuous change (ie, analog), PLC using the appropriate A / D and D / A converter module, and a variety of control algorithm program to handle analog, complete closed-loop control. PID closed loop control system adjustment is generally used as a conditioning method was more. Process control in metallurgy, chemical industry, heat treatment, boiler control and so forth have a very wide range of applications3. Motion ControlPLC can be used in a circular motion or linear motion control. Generally use a dedicated motion control module, for example a stepper motor or servo motor driven single-axis or multi-axis position control module, used in a variety of machinery, machine tools, robots, elevators and other occasions.4. Data ProcessingPLC with mathematics (including matrix operations, functions, operation, logic operation), data transfer, data conversion, sorting, look-up table, bit manipulation functions, you can complete the data collection, analysis and processing. Dataprocessing is generally used, such as paper making, metallurgy, food industry, some of the major control system5. Communications and networkingPLC communication with the communication between PLC and the PLC and other communications between intelligent devices. Along with the development of factory automation network, the PLC now has communication interface, communication is very convenient.ⅢApplication features of PLC1. High reliability, strong anti-interferenceHigh reliability is the key to performance of electrical control equipment. PLC as the use of modern large scale integrated circuit technology, using the strict production process, the internal circuits to the advanced anti-jamming technology, with high reliability. Constitute a control system using PLC, and the same size compared to relay contactor system, electrical wiring and switch contacts have been reduced to hundreds or even thousands of times, fault also greatly reduced. In addition, PLC hardware failure with self-detection, failure alarm timely information. In the application software, application are also incorporated into the peripheral device fault diagnosis procedure, the system is in addition to PLC circuits and devices other than the access protection fault diagnosis. In this way, the whole system extremely high reliability.2. Fully furnished, fully functional, applicabilityPLC to today, has formed a series products of various sizes, can be used for occasions of all sizes of industrial control. In addition to processing other than logic, PLC data, most of computing power has improved, can be used for a variety of digital control in the field. A wide variety of functional units in large numbers, so that penetration to the position of PLC control, temperature control, CNC and other industrial control. Enhanced communication capabilities with PLC and human-machine interface technology, using the PLC control system composed of a variety of very easily.3. Easy to learn, well engineering and technical personnel welcomePLC is facing the industrial and mining enterprises in the industrial equipment. It interfaces easily, programming language easily acceptable for engineering and technical personnel. Ladder language, graphic symbols and expressions and relay circuit very close to are not familiar with electronic circuits, computer principles and assembly language do not understand people who engage in industrial control to open the door.4. System design, the workload is small, easy maintenance, easy to transformPLC logic with memory logic instead of wiring, greatly reducing the control equipment external wiring, make the control system design and construction of the much shorter period, while routine maintenance is also easier up, even more important is to change the procedures of the same equipment has been changed production process possible. This is particularly suitable for many varieties, small batch production situations.(1)Installation and wiring●Power lines, control lines and power lines and PLC I / O lines should be split wiring, isolation transformer and PLC and I / O should be used between the cable connection Shuangjiao. The PLC's IO lines and power lines go separate lines, such as to be in the same groove, the separation of bundled communication lines, DC lines, if conditions allow, the best sub-groove alignment, not only will it have the greatest possible distance and can reduce the noise to a minimum.●PLC should stay away from strong interference sources such as welding, high-power silicon rectifier devices and large power equipment, not with the high-voltage electrical switch installed in the same cabinet. PLC in the cabinet should stay away from power lines (the distance between the two should be more than 200mm). And PLC cabinets installed within the same inductive load, such as large power relay, contactor coil, arc should be parallel RC circuit.●PLC input and output separately from the best alignment, switch and analog should be laid separately. The transmission of analog signals should be shielded cable, one end or both ends of the shield should be grounding resistance should be less than the shielding layer 1 / 10.●AC output line and DC output lines do not use the same cable, the output line should be far from power lines and power lines, to avoid parallel.(2)I / O wiring terminalInput Connection●Input wiring generally not too long. But if the environment interfere with small, small voltage drop, the input terminal can be properly longer.●Input / output lines can not be used with a cable, input / output lines should be separated.●The extent possible, normally open contact form to connect to the input in the establishment of the ladder and relay the same schematic, easy to read。
机械工程及自动化专业外文翻译--PLC简介
外文原文:Introductions to PLCA 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 or programmer, 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 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 inputs 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.That’s right,more than 80%! Of course we’ll learn more than just these instructions to help. You solve almost ALL your potential PLC applications.The PLC mainly consists of a CPU, memory areas, and appropriate circuits to receive input/output data, as shown in Fig.19.1.We can actually consider the PLC to be a box full of hundreds or thousands of separate relays, counters, timers and data storage locations. Do these counters, timers, etc. Really exist? No, t hey don’t “physically”exist but rather they are simulated and can be considered software counters, timers, etc. These internal relays are simulated through bit locations in registers.What does each part do?INPUT RELAYS-(contacts) These are connected to the outside world. They physically exist and receive signals from switches, sensors, etc.. Typically they are not relays but rather they are transistors.INTERNAL UTILITY RELAYS-(contacts) These 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.COUNTERS-These 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 and down. Since they are simulated, they are limited in their counting speed. Some manufacturers also include high-speed counters that are hardware based. We can think of these as physically existing. Most times these counters can count up, down or up and down.TIMERS-These also do not physically exist. They come in many varieties and increments. The most common type is an on-delay type. Others include off-delay and both retentive and non-retentive types. Increments vary from 1ms through 1s.OUTPUT RELAYS-(coils) These 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 STORAGE-Typically 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 from the PLC. Upon power-up they will still have the same contents as before power was removed. 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, as shown in Fig. 19.2. 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 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-UPDATE OUTPUT STATUS-Finally the PLC updates the status of the 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 the first 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. Thus a practical system is controlled to perform specified operations as desired.中文译文:PLC简介PLC(既可编程控制器)是机械控制中为替代必要的继电器时序电路而发明的一种设备。
PLC控制系统英文文献+翻译
PLC控制系统英文文献+翻译PLC控制系统英文文献+翻译Beer filling, Gland machine PLC control system 1.Intorduction Malt beer production process is divided into manufacturing, manufacturing wort, before fermentation, after fermentation, filtration sterilization, packaging, and so few procedures. Beer filling, Gland part of a packaging machine processes. The membrane filtration of beer after the pipeline into the rotary Jiugang, then the valve into the bottle of wine, Gland, was bottled beer. Beer filling, Gland machine's efficiency and degree of automation direct impact on the level of beer production.China's beer industry to meet the increasing scale of production and the demand for beer modern high-speed filling machinery filling the requirements of domestic beer manufacturers are actively seeking to transform the unit or the filling of beer production equipment, making it a good use Performance, advanced technology and high production efficiency and operating a safe and secure, low maintenance costs of the modernization of beer filling machine. 2. Filling beer, Gland principle and control aircraft partsLiquid filling machine by filling principle can be divided into atmospheric filler,filling machines and vacuum pressure on the filling machine. Beer filling,Gland-filling method used pressure is higher than the atmospheric pressure under the filling, storage of the cylinder pressure than the pressure of the bottle, beer bottle into the liquid on pressure.Technology at home and abroad to achieve the filling line is basically: The Rotary Jiugang the rotating movement, placed in Jiugang slots on the empty bottles through the machinery will befixed at the upper Jiugang vacuum valve to open, closed Vacuum bottles for good treatment, Bozhuan stem from operating, open the valve of the bottle filling CO2 gases, vacuum convex .Round to open the vacuum valve, the bottle will air mixed with CO2 out of gas, open the valve again, the CO2 gas bottle filling, the filling valve on the pressure valve in the bottle close to back-pressure gas pressure at the open-Jiuye Pingbi into the bottle, through pneumatic or electrical control filling valve to achieve the filling of beer.Today's advanced international beer filling, Gland machine control system mainly by the photoelectric switch position detection part and take the bottles with, Jiugang speed part, dominated by the PLC, touch screen and other components. Filling, Gland of the mechanical structure and PLC programmable control devices, frequency stepless speed regulation, human-computer interface, and other modern means of complete automatic control technology, the combination of a mechanical and electrical integration.3. Controlled part of the programmeMany domestic beer manufacturers are now using the filling, Gland of the control system of uneven degree of automation; button and all the manual switch technology have set up operations in a box on the panel, PLC controller for the majority of Japanese companies or OMRON Mitsubishi's early products, equipment chain of control, less protection settings, plus the beer filling the scene poor environment, humidity, such as contact with the switch contacts serious corrosion, the system's signal detection of the high failure rate, resulting in equipment control system Operation of low reliability, the normal operation of equipment, such as short-cycle phenomenon.To the actual transformation of the Dandong Yalu River Brewery Co., Ltd. of filling, Gland machine control system as an example, the transformation of methods to clarify the control of such equipment thinking and ideas, according to the scene of the actual process conditions, to prepare the operation of the PLC Procedures. For beer filling, Gland control system of the actual situation and in accordance with the actual process conditions at the scene, re-design of the equipment of the PLC control system. This transformation of the same methods and ideas can be applied to other liquids and the transformation of filling equipment. 3.1 system hardware configurationJapan's Mitsubishi Corporation to use the FX2N128MRPLC use the system to replace the original 2-OMRON's C60P PLC, the original system of the PLC is due to old models, and computer on-line communications need to configure special converters, the system need to increase the external I / O input points , The extension of spare parts more difficult to find. FX2N128MRPLC is an integrated 128-point I / O controller of the box, a computing speed, command rich, high-cost performance, on-line programming simple and easy extension of the advantages of the Mitsubishi FX series, features the strongest small controller .(1) by the Mitsubishi 900 series of 970 GOT human-computer touch screen system to replace the original use of the button panel display equipment and monitor the operation of operating parameters. 970GOT HMI for the 16-color high-brightness significantly, through the convergence of connectivity and FX2N128MRPLC directly connected to the CPU, achieving rapid response. Has many maintenance features, such as the list-editing features, ladder monitoring (troubleshooting) function, the system monitoring functions to find fault and maintenanceof PLC Systems.(2) filling, Gland of the frequency converter in the transformation of no replacement, on-site detection signal means-testing is still used switch, switch for detecting long-term work in the humidity of the great occasions, the choice of capacitive proximity switches, according to PLC I / O terminal of the connection mode, select the type of close PNP switch, the control system of Figure 1. 3.2 Systems Programming PLC controller programming focus and the core is around Jiugang the rotation speed control and Jiugang on 60 bottles of detecting the location of the displaced, broken bottles, empty bottles at the location of testing and related displacement filling Such as control valves. The bottles displacement of testing procedures, using a Mitsubishi PLC in the left command.Figure 1 control system structure diagram .Bottles displacement of detection, using the left-PLC command, which commands the whole of one of the core control procedures, the main electrical switch detection and bottles at the bottle simultaneously detect mobile, the main motor to every week, just to the corresponding Jiugang Have a bottle of, PLC unit within the internal correspondence that 60 bottles of the unit for the M500 ~ M559, the number of units by the first letter K is set to K60, with each change in a second letter K is set to K1, M50 Reaction of the empty bottles in the short position, and detect the location of the motor speed to go on the frequency shift in the corresponding unit within the built-in "1" or "0", control valves and the corresponding mixing caps The motor stopped and opened. Continuous detection system in place after the 90 empty bottles, stop stirring caps the motor running, testing the number of bottles in accordance with the user's requirements canbe arbitrary.A bottle of detection. Rotary Jiugang through pressure to back pressure with the bottle of liquor in the process of empty bottles in the back-pressure, because the bottle itself may crack and other reasons leading to a sudden burst bottles, which need to detect the location of unexploded bottle bottle, in this bottle - The position opened purge solenoid valves, compressed air out, broken bottles at the bottle-blowing from the position in a row after the purge and several bottles of the electromagnetic valve open jet, a high-pressure spray Shuizhu, in the break Bottle position around a few bottles of spray bottles in a row.Detection of broken bottles and bottle-detection switch simultaneously detect movement of breaking bottles, to the main motor of each week, precisely corresponding Jiugang passed a bottle of, PLC unit within the internal correspondence that 20 broken bottles at the unit for the M600 ~ M619, unit With the number of the first letter K is set to K20, with each change in a second letter K is set to K1, M52 response to the location of the broken bottles and detected the location of the motor speed to the frequency shift continue, In the corresponding unit within the built-in "1" or "0", control and the corresponding jet purge solenoid valve opened and stopped. Continuous Spray and purge solenoid valve open to listen, time stopped in accordance with technological requirements can be arbitrary.System security is to control access to the caps simultaneously tracking, not only accurately detect the electrical switching speed detection, the broken bottles into the bottle and detection switch detection switch three conditions.970GOT human-computer touch-screen terminals operated by the software company's Mitsubishi GT WORKS package, whichis a GT Designer with the entire GOT9000 series of graphics software packages. The package is simple, prior to a personal computer simulation on the configuration and debug, after the man-machine operators to download terminals. At the same time, because the man-machine interface and a touch-screen role, will set common switch on the screen to facilitate the operation. And also to increase the number of features, such as setting alarm information. 4.After transformation control systemSystem at the normal operation of the machine for automatic control, in accordance with bottles into and out of the bottle for lack or slow pace set by running into the bottle stall bottles, no less than a bottle cap, automatic washing bottles burst, filling automatic back-pressure position , Covered under the system automatically lose covered a stop and safety protection, such as the coordination of action interlock. All the original button after the operation of the touch screen on. 5.Detection of the state control system monitoringDetection switch into the bottle and break bottles detection switch bottles of pressure by testing each part of the small metal plates above the location of a photoelectric pulse output, a further PLC acquisition, as each bottle of the pressure above the small metal plates is the location of activities , In the machine running after some time, some pressure above the small bottles of iron tablets and detection switch in the location of displacement, resulting in detection switch mistaken judgement, if not for the judgement of bottles of bottles, bottle explosion Lou Jian, misuse, such as the seizure of output errors So that the PLC have mistaken action, such as a back-pressure, unexploded bottle blowing, washing, stirring cap control system malfunction, such as failure phenomenon.Before the transformation of the daily production process, encountered this phenomenon, the operatives could only switch to the various functional or manual control buttons reach the stall so that the equipment work in the absence of monitoring state, the machine lost control function. Caused a lot of production of raw materials such as gas, water, wine waste. Only in the production of intermittent, can be fitter and maintenance electrician in accordance with the detection of small switch on the light-emitting diodes and anti-displacement by adjusting the distance only 5 ~ 8 mm detection switch installation location, and switch to fix detection of small metal plates Gap. This means of detection is very backward, after adjustment reaction to the results, timely response can not be adjusted results.In view of this testing situation, after the transformation of the filling, Gland control system configuration, this part of a new detection and integration in human-computer touch screen, complete bottle of detection.In human-computer touch screen interface on the page display, respectively, at customs, such as electromagnetic motor mixing valve switch state are in different colors to show, very intuitive.Increase the system's functions is to ensure the irrigation of the machine-Gland normal operation of automated control system specifically designed to. 6 Concluding remarks After the transformation of the control system will greatly simplify the complicated mechanical structure, the running and control of inspection, the degree of automation systems meet the design requirements, greatly reducing the operational strength of the labor so that the shrub-like beer output than in the past Raising more than 30 percent, greatly reduce the failure rate.Embodies the modern equipment of automatic control technology. In the digestion and absorption of today's industrial control on the basis of advanced technology innovation, development of domestic technology from the most advanced filling control system.啤酒灌装、压盖机PLC控制系统1、引言啤酒生产过程分为麦芽制造、麦芽汁制造、前发酵、后发酵、过滤灭菌、包装等几道工序。
中英文外文翻译--PLC和微处理器-精品.精讲
Introductions of PLC and MCUA PLC 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 or programmer that gives the desired results.PLC 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 need for 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. 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 inputs and turn the solenoids on for the specified time.We will take a look at what i s considered to be the “top 20” PLC instructions. It can be safely estimated that with a firm understanding of there instructions one can solve more than 80% of the applications in existence.That…s right, more than 80%! Of course we‟ll learn more than jus t these instructions to help you solve almost ALL your potential PLC applications.The PLC mainly consists of a CPU, memory areas, and appropriate circuits to receive input/output data, as shown in Fig. 19.1 We can actually consider the PLC to be a box full of hundreds or thousands of separate relays, counters, timer and date storage locations. Do these counters, timers, etc. really exist? No, they don‟t “physically” exist but rather they are simulated and can be considered software counters, timers, etc. These internal relays are simulated through bit locations in registers.What does each part do?INPUT RELAYS-(contacts) These are connected to the outside world. They physically exist and receive signals from switches, sensors, etc... Typically they are not relays but rather they are transistors.INTERNAL UTILITY RELAYS-(contacts) These 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 user for initializing data what was stored.COUNTERS These 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 and down. Since there are simulated, they are limited in their counting speed. Some manufacturers also include high-speed counters that are hardware based. We can think of these as physically existing. Most timers these counters can count up, down or up and down.TIMERS These also do not physically exist. They come in many varieties and increments. The most common type is an on-delay type. Other include off-delay and both retentive and non-retentive types. Increments vary from 1ms through 1s.OUTPUT RELAYS-(coil) These 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 STORAGE-Typically there are registers assigned to simply store data. There are usually used as temporary storage for math or data manipulation. They can also typically be user power-up they will still have the same contents as before power war removed. 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, as shown in Fig.19.2 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 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 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 is already knows which inputs are on/off from the previous step, it will be able to decide whether the first output should be turned onbased on the state of the first input. It will store the execution results for use later during the next step.Step 3-UPDATE OUTPUT STSTUS-Finally the PLC updates the status of 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 the first 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 is takes to execute the 3 steps listed above. Thus a practical system is controlled to perform specified operations as desired.The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8Kbytes of in-system programmable Flash memory. The device is manufactured using Atmel‟s high-density nonvolatile memory technology and is compatible with the industry-standard 80C51 instruction set and pin-out. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications.The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Power-down mode saves the RAM contents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset.Port 0 is an 8-bit open drain bidirectional I/O port. As an output port, each pin can sink eight TTL inputs. When is written to port 0 pins, the pins can be used as high-impedance inputs.Port 0 can also be configured to be the multiplexed lowered address/data bus during accesses to external program and data memory. In this mode, P0 has internal pull-ups.Port 0 also receives the code bytes during Flash programming and outputs the code bytes during program verification. External pull-ups are required during program verification.Port 1 is an 8-bit bidirectional I/O port with internal pullups.The Port 1 output buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current (I IL) because of the internal pull-ups.In addition, P1.0 and P1.1 can be configured to be the timer/counter 2 external count input (P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX).PLC和微处理器简介PLC(可编程逻辑控制器)是极限控制中为代替必要的继电器时序电路而发明的一种设备。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
自动化制造系统与PLC关系控制工程随着时间的演变。
过去的人们主要致力于控制方面研究。
最近电力已被应用于控制,早期电气控制是基于继电器的。
这些继电器使其可以在没有机械开关的情况下被开动和关闭。
这是通常使用继电器进行简单的逻辑控制的方法。
低成本计算机的发展带来了新的革命,可编程逻辑控制器(PLC)出现于70年代,它已成为制造控制的最常见选择。
PLC的功能受到越来越多的工厂欢迎并可能作为主要控制手段再今后的一段时间内。
而这其中绝大部分原因是因为PLC 它的优点很多。
1.1梯形逻辑梯形逻辑编程法是主要的PLC编程方法。
正如之前所说,梯形逻辑已发展到模仿继电器逻辑。
通过选择简单的梯形逻辑编程法,培训工程师和商人所需要的金钱极大的减少。
现代控制系统仍然包括继电器,但这些都是很少的逻辑使用。
字母a继电器是一个简单的装置,它使用一个磁场来控制开关,如图图1.1。
当电压作用于输入线圈产生的磁场,产生电流领域。
拉起磁场的金属开关,再实现它的接触和联系,关闭开关。
图1.1 简单的布局和继电器电路图继电器的工作方式,让一个电源开关关闭另一(通常是高电流)电源,同时保持他们孤立。
一个简单的例子,控制继电器应用,见图 1.2。
在这方面,左边第一个接力是通常使得系统关闭,并允许电流流动,直到电压加到输入端甲,第二个中继器通常是开放的,不会允许目前的速度,目前的输入二是流经前两个继电器然后电流流通过在第三继电器线圈,并关闭输出 C.此电路的开关会通常应用在制定阶梯逻辑形式。
这可以被解释为将C逻辑作用,如果A关闭B合上的话。
图1.2一个简单的继电器控制器图1.2中的例子没有显示整个控制系统,只有逻辑。
当我们考虑一个PLC 有输入,输出,和逻辑。
图1.3显示的更全面。
这里有两个按钮的输入。
我们可以想像激活24V直流在PLC继电器线圈的输入。
反过来驱动器是一个输出继电器,开关115伏交流电,结果打开了一盏灯。
请注意,在实际情况下PLC的输入继电器,常常又是输出继电器。
PLC梯形图逻辑其实一种计算机程序,用户可以输入和更改它。
注意,两个输入的推按钮常开,但里面的PLC梯形图逻辑有一个常开触点,和一个常闭触点。
在PLC梯形逻辑图不需要匹配输入或输出。
许多初学者会被抓住这点试图使阶梯逻辑匹配它的输入类型。
图1.3继电器PLC的简图许多继电器也有多个输出(抛出),这允许输出继电器可以同时输入。
图1.4所示的电路是一个例子,它是在电路里称为印章。
此电路的电流流过两个电路的分支,通过接触标签A或B的输入端,B只相对乙输出。
如果B是关闭的,而A 是通电,那么B将打开。
如果B打开,然后输入,B将打开。
打开后,乙在输出,乙将不会关闭。
图1.4电路1.2编程第一个是PLC的编程,一个基础技术的继电器逻辑接线示意图。
虽然这就不需要教电工,技术员和工程师电脑编程 - 但是,这种方法一直是被认可的,这是现在最常见的PLC的编程技术。
梯形逻辑的一个例子,图1.5。
为了解释这个图,想像左手垂直线方向,我们称之为热铁路。
在右边是中立轨道。
图中有两个人物,每个梯级有输入(2垂直线)和组合输出(圆圈)。
如果输入是打开,或正确的组合可以关闭热流量通过铁路的输入,使得电力输出,最后中立铁路。
输入来自于一个传感器,开关,或任何其他类型的传感器。
输出会有是一些外围的PLC设备,开启或关闭则是如灯光或马达之类的。
在发出指令后,有常开和常闭2种出点。
这意味着,如果输入A和B是关闭,然后将输出并激活它。
任何其他组合输入值将导致输入被关闭。
图1.5一个简单的梯形逻辑图第二个梯级图1.5更复杂,其中有多种组合的输入,输出Y将开机。
在最左边的部分发出声响,流过顶端,如果C和D是关闭的。
电流也可以(和同时)流经底部,如果E和F都为真。
这将使得大部分响起,然后,如果是G或H输出y的话,我们将在后面的章节解释这些。
还有其他的PLC编程方法。
最早的一个技术涉及的记忆指令。
这些指令由阶梯逻辑图编写,并输入到PLC的编程,通过简单的终端。
图1.6是一个记忆法的例子。
在这个例子中,读取指令一次一行从上到下的时间。
第一行00000的指令LDN(输入负载而不是输入答)这将检查输入到PLC,如果将它关闭记得1 1(或真),如果它会记住一个0(或假)。
下一行使用一个(输入负载)语句看看输入。
如果输入的是一个0,如果输入记得它是1(注意:这是相反的)。
该声明回顾与最后两个数字记住,如果都真正的结果是1,否则结果是0。
这一结果现在取代了两个数字,只有一个数字记忆中。
这个过程重复行00003和00004,但是,当这些完成现在有三个数字的记忆中。
最古老的数字是从与,较新的数字是从两个工作点处显示的,并且符合00005,结合从最后的结果和指示工作点处,现在有两个数字的记忆中。
指令采用现在剩下的两个数字,如果一方是1的结果是1,否则结果是0。
这一结果可替代两个数字,现在有一个数字在这。
最后一个指令是存储量,则看最后一个值储存,如果是1,输出将被打开,如果是0输出将被关闭。
图1.6的一个助记符和等效梯形逻辑实例图1.6梯形逻辑程序,相当于记忆程序。
即使你有梯形逻辑编程,PLC的,将被转换为记忆形式使用前由PLC。
在过去的记忆节目是最共同的,但现在是常见的用户甚至看到记忆程序。
顺序功能图(SFCs)已经制定,以适应规划更先进的系统。
这是类似于流程图,但更强大。
在图1.7中看到的例子是做两件不同的事情。
要阅读图表,顶部是说,地方开始启动。
下面这存在着双重的水平线,上面写着遵循两个路径。
因此,临立会开始跟随在左,右支另一方面,同时双方分开。
在左边有两个功能,第一个是拉功能的权力。
此函数将运行至决定这样做,和电力下来后功能会。
在右边是闪光功能,这将运行直到它完成。
看看这些职能不明,但每个例如启动功能,将一个小梯形逻辑程序。
这种方法有很大不同的流程图因为它没有按照流程图通过一个单一的路径。
图1.7的一个顺序功能图例子结构化文本编程已经发展成为一个更现代的编程语言。
这是很相似,如BASIC语言。
一个简单的例子所示图1.8。
此示例使用一个PLC的内存位置岛该内存位置为整数,也将在后面解释这本书。
该计划的第一行设置值为0。
下一行开始一个循环,并将在循环返回。
下一行回顾我珍惜的位置,给它加1,并返回到相同的位置。
下一行检查是否应该退出循环。
如果我是大于或等于10,那么循环将退出,否则计算机将返回到重复的声明继续从那里。
每次程序通过这个循环时,i去将增加1至值达到10。
图1.8一个结构化文本程序范例2.1 PLC的连接当一个进程被控制的PLC,它使用传感器的输入作出决定和更新输出,可驱动器,如图2.1所示。
这个过程是一个真正的进程将随时间而改变。
执行器将驱动系统,以新的国家(或模式操作)。
这意味着,该控制器是由传感器提供,如果输入有限不可用时,控制器将无法检测的条件。
图2.1控制器和分离过程控制回路是临立会读的投入不断循环,解决了阶梯逻辑,然后更改输出。
如同任何电脑不会发生即时。
图2.2显示了PLC的基本操作周期。
当电源开启最初的PLC做了快速完整性检查,以确保硬件正常工作。
如果有问题,临立会停止,并说明有错误。
例如,如果PLC的功率下降,即将引爆这将导致故障类型之一。
如果临立会通过的完整性检查,然后将扫描(读取)所有的投入。
输入值后,存储在内存中的阶梯逻辑将扫描(解决)使用存储的值 - 不是当前值。
这样做是为了防止当输入逻辑问题期间更改梯子逻辑扫描。
当梯子逻辑扫描完成的产出将扫描(输出值将被更改)。
之后系统将可以追溯到做完整性检查,和循环继续下去。
不同于一般的计算机,整个程序将被每次扫描运行。
对每个阶段的典型是时代的毫秒秩序。
图2.2 PLC的扫描周期2.2梯形逻辑输入 PLC的输入很容易代表梯形逻辑。
在图2.3有三个类型的显示的投入。
前两个是常开和常闭投入,讨论以前。
IIT的(立即输入)函数允许后才能投入读输入扫描,而梯形逻辑被扫描。
这使得梯形逻辑研究输入值往往超过一个周期。
(注:本指令是不可用在ControlLogix处理器,但仍然可以用旧型号的。
)图2.3梯形逻辑图输入2.3梯形逻辑输出在梯形逻辑有多种类型的产出,但这些都不是一贯可在所有的PLC。
产出部分将外部连接的设备以外PLC的,但它也可以用在PLC内部存储器位置。
6种输出显示在图2.4。
第一个是正常的输出,输出时活力会打开,和激励输出。
用斜线通过圆是正常在输出。
当通电输出将关闭。
这种类型的输出上没有所有的PLC 类型。
当最初活力的OSR(一炮接力)指令将打开一个扫描,但后来被扫描后,就所有关闭,直到它关闭。
的L(锁)和U(解锁)指令可以用来锁定输出。
当一个L输出带旺输出会变成无限期,即使输出线圈deenergized。
输出可只有关闭使用的U 输出。
最后一个指令是互操作性测试(立即输出)这将允许产出,而不必为梯形逻辑等待扫描更新为完成。
3.1输入和输出在投入和产出,到PLC是必要的监测和控制的过程。
输入和输出都可以分为两种:基本类型的逻辑或连续。
考虑一个灯泡的例子。
如果它只能打开或关闭,这是合乎逻辑的控制。
如果光线可以使变暗淡不同层次,它是连续的。
连续价值观似乎更直观的,但逻辑值是首选,因为它们让更多的确定性和简化控制。
因此,大多数控件的应用程序(和PLC)和逻辑投入使用输出对于大多数应用。
因此,我们将讨论逻辑I / O和休假连续的I / O后。
对执行器输出使PLC 在导致一些事情发生的过程。
字母a执行器的流行短名单如下,以相对受欢迎。
电磁阀 - 逻辑输出,可以切换液压或气动流。
灯 - 这通常可以采用直接从PLC 输出逻辑输出板。
马达起动器 - 电机常常引起人们的电流时,开始大量的,因此他们需要电动机起动器,基本上大的继电器。
伺服电机 - 从PLC的连续输出可以命令变速或立场。
从PLC的产出常常继电器,但它们也可以固体电子学例如DC 输出或输出的双向交流晶体管。
连续输出要求特别输出卡与数字到模拟转换器。
输入来自传感器转化为电信号的物理现象。
传感器典型的例子是下面列出的普及相对顺序。
接近开关 - 使用电感,电容或光线来检测对象的逻辑。
开关 - 机械机制,将打开或关闭电接触的逻辑信号。
电位器 - 不断措施角位置,使用性。
LVDT(线性可变差动变压器) - 线性位移的措施不断用磁耦合。
从PLC的产出常常继电器,但它们也可以固体电子学例如DC输出或输出的双向交流晶体管。
连续输出要求特别输出卡与数字到模拟转换器。
输入来自传感器转化为电信号的物理现象。
传感器典型的例子是下面列出的普及相对顺序。
接近开关 - 使用电感,电容或光线来检测对象的逻辑。
开关 -机械机制,将打开或关闭电接触的逻辑信号。
电位器 - 不断措施角位置,使用性。