Jump to content

Recommended Posts

Posted
Ok guys here is the part of project one that i needed help with, and got chastized for not giving the complete program specs from another plc forum, however this step is the step i need the most hep with and should work according to spec regardless of what the other steps are. after I get this part working as sepcified i wll post the entire project and my solution to the problem at hand. .this Is my interpretation of the specs which seem to have been a big diasagreement, that i totally agree with because i had to get more specific info from the instructor before i could comprehend what was required here is exactly what the specs say. when the reverse switch is made and lights (lights mean switches according to the instructor...lol) 1 and 2 are on output 1 will be off and remain off until light 3 is made, output 1 will remain on after light 3 is turned off as long as lights 1 andd 2 are off. ( tought to read between the lines huh?) However after conversations with the instructor the quoted statement is what actually needs to happen and here is my solution. please critique and advise
Posted (edited)
No where in the spec does it say that the light 1 is allowed to come on when either sw1 or sw2 are off (no matter what sw3 is). My tendency would be to try this: --] [---+---] [------] [------] [---+---( ) rev | sw1 sw2 sw3 | L1 | | +---] [------]/[------------+ L1 turn off --] [------]/[---]/[---]/[---( ) rev sw1 sw2 sw3 turn off Edited by jstolaruk
Posted (edited)
That last statement in the spec is tricky. I need to revise it now that I looked at it some more: --] [---+---] [------] [------] [---+---( ) rev | sw1 sw2 sw3 | L1 | | +---] [--+---]/[------------+ L1 | turn off | | | +---]/[---]/[------+ sw1 sw2 --] [---+--] [---+---]/[---( ) rev | sw1 | sw3 turn off | | +--] [---+ sw2 Edited by jstolaruk
Posted (edited)
And one more time to simplify. --] [---+---] [------] [------] [---+---( ) rev | sw1 sw2 sw3 | L1 | | +---] [------]/[------------+ L1 turn off --] [---+--] [---+---]/[---( ) rev | sw1 | sw3 turn off | | +--] [---+ sw2 How's that look? Edited by jstolaruk
Posted
Sparky I realize no where in the spec does it say that light one was on with just inout 3 but after quizing the instructor that is what he wanted, go figure huh Question about your code? what is the output that you have labeled turn off, I mean is that just an internal bit used to tun off output 1? Thanks a bunch for your help
Posted
The title you refer to depends on the number of post you have unless you give yourself your own title Hi, I'm New! <5 Newbie 5 Sparky 10 Expert (I think) 500 Propeller Head 1000 After that who knows, I'm guessing the next step is 5000

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...