Programmable Logic Controllers
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
bartleby

Concept explainers

Question
Book Icon
Chapter 9, Problem 1RQ
Program Plan Intro

a.

Master Control Reset (MCR) instructions:

  • The MCR instruction is used to clear all set outputs within the fenced zone.
  • In other words, it turns off all the non-retentive outputs in the fenced zone.
  • Non-retentive outputs cannot retain their memory when they are de-energized.
  • The MCR instruction within the zone are still scanned, but the scan time is reduced due to the false state of non-retentive outputs.

Expert Solution
Check Mark

Explanation of Solution

Programming procedure:

  • In order to control a program section, two MCR output instructions are programmed.
  • The fenced zone which needs to be controlled begins with one MCR instruction and the other MCR instruction at the end.
  • An MCR rung with conditional inputs is placed at the beginning of the program section to be controlled.
  • An MCR rung with no conditional inputs is placed at the end of the program section to be controlled.
  • If the first MCR instruction becomes true, then all the outputs present in between the two MCR instructions will act according to the logic.
  • If the MCR instruction becomes false, then all the non-retentive outputs will be de-energized and all the retentive outputs will retain their previous state.

Explanation of Solution

b.

False-to-true transition:

  • When the MCR instruction makes a false-to-true transition, all rung outputs within the program section will be controlled by their respective input conditions.
  • Initially, when the MCR instruction in the rung is false, all the rungs within the zone are made inactive and de-energizes all non-retentive outputs.
  • Hence, all retentive devices such as latches will remain in their previous state.

Explanation of Solution

c.

True-to-false transition:

  • When the MCR instruction makes a true-to-false transition, all non-retentive outputs within the program section will be de-energized.
  • At the same time, all the retentive outputs within the fenced zone will remain in their previous state.
  • Initially, when the MCR instruction in the rung is true, all the rungs within the zone are scanned and the outputs are energized and updated based on their logic.
  • When the MCR instruction undergoes a transition from true-to-false, the scan ignores the input and de-energizes all the non-retentive outputs.
  • Hence, all the retentive devices like latches, timers will remain in their previous state.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Computer Science - Assembly language code: Q1. A) A microprocessor is wired into a sensing control circuit so that the memory locations 42 and 43 each contain the values 0 or 1. Memory location 50 is connected to a light switch. When the value in 50 is 1 the light is on and when it is 0 the light is off. Write a program to switch on the light on when the values in locations 42 and 43 are both 1, and to switch off the light when the values in locations 42 and 43 are both 0. Only use the ARM assembly language instructions, MOV, JMP and JNZ. Assume that the MOV instruction updates the flags with the status register.
The AAS instruction adjusts the result of the subtraction of two unpacked BCD values to create an unpacked BCD result. O adjusts the result of the addition of two packed BCD values to create an unpacked BCD result. O Adjusts the result of the addition or subtraction of two packed BCD values to create a packed BCD result.
Q2/ draw the flowchart for instruction cycle
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning