PLC logic

Greg, the numbers are just showing how the output lamp will be affected by the inputs. It describes how pressing a button turns on a lamp. Releasing the button then pressing it again will turn the lamp off. It describing a toggle operation.

I also suspect there is a typo on the third description since it should be the same as the first. When the finger is released the lamp should remain on.
 
Greg, the numbers are just showing how the output lamp will be affected by the inputs. It describes how pressing a button turns on a lamp. Releasing the button then pressing it again will turn the lamp off. It describing a toggle operation.

I also suspect there is a typo on the third description since it should be the same as the first. When the finger is released the lamp should remain on.


I understand now them questions made it seem a lot different.
 
Just use Do-More Designer. Much easier that way.

gVS35ae.png
 
Read the scope again, that would work for 1 and 2 but not 3

1) When we press push-button light comes on and we took off a finger from a push button and light stays on.

2) When we again press that same push button, the light goes off and when we take off a finger from a push button it stays off.

3) Again when we press a push button, the light comes on and when we take off a finger, a light goes off.

DWF said:
Just use Do-More Designer. Much easier that way.

Same that will not work for number 3
 
patelaksh30 Hi, and welcome to the forum. I like to see these homework or interview questions--when I'm not busy, keeps me sharp. I have a PLC on my desk, so I wrote the logic to do exactly as you wrote what they wanted--Push once and let go, light stays on. Push again and let go, light goes off. Push and hold, light is on, let go, goes off. Repeats like that indefinitely.
4 rungs. Everyone programs differently, and it may be "clunky" but it works. If someone gives me a restriction on how I write logic, then I don't want to work with them. I had to take a 1 hour timed test once, had to populate a rack, write logic, PID's, AOI's UDT's for a hot water pump process. I don't know too many people that could do all of that in an hour, and they told me one probably couldn't, but they just wanted to see how you think and how quickly you can get to a certain point.

Anyway, good luck with your job search. I wish you the best in your career. These pros on this site will help you but not do it for you. They have gotten me out of many a jam.
 
When I first started programing I did with counters and a lot of **** but it worked, I have even came across some of my old programs and get a laugh at what I had done. Now I use this alot.
 

Similar Topics

Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
26
Views
308
I have a machine which is undergoing upgradation. As part of the process two SEW drives are being replaced., existing Gen B with new Gen C. The...
Replies
3
Views
183
Hello I need to message read the entire 16 channel raw analog inputs from a 1769-L33ER Compact Logic controller to another 1769-L33ER Compact...
Replies
8
Views
240
Hello, I have problem i'm working on boiler plc, but i get to the problem that i can't solve myself. I have problem with material gate. I need to...
Replies
2
Views
347
Hey, I am entirely new to PLC's and am trying to help my friend with a project. He wants to take the signal from a PNP photoelectric sensor as...
Replies
12
Views
2,229
Back
Top Bottom