Question: 4 . Write Control TV Write a program to control a TV with a PLC . The TV turns on when X 0 is activated

4. Write Control TV Write a program to control a TV with a PLC. The TV turns on when X0 is activated and latches on. The TV is connected to Y0. The program is to be written so that when the phone rights, the TV turns off. A special sensing circuit listens for the frequency of a ringing telephone. When detected, this device sends out a 24V signal to input X1 to break the latch of output Y0, turning off the TV.5. A burglar alarm is activated by N.O. switches placed on a door X1, and window X2. When the alarm is armed and a door or window is opened, the alarm will latch on. The only way to turn off the alarm is to disable the power or to hit the reset button, X0. To recap: X0-Reset X1-Door switch X2-Window switch Y0-Alarm power Consider the following questions: (1) What happens if the window is opened? (2) What happens if the door is opened? (3) What happens if both the door and window are opened at the same time? (4) How can the alarm be turned off? (5) What could cause the alarm never to turn on?(6) What could cause the alarm never to turn off? (7) How could a burglar get by this system? 6. Microwave Oven A microwave oven has a start switch X1, a cancel or stop switch X0, and a door safety switch X2. The oven will turn on (Y0 on) if the start and the safety switch are both closed and the stop switch is not activated. Consider the following questions: (1) What happens to Y0 when X1 and X2 are activated and X0 is not activated? (2) If the microwave is on and X0 is activated, what happens to Y0?(3) If the microwave never turns on and the start switch is good, what could be wrong with X0 or X2?(4) If the microwave does not turn off when the door is open, what could be wrong? (5) If the microwave oven never turns on after activating X1 and the door is closed, what could be wrong? 7. Write Date or Not? Write a program to determine whether or not to date someone. The criteria are looks, money, family, job, and current to prior mental illness. Let the inputs be as follows: X0-Looks X1-Money X2-Family X3-Job X4-Mental illness Activating any of these inputs will mean they have good looks, money, a good family, a good job, a mental illness. The program should be written so that if the person has good looks and a good family and a good job, but not a mental illness, then the output will turn on, Or if they have money, the output will turn on. Let the output be Y0. Connect to Y0 a 1kohm resistor and a green LED. The status of this light indicates date worthiness. Have the output Y0 turn on if they are date worthy.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!