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 10, Problem 13RQ
Program Plan Intro

Data comparison instructions:

  • Data comparison instructions refer to input instructions.
  • It is used to compare two numerical data values and take decisions based on the program instructions.
  • It can also be used to check the numerical value pairs for determining if a rung is true.
  • The basic set of data comparison functions performed by PLCs are as follows:
    • Equal to (=)
    • Not equal to (!=)
    • Less than (<)
    • Greater than (>)
    • Less than or equal to(<=)
    • Greater than or equal to (>=)
  • The above given compare instructions are used to compare the values of source A and source B.

Terms used:

The following terms are used in the instruction.

  • Source A
    • Source A refers to the address of the first piece of data that is used in the instruction.
  • Source B:
    • Source B refers to the address of the second piece of data that is used in the instruction.

Explanation of Solution

b.

LESS THAN instruction:

  • The LESS THAN (LES) instruction is used to test whether the given value is less than the other value or not.
  • If the given value such as Source A is less than Source B, then the instruction is logically true. Otherwise, the given instruction is logically false.

Explanation:

In the given logic rung,

  • The output D is energized whenever input C is true...

Explanation of Solution

c.

GREATER THAN OR EQUAL instruction:

  • The GREATER THAN OR EQUAL (GEQ) instruction is used to test whether the given value is greater than or equal to the other value or not.
  • If the given value such as Source A is greater than or equal to Source B, then the instruction is logically true. Otherwise, the given instruction is logically false.

Explanation:

In the given logic rung,

  • The output F is energized whenever input E is true...

Blurred answer
Students have asked these similar questions
Develop a logic circuit necessary to meet the following requirements: In a certain chemical-processing plant, a liquid chemical is used in a manufacturing process. The chemical is stored in three different tanks. A level sensor in each tanks produces a HIGH voltage when the level of chemical in the tank drops below a specified point. Design a circuit that monitors the chemical level in each tank and indicates when the level in any two of the tanks drops below the specified point. The design must include a chip with logic gates and  also be written with VHDL code.
Consider the ASM CHART. Design only the control logic of the system. Answer the following:  Design the control with multiplexers, a register, and a decoder.
Q ( 5 Find a ready-made combined logic circuit description or write it yourself directly. The module should have at least 4 ports, and at least one port should be 8-bit. Then verify with UVM using this module as DUT (Design Under Test).SystemVerilog hardware description language should be used.
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
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education