Hey I need the answers for questions 2, 4, 5, 6, 7, 9, 10, 11, 13, 15 and 16. Th
ID: 2247746 • Letter: H
Question
Hey I need the answers for questions 2, 4, 5, 6, 7, 9, 10, 11, 13, 15 and 16. Thanks a lot.CHAPTER 10 REVIEW QUESTIONS What is the advantage of using the file copy (COP) 1. In general, what do data manipulation instructions 2. Explain the difference between a register or word 3. Into what two broad categories can da 4. 5. or fill file (FLL) instruction rather than the FAL in- struction for the transfer of data? 10. allow the PLC to do? What are data compare instructions used for? types of data compare instructions. Figure 10-48 is instructing the processor to do. values for? and a table or file I1. d categories can data manipula 12. Name and draw the symbols for the six different tion instructions be placed? 13. Explain what each of the logic rungs in 14. What does the limit test (LIM) instruction test 15. How are multibit I/O interfaces different from the 16. What takes place with regard to a data transfer instruction? The MOV instruction is to be used to copy the information stored in word N7:20 to N7:35 What address is entered into the source and the destination? discrete type? Assume that a thumbwheel switch is set for the decimal number 3286. a. What is the equivalent BCD value for this What is the purpose of the mask word in the MVM instruction? 6. 7. 8. List three types of data shifts used with file instructions. setting? b. What is the equivalent binary value for this List the six parameters and addresses that must setting? Assume that a thermocouple is connected to an analog input module. Explain how the tempera- ture of the thermocouple is communicated to the processor be entered into the file arithmetic and logic (FAL) instruction. 17. Assume the ALL mode has been entered as part of a FAL instruction. How will this affect the transfer of data? 9.
Explanation / Answer
2.
Registers : These are small memory units (size is machine dependent) residing in the processor. Registers are used to store a processor instruction, a memory address or a chunk of data. Information can be stored or retrieved using register names. Registers are physically present in the processor and are individually addressed. Number of registers, their size, names, and functions (in case of special function registers) are fixed while designing the processor.
File : A logical resource for storing information on various storage media (hard disk, optical disks, floppy etc). Usually files contain much larger amount of data and will be allocated a number of storage locations in the media. The underlying file system in the media handles the complexities of storage locations and provides the user access to the information to the information just with a file name. (along with the path)
Unlike registers, file can have varying names and size (only limited by the media and file system) and is usually determined by the user.
6.
The symbol for the masked move command is illustrated above. The MVM command is an instruction placed on the right side of the rung. The MVM is similar to the MOV instruction in that it moves a copy of a value from a Source to a desired Destination. Where the two instructions differ is that the MVM instruction allows portions of the Source data to pass through a mask, which is a separate word, to the Destination address. This instruction is carried out on each scan providing the rung conditions are true. The Source value is unchanged by this command.
There are three parameters, Source, Mask, and Destination (Dest) associated with the masked move command: