Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 5, Problem 13RQ
Answer the following with regard to the Examine If Open instruction:
- a. What is another common name for this instruction?
- b. What is this instruction asking the processor to examine?
- c. Under what condition is the status bit associated with this instruction 0?
- d. Under what condition is the status bit associated with this instruction 1?
- e. Under what condition is this instruction logically true?
- f. What state does this instruction assume when it is false?
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
Execute the following instruction using all previous instruction format types
1. Study this program , then answer the questions that follow :
MOV AL, 64H
ADD AL,27H
DAA
a) What does the accumulator contain immediately after the ADD instruction is executed ?
What do the CY and AC flags contain?
b) What does the accumulator contain after the DAA instruction is executed? What do the
CY and AC flags contain?
2. Write a subroutine that will perform the function of the DAA instruction.
In an instruction cycle the execute phase includes
Select one:
a.the operation of the decoded instruction on all the operands.
b.there is no correct answer here
c.incrementing the program counter by 2 addresses.
d.the step of decoding the instruction for execution.
e.the transfer of the content of memory address pointed by the program counter.
Chapter 5 Solutions
Programmable Logic Controllers
Ch. 5 - What does the memory map for a typical PLC...Ch. 5 - Compare the function of the PLC program and data...Ch. 5 - Prob. 3RQCh. 5 - Prob. 4RQCh. 5 - a. What information is stored in the input image...Ch. 5 - a. What information is stored in the output image...Ch. 5 - Prob. 7RQCh. 5 - List four factors that enter into the length of...Ch. 5 - Prob. 9RQCh. 5 - Prob. 10RQ
Ch. 5 - Prob. 11RQCh. 5 - Answer the following with regard to the Examine If...Ch. 5 - Answer the following with regard to the Examine If...Ch. 5 - Answer the following with regard to the Output...Ch. 5 - A normally closed pushbutton is connected to a PLC...Ch. 5 - Prob. 16RQCh. 5 - Prob. 17RQCh. 5 - Prob. 18RQCh. 5 - Prob. 19RQCh. 5 - Prob. 20RQCh. 5 - Prob. 21RQCh. 5 - Explain the purpose of Windows based programming...Ch. 5 - Prob. 23RQCh. 5 - Prob. 24RQCh. 5 - Prob. 25RQCh. 5 - Prob. 26RQCh. 5 - Assign each of the following discrete input and...Ch. 5 - Prob. 2PCh. 5 - Prob. 3PCh. 5 - Redraw the program shown in Figure 5-57 corrected...Ch. 5 - Redraw the program shown in Figure 5-58 corrected...Ch. 5 - Prob. 6PCh. 5 - Prob. 7PCh. 5 - Prob. 8PCh. 5 - Write the ladder logic program needed to implement...
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
Introduced in 1983, this application program became the “killer app” that made the IBM PC a must-have business ...
SURVEY OF OPERATING SYSTEMS
A dataset has 1000 records and 50 variables with 5% of the values missing, spread randomly throughout the recor...
Data Mining for Business Analytics: Concepts, Techniques, and Applications with XLMiner
Give a Java statement that will display a dialog window on the screen with the message I Love You.
Java: An Introduction to Problem Solving and Programming (8th Edition)
What are the design issues for character string types?
Concepts of Programming Languages (11th Edition)
What is an uninitialized variable?
Starting Out with Programming Logic and Design (4th Edition)
7 18 (Exception Handling vs. Other Schemes) Compare and contrast exception handling with the various other erro...
C++ How to Program (10th Edition)
Knowledge Booster
Similar questions
- 7. For both of the instructions shown below, the initial conditions are shown. The result (which the instruction stores in r1) is also shown. For each instruction, answer these questions: • What is the state of the flags (NZCV) after the instruction executes • If the operands were signed, are the results valid? Why or why not? • If the operands were unsigned, are the results valid? Why or why not? a) initial conditions: r0 = 0xAAAA_AAAA rl=0x5555_5555 ADDS rl,rl,ro Result: r1=0xFFFF_FFFF b) initial conditions: r0=0x7FFF_FFFD r1 = 0x0000_000F ADDS rl,ro,r1 Result: r1=0x8000_000Carrow_forwardAnswer the following for the "cbw" instruction. The purpose is to convert choose your answer... and the instruction is used in choose your answer... operationarrow_forwardThe program counter (PC) contains the address of the next instruction -pair to be fetched from memory? a. True O b. falsearrow_forward
- answer with proper explanation and step by step solution. The instruction is to use a "loop" to write the MIPS code for this.arrow_forwardThe instruction cycle has only two states, fetch and execute? a. True b. falsearrow_forward1. Study this program, then answer the questions that follow: MOV AL, 64H ADD AL,27H DAA a) What does the accumulator contain immediately after the ADD instruction is executed ? What do the CY and AC flags contain? b) What does the accumulator contain after the DAA instruction is executed? What do the CY and AC flags contain?arrow_forward
- Fill in the following blanks with appropriate answers 1. The instruction that subtracts 1 from the contents of the specified register/memory location is ........... 2. In general, the destination operand of an instruction can be 3. The instruction that supports addition when carry exists is 4. If there is a carry from lowest nibble during addition, 5. flag sets. register is used as a default counter in case of string and loop instructions. 6. In PUSH instruction, after each execution of the instruction, the stack pointer is ..........arrow_forward6. What is the result of executing the following instruction MOV AL,05H AND AL, 03H OR AL,01H NOT AL Oa. AL= 0000 0001 b. AL= 0000 0010 c. AL= 11111110arrow_forwardQuestion 9 You are giving the before condition and an instruction. Give the after condition: Before: Ecx: 9A BC 90 67 instruction: xor cx, 1010b After condition of ECX: O 00 00 00 90 O 9A BC 90 6D O 9A 00 80 77 O 9A BC 6F 9Aarrow_forward
- What will happen when the given instruction is executed STA 0007Harrow_forwardThe instruction, Add #45,R1 does A. Adds 45 to the value of Rl and stores it in R1 Adds the value of 45 to the address of R1 and stores 45 in that address C. None of the mentioned D. Finds the memory location 45 and adds that content to that of R1 B.arrow_forwardWhat may possibly cause a resumption of the previously completed instruction in the event of a failure?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningSystems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning