
Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 4, Problem 4P
Explanation of Solution
a.
Data stored in the destination address of AND operation:
- In AND operation, the output is always HIGH when all the inputs are HIGH and the output is LOW when any of the inputs are LOW.
- The AND operation of two inputs “Source A” and “Source B” is given below. Here, the result is stored in destination address.
- If both the inputs “Source A” and “Source B” are 1, then the output 1 will be displayed on the destination.
- Otherwise, if either of the inputs “Source A” or “Source B” is 0, then the output 0 will be displayed on the destination.
Source A:
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 |
Explanation of Solution
b.
Data stored in the destination address of OR operation:
- In OR operation, the output is always HIGH when any of the inputs are HIGH and the output is LOW when all the inputs are LOW.
- The OR operation of two inputs Source A and Source B is given below. Here, the result is stored in destination address.
- If either of the inputs “Source A” or “Source B” are 1, then the output 1 will be displayed on the destination.
- Otherwise, if both the inputs “Source A” and “Source B” are 0, then the output 0 will be displayed on the destination.
Source A:
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 |
Explanation of Solution
c.
Data stored in the destination address of XOR operation:
- In Exclusive-OR (XOR) operation, the output is always HIGH when either of the inputs is HIGH and the output is LOW when all the inputs are either HIGH or LOW.
- The XOR operation of two inputs Source A and Source B is given below. Here, the result is stored in destination address.
- If either of the inputs “Source A” or “Source B” are 1, then the output 1 will be displayed on the destination.
- Otherwise, if both the inputs “Source A” and “Source B” are 0 or 1, then the output 0 will be displayed on the destination.
Source A:
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 |
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
I need to define and discuss the uses of one monitoring or troubleshooting tool in Windows Server 2019. thank you
I would likr toget help with the following concepts:
- Windows Server features
- Windows Server versus Windows 10 used as a client-server network
I need to define and discuss the uses of one monitoring or troubleshooting tool in Windows Server 2019. thank you
Chapter 4 Solutions
Programmable Logic Controllers
Knowledge Booster
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
- Please solve and answer the questions correctly please. Thank you!!arrow_forwardConsidering the TM example of binary sum ( see attached)do the step-by-step of execution for the binary numbers 1101 and 11. Feel free to use the Formal Language Editor Tool to execute it; Write it down the current state of the tape (including the head position) and indicate the current state of the TM at each step.arrow_forwardI need help on inculding additonal code where I can can do the opposite code of MatLab, where the function of t that I enter becomes the result of F(t), in other words, turning the time-domain f(t) into the frequency-domain function F(s):arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrA+ Guide to Hardware (Standalone Book) (MindTap C...Computer ScienceISBN:9781305266452Author:Jean AndrewsPublisher:Cengage LearningSystems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
- A+ Guide To It Technical SupportComputer ScienceISBN:9780357108291Author:ANDREWS, Jean.Publisher:Cengage,COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage

C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr

A+ Guide to Hardware (Standalone Book) (MindTap C...
Computer Science
ISBN:9781305266452
Author:Jean Andrews
Publisher:Cengage Learning

Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning

A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage