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...
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...
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...
Design a program which uses functions to sort a list and perform a binary search. Your...
Design a program which uses functions to sort a list and perform a binary search. Your program should: Iinitialize an unsorted list (using the list provided) Display the unsorted list Sort the list Display the sorted list. Set up a loop to ask the user for a name, perform a binary search, and then report if the name is in the list. Use a sentinel value to end the loop. Do not use the Python built in sort function to...
You have been invited to assemble a task force to design a medication assistance program. You...
You have been invited to assemble a task force to design a medication assistance program. You need to submit a proposal, regarding who you would invite, to the CEO. Consider the perspectives of prescribers, discharge planners, financial navigators, patients, suppliers, book keepers and subsidizers. If you were to seek the input of 5-7 stakeholders, who would you invite to the planning table, and why? Consider the need for a group facilitator. Who would that person be, and why?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT