歡迎來到裝配圖網(wǎng)! | 幫助中心 裝配圖網(wǎng)zhuangpeitu.com!
裝配圖網(wǎng)
ImageVerifierCode 換一換
首頁 裝配圖網(wǎng) > 資源分類 > DOC文檔下載  

可編程邏輯控制器畢業(yè)論文外文翻譯

  • 資源ID:42850497       資源大小:194.52KB        全文頁數(shù):18頁
  • 資源格式: DOC        下載積分:10積分
快捷下載 游客一鍵下載
會員登錄下載
微信登錄下載
三方登錄下載: 微信開放平臺登錄 支付寶登錄   QQ登錄   微博登錄  
二維碼
微信掃一掃登錄
下載資源需要10積分
郵箱/手機:
溫馨提示:
用戶名和密碼都是您填寫的郵箱或者手機號,方便查詢和重復下載(系統(tǒng)自動生成)
支付方式: 支付寶    微信支付   
驗證碼:   換一換

 
賬號:
密碼:
驗證碼:   換一換
  忘記密碼?
    
友情提示
2、PDF文件下載后,可能會被瀏覽器默認打開,此種情況可以點擊瀏覽器菜單,保存網(wǎng)頁到桌面,就可以正常下載了。
3、本站不支持迅雷下載,請使用電腦自帶的IE瀏覽器,或者360瀏覽器、谷歌瀏覽器下載即可。
4、本站資源下載后的文檔和圖紙-無水印,預覽文檔經(jīng)過壓縮,下載后原文更清晰。
5、試題試卷類文檔,如果標題沒有明確說明有答案則都視為沒有答案,請知曉。

可編程邏輯控制器畢業(yè)論文外文翻譯

Programmable Logic Controllers (PLCS) 1 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, transistor, and triac.  Programming options for PLCs include front panel, hand held, and computer. Programmable logic controllers use a variety of software programming languages for control.  These include IEC 61131-3, sequential function chart (SFC), function block diagram (FBD), ladder diagram (LD), structured text (ST), instruction list (IL), relay ladder logic (RLL), flow chart, C, and Basic.  The IEC 61131-3 programming environment provides support for five languages specified by the global standard: Sequential Function Chart, Function Block Diagram, Ladder Diagram, Structured Text, and Instruction List. This allows for multi-vendor compatibility and multi-language programming.  SFC is a graphical language that provides coordination of program sequences, supporting alternative sequence selections and parallel sequences.  FBD uses a broad function library to build complex procedures in a graphical format. Standard math and logic functions may be coordinated with customizable communication and interface functions.  LD is a graphic language for discrete control and interlocking logic. It is completely compatible with FBD for discrete function control.  ST is a text language used for complex mathematical procedures and calculations less well suited to graphical languages.  IL is a low-level language similar to assembly code. It is used in relatively simple logic instructions.  Relay Ladder Logic (RLL), or ladder diagrams, is the primary programming language for programmable logic controllers (PLCs). Ladder logic programming is a graphical representation of the program designed to look like relay logic.  Flow Chart is a graphical language that describes sequential operations in a controller sequence or application. It is used to build modular, reusable function libraries.  C is a high level programming language suited to handle the most complex computation, sequential, and data logging tasks. It is typically developed and debugged on a PC.  BASIC is a high level language used to handle mathematical, sequential, data capturing and interface functions. Programmable logic controllers can also be specified with a number of computer interface options, network specifications and features.  PLC power options, mounting options and environmental operating conditions are all also important to consider.2 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. Consider the computer components shown in Figure 1.Figure 1 Simplified Personal Computer ArchitectureInput 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.) This figure can be redrawn as in Figure 2 to clarify the role of inputs and outputs.Figure 2 An Input-Output Oriented ArchitectureIn 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.A PLC is also a computer controlling a process. When fully integrated into an application the analogies become;inputs - the keyboard is analogous to a proximity switchinput -circuits - the serial input chip is like a 24Vdc input cardcomputer - the 686 CPU is like a PLC CPU unitoutput - circuits - a graphics card is like a triac output cardoutputs - a monitor is like a lightstorage - memory in PLCs is similar to memories in personal computersIt is also possible to implement a PLC using a normal Personal Computer, although this is not advisable. In the case of a PLC the inputs and outputs are designed to be more reliable and rugged for harsh production environments.3 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 its 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.Figure 3 PLC Scan CycleSELF 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 within a short period of time - this would indicate that the ladder logic is not being scanned 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 cases where an input changes from the start to the end of the program (e.g., an emergency 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 later sections.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.31 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.32 The Logic ScanLadder logic programs are modelled 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.Figure 4 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.Figure 5 A Duplicated Output Error4 PLC STATUSThe lack of keyboard, and other input-output devices is very noticeable on a PLC. On the front of the PLC there are normally limited status lights. Common lights indicate;power on - this will be on whenever the PLC has powerprogram running - this will often indicate if a program is running, or if no program is runningfault - this will indicate when the PLC has experienced a major hardware or software problemThese lights are normally used for debugging. Limited buttons will also be provided for PLC hardware. The most common will be a run/program switch that will be switched to program when maintenance is being conducted, and back to run when in production. This switch normally requires a key to keep unauthorized personnel from altering the PLC program or stopping execution. A PLC will almost never have an on-off switch or reset button on the front. This needs to be designed into the remainder of the system.The status of the PLC can be detected by ladder logic also. It is common for programs to check to see if they are being executed for the first time, as shown in Figure 6. The first scan input will be true on the very first time the ladder logic is scanned, but false on every other scan. In this case the address for first scan in a PLC-5 is S2:1/14. With the logic in the example the first scan will seal on light, until clear is turned on. So the light will turn on after the PLC has been turned on, but it will turn off and stay off after clear is turned on. The first scan bit is also referred to at the first pass bit.Figure 6 An program that checks for the first scan of the PLC5 MEMORY TYPESThere are a few basic types of computer memory that are in use today.RAM (Random Access Memory) - this memory is fast, but it will lose its contents when power is lost, this is known as volatile memory. Every PLC uses this memory for the central CPU when running the PLC.ROM (Read Only Memory) - this memory is permanent and cannot be erased. It is often used for storing the operating system for the PLC.EPROM (Erasable Programmable Read Only Memory) - this is memory that can be programmed to behave like ROM, but it can be erased with ultraviolet light and reprogrammed.EEPROM (Electronically Erasable Programmable Read Only Memory) This memory can store programs like ROM. It can be programmed and erased using a voltage, so it is becoming more popular than EPROMs.All PLCs use RAM for the CPU and ROM to store the basic operating system for the PLC. When the power is on the contents of the RAM will be kept, but the issue is what happens when power to the memory is lost. Originally PLC vendors used RAM with a battery so that the memory contents would not be lost if the power was lost. This method is still in use, but is losing favor. EPROMs have also been a popular choice for programming PLCs. The EPROM is programmed out of the PLC, and then placed in the PLC. When the PLC is turned on the ladder logic program on the EPROM is loaded into the PLC and run. This method can be very reliable, but the erasing and programming technique can be time consuming. EEPROM memories are a permanent part of the PLC, and programs can be stored in them like EPROM. Memory costs continue to drop, and newer types (such as flash memory) are becoming available, and these changes will continue to impact PLCs.6 SOFTWARE BASED PLCSThe dropping cost of personal computers is increasing their use in control, including the replacement of PLCs. Software is installed that allows the personal computer to solve ladder logic, read inputs from sensors and update outputs to actuators. These are important to mention here because they dont obey the previous timing model. For example, if the computer is running a game it may slow or halt the computer. This issue and others are currently being investigated and good solutions should be expected soon.7 SUMMARY A PLC and computer are similar with inputs, outputs, memory, etc. The PLC continuously goes through a cycle including a sanity check, input scan, logic scan, and output scan. While the logic is being scanned, changes in the inputs are not detected, and the outputs are not updated. PLCs use RAM, and sometime EPROMs are used for permanent programs.8 PRACTICE PROBLEMS1. Does a PLC normally contain RAM, ROM, EPROM and/or batteries?2. What are the indicator lights on a PLC used for?3. A PLC can only go through the ladder logic a few times per second. Why?4. What will happen if the scan time for a PLC is greater than the time for an input pulse? Why?5. What is the difference between a PLC and a desktop computer?6. Why do PLCs do a self check every scan?7. Will the test time for a PLC be long compared to the time required for a simple program?8. What is wrong with the following ladder logic? What will happen if it is used?9. What is the address for a memory location that indicates when a PLC has just been turned on?9 PRACTICE PROBLEM SOLUTIONS1. Every PLC contains RAM and ROM, but they may also contain EPROM or batteries.2. Diagnostic and maintenance3. Even if the program was empty the PLC would still need to scan inputs and outputs, and do a self check.4. The pulse may be missed if it occurs between the input scans5. Some key differences include inputs, outputs, and uses. A PLC has been designed for the factory floor, so it does not have inputs such as keyboards and mice (although some newer types can). They also do not have outputs such as a screen or sound. Instead they have inputs and outputs for voltages and current. The PLC runs user designed programs for specialized tasks, whereas on a personal computer it is uncommon for a user to program their system.6. This helps detect faulty hardware or software. If an error were to occur, and the PLC continued operating, the controller might behave in an unpredictable way and become dangerous to people and equipment. The self check helps detect these types of faults, and shut the system down safely.7. Yes, the self check is equivalent to about 1ms in many PLCs, but a single program instruction is about 1 micro second.8. The normal output Y is repeated twice. In this example the value of Y would always match B, and the earlier rung with A would have no effect on Y.9. S2:1/14 for micro logy, S2:1/15 for PLC-5附錄3 中文翻譯可編程邏輯控制器1 PLC介紹PLCS(可編程邏輯控制器)是用于各種自動控制系統(tǒng)和過程的可控網(wǎng)絡集線器。他們包含多個輸入輸出,輸入輸出是用晶體管和其它電路,模擬開關和繼電器來控制設備的。PLCS用軟件接口,標準計算器接口,專門的語言和網(wǎng)絡設備編程??删幊踢壿嬁刂破鱅/O通道規(guī)則包括所有的輸入觸點和輸出觸點,擴展能力和最大數(shù)量的通道。觸點數(shù)量是輸入點和輸出點的總和。PLCS可以指定這些值的任何可能的組合。擴展單元可以被堆?;蚧ハ噙B接來增加總的控制能力。最大數(shù)量的通道是在一個擴展系統(tǒng)中輸入和輸出通道的最大總數(shù)量。PLC系統(tǒng)規(guī)則包括掃描時間,指令數(shù)量,數(shù)據(jù)存儲和程序存儲。掃描時間是 PLC需要的用來檢測輸入輸出模塊的時間。指令是用于PLC軟件(例如數(shù)學運算)的標準操作。數(shù)據(jù)存儲是存儲數(shù)據(jù)的能力。程序存儲是控制軟件的能力。用于可編程邏輯控制器的輸入設備包括DC,AC,中間繼電器,熱電偶,RTD,頻率或脈沖,晶體管和中斷信號輸入;輸出設備包括DC,AC,繼電器,中間繼電器,頻率或脈沖,晶體管,三端雙向可控硅開關元件;PLC的編程設備包括控制面板,手柄和計算機??删幊踢壿嬁刂破饔酶鞣N軟件編程語言來控制。這些語言包括IEC61131-3,順序執(zhí)行表(SFC),動作方塊圖(FBD),梯形圖(LD),結構文本(ST),指令序列(IL),繼電器梯形圖(RIL),流程圖,C語言和Basic語言。IEC61131-3編程環(huán)境能支持五種語言,用國際標準加以規(guī)范,分別為SFC,F(xiàn)BD,LD,ST和IL。這便允許了多賣主兼容性和多種語言編程。SFC是一種圖表語言,它提供了編程順序的配合,就能支持順序選擇和并列選擇,二者擇其一即可。FBD用一種大的運行庫,以圖表形式建立了一些復雜的過程。標準數(shù)學和邏輯運行可以與用戶交流和接口運行相結合。LD是適用于離散控制和互鎖邏輯的圖表語言。它在離散控制上與FBD是完全兼容的。ST是一種文本語言,用于復雜的數(shù)學過程和計算,不太適用于圖表語言。IL是與組合編碼相似的低級語言。它用在相對比較簡單的邏輯指令。繼電器梯形圖或梯形圖是適用于可編程邏輯控制器的重要的編程語言。梯形圖編程是設計成繼電器邏輯程序的圖表表示法。流程圖是一種圖表語言,用于在一個控制器或應用軟件中描述順序操作,它用于建立有標準組件的可循環(huán)使用的運行庫。C語言是一種高級編程語言,適用于處理最復雜的計算,連續(xù)的數(shù)據(jù)采集任務。它典型地在PC機上運行調試。BASIC語言是用于處理數(shù)據(jù)的連續(xù)的數(shù)字采集和接口運行的高級語言??删幊踢壿嬁刂破饕惨?guī)范了許多計算機接口設備,網(wǎng)絡規(guī)則和特色。PLC能源設備和運行環(huán)境也是非常重要的。2指令對于簡單的編程,繼電器型PLC是有效的。隨著功能的復雜化,復雜的VonNeaman型PLC就必須被采用。一個VonNeaman計算機一次只能執(zhí)行一個指令,他們是這樣運行的,盡管許多計算機看上去一次在做許多事情。正如圖1所示的計算機組成。圖 1 簡化個人計算機結構圖 輸入是通過鍵盤和鼠標得到的。輸出被送到屏幕。磁盤和存儲器用于輸入和輸出存儲(注意:這些箭頭的方向對于設計者是非常重要的,要注意表明信息是流向哪里的。)這個圖表可以像圖2那樣能被重新擬訂來闡明輸入設備和輸出設備的作用。圖2輸入輸出示意圖 在這個圖表中數(shù)據(jù)通過輸入設備進入左邊。(注意:大多數(shù)設計圖表都是左邊輸入,右邊輸出的。)在進入CPU之前,它穿過緩沖電路。CPU通過其他回路輸出數(shù)據(jù)。存儲器和磁盤用語存儲要輸出的數(shù)據(jù)。如果我們把個人計算機看作一個控制器,它通過在屏幕上輸出激勵和輸入來自鼠標和鍵盤的響應來控制用戶。 PLC也是一個控制過程的計算機。當與應用程序完全結合起來時,類似之處變成:輸入設備鍵盤與接近開關相類比。輸入電路連續(xù)輸入芯片就像一個直流24V的輸入卡。計 算 機686CPU就像一個PLC的CPU模塊。輸出電路圖形卡就像一個三相開關輸出卡。輸出設備監(jiān)控器就像指示燈。存 儲 器PLC的存儲器與個人計算機的存儲器相似。用普通個人計算機可以運行PLC,雖然則并不被提倡做。就PLC來說,輸入和輸出設備設計得更加可靠,更加粗糙,更適合惡劣的制造環(huán)境。3運行順序所有的PLC系統(tǒng)有每秒鐘重復多次的四種基本運行階段。最初被第一次接通時,它會檢測它的硬件和軟件是否有錯誤。如果沒有錯誤,它會把所有輸入和輸入值復制到存儲器,這叫輸入掃描。只用復制了輸入值的存儲器,梯形邏輯圖將被解決一個,這叫邏輯掃描。在解決梯形圖期間,輸出值只在臨時存儲器中被改變。當梯形圖掃描完成后,輸出將用存儲器中臨時值修正,這叫做輸出掃描。PLC此時將從自我檢測開始重新啟動這個過程,這個過程很明顯地每秒鐘重復10到100次,正如圖3所示 圖3 PLC掃描循環(huán)自我檢測檢測是否所有的卡沒有錯誤,把時間繼電器復零等。(如果在很小一段時間內沒有復零,時間繼電器會引起錯誤,關閉PLC系統(tǒng)。這會表明梯形圖沒有被正常掃描。)輸入掃描從芯片上的輸入卡讀取輸入值,并把輸入值復制到存儲器,這能使PLC更快速地運行,并且避免從程序開始到結束輸入變化。(例如:意外停止)有一些特殊的PLC功能,能直接讀取輸入值,避免了輸入表格。邏輯處理/掃描基于存儲器的輸入表格,程序被一次執(zhí)行一步,同時輸出值也被修正,這是其它節(jié)的集中。輸出掃描輸出表格從存儲器復制到輸出芯片,這些芯片然后驅動輸出儀器。輸入輸出掃描經(jīng)常會令初學者感到迷惑,但是他們是很重要的。輸入掃描是輸入值的快照,并且解決邏輯關系。在一個梯形圖掃描期間,如果一個輸入在梯形圖的多個地方被用到,它就會起變化,潛在問題就可能發(fā)生,而輸入掃描卻避免了這些問題。這個邊境效應是如果在一段持續(xù)時間內如果一個輸入變化太短,它可能在輸入掃描之間會減少或者丟失。當PLC最初被啟動時,通常的輸出會被關閉,這不會影響輸入值。31 輸入輸出掃描 當輸入值被掃描到PLC時,自然輸入值被復制到存儲器。當輸出值被掃描到PLC時,他們將從存儲器復制到自然輸出設備。當梯形圖被掃描時,它將用存儲器中的值,并不是實際的輸入輸出值。這樣做的主要原因是如果一個程序在多個地方用一個輸入值,那么輸入值的變化將使其邏輯關系無效。而且,如果隨著每塊的變化,輸出模塊也變化,在掃描結束時PLC的運行速度將大大減慢。32 邏輯掃描梯形邏輯程序圖是模仿繼電器邏輯圖的。在繼電器邏輯圖中,程序的每個元件將盡可能快地開關。但是在一個程序中,元件只能按固定的順序一次檢測一個。如圖4所示,梯形圖將按從左到右,從上到下的順序被解釋。在圖中,梯形邏輯掃描將從最高層開始。在底層,它將先解釋高層輸出,然后輸出它下面的分支。在第二層,沿著梯形邏輯圖移動之前,將先解釋分支。

注意事項

本文(可編程邏輯控制器畢業(yè)論文外文翻譯)為本站會員(痛***)主動上傳,裝配圖網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對上載內容本身不做任何修改或編輯。 若此文所含內容侵犯了您的版權或隱私,請立即通知裝配圖網(wǎng)(點擊聯(lián)系客服),我們立即給予刪除!

溫馨提示:如果因為網(wǎng)速或其他原因下載失敗請重新下載,重復下載不扣分。




關于我們 - 網(wǎng)站聲明 - 網(wǎng)站地圖 - 資源地圖 - 友情鏈接 - 網(wǎng)站客服 - 聯(lián)系我們

copyright@ 2023-2025  zhuangpeitu.com 裝配圖網(wǎng)版權所有   聯(lián)系電話:18123376007

備案號:ICP2024067431-1 川公網(wǎng)安備51140202000466號


本站為文檔C2C交易模式,即用戶上傳的文檔直接被用戶下載,本站只是中間服務平臺,本站所有文檔下載所得的收益歸上傳人(含作者)所有。裝配圖網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對上載內容本身不做任何修改或編輯。若文檔所含內容侵犯了您的版權或隱私,請立即通知裝配圖網(wǎng),我們立即給予刪除!