Question

In: Computer Science

Please design a PLC program to perform the following task: An LED will be on when...

Please design a PLC program to perform the following task:

  1. An LED will be on when it’s activated by an NO push button for an accumulated 6 seconds. In other words, the push button can be on and off, but when it’s accumulated for six seconds, the LED will be on.
  2. After six seconds, the LED will be on for four seconds and is then reset itself for another cycle.

Post LogixPro image of this programming

Cascading timer

  1. Assume the maximum allowable time preset is 5 seconds. Please design a cascading timer will activate an LED in 8 seconds.

Solutions

Expert Solution

Solution is attached below.

Details:

I:1/0 NO push button(start button)

T4:0 timer 1(TON)

t4:1 timer 2(TON)

O:2/0 LED

Working:

Rung 000: When NO push button I:1/0 is pressed, it initiates(starts) the TON timer T4:0. The Enable bit (T4:0/EN) becomes active and latches the start circuit, so when the Push button is released the program doesn't stops.

Rung 001: After 6 sec, the Timer 1(T4:0) Done Bit (T4:0/DN) becomes high and starts the second TON timer T4:1 .

Rung 002: When second timer T4:1 starts, it enable bit (T4:1/EN) becomes high and starts the LED( O:2/0) for 4 sec.

Rung 003: After 4 sec, the Done bit(T4:1/DN) of timer 2(T4:1) becomes which reset both the timer 1&2.

Now for another cycle, the NO push button I:1/0 must be pressed again.

NOTE:

please let me know if you need a program for the last two statement also.

Do share your feedback and let me know if you need further explanations


Related Solutions

Write a program fragment (not a complete program) which will perform the following task: The int...
Write a program fragment (not a complete program) which will perform the following task: The int variable m currently contains the number of minutes a basketball player played in their last game. Use an IF statement(s) to print out an appropriate message based on the following: If m is from 35 to 48, print the message "very tired" If m is from 10 to 34, print the message "little tired" If m is from 1 to 9, print the message...
C++ questions, please make sure to dividet he program into functions which perform each major task,...
C++ questions, please make sure to dividet he program into functions which perform each major task, A leap year is defined as any calendar year which meets the following criteria: If the year is not divisible by 4, it is a common year If the year is not divisible by 100, it is a leap year If the year is not divisible by 400, it is a common year Otherwise it is a leap year For your program you will...
C++ questions, Please make sure to divide your program into functions which perform each major task....
C++ questions, Please make sure to divide your program into functions which perform each major task. The game of rock paper scissors is a two player game in which each each player picks one of the three selections: rock, paper and scissors. The game is decided using the following logic: ROCK defeats SCISSORS (“smashes”) PAPER defeats ROCK (“wraps”) SCISSORS defeats PAPER (“slices”) If both players choose the same selection the game ends in a tie. Write a program that asks...
Design a PLC program that satisfies the following conditions (latched interlocks): Momentarily depressing SW1 turns on...
Design a PLC program that satisfies the following conditions (latched interlocks): Momentarily depressing SW1 turns on light 1; light 1 will remain on even after SW1 is turned off. Momentarily pressing SW 2 turns on light 2; light 2 remains on even after SW2 is turned off. Light 2 can only be energized if light 1 is already on. Momentarily pressing SW 3 turns on light 3; light 3 remains on even after SW 3 is turned off. Light 3...
You will write a Java Application program to perform the task of generating a calendar for...
You will write a Java Application program to perform the task of generating a calendar for the year 2020. You are required to modularize your code, i.e. break your code into different modules for different tasks in the calendar and use method calls to execute the different modules in your program. Your required to use arrays, ArrayList, methods, classes, inheritance, control structures like "if else", switch, compound expressions, etc. where applicable in your program. Your program should be interactive and...
Design a PLC ladder logic program to control a stop light. The program should have 3...
Design a PLC ladder logic program to control a stop light. The program should have 3 outputs: RED, YELLOW, and GREEN. The ladder logic should illuminate green for 60 seconds, then yellow for 10 seconds, then red for 60 seconds. The system should also have two sensor inputs: THROUGH_TRAFFIC and CROSS_TRAFFIC which detect when there is through traffic and cross traffic present. If through traffic is detected, and no cross traffic is detected, the system should maintain a green light...
Design a program that will ask the user to input two integer numbers and then perform...
Design a program that will ask the user to input two integer numbers and then perform the basic arithmetic operations such as addition and subtraction. Each calculation is done by a separate function. The main function gets the input from the user, then calls the addition function and the subtraction function one at a time to perform the calculations. Each calculation function (addition or subtraction function) performs an arithmetic operation and then returns the calculation results back to where it...
on plc program(PLC software) (Ladder diagram)basic program on paper is ok if it is drwan on...
on plc program(PLC software) (Ladder diagram)basic program on paper is ok if it is drwan on paper i just need an example to understand and do by myself detail answer is much appreciated thank you Write a short (no more than 2 page) paper on your process and ladder diagram • choose a simple manufacturing process (i.e. conveyor belt, garage door, filling operation, etc.) • process must have the following inputs • A safety factor (such as 2 pushbuttons or...
Task: Craps is a popular game played in casinos. Design a program using Raptor Flowcharts to...
Task: Craps is a popular game played in casinos. Design a program using Raptor Flowcharts to play a variation of the game, as follows: Roll two dice. Each dice has six faces representing values 1, 2, 3, 4, 5, and 6, respectively. Check the sum of the two dice. If the sum is 2, 3, or 12(called craps), you loose; if the sum is 7 or 11(called natural), you win; if the sum is another value(i.e., 4, 5, 6, 8,...
Design a PLC ladder logic program to implement an automatic Car-Wash process. The system should have...
Design a PLC ladder logic program to implement an automatic Car-Wash process. The system should have a start and stop pushbuttons. When a Car enters the washing skid, a load cell switch is activated and the following sequence is performed automatically: 1. Soaping for (20) sec through soap nozzles 2. Washing for (120) sec using big brushes 3. Rinsing for (60) sec using water nozzles 4. Drying for (40) sec using air nozzles After finishing this process, the washing skid...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT