Question

In: Computer Science

Please perform the following tasks using a Timer Control: When an NO Push Button (I:0/0) is...

Please perform the following tasks using a Timer Control:

  1. When an NO Push Button (I:0/0) is pressed (I0) and released, a Pilot Light (O:0/0) will be on and after 7 seconds (T4:0), a single-active cylinder will be pushed forward.
  2. The piston will remain at its position for another 5 seconds (T4:1) and then it will automatically retract. The pilot light will be off and the timer will also be automatically reset. The whole cycle can then be repeated.

Solutions

Expert Solution

Answer :

a)Inputs & outputs :

1 : 0/0 No pushbutton

M : 0/0    Memory bit

T4 : 1 on delay timer

T4 : 0 on delay timer

0 : 0/0    Pilot light

0 : 0/1    Cylinder relay

b) Once No button is pushed and released it try on the memory bit which gets Latched. Afterward this memory bit turn on the pilot light and also Time (T4:0).

Timer counts for 7 seconds and then turn on cylinder spread and also (T4:1).

Which counts for 5 seconds and rearrange all.


Related Solutions

Construct a VI that uses a round push button control to turn on a square light...
Construct a VI that uses a round push button control to turn on a square light indicator whenever the push button is depressed. By using LABwiew software
3. Using the information below, perform the following tasks: Account Receivables Not Past Due 0-31 days...
3. Using the information below, perform the following tasks: Account Receivables Not Past Due 0-31 days Past Due 31-60 days Past Due 61-90 days Past Due + 90 days Past Due 350,000 175,000 83,000 38,000 12,000 Percentage of not collecting 2% 8% 22% 58% 78% Calculate the estimated amount of receivables that might not be collected Perform the adjustment(debit/credit) using the allowance method.
A study measured how fast subjects could repeated push a button when under the effects of...
A study measured how fast subjects could repeated push a button when under the effects of the caffeine in Mountain Dew soda. Subjects were asked to push a button as many times as possible in two minutes after consuming the soda. During another test session they were asked to push the button after drinking a placebo. The subjects did not know which treatment they were administered each day and the order of the treatments was randomly assigned. The data, given...
Using the following code perform ALL of the tasks below in C++: ------------------------------------------------------------------------------------------------------------------------------------------- Implementation: Overload input...
Using the following code perform ALL of the tasks below in C++: ------------------------------------------------------------------------------------------------------------------------------------------- Implementation: Overload input operator>> a bigint in the following manner: Read in any number of digits [0-9] until a semi colon ";" is encountered. The number may span over multiple lines. You can assume the input is valid. Overload the operator+ so that it adds two bigint together. Overload the subscript operator[]. It should return the i-th digit, where i is the 10^i position. So the first...
This is a atmega128 source to make a clock using the timer interrupt. I want to...
This is a atmega128 source to make a clock using the timer interrupt. I want to add source if i press switch (PIND==0x0FE&&PIND==0x0FD) then below program would be running . #include<io.h> int position=0,BJT[4]={0xFE,0xFD,0xFB,0xF7}; int number=0,segment[10]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90}; int msec=0, sec=0, min=0; void main() { DDRA=0xFF; PORTA=0XFF; DDRB=0xFF; PORTB=0xFF; TCCR0=0x04; TIMSK=0x01; SREG=0x80; while(1){} } interrupt[TIM0_OVF]void timer0_ovf_isr() { TCNT0=0x06; PORTA=BJT[position]; if(position==0)number=sec%10; if(position==1)number=sec/10; if(position==2)number=min%10; if(postion==3)number=min/10; PORTB=segment[number]; position++; if(position>3)position=0; msec++; if(msec==1000) { msec=0; sec++; } if(sec==60) { sec=0; min++; } if(min==60)min=0; }
Using the Adjusted Trial Balance for merchandising company, perform the following tasks: Prepare an Income Statement...
Using the Adjusted Trial Balance for merchandising company, perform the following tasks: Prepare an Income Statement in multiple-step format with subtotals for net sales, gross profit, income before taxes, and net income. (20 points) Calculate Gross Profit Margin. (5 points) Tower Corporation Adjusted Trial Balance at 31 December 2019                                                               Debit               Credit Cash                                                       7,590             Accounts Receivable                              5,910 Merchandise Inventory                            4,870 Prepaid Insurance                                   2,550             Equipment            ...
The employees at Table Manufacturing perform the following tasks as indicated in Table A and Table...
The employees at Table Manufacturing perform the following tasks as indicated in Table A and Table B. Employee A Roles and Responsibilities Employee B Roles and Responsibilities Reports to CFO Reports to CFO Raises capital through issuing stocks and bonds General financial accounting General managerial accounting Tax preparation Which of the following is the role of Employee A and Employee​ B?
Typed please. Discuss timer features, setup, control, and task provided. What is pulse width modulation? What...
Typed please. Discuss timer features, setup, control, and task provided. What is pulse width modulation? What are key items to consider to configure and to control the pulse width modulator?
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: 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. 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 Assume the...
For this case study assignment, perform the following tasks: 1. Select an American company with a...
For this case study assignment, perform the following tasks: 1. Select an American company with a worldwide presence (examples: Starbucks, McDonalds, Walmart). 2. Do research on the worldwide economic crisis of 2008 and in particular, focus on the company selected. 3. Discuss how your chosen company faired in the economic crisis of 2008. 4. Discuss the microeconomic implications of the crisis on your company. 5. Discuss whether your company was immune or not immune to the crisis 6. Discuss the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT