memory d. execute proper operation e. go to a, then repeat a-e ladder diagram LD/mnemonic converter application program macro compiler assembler
|
|
- Alexander Day
- 5 years ago
- Views:
Transcription
1 A Translation Method of Ladder Diagram on PLC with Application to a Manufacturing Process Hyung Seok Kimy, Dong Sung Kimy, Naehyuck Changz, Wook Hyun Kwony y School of Electrical Eng, Seoul National University, Seoul, Korea z Computer Eng, Seoul National University, Seoul, Korea Abstract This paper proposes a translation method for PLCs (Programmable logic controllers) used in most automation systems It describes detailed steps of the method that converts from a ladder diagram directly toanativecode A general-purpose DSP (Digital signal processor) based PLC with the method is implemented A benchmark test in an automotive manufacturing process shows that the proposed translation method fairly speeds up execution in comparison with existing interpretation methods Introduction Programmable logic controller (PLC) was originally developed to replace electro-magnetic relay circuit It is widely used for implementing systems based on logic, sequencing, timing, counting and arithmetic [, ] PLCs are the backbone of most automation projects of the process control and instrumentation sector Automation of production lines and manufacturing processes will lead to the development of the manless factory where there is no longer any significant requirement for production workers or operators Such levels of automation will not be achievable without development of control systems, particularly PLCs [] As automation systems progress, works that the PLC carries out become more complex To treat them eciently, it has retained more than a hundred kinds of instructions Of the instructions, the proportion of special instructions such as PID and oating-pointoperations has been increased with the extension of its adaptable range These instructions need much time to execute The execution time of the PLC Korea This work is supported in part by the POSCON, Ltd, is important as a measure of its performance Thus, increase of instructions puts a burden to performance of the PLC To improve speed of the PLC, architectures of a new processor have been suggested They developed specic processors for PLC to raise its performance, using parallel processing methods [5{7] or specic IC (ASIC) design methods [8{0] For example, researches on reduced instruction set computer (RISC) put typical instructions of the PLC into a PLC-specic processor [5, 6] This method seems ecient to increase the execution speed But it is dicult to add new instructions to the processor and to develop it within a short time Koo et al [5] insist that the PLC based on a general-purpose processor has less performance than one based on a specic-purpose processor But the general-purpose processor has some practical advantages It has the price/performance curve that grows at a very fast rate It also can be manufactured at lower cost in a shorter time through the improvement related to the software The translator of PLC languages occupies a main part of the software The translator should convert the LD to another code close to the machine language But it is not easy to translate the graphical LD into the native code of a processor because of a semantic gap between them Existing translation methods have not considered it seriously They convert an LD to intermediate codes that consists of code matching with each node of the PLC On their operation, they fetch intermediate codes from the and then call a routine of corresponding block They usually require a long time even on high-performance RISC processors because they need many branches Accordingly, a method is needed to overcome slow speed and low eciency of this translation method To improve the performance of the PLC on the general-purpose processor, it is essential to translate
2 the graphical LD to the native code properly short This paper proposes the proper translation method of LD and describes implementation of it and to an automotive manufacturing process The paper is organized as following Section introduces existing LD translation approach in the PLC Section proposes our translation method of LD It also describes implementation of a PLC system for test Section evaluates translation methods with to an automobile manufacturing process Finally, the conclusion with future works is drawn in Section 5 Common Approach ming panel system mable logic controller micro processor power supplier I/O table Figure shows a common structure of a PLC The microprocessor moves state of a plant to an I/O table through input devices, executes stored in the, and controls the plant by transmitting calculated output values through the output devices Figure deinput circuit output circuit Figure : A general structure of PLC input device output device scribes operation to execute the After the PLC starts to control a plant, its memories repeat operation of gure As a kind of controller, PLC itself includes little user interface generally Instead, a ming unit similar to a calculator or a computer keyboard is connected to the CPU unit of the PLC through the communication port The mer draws LD directly with the ming unit to make s Then, PLC translates this into intermediate codes associated with each element of LD, and loads them into Its translator fetches intermediate codes and calls routine of corresponding execution codes As shown in the gure, `call' and `return' instructions appear frequently in existing method They usually require a long time even on high-performance RISC processors Execution time of the seems to be long because LD prorgram a e token analyzer mnemonic operation routine d system b c è X0 : 0 X : X : 0 Y0 : 0 Y : Y : I/O table a fetch by the command b call the execution routine that is associated with each command c translate operands and read data in I/O table d execute proper operation e go to a, then repeat a-e Figure : Block diagram of the LD interpreter the processor fetches intermediate codes of stored in and alternates them with an execution routine prepared already Accordingly, a method is needed to overcome slow speed and low eciency of this processing scheme Translation Method of LD Architecture Figure represents main ow of the proposed translation method of PLC by theblock diagram The rst ladder diagram PLC processor LD/mnemonic converter download macro compiler assembler Figure : Block diagram of the proposed method input is LD and the last output is executable binary code specic to the PLC processor First, in the LD/mnemonics converter, an LD
3 is converted to the that consists of LD mnemonics This process is shown in gure The (a) of gure is an example of simple LD block The (b) describes a tree for representing A C (a) B ;M_LDID 0ffffh,0ffffh,R LDHI 0ffffh,R OR 0ffffh,R ;; LD X ;M_LDIA 08000h,0h,R0 LSH -,R0 BR LD00 LD00: ;; LD X ;M_LDIA 08000h,0h,R0 LSH -,R0 BR LD00 LD00: ;; LD X ;M_LDIA 08000h,0h,R0 LSH -,R0 BR LD00 LD00: ;; AND X ;M_LDIA 08000h,0h,R0 ;M_LDID 07fffh,0ffffh,R LDHI 07fffh,R OR 0ffffh,R OR R,R0 AND R0,R0 BR AND00 AND00: ;; ORB LDI R0,R0 LSH,R0 ;M_LDID 08000h,0h,R LDHI 08000h,R OR 0h,R AND R,R0 ;; ANDB LDI R0,R0 LSH,R0 ;M_LDID 07fffh,0ffffh,R LDHI 07fffh,R OR 0ffffh,R OR R,R0 AND R0,R0 A ANDBLK B ORBLK (b) C AND LOAD LOAD LOAD AND ORBLK ANDBLK Figure : LD/mnemonic conversion Boolean equation () It makes translation of graphical LD block into text format easy A, B and C in (b) pull the latest data from the stack, then carry out AND or OR logical operation with them (c) C B A or 0 output(on=off) = ^ [ _ [ ^ ]] () `_' and `^' represent `and' and `or' logical operations respectively The (c) is a mnemonic as an output of the LD/mnemonic converter `LOAD' pushes the value of operand(the point of PLC) to stack `ANDBLOCK' and `ORBLOCK' operate _ and ^ logical operation respectively with the latest blocks calculated by `AND' or `OR' A stack is needed for these logical operations, a general purpose register that globally not be overwritten for other purpose can be used Through these steps, LD is changed to uniform text format similar to general assembly code Thus, its lexical analysis becomes easy The macro compiler translates each mnemonic to assembly code block specic to the main processor The point operands such as `X0' and `Y0' is replaced by matching addresses, constant operands matching constants At this process, the macrocompiler noti- es mer of ming errors of the source code and optimizes code for length and execution time of machine code Figure 5 shows resultant assembly code in TMS0C0 DSP The assembler generates executable binary code with the assembly code In the two-pass assembler, the rst pass stores addresses of Figure 5: assembly code labels such as `LD00' and `AND00' in symbol table, then the second pass refers to the table and converts assmbly code to binary code The PLC has a number of branches because it decides, by logic operation, whether it executes a rung or not It requires a large The PLC-specic assembler that reduces both the size of the and the translation time is shown in gure 6 PLC mnemonics have independent relation with each other except ones with ow control or global variable Using this, at step, addresses of labels commonly used with another mnemonic are stored in a symbol table After processing labels and global variables, the assembly code block that matches with each mnemonic passes the assembler in the order of,,,5 steps Whenever ablock nishes conversion, all data from the symbol table are erased except global data Then, reduction and less translation time are achieved As a ;; LD X ;M_LDIA 08000h,0h,R0 LSH -,R0 BR LD00 LD00: ;; LD X ;M_LDIA 08000h,0h,R0 5 LSH -,R0 BR LD00 LD00: ;; LD X ;M_LDIA 08000h,0h,R0 6 7 LSH OR BR LD00: -,R0 R0,R0 LD00 symbol table LD00: LD00: LD00: AND00: Figure 6: pass of the assembler nal result of the LD translator, the executable binary code produced by the assembler is transmitted to the PLC and resides in its
4 Implementation of PLC We have built a large-scale PLC based on digital signal processor (DSP) TMS0C0 It supports about 00 mnemonics including logical operations, arithmetic operations, trigonometric functions, PID etc It also has 0,000 points including I/O points and temporal registers Serial communication port has been set to connect the PLC to the loader, IBM-PC Internal cache is disabled in order to measure constant execution time The wait state of the I/O table and the is set to 50ns, 5ns respectively Both translation methods are implemented for their performance evaluation Performance Evaluation Execution Time of Mnemonics Translation time and execution time can be considered as main factors for performance evaluation First, the translation time of the existing method is much shorter than that of the proposed method To get executable binary code using the proposed method, the LD must pass through procedure of several steps such as LD-mnemonics converter, macro compiler and assembler Besides, le input/output is taken at every step But, usually, once an of PLC has been xed, without modication of the it is used for a long time, about several years Stopping PLC operation for update of the can cause a great loss to the users Since the user does not nd a diculty in time due to infrequent translation, translation time is not related to the performance of PLC Therefore, it is concluded that the element for evaluating the LD translator is not translation time but execution time of the mnemonics For both methods, the graph of mean value of measured execution time of various kinds of LD mnemonics is shown in gure 7 The mnemonics are classied according to their purpose and form, based on the grouping of a PLC manufacturers [,] Common arithmetic mnemonic generally has three operands which consist of two sources and one destination Mnemonics with three operands occupies most of common PLC mnemonics They provide the largest reduction of the execution times because they pass operand routine three times at least and fetch the intermediate code in more frequently On the contrary, owcontrol mnemonics are in the least reduction since owcontrol mnemonics have an operand as label and have brief machine code Accordingly, the proposed structure is ecient when LD mnemonics have more operands and longer code Application Y00 Y0 Y0 Y0 M0 M Y0 HOME POS Y00 Y00 X000 Y0 Y0 Y00 X00 Y0 Y0 START LS LS Y0 X000 X000 M0 Y00 Y0 Y00 Y0 (T 0 ) (T ) (T ) (T ) (T ) (T 5 ) (T 6 ) basic tranfer timer,counter compare common arithmetic special arithmetic flow control proposed existing Figure 7: execution time of LD mnemonics We measured the execution time of the LD Y0 LS LS Figure 8: LD for automotive process Figure 8 is an example of the LD for automatic control of an shuttle process used in an automotive manufacturing process The operation sequence of the process is Home Position!Shuttle Up!Shuttle Advance!Shuttle Down!Shuttle Return!Home Position LD ming can be done for various puposes and is not unigue The arithmetic operations
5 such as add, mul and sin can be assigned as outputs in LD They also can be represented as a form of fuction block (FB) These non-logical operations are divided into common arithmetics (add,sub,mul etc) and special arithmetics (sin,cos,pid etc) To analyze re- execution time 6 5 the size of Nexe =00 special arithmetic (P 5 ) (P ) timer,counter common 0% 5% flow control arithmetic % (P 6 ) (P ) 60% (P ) comparison 9% transfer (P ) 0% basic 689% (msec) Nexe =00 N exe =00 0% 0% 60% 80% ratio of basic mnemonic in 00% existing structure Figure 9: frequency of mnemonics in the process duction of execution time of an, a ratio of mnemonics included in the should be known Figure 9 is a result of practical examining s on the automotive manufacturing process We analyzed the execution time of an, changing total number of mnemonics and percentage of basic mnemonics respectively The following equation is calculation of execution time of an is T0T6 mean execution time of each class of the mnemonics, as the result of this experiment N exe is total number of LD mnemonics in the T exe = T0 P basic N exe () 6X P i + T i i= ( ; 0:689) ( ; P basic) N exe The percentage of basic mnemonic, P basic, is assumed to be changed according to the But PP6 are constants and ratio between them is assumed to be constant Figure 0 represents a relation between ratio of basic LD mnemonics and execution time of It also shows change of the execution time when increasing N exe,thenumber of mnemonics, in a by three hundreds It also can be noted that dierence between the total execution times is decreased if the uses basic mnemonics frequently Memory requirement of each method is calculated and the result is represented in (),() N PLC is the number of mnemonics that the PLC serves On the existing method, requirement is M 0 =:N exe +8:97N PLC +8 (Bytes) () Figure 0: method proposed structure Execution time of a in each At the proposed method, requirement is M =9:790N exe (Bytes) () Unless N exe is exceedingly large in the process, M does not require absurdly much compared with M 0 5 Conclusion We have described a method to translate LD into the native code of the processor The improvement of the execution time has been considered in order to acquire the high-speed PLC In the proposed method, an executable code is generated without converting the LD to the intermediate code It includes three steps of the LD/mnemonic converter, the macro compiler and the assembler We have built a high-speed DSP-based PLC system with the translation method The execution time of each mnemonic has been measured on the PLC When the proposed translation method is applied to an automotive manufacturing process, the execution time of the s used by the process has been analyzed The proposed translation method results in better performance The requirement of it can be much more as a tradeo of speed But the proposed translation method does not require nonrealistic size unless the of the process is very long 5
6 As the role of the PLC is larger in various elds, further studies on ecient translation method will be required They can be investigated with execution time and requirement The translation method of other ming languages of the PLC may be valuableaswell [] POSFA PLC Programming manual, POSCON, 995 [] MCPU Programming manual, LG industrial electronics, 996 References [] I Warnock, Programmable Controllers - Operation and, Prentice Hall, 988 [] International Electrotechnical Commission, Programmable Controllers - Part : Programming language, IEC Publication-, 99 [] J Park, N Chang, G S Rho, and W H Kwon, \Implementation of a Parallel Algorithm for Event Driven Programmable Controllers," Control Eng Practice, vol, no, pp , 99 [] H Murakoshi, M Sugiyama, G Ding, T Oumi, T Sekiguchi, and Y Dohi, \A High-Speed Programmable Controller based on Petri Net," Proceeding of '9 IECON, pp , 99 [5] Jong-il Kim, J Park, and W H Kwon, \Architecture of a ladder solving processor for mable controllers," Microprocessors and Microsystems, vol 6, no 7, pp 69-79, 99 [6] G Rho, J Park, and W H Kwon, \Load Balancing of a Data-ow Based Programmable Controllers," Proc of IECON 9, Hawaii, USA, 99 [7] A J Laduzinsky, \An Open Architecture, VMEbus PLC," Control Engineering, vol 8, no, 99 [8] K Koo, G Rho, J Park, WH Kwon, and N Chang, \Architectural Design of a RISC Processor for Programmable Logic Controller," Journal of Systems Architecture, vol, 998 [9] G Rho, K KOO, N Chang, J Park, and WH Kwon, \Implementation of a RISC Processor for Programmable Controllers," Microprocessors and Microsystems, 99 [0] Y Shimokawa, T Matsushita, H Furuno, and Y Shimanuki, \A High-Performance VLSI chip for Instrumentation and Electric Control," Proc of IECON 9, pp88-889, 99 [] RW Lewis, Programming Industrial Control Systems using IEC - 6
However, no results are published that indicate the applicability for cycle-accurate simulation purposes. The language RADL [12] is derived from earli
Retargeting of Compiled Simulators for Digital Signal Processors Using a Machine Description Language Stefan Pees, Andreas Homann, Heinrich Meyr Integrated Signal Processing Systems, RWTH Aachen pees[homann,meyr]@ert.rwth-aachen.de
More informationDRAFT for FINAL VERSION. Accepted for CACSD'97, Gent, Belgium, April 1997 IMPLEMENTATION ASPECTS OF THE PLC STANDARD IEC
DRAFT for FINAL VERSION. Accepted for CACSD'97, Gent, Belgium, 28-3 April 1997 IMPLEMENTATION ASPECTS OF THE PLC STANDARD IEC 1131-3 Martin hman Stefan Johansson Karl-Erik rzen Department of Automatic
More informationComputer Architecture Dr. Charles Kim Howard University
EECE416 Microcomputer Fundamentals Computer Architecture Dr. Charles Kim Howard University 1 Computer Architecture Computer Architecture Art of selecting and interconnecting hardware components to create
More informationInstruction Set Architecture
Computer Architecture Instruction Set Architecture Lynn Choi Korea University Machine Language Programming language High-level programming languages Procedural languages: C, PASCAL, FORTRAN Object-oriented
More informationComputer Architecture and Organization
6-1 Chapter 6 - Languages and the Machine Computer Architecture and Organization Miles Murdocca and Vincent Heuring Chapter 6 Languages and the Machine 6-2 Chapter 6 - Languages and the Machine Chapter
More information160 M. Nadjarbashi, S.M. Fakhraie and A. Kaviani Figure 2. LUTB structure. each block-level track can be arbitrarily connected to each of 16 4-LUT inp
Scientia Iranica, Vol. 11, No. 3, pp 159{164 c Sharif University of Technology, July 2004 On Routing Architecture for Hybrid FPGA M. Nadjarbashi, S.M. Fakhraie 1 and A. Kaviani 2 In this paper, the routing
More informationComputer Organization and Assembly Language
Computer Organization and Assembly Language Week 01 Nouman M Durrani COMPUTER ORGANISATION AND ARCHITECTURE Computer Organization describes the function and design of the various units of digital computers
More informationresidual residual program final result
C-Mix: Making Easily Maintainable C-Programs run FAST The C-Mix Group, DIKU, University of Copenhagen Abstract C-Mix is a tool based on state-of-the-art technology that solves the dilemma of whether to
More informationEC 413 Computer Organization
EC 413 Computer Organization Review I Prof. Michel A. Kinsy Computing: The Art of Abstraction Application Algorithm Programming Language Operating System/Virtual Machine Instruction Set Architecture (ISA)
More informationCOMPUTER ORGANIZATION & ARCHITECTURE
COMPUTER ORGANIZATION & ARCHITECTURE Instructions Sets Architecture Lesson 5a 1 What are Instruction Sets The complete collection of instructions that are understood by a CPU Can be considered as a functional
More informationComputer Technology Institute. Patras, Greece. In this paper we present a user{friendly framework and a
MEASURING SOFTWARE COMPLEXITY USING SOFTWARE METRICS 1 2 Xenos M., Tsalidis C., Christodoulakis D. Computer Technology Institute Patras, Greece In this paper we present a user{friendly framework and a
More informationAllowing Cycle-Stealing Direct Memory Access I/O. Concurrent with Hard-Real-Time Programs
To appear in: Int. Conf. on Parallel and Distributed Systems, ICPADS'96, June 3-6, 1996, Tokyo Allowing Cycle-Stealing Direct Memory Access I/O Concurrent with Hard-Real-Time Programs Tai-Yi Huang, Jane
More informationDevelopment of Virtual Machine for Programmable Logic Controller (PLC) by Using STEPS Programming Method
Development of Virtual Machine for mable Logic Controller (PLC) by Using STEPS ming Method Norashikin M. Thamrin, Mohd. Mukhlis Ismail Faculty of Electrical Engineering Universiti Teknologi MARA Shah Alam,
More information1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:
1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit
More informationConverting PLC instruction sequence into logic circuit: A preliminary study
Converting PLC instruction sequence into logic circuit: A preliminary study Shuichi Ichikawa, Masanori Akinaka,RyoIkeda, and Hiroshi Yamamoto Dept. Knowledge-based Information Engineering, Toyohashi University
More informationOverview. EE 4504 Computer Organization. Much of the computer s architecture / organization is hidden from a HLL programmer
Overview EE 4504 Computer Organization Section 7 The Instruction Set Much of the computer s architecture / organization is hidden from a HLL programmer In the abstract sense, the programmer should not
More informationComputer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra
Binary Representation Computer Systems Information is represented as a sequence of binary digits: Bits What the actual bits represent depends on the context: Seminar 3 Numerical value (integer, floating
More informationCPE300: Digital System Architecture and Design
CPE300: Digital System Architecture and Design Fall 2011 MW 17:30-18:45 CBC C316 Layered View of the Computer http://www.egr.unlv.edu/~b1morris/cpe300/ 2 Outline Recap Assembly/Machine Programmer View
More informationCOMPUTER ORGANISATION CHAPTER 1 BASIC STRUCTURE OF COMPUTERS
Computer types: - COMPUTER ORGANISATION CHAPTER 1 BASIC STRUCTURE OF COMPUTERS A computer can be defined as a fast electronic calculating machine that accepts the (data) digitized input information process
More informationLecture 4: RISC Computers
Lecture 4: RISC Computers Introduction Program execution features RISC characteristics RISC vs. CICS Zebo Peng, IDA, LiTH 1 Introduction Reduced Instruction Set Computer (RISC) represents an important
More informationQuestion & its answer Remark Total marks 01 Attempt any THREE 12. a) State any three different tools used for Automation. 04 Ans.
Important Instructions to examiners: 1) The answers should be examined by keywords and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate may
More informationStatement of Research
On Exploring Algorithm Performance Between Von-Neumann and VLSI Custom-Logic Computing Architectures Tiffany M. Mintz James P. Davis, Ph.D. South Carolina Alliance for Minority Participation University
More informationDC57 COMPUTER ORGANIZATION JUNE 2013
Q2 (a) How do various factors like Hardware design, Instruction set, Compiler related to the performance of a computer? The most important measure of a computer is how quickly it can execute programs.
More informationfswallace, niravd, limited superscalar principles. Most of them implemented 2 Design
Design and Implementation of a 100 MHz Centralized Instruction Window for a Superscalar Microprocessor Steven Wallace, Nirav Dagli, and Nader Bagherzadeh Department of Electrical and Computer Engineering
More informationComputer System Architecture
CSC 203 1.5 Computer System Architecture Department of Statistics and Computer Science University of Sri Jayewardenepura Addressing 2 Addressing Subject of specifying where the operands (addresses) are
More informationPredicting the Worst-Case Execution Time of the Concurrent Execution. of Instructions and Cycle-Stealing DMA I/O Operations
ACM SIGPLAN Workshop on Languages, Compilers and Tools for Real-Time Systems, La Jolla, California, June 1995. Predicting the Worst-Case Execution Time of the Concurrent Execution of Instructions and Cycle-Stealing
More informationGlobal Scheduler. Global Issue. Global Retire
The Delft-Java Engine: An Introduction C. John Glossner 1;2 and Stamatis Vassiliadis 2 1 Lucent / Bell Labs, Allentown, Pa. 2 Delft University oftechnology, Department of Electrical Engineering Delft,
More informationComputer Organization
Computer Organization It describes the function and design of the various units of digital computers that store and process information. It also deals with the units of computer that receive information
More informationDigital System Design Using Verilog. - Processing Unit Design
Digital System Design Using Verilog - Processing Unit Design 1.1 CPU BASICS A typical CPU has three major components: (1) Register set, (2) Arithmetic logic unit (ALU), and (3) Control unit (CU) The register
More informationChapter 4. MARIE: An Introduction to a Simple Computer
Chapter 4 MARIE: An Introduction to a Simple Computer Chapter 4 Objectives Learn the components common to every modern computer system. Be able to explain how each component contributes to program execution.
More informationEET2411 DIGITAL ELECTRONICS. A device or electrical circuit used to store a single bit (0 or 1) Ex. FF.
Chapter 12 - Memory Devices Digital information is easily stored Commonly used memory devices and systems will be examined Flip flops Registers VLSI and LSI memory devices The difference between main memory
More informationUnit objective. Unit Introduction UNIT - I. In this unit you will be introduced to :
Unit objective In this unit you will be introduced to : UNIT - I The basic structure of a computer, Machine instructions and their execution, System software that enables the preparation and execution
More informationA Bit of History. Program Mem Data Memory. CPU (Central Processing Unit) I/O (Input/Output) Von Neumann Architecture. CPU (Central Processing Unit)
Memory COncepts Address Contents Memory is divided into addressable units, each with an address (like an array with indices) Addressable units are usually larger than a bit, typically 8, 16, 32, or 64
More informationCache Justification for Digital Signal Processors
Cache Justification for Digital Signal Processors by Michael J. Lee December 3, 1999 Cache Justification for Digital Signal Processors By Michael J. Lee Abstract Caches are commonly used on general-purpose
More informationProgrammable Logic Controller
QEC25689 In modern century in this time more and more company which technological to use, so that everything become accurate and quicker. Along go forward technological and to the number of appliance of
More informationMicrocontrollers. Microcontroller
Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and
More informationUNIT-II. Part-2: CENTRAL PROCESSING UNIT
Page1 UNIT-II Part-2: CENTRAL PROCESSING UNIT Stack Organization Instruction Formats Addressing Modes Data Transfer And Manipulation Program Control Reduced Instruction Set Computer (RISC) Introduction:
More informationReview: What is a Computer?
EEC170 Computer Architecture Lecture 2: Instruction Set Architectures October 10, 2005 Soheil Ghiasi Electrical and Computer Engineering University of California, Davis Review: What is a Computer? It has
More informationChapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware
More informationJNTUWORLD. 1. Discuss in detail inter processor arbitration logics and procedures with necessary diagrams? [15]
Code No: 09A50402 R09 Set No. 2 1. Discuss in detail inter processor arbitration logics and procedures with necessary diagrams? [15] 2. (a) Discuss asynchronous serial transfer concept? (b) Explain in
More informationinstruction fetch memory interface signal unit priority manager instruction decode stack register sets address PC2 PC3 PC4 instructions extern signals
Performance Evaluations of a Multithreaded Java Microcontroller J. Kreuzinger, M. Pfeer A. Schulz, Th. Ungerer Institute for Computer Design and Fault Tolerance University of Karlsruhe, Germany U. Brinkschulte,
More informationIn this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.
About the Tutorial A microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of performing Arithmetic Logical Unit (ALU) operations and communicating with the other
More informationBHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)
BHARATHIDASAN ENGINEERING COLLEGE III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013) FREQUENTLY ASKED QUESTIONS IN UNIVERSITY EXAMINATION PART A UNIT 1-8085 PROCESSOR 1. Draw the
More informationADVANCED COMPUTER ARCHITECTURE TWO MARKS WITH ANSWERS
ADVANCED COMPUTER ARCHITECTURE TWO MARKS WITH ANSWERS 1.Define Computer Architecture Computer Architecture Is Defined As The Functional Operation Of The Individual H/W Unit In A Computer System And The
More informationEastern Mediterranean University School of Computing and Technology CACHE MEMORY. Computer memory is organized into a hierarchy.
Eastern Mediterranean University School of Computing and Technology ITEC255 Computer Organization & Architecture CACHE MEMORY Introduction Computer memory is organized into a hierarchy. At the highest
More informationPipelining, Branch Prediction, Trends
Pipelining, Branch Prediction, Trends 10.1-10.4 Topics 10.1 Quantitative Analyses of Program Execution 10.2 From CISC to RISC 10.3 Pipelining the Datapath Branch Prediction, Delay Slots 10.4 Overlapping
More informationREDUCED INSTRUCTION SET COMPUTERS (RISC)
Datorarkitektur Fö 5/6-1 Datorarkitektur Fö 5/6-2 What are RISCs and why do we need them? REDUCED INSTRUCTION SET COMPUTERS (RISC) RISC architectures represent an important innovation in the area of computer
More informationComputer Architecture
Computer Architecture A computer system has three main components: a Central Processing Unit (CPU) or processor, a Memory Unit and Input /Output Units (devices). In any microcomputer system, the component
More information(Preliminary Version 2 ) Jai-Hoon Kim Nitin H. Vaidya. Department of Computer Science. Texas A&M University. College Station, TX
Towards an Adaptive Distributed Shared Memory (Preliminary Version ) Jai-Hoon Kim Nitin H. Vaidya Department of Computer Science Texas A&M University College Station, TX 77843-3 E-mail: fjhkim,vaidyag@cs.tamu.edu
More informationLecture 4: RISC Computers
Lecture 4: RISC Computers Introduction Program execution features RISC characteristics RISC vs. CICS Zebo Peng, IDA, LiTH 1 Introduction Reduced Instruction Set Computer (RISC) is an important innovation
More informationLec 2. .Ladder Logic.Memory Map.KGL Programming Software
Lec 2.Ladder Logic.Memory Map.KGL Programming Software Ladder logic is the main programming method used for PLCs. Relay is a simple device that uses a magnetic field to control a switch, when a voltage
More informationCPU ARCHITECTURE. QUESTION 1 Explain how the width of the data bus and system clock speed affect the performance of a computer system.
CPU ARCHITECTURE QUESTION 1 Explain how the width of the data bus and system clock speed affect the performance of a computer system. ANSWER 1 Data Bus Width the width of the data bus determines the number
More informationComputer Architecture Dr. Charles Kim Howard University
EECE416 Microcomputer Fundamentals & Design Computer Architecture Dr. Charles Kim Howard University 1 Computer Architecture Computer Architecture Art of selecting and interconnecting hardware components
More informationThe CPU and Memory. How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram:
The CPU and Memory How does a computer work? How does a computer interact with data? How are instructions performed? Recall schematic diagram: 1 Registers A register is a permanent storage location within
More informationMicroprocessor Micro Syllabus BSc. CSIT, IOST, TU. Microprocessor
Microprocessor Micro Syllabus BSc. CSIT, IOST, TU Microprocessor Course Title: Microprocessor Full Marks: 60 + 20 + 20 Course No: CSC162 Pass Marks: 24 + 8 + 8 Nature of the Course: Theory + Lab Credit
More information55:132/22C:160, HPCA Spring 2011
55:132/22C:160, HPCA Spring 2011 Second Lecture Slide Set Instruction Set Architecture Instruction Set Architecture ISA, the boundary between software and hardware Specifies the logical machine that is
More informationCHAPTER 4 MARIE: An Introduction to a Simple Computer
CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 177 4.2 CPU Basics and Organization 177 4.2.1 The Registers 178 4.2.2 The ALU 179 4.2.3 The Control Unit 179 4.3 The Bus 179 4.4 Clocks
More informationAU-E - Practical Programmable Logic Controllers (PLCs) for Automation and Process Control
IDC Technologies - Books - 1031 Wellington Street West Perth WA 6005 Phone: +61 8 9321 1702 - Email: books@idconline.com AU-E - Practical Programmable Logic Controllers (PLCs) for Automation and Process
More informationThe Memory System. Components of the Memory System. Problems with the Memory System. A Solution
Datorarkitektur Fö 2-1 Datorarkitektur Fö 2-2 Components of the Memory System The Memory System 1. Components of the Memory System Main : fast, random access, expensive, located close (but not inside)
More informationArchitectural Design and Analysis of a VLIW Processor. Arthur Abnous and Nader Bagherzadeh. Department of Electrical and Computer Engineering
Architectural Design and Analysis of a VLIW Processor Arthur Abnous and Nader Bagherzadeh Department of Electrical and Computer Engineering University of California, Irvine Irvine, CA 92717 Phone: (714)
More informationInstruction Register. Instruction Decoder. Control Unit (Combinational Circuit) Control Signals (These signals go to register) The bus and the ALU
Hardwired and Microprogrammed Control For each instruction, the control unit causes the CPU to execute a sequence of steps correctly. In reality, there must be control signals to assert lines on various
More informationComputer Architecture
Computer Architecture Computer Architecture Hardware INFO 2603 Platform Technologies Week 1: 04-Sept-2018 Computer architecture refers to the overall design of the physical parts of a computer. It examines:
More informationA New Translation Algorithm from Ladder Diagrams to Instruction Lists
Proceedings of the 17th World Congress The International Federation of Automatic Control eoul, Korea, uly 6-11, 008 A New Translation Algorithm from Ladder Diagrams to Instruction Lists Yan Yi, Zhang Hang
More informationStandard Instructions Special Instructions High-Speed Instructions SIMATIC S7-200 Programmable Controller System Manual
Programming A PLC STEP 7-Micro/WIN32 is the program software used with the S7-2 PLC to create the PLC operating program. STEP 7 consists of a number of instructions that must be arranged in a logical order
More informationNew Advances in Micro-Processors and computer architectures
New Advances in Micro-Processors and computer architectures Prof. (Dr.) K.R. Chowdhary, Director SETG Email: kr.chowdhary@jietjodhpur.com Jodhpur Institute of Engineering and Technology, SETG August 27,
More informationPLC Programming. Ladder Diagrams
Ladder Diagrams Consider the diagram below showing a circuit for switching an electric motor on or off. We can redraw this diagram in a different way, using two vertical lines to represent the input power
More informationVALLIAMMAI ENGINEERING COLLEGE S.R.M. NAGAR, KATTANKULATHUR-603203. DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING VII-EEE EE6502- MICROPROCESSORS AND MICROCONTROLLERS QUESTION BANK UNIT I 1. What
More informationTUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design.
TUTORIAL 1 1. Make a list of 10 products containing microprocessors that we use everyday. Personal computer Television Calculator Elevator Mobile phones MP3 players Microwave ovens DVD players Engine Control
More informationReview Questions. 1 The DRAM problem [5 points] Suggest a solution. 2 Big versus Little Endian Addressing [5 points]
Review Questions 1 The DRAM problem [5 points] Suggest a solution 2 Big versus Little Endian Addressing [5 points] Consider the 32-bit hexadecimal number 0x21d3ea7d. 1. What is the binary representation
More informationModule 4. Programmable Logic Control Systems. Version 2 EE IIT, Kharagpur 1
Module 4 Programmable Logic Control Systems Version 2 EE IIT, Kharagpur 1 Lesson 21 Programming of PLCs: Sequential Function Charts Version 2 EE IIT, Kharagpur 2 Instructional Objectives After learning
More informationIntegrating MRPSOC with multigrain parallelism for improvement of performance
Integrating MRPSOC with multigrain parallelism for improvement of performance 1 Swathi S T, 2 Kavitha V 1 PG Student [VLSI], Dept. of ECE, CMRIT, Bangalore, Karnataka, India 2 Ph.D Scholar, Jain University,
More informationUnderstand the factors involved in instruction set
A Closer Look at Instruction Set Architectures Objectives Understand the factors involved in instruction set architecture design. Look at different instruction formats, operand types, and memory access
More informationSAE5C Computer Organization and Architecture. Unit : I - V
SAE5C Computer Organization and Architecture Unit : I - V UNIT-I Evolution of Pentium and Power PC Evolution of Computer Components functions Interconnection Bus Basics of PCI Memory:Characteristics,Hierarchy
More informationContents. Main Memory Memory access time Memory cycle time. Types of Memory Unit RAM ROM
Memory Organization Contents Main Memory Memory access time Memory cycle time Types of Memory Unit RAM ROM Memory System Virtual Memory Cache Memory - Associative mapping Direct mapping Set-associative
More informationTeam 1. Common Questions to all Teams. Team 2. Team 3. CO200-Computer Organization and Architecture - Assignment One
CO200-Computer Organization and Architecture - Assignment One Note: A team may contain not more than 2 members. Format the assignment solutions in a L A TEX document. E-mail the assignment solutions PDF
More informationThe Instruction Set. Chapter 5
The Instruction Set Architecture Level(ISA) Chapter 5 1 ISA Level The ISA level l is the interface between the compilers and the hardware. (ISA level code is what a compiler outputs) 2 Memory Models An
More information8051 Overview and Instruction Set
8051 Overview and Instruction Set Curtis A. Nelson Engr 355 1 Microprocessors vs. Microcontrollers Microprocessors are single-chip CPUs used in microcomputers Microcontrollers and microprocessors are different
More informationComputer Organization CS 206 T Lec# 2: Instruction Sets
Computer Organization CS 206 T Lec# 2: Instruction Sets Topics What is an instruction set Elements of instruction Instruction Format Instruction types Types of operations Types of operand Addressing mode
More informationInstruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts
Lecture 4 Instruction : A command to the microprocessor to perform a given task on specified data. Each instruction has two parts One part is the task to be performed, called operation code or opcode in
More informationInstruction Sets: Characteristics and Functions Addressing Modes
Instruction Sets: Characteristics and Functions Addressing Modes Chapters 10 and 11, William Stallings Computer Organization and Architecture 7 th Edition What is an Instruction Set? The complete collection
More informationIntroduction to Computer Systems and Operating Systems
Introduction to Computer Systems and Operating Systems Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered 1. Computer History 2. Computer System
More informationPESIT Bangalore South Campus
INTERNAL ASSESSMENT TEST I Date: 30/08/2017 Max Marks: 40 Subject & Code: Computer Organization 15CS34 Semester: III (A & B) Name of the faculty: Mrs.Sharmila Banu.A Time: 8.30 am 10.00 am Answer any FIVE
More informationChapter 9 Memory Management
Contents 1. Introduction 2. Computer-System Structures 3. Operating-System Structures 4. Processes 5. Threads 6. CPU Scheduling 7. Process Synchronization 8. Deadlocks 9. Memory Management 10. Virtual
More informationThe ACS-3000 Advanced Controller
The dvanced Controller kira Nishikawa Kouji Kawaguchi Nobuo Taguchi 1. Introduction Fig.1 Basic hardware configuration of the The EIC-integrated system MICREX-IX, released in 1992, is the fourth generation
More informationCalendar Description
ECE212 B1: Introduction to Microprocessors Lecture 1 Calendar Description Microcomputer architecture, assembly language programming, memory and input/output system, interrupts All the instructions are
More informationChapter 5. A Closer Look at Instruction Set Architectures
Chapter 5 A Closer Look at Instruction Set Architectures Chapter 5 Objectives Understand the factors involved in instruction set architecture design. Gain familiarity with memory addressing modes. Understand
More informationFunctional Verification of Enhanced RISC Processor
Functional Verification of Enhanced RISC Processor SHANKER NILANGI 1 1 Assistant Professor, Dept of ECE, Bheemanna Khandre Institute of Technology, Bhalki, Karnataka, India s.nilangi@gmail.com 1 SOWMYA
More information8/16/12. Computer Organization. Architecture. Computer Organization. Computer Basics
Computer Organization Computer Basics TOPICS Computer Organization Data Representation Program Execution Computer Languages 1 2 Architecture Computer Organization n central-processing unit n performs the
More informationWeek 1. Introduction to Microcomputers and Microprocessors, Computer Codes, Programming, and Operating Systems
Week 1 Introduction to Microcomputers and Microprocessors, Computer Codes, Programming, and Operating Systems 2 Introduction to Microcomputers/ Stored Program C 3 Stored Program Concept There are three
More informationQuery Processing and Optimization *
OpenStax-CNX module: m28213 1 Query Processing and Optimization * Nguyen Kim Anh This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0 Query processing is
More informationLecture 01: Basic Structure of Computers
CSCI2510 Computer Organization Lecture 01: Basic Structure of Computers Ming-Chang YANG mcyang@cse.cuhk.edu.hk Reading: Chap. 1.1~1.3 Outline Computer: Tools for the Information Age Basic Functional Units
More informationCompiler Architecture
Code Generation 1 Compiler Architecture Source language Scanner (lexical analysis) Tokens Parser (syntax analysis) Syntactic structure Semantic Analysis (IC generator) Intermediate Language Code Optimizer
More informationDesign of Instruction List (IL) Processor for Process Control
Design of Instruction List (IL) Processor for Process Control Mrs. Shilpa Rudrawar #1, Prof. Manish M. Patil *2, #1 Department of Electronics, MAE, Alandi, Pune University, Maharashtra, India #2 Department
More informationECE232: Hardware Organization and Design
ECE232: Hardware Organization and Design Lecture 2: Hardware/Software Interface Adapted from Computer Organization and Design, Patterson & Hennessy, UCB Overview Basic computer components How does a microprocessor
More informationALU(B) delay in cycles Arithmetic 32% 1 2 Data Transfer 36% 2 2 Floating Point 10% 3 4 Control Transfer 22% 2 2
Midterm No. 1 April, 2007 Arab Academy for Science, Technology & Maritime Transport School of Engineering Computer Department Computing Systems (CC 513) Time: 90 minutes Lecturer: Prof. Dr. Magdy Saeb
More informationNetwork. Department of Statistics. University of California, Berkeley. January, Abstract
Parallelizing CART Using a Workstation Network Phil Spector Leo Breiman Department of Statistics University of California, Berkeley January, 1995 Abstract The CART (Classication and Regression Trees) program,
More information2.2 THE MARIE Instruction Set Architecture
2.2 THE MARIE Instruction Set Architecture MARIE has a very simple, yet powerful, instruction set. The instruction set architecture (ISA) of a machine specifies the instructions that the computer can perform
More informationCS 5803 Introduction to High Performance Computer Architecture: RISC vs. CISC. A.R. Hurson 323 Computer Science Building, Missouri S&T
CS 5803 Introduction to High Performance Computer Architecture: RISC vs. CISC A.R. Hurson 323 Computer Science Building, Missouri S&T hurson@mst.edu 1 Outline How to improve CPU time? Complex Instruction
More informationMicroprocessors and Microcontrollers. Assignment 1:
Microprocessors and Microcontrollers Assignment 1: 1. List out the mass storage devices and their characteristics. 2. List the current workstations available in the market for graphics and business applications.
More informationHDL. Operations and dependencies. FSMs Logic functions HDL. Interconnected logic blocks HDL BEHAVIORAL VIEW LOGIC LEVEL ARCHITECTURAL LEVEL
ARCHITECTURAL-LEVEL SYNTHESIS Motivation. Outline cgiovanni De Micheli Stanford University Compiling language models into abstract models. Behavioral-level optimization and program-level transformations.
More information