Chapter 9 and 10 Flashcards

1
Q

Addressing Mode

A

Means by which the PLC selects the data thai is use in an instruction

also

describes the relationship between the operand and the data, that is how we use the operand to get the correct data

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

Data

A

Numberical values that are used in computations

  • for example if the PLC has the value 3 in a memory location and the value 4 in another location, and there is an instruction to add the values in these two locations, the there are two data values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Operands

A

Symobles in an Instruction

  • Again, if the instruction were to add the two memory location, then the data would be the same, but the operand would be the symbols for the locations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Direct Addressing

A

the memory address of the data is supplied with the instruction

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

Indirect addressing

A

the address in the instruction serves as reference point and does not point directly to the data location

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

Indexed Addressing

A

addresssing mode for referecing a memory location that is the original memory address plus the value stored in an index register

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

Indexed Indirect Addressing

Pre-indexed addressing

A

which is a combination addressing method that incorates indexed addressing prior to the use of indirect addressing

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

Indexed Indirect Addressing

Post-indexed addressing

A

which is a combination addressing method that incorporates indexed addressing after the use of indirect addressing

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

Indirect addresses use________, to hold an address where the data is laocted

A

[]

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

Array

A

data structure that allocates a contiguous block of memory to store a specific data type as a table of values

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

Contiguous Block

A

means memory locations that are adjacent to each other

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

Data handling

A

includes the movement and manipulation of data by arithmetic and logical operation. The data handling is accomplished on bits, words, and files, where worlds are also referred to as registers and files as tables, blocks, or arrays

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

Bit pattern in one word

A

or register can be transferred to another work or register.

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

Pattern of words

A

that comprises a file has distinct starting and ending locations.

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

file-to-file transfer

A
  • is used when the words in one file represent a set of data that is used many times within a process, but must remain unchanged after each operation in the process.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

word to file and file to word

A

are used in processes driven by a PLC Figure below illustrates these there type of transfers. The file-arithmetic –logic (FAL) instruction is used to accomplish these transfers.

17
Q
A

File to word Tansfer

18
Q
A

Word to file transfer

19
Q
A

File to file transfer

20
Q

Bitwise and (AND)

A

performs a bit by bit logical AND operation.

21
Q

Bitwise or (OR)

A

performs a bit by bit logical OR operation

22
Q

Bitwise exclusive or (XOR)

A

performs a bit by bit logical EXCLUSIVE OR operation

23
Q

File arithmetic logic (FAL)

A
  • performs copy, arithmetic, logic, and function operation on the data stored in files or arrays
    • FAL instruction is used to transfer data from one file to another and perform arithmetic and logic operations on files
24
Q

Bit shift left (BSL) and Bit shift right (BSR)

A

shifts the bits within a word or specified bits in an array one position to the left of right respectively

25
Q

FIFO load (FFL) and FIFO (FFU)

A

loads data into a file and unloads data from a file, respectively. When used in pairs, they perform the FIFO function first in, first out

26
Q

LIFO load (LFL and LIFO unload (LFU)

A

loads data into a file and unloads data from a file, respectively. When used in pairs, they perform the LIFO function last in, first out.

27
Q

Copy (COP)

A

copies data files form one register location to another, maintaining the sequential sequence of the data.

28
Q

Fill (FLL)

A
  • copies the contents of one register location to a specified number of other register locations
29
Q

Shirt Registers

A
  • is a logical operator that permits a register to move its contents to the right or to the left9
30
Q
A
31
Q
A
32
Q
A
33
Q
A
34
Q
A
35
Q
A
36
Q
A
37
Q
A
38
Q
A