Chapter 9 and 10 Flashcards
Addressing Mode
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
Data
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
Operands
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
Direct Addressing
the memory address of the data is supplied with the instruction
Indirect addressing
the address in the instruction serves as reference point and does not point directly to the data location
Indexed Addressing
addresssing mode for referecing a memory location that is the original memory address plus the value stored in an index register
Indexed Indirect Addressing
Pre-indexed addressing
which is a combination addressing method that incorates indexed addressing prior to the use of indirect addressing
Indexed Indirect Addressing
Post-indexed addressing
which is a combination addressing method that incorporates indexed addressing after the use of indirect addressing
Indirect addresses use________, to hold an address where the data is laocted
[]
Array
data structure that allocates a contiguous block of memory to store a specific data type as a table of values
Contiguous Block
means memory locations that are adjacent to each other
Data handling
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
Bit pattern in one word
or register can be transferred to another work or register.
Pattern of words
that comprises a file has distinct starting and ending locations.
file-to-file transfer
- 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.