Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 15.6, Problem 5P
Explanation of Solution
Modified Function Block Diagram (FBD)
The modified FBD program for testing the accumulated value of a counter is given below.
Explanation:
From the above programs,
- The sheet 1 of 4 is same as in the test book of given program.
- Modification of sheet 2 of 4:
- The output of “PL_1” is modified to “ON” when the value of accumulated count is within “0” to “5”. So, user needs to change the accumulated value in the “GRT_02” function block and “LES_02” function block...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Number Sequence
main.c
Test Case 1-input 3, expected output 55 40 25
Test Case 2-input 6, expected output 55 40 25 10 -5 -20
Test Case 3-input 9, expected output 55 40 25 10 -5 -20 -35 -50 -65
By implementing the concepts of Classes and Objects, write a C++ program that converts
the value of Delta-connected resistances to their equivalent Wye- connected resistances.
Use the following formulas:
R1 = R12(R31)/(R12+R23+R31) R2 = R12(R23)/(R12+R23+R31)
and R3 = R31(R23)/(R12+R23+R31)
The values of the 3 Delta-connected resistances, R12, R23 and R31 are to be entered from
the keyboard.
Accomplish the following for the given class diagram:
Delta2Wye
1.) Create the class implementation using C++
R12 : double
R23 : double
2.) Using the constructor, create the object, D1 from
R31: double
class Delta2Wye and store it in the Stack memory.
+ Delta2Wye( R12 : double, R23:
3.) Implement the functions of the object.
Double, R31: double )
+ setR( ): void
+ DR1(): double
+ DR2( ): double
+ DR3( ): double
Draw state diagram for this code
Chapter 15 Solutions
Programmable Logic Controllers
Ch. 15.1 - Prob. 1RQCh. 15.1 - Prob. 2RQCh. 15.1 - Prob. 3RQCh. 15.1 - Prob. 4RQCh. 15.1 - Prob. 5RQCh. 15.1 - Prob. 6RQCh. 15.1 - Prob. 7RQCh. 15.1 - Prob. 8RQCh. 15.1 - Prob. 9RQCh. 15.1 - Prob. 10RQ
Ch. 15.1 - Prob. 11RQCh. 15.1 - Compare the accessibility of program scope and...Ch. 15.1 - Prob. 13RQCh. 15.1 - What is the difference between a produced tag and...Ch. 15.1 - Prob. 15RQCh. 15.1 - State the data type used for each of the...Ch. 15.1 - Describe the make-up of a predefined structure.Ch. 15.1 - Describe the make-up of a module-defined...Ch. 15.1 - Describe the make-up of a user-defined structure.Ch. 15.1 - Prob. 20RQCh. 15.1 - Prob. 21RQCh. 15.1 - Prob. 22RQCh. 15.1 - Prob. 23RQCh. 15.2 - Prob. 1RQCh. 15.2 - Prob. 2RQCh. 15.2 - Prob. 3RQCh. 15.2 - Prob. 4RQCh. 15.2 - Prob. 5RQCh. 15.2 - Prob. 6RQCh. 15.2 - Prob. 7RQCh. 15.2 - Prob. 8RQCh. 15.2 - Prob. 9RQCh. 15.2 - Prob. 10RQCh. 15.2 - Prob. 11RQCh. 15.2 - Extend control of the original ControlLogix...Ch. 15.2 - Prob. 3PCh. 15.3 - Prob. 1RQCh. 15.3 - Prob. 2RQCh. 15.3 - Prob. 3RQCh. 15.3 - Prob. 4RQCh. 15.3 - Prob. 5RQCh. 15.3 - Prob. 6RQCh. 15.3 - Prob. 7RQCh. 15.3 - Prob. 8RQCh. 15.3 - Prob. 9RQCh. 15.3 - Prob. 10RQCh. 15.3 - Prob. 11RQCh. 15.3 - Prob. 12RQCh. 15.3 - Modify the original CLX ten-second TON timer...Ch. 15.3 - Prob. 2PCh. 15.3 - Prob. 3PCh. 15.3 - Prob. 4PCh. 15.3 - Prob. 5PCh. 15.3 - Prob. 6PCh. 15.4 - Prob. 1RQCh. 15.4 - Prob. 2RQCh. 15.4 - Prob. 3RQCh. 15.4 - Prob. 4RQCh. 15.4 - Prob. 5RQCh. 15.4 - Prob. 6RQCh. 15.4 - Prob. 7RQCh. 15.4 - Prob. 1PCh. 15.4 - Prob. 2PCh. 15.5 - Prob. 1RQCh. 15.5 - Prob. 2RQCh. 15.5 - Prob. 3RQCh. 15.5 - Prob. 4RQCh. 15.5 - Prob. 5RQCh. 15.5 - Construct a ControlLogix ladder rung with compare...Ch. 15.5 - Prob. 2PCh. 15.5 - A single pole switch is used in place of the two...Ch. 15.6 - Prob. 1RQCh. 15.6 - Name the four basic elements of an FBD.Ch. 15.6 - Prob. 3RQCh. 15.6 - Prob. 4RQCh. 15.6 - Prob. 5RQCh. 15.6 - Prob. 6RQCh. 15.6 - Prob. 7RQCh. 15.6 - Prob. 8RQCh. 15.6 - Prob. 9RQCh. 15.6 - Prob. 10RQCh. 15.6 - Prob. 11RQCh. 15.6 - How is a function block feedback loop created?Ch. 15.6 - Prob. 13RQCh. 15.6 - Prob. 14RQCh. 15.6 - Prob. 1PCh. 15.6 - Prob. 2PCh. 15.6 - Prob. 3PCh. 15.6 - Prob. 4PCh. 15.6 - Prob. 5P
Knowledge Booster
Similar questions
- Design logic circuits that controls an elevator door in a 3 story building. The circuit has a for input lines. M is a logic circuit that indicates when the elevator is moving (M = 1) or stopped (M = 0). F1, F2, F3 are floor indicator signals that are normally low, and they go hi only when the elevator is positioned at the level of the particular floor. For example, when the elevator is lineup level with the second floor F2=1 and F1 = F3 = 0 the circuit output is the OPEN signal which is normally Low and it is to go HIGH when the elevator door is to be openedarrow_forwardallswer sheels A rain predictor circuit is designed based on four factors such as Presence of Cloud(A), Presence of Depression in the seatB), Cyclone formation in the seaC High Precipitation(D). A threshold is fixed for all the above conditions and if the above factors are above the threshold, that is indicated as logiio one and below the threshold is indicated as logic zero. The rain predictor will give a logic zero as output to indicate the probability for rain fall. The following conditions will hold it there is a probability for rainfall, (a) ifD alone is high (b) (A and C are zero and B and D are high )OR ( if A and D are zero and B and C are high) (c) fB alone is zero (d) if A and B are high and C is zero, then irrespective of the value of D, it will rain (e) If all parameters are high. (0 #A alone is zero, the circuit cannot predict whether it will rain or not. (g) For all the other conditions the circuit will predict high. Find out the simplified Product of Sum expression for…arrow_forwardExamine the following for statements and determine how many times each loop will be executed. (a) for ii = -33768:33767 times (b) for ii = 33768:33767 times (c) for kk = 4:6:5 times (d) for jj = ones (7, 7) timesarrow_forward
- Which type(s) of loop would be best to run a weather model for 1000 cycles? A do-while loop A for loop A while loop Either a do-while loop or a while loop Either a for loop or a while loop Either a do-while loop, for loop or a while looparrow_forwardWe can change order of operation precedence usingarrow_forwardExamine the following for statements and determine how many times each loop willI be executed. (a) for ii = -33768:33767 times (b) for ii = 33768:33767 times (© for kk = 3:5:4 times (d) for jj = ones (3, 3) timesarrow_forward
- main.c Test Case 1-input 3, expected output 1 4 7 Test Case 2-input 6, expected output 1 4 7 10 13 16 Test Case 3-input 9, expected output 1 4 7 10 13 16 19 22 15arrow_forwardA conclusion of counter that counts from 00 to 59arrow_forwardmain.c Test Case 1-Input is 36 8 and expected output-Unequal Test Case 2-Input is 42 9 and expected output-Unequalarrow_forward
- Please find the label for M₁ and M₂ using kNN when k = {1,3,5}. + + + + + + M₁ + + + M₂ (please give only the correct solution)arrow_forwardDesign the logic for a program that allows a user to enter 20 numbers then display them in the reverse order of entry. Modify the reverse display program so that the user can enter any amount of numbers up to 20 until a sentinel value is entered.arrow_forwardAfter scattering a 0.80 nm x-ray photon from a free electron, it bounces back at 1.4 x106 m / s. Write the C ++ code that finds the Compton shift in the wavelength of the photon. Write the C ++ code that finds the angle at which the photon scatters.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education