Question: 4 . Write Control TV Write a program to control a TV with a PLC . The TV turns on when X 0 is activated
Write Control TV Write a program to control a TV with a PLC The TV turns on when X is activated and latches on The TV is connected to Y 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 V signal to input X to break the latch of output Y turning off the TV A burglar alarm is activated by NO switches placed on a door X and window X 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, X To recap: XReset XDoor switch XWindow switch YAlarm power Consider the following questions: What happens if the window is opened? What happens if the door is opened? What happens if both the door and window are opened at the same time? How can the alarm be turned off? What could cause the alarm never to turn on What could cause the alarm never to turn off? How could a burglar get by this system? Microwave Oven A microwave oven has a start switch X a cancel or stop switch X and a door safety switch X The oven will turn on Y on if the start and the safety switch are both closed and the stop switch is not activated. Consider the following questions: What happens to Y when X and X are activated and X is not activated? If the microwave is on and X is activated, what happens to Y If the microwave never turns on and the start switch is good, what could be wrong with X or X If the microwave does not turn off when the door is open, what could be wrong? If the microwave oven never turns on after activating X and the door is closed, what could be wrong? 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: XLooks XMoney XFamily XJob XMental 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 Y Connect to Y a kohm resistor and a green LED. The status of this light indicates date worthiness. Have the output Y 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
