Programmable Logic Controllers
5th Edition
ISBN: 9780073373843
Author: Frank D. Petruzella
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 11, Problem 12P
Program Plan Intro
Count-Up (CTU) Counter:
- The CTU counter refers to an up counter
- This counter is used to count an event that occurs logically or externally and places that value in the counter’s accumulator.
- The accumulated value can even be maintained during false rung conditions and can be reset back to 0 using reset instruction.
Math functions:
The basic math functions performed by PLCs are as follows:
- Addition
- This function is used to add one piece of data to another.
- It is also called as ADD.
- Multiplication
- This function is used to multiply one piece of data by another.
- It is also called as MUL.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Python program
Write a program to create a count down timer and you have to make a function for that and the time must be given in seconds
6. Develop a program as below conditions with any PLC languages.
Input 1: Cylinder 1 reed switch extend signal
Input 2: Cylinder 1 reed switch retract signal
Input 3: Push Button
Output 1: Cylinder 1 solenoid valve
• Output 2: Lamp Indicator (Green)
Condition:
Step 1: Push button pressed and released
Step 2: System start count down 5 seconds and lamp indicator start blinking with
1 second interval
Step 3: After 5seconds, lamp indicator stop blinking and turn to always ON.
Step 4: Trigger cylinder extend and check extend sensor on for 1 second
Step 5: Trigger cylinder retract and check retract sensor on for 1 second
Step 6: Counter +1
Step 7: Repeat step 4 to step 6 until counter equal or more than 5.
Q1-a : Using ST PLC programming language. Write program segment that return
the value of Y for any value of X according to the function shown in Fig.1.
1-
Fig.1
10
Chapter 11 Solutions
Programmable Logic Controllers
Ch. 11 - Explain the function of math instructions as...Ch. 11 - Prob. 2RQCh. 11 - What standard format is used for PLC math...Ch. 11 - Prob. 4RQCh. 11 - Prob. 5RQCh. 11 - Prob. 6RQCh. 11 - Prob. 7RQCh. 11 - Prob. 8RQCh. 11 - Prob. 9RQCh. 11 - Prob. 10RQ
Ch. 11 - With reference to the instruction of Figure 11-34,...Ch. 11 - With reference to the instruction of Figure 11-35,...Ch. 11 - Prob. 1PCh. 11 - Prob. 4PCh. 11 - Prob. 5PCh. 11 - Prob. 7PCh. 11 - Prob. 8PCh. 11 - With reference to math instruction program shown...Ch. 11 - With reference to the math instruction program...Ch. 11 - Prob. 11PCh. 11 - Prob. 12P
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
- Question Write ONE (1) program and execute it to the simulator according to the information given below: -. (a) Make a main program to count down to seven segments from 99-00. (b) If the RST5.5 button pressed, the seven segment will show “HELLO". (c) If the TRAP button pressed, the counter on seven segments will reset to 00. Your answerarrow_forwardThe program counter changes after every instruction. True Falsearrow_forwardS-O-S is an internationally recognized distress signal. It consists of a sequence of 3 short signals, followed by 3 long signals, followed by 3 short signals, and then a pause. This pattern is then repeated over and over (indefinitely). Write an Arduino program that blinks the onboard LED in this manner. Your challenge is to turn the LED on no more than 3 times in the loop function.arrow_forward
- Write a program to create a countdown timer.arrow_forwardQuestion : You have a bowl on your counter with an even number of pieces of fruit in it. Half of them are bananas and the other half are apples. You need 3 apples to make a pie. Your task is to evaluate the total number of pies that you can make with the apples that are in your bowl given the total amount of fruit in the bowl. Answer : Step 1 (IPO) Input Process Output 1. 2. Step 2 (Determine the type of control structure) What is the type of control structure for this question?arrow_forward(Mechanics) The deflection at any point along the centerline of a cantilevered beam, such as the one used for a balcony (see Figure 5.15), when a load is distributed evenly along the beam is given by this formula: d=wx224EI(x2+6l24lx) d is the deflection at location x (ft). xisthedistancefromthesecuredend( ft).wistheweightplacedattheendofthebeam( lbs/ft).listhebeamlength( ft). Eisthemodulesofelasticity( lbs/f t 2 ).Iisthesecondmomentofinertia( f t 4 ). For the beam shown in Figure 5.15, the second moment of inertia is determined as follows: l=bh312 b is the beam’s base. h is the beam’s height. Using these formulas, write, compile, and run a C++ program that determines and displays a table of the deflection for a cantilevered pine beam at half-foot increments along its length, using the following data: w=200lbs/ftl=3ftE=187.2106lb/ft2b=.2fth=.3ftarrow_forward
- Design the logic for a program that calculates the projected cost of an automobile trip. Assume that the user’s car travels 20 miles per gallon of gas. Design a program that prompts the user for the number of miles driven and the current cost per gallon. The program computes and displays the cost of the trip as well as the cost if gas prices rise by 10 percent. The program accepts data continuously until 0 is entered for the number of miles. Use appropriate modules, including one that displays End of program when the program is finished. Use pseudocode and flowchart in designing the logic.arrow_forward9 LABVIEW: Write a program that records the number of times each number 1 to 6 occurs by multiplying and rounding the value coming from a random number dice. Read the total number of dice rolls as input values, and record the number of occurrences of each number 1 to 6 as output values after the last dice roll is finished. Use only one shift register. labview diagram pls ...arrow_forwardThe following is true or false: In a multimodule programme, an END statement with a label occurs just once, in the beginning module.arrow_forward
- A program will be written in assembly language for a fan. The desired features of the fan are as follows: The fan should be able to turn on and off at any time according to the information coming from the serialport. For example; When the 'A' character is received, the fan can be turned on and when 'K' is received, itcan be turned off. The fan should be set to default values when a shutdown request is made. (Note: Useinterrupt for serial port.) When the fan operates, the fan should rotate at a default speed, and the speed of the fan should be adjustedwith a button that can change the speed in 3 stages (For example: 1st stage can be adjusted at 30% speed,2nd stage at 60% speed, and 3rd stage at 90% speed.) Timer setting is also provided by a button and each press of the button must start the countdown timer in 30minute increments and the fan must be turned off when the timer resets. (It can be set to a maximum of 120minutes and if the button is pressed again while the time-set is at…arrow_forwardThis is a good module name: processDataAndDisplayOutput() A) TRUE B) FALSEarrow_forwardWhich 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_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 Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr