JZerb

MrPLC Member
  • Content count

    31
  • Joined

  • Last visited

Posts posted by JZerb


  1. so, i have a 120gb ssd in my laptop and i just bought a 250gb msata ssd for it and i would like to just clone the existing drive onto the new one; then use the new one to boot from, save new files to etc.  Leave the 120gb ssd in the laptop and if anything were to ever happen with the 250gb msata ssd, i would have a full backup of my programs, files, etc and HOPEFULLY set myself up to have little to no downtime if a catastrophic issue were to ever arise.  My question is will that mess with the rockwell software that i have installed on the rive currently? I changed the name of the computer a few weeks back, to something a little more grownup since i now use this thing at work on a network that others can see, and i had to do something there to rehost FTA so that it would work again.  Hopefully something like that doesnt need to happen again.    


  2. On 9/23/2016 at 9:39 AM, Richviper44 said:

    Just another tip......

    I have always learned NOT to have a physical input drive a output but drive a internal bit and Proxies / switches should always be debounced with a timer as these can cause grief and strange acting logic which is also very difficult to troubleshoot.

     

    It's funny you say that because as I was writing this I was looking at other ladders that have been written by experienced programmers for my company in the past and it seemed as if it was done  it the way you described. I just wasn't sure if there was a rhyme or reason for doing it one way or another. 


  3. when i combined the two rungs from the first picture i also changed how the program was going to function a bit, which is why they dont match exactly as you pointed out.  its functioning as it should as of now so hopefully i will be good.  thanks for the insight! the more i learn the better here, i just want to make sure im writing things properly in the end like i said; not JUST getting them to function 


  4. so.  two more things to make sure i understand properly here.  i modified the _REV_  ladders that i had written so that its just one rung now to set the output for LIFT_REV.  I assume thats the way to do things(?), as you can see in the first picture the LIFT_REV output could be set at the end of either of those rungs, so i figured to make it less confusing i wrote it so that there was only one rung to follow in order to see how the LIFT_REV OTE was set.  

    Secondly.  The Slue Brake section of the program i have screen shotted here as well.  I know things get read from top to bottom in the program, so im assuming it is ok to have that XIO bit B3:3/0 being turned on and off by an OTE thats in the rung below it?  is there a better way to do it if this isnt it?  

    5391_REV_MOTOR_LADDER.jpg

    5391_REV_MOTOR_LADDER_REVISED.jpg

    5391_SLUE_BRAKE_SETUP.jpg


  5. On 9/19/2016 at 1:06 AM, panic mode said:

    about first: that is ok

    about second: i see LIFT_FWD but not LIFT_REV so cant help much but... are you aware of difference between OTE and OTL/OTU on powerup? you can use OTE to seal-in output and behave 'like' latch but it is not exactly the same, on powerup any OTE is reset while OTL/OTU are left in the last state. just make sure that your logic works for all scenarios as intended - even if there is a power loss. 

    i added the REV section of the ladder above.  Thank you all in here that have given advice.  its much appreciated.  

     

    and yes, i have seen in our systems where they are programmed if say someone hits the Estop button a certain number of times...the machine will cease to work until a phone call is made.  im trying to learn and program the best i can for any and all situations that an operator may "put" a machine into.  


  6. So, i have been reading some downloadable PDF's, online literature, and watching plenty of YouTube videos to try and teach myself RSLogix 500 in the recent months.  I was finally able to take a stab at programming something at work this week, and it actually all worked in the end!  But i have a few questions regardless, because in my eyes just because something works doesn't always mean i did it properly; or more or less if i did it the 'safe, proper' way.  Hopefully i can get some answers to my questions here.  

    Firstly.  If you have a rung in say SBR4 that sets a Latched bit on an Output, and that Latched bit is needed for something to happen earlier on in the program, in say SBR2; is that ok?  I know the PLC is constantly scanning through the ladder and very quickly, so i assume its going fast enough for it to not matter but i just want to be sure.  

    Secondly.  Screenshot of the section of ladder that i have a question about is attached.  Ill explain what has to happen as best i can.  hold a mom pushbutton (forward SS) and  lift goes up, it hits a NC prox switch (PRS422) and then at that point the LIFT_FWD function temporarily gets knocked out until the invert motor inverts a drum, at which point the drum is either inverted or upright in order for the lift to continue on its path.  as i said, the way i have it written works, but i just want to make sure thats the way it should be done.  i assume that different people do things different ways, but i would like to know if im on the right path to properly learning and executing this, or if i should be doing it a different way.  thank you

    5391_1.jpg

    5391_2.jpg

     

    5391_4.jpg

    5391_5.jpg