Chapter 2 - Central Processing Unit Flashcards
What are the CPU components?
RAM and ROM memory, power supply, battery back up
What is the executive program?
Supervisory programs that are permanently stored in the memory. It allows the microprocessor to perform all of its control, processing, communication and other functions.
What are the four basic operations of a microprocessor?
Input and Output operations -allow PLC to communicate with the outside world.
Arithmetic and Logic - performs operations such as add, subtract, AND, and OR functions
Reading or changing memory contents
Jump operations- allow the user program to be bypassed when requested
What are the components of the microprocessor?
Executive Memory, Arithmetic Logic Unit (ALU) Program Counter (PC) Internal Register (IR) The read/write (r/w) memory The I/O ports
What is the program counter?
Keeps track of which step or line number of the program that the microprocessor is currently executing. When branches or jumps occur, the pc is set forward or backwards to keep track of execution times
What is the internal register?
Stores data as commanded by the ALU. It receives data from the executive memory and stores it until the ALU requests them.
What is the read/write memory?
Stores the program written by the user. It also stores the general parameters for total system operations. Contains memory units called registers.
What are I/O ports?
Used by the microprocessor to communicate with other circuits in the PLC system. Transfers data using buses.
Address bus?
Contains 16 unidirectional lines. Allows a microprocessor to select an address, which is then decoded, and the appropriate memory location or I/O device is chosen. It’s sole purpose is to activate devices memory locations at the proper times for further use by the data bus.
Data bus?
Is bidirectional and is typically 8,16,32 or 64 lines. Used to transfer bits out of or into the microprocessor. Can be used to read or write data.
Reading data?
Retrieving data from memory locations
Writing data?
Storing data into memory locations.
Latches?
Peripheral devices that provide the microprocessor additional circuitry to store data until the proper cycle time of the processor is reached.
Address latch?
Receives an address location and stores it until the microprocessor commands it to be sent. The command signal is sent via a strobe line.
Data I/O Latch?
Temporarily stores data being sent to the output system.