Chapter 2 - Central Processing Unit Flashcards

1
Q

What are the CPU components?

A

RAM and ROM memory, power supply, battery back up

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the executive program?

A

Supervisory programs that are permanently stored in the memory. It allows the microprocessor to perform all of its control, processing, communication and other functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the four basic operations of a microprocessor?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the components of the microprocessor?

A
Executive Memory, 
Arithmetic Logic Unit (ALU)
Program Counter (PC)
Internal Register (IR)
The read/write (r/w) memory
The I/O ports
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the program counter?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the internal register?

A

Stores data as commanded by the ALU. It receives data from the executive memory and stores it until the ALU requests them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the read/write memory?

A

Stores the program written by the user. It also stores the general parameters for total system operations. Contains memory units called registers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are I/O ports?

A

Used by the microprocessor to communicate with other circuits in the PLC system. Transfers data using buses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Address bus?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Data bus?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Reading data?

A

Retrieving data from memory locations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Writing data?

A

Storing data into memory locations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Latches?

A

Peripheral devices that provide the microprocessor additional circuitry to store data until the proper cycle time of the processor is reached.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Address latch?

A

Receives an address location and stores it until the microprocessor commands it to be sent. The command signal is sent via a strobe line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Data I/O Latch?

A

Temporarily stores data being sent to the output system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CPU Diagnostics?

A

Controlled by the executive program.

Self checking on startup checks for: memory ok, processor ok, battery ok, and power supply ok

User initiated diagnostics - checks all memory and tests communication ports. Testing the communication ports ensures the validity of the data being sent to input/output subsystems

17
Q

Multiprocessing?

A

Involves dividing control between two processors to increase operating speed.

Control microprocessor - complex computations and data manipulation.

Logic microprocessor - executes timing, logic and counting operations and looks after application programs

18
Q

Memory Capacity?

A

The total number of binary digits (bits) that can be stored in RAM memory.

19
Q

Total memory system components?

A

Executive memory and control application program. Executive memory is permanent, Application memory is temporary.

20
Q

Classes of memory devices?

A

Volatile- data is lost when power is lost, usually has a battery back up

Non-volatile- data is permanent, not lost with power loss.

21
Q

Semiconductor memories?

A

Bipolar: transistor-transistor logic (TTL), constructed using bipolar transistors. More complex circuitry limits the memory capacity.

MOS: use metal oxide semiconductor field effect transistors or MOSFETs. MOS is slower but requires less power, good for volatile memory.

22
Q

Memory Types?

A

Read Only Memory (ROM)

Random Access Memory (RAM) - static & dynamic

Programmable Read Only Memory (PROM)

Erasable Programmable Read Only Memory (EPROM)

Electronically Erasable Programmable Read Only Memory (EEPROM)

Flash Memory

23
Q

Memory Utilization?

A

The number of memory locations required to store each type of instruction.

Bit- single digit of data
Words - group of bits
Register - storage location for words
File/Table - consecutive group of registers

24
Q

I/O Tables?

A

Refers to the location where the status of an input or output device is stored. Constantly being revised and updated by CPU

25
Q

Internal storage bits?

A

Software coils not accessible at the I/O rack. Have a portion of CPU memory set aside for them

26
Q

Storage Registers?

A

Store data from timers, counters and analog modules obtained from analog and input devices (switches, encoders) in binary form.

27
Q

The 3 parts of processor memory?

A

The Data Table

The User Program

The Message Storage Area

28
Q

The data table?

A

Stores factory configured data that is permanent (ROM), and is 128 words (128x16 bits). The file storage and additional presets store information accumulated by timers, counters, sequencers and other file functions (Size varies)

29
Q

The user program?

A

A.K.A the application memory. Contains the program instructions, subroutines and shares the file or bit storage with the data table (contains information on coils and contacts).

30
Q

Message storage area?

A

Stores user programmed messages that are displayed on the CRT screen or printed out in hard copy form.

31
Q

Scan function?

A

Reading the status of all I/O’s, examining application program instructions and executing the control program

32
Q

Scan time?

A

The amount of time it takes the CPU to read the program stored in RAM, execute the control program and update all the outputs at The I/O rack.

33
Q

Scan delay?

A

When an input signal changes states faster than the PLC scan time.

34
Q

Scan interruptions?

A

Interrupt processing function- stops PLC scan due to a high priority event

Event interruption- executes everytime a pulse is detected

Time interruption- increases scan time in direct proportion to the # of times the interruption is executed during one scan cycle

35
Q

Full Wave Bridge (FWB) Rectifier?

A

Coverts AC to DC voltage

36
Q

Line conditioner?

A

Prevents AC voltage spikes from affecting the power supply

37
Q

Filter circuit?

A

Smooths out the pulsating DC voltage from the rectifiers

38
Q

Regulator Circuit?

A

Ensures a constant voltage level at the output of the power supply, regardless of the loading conditions.