MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by

  1. Why (U) an OTE?

    Sorry I have to respectfully disagree on this.  There is nothing that can be done with the OTU in the situation you mention that could not be done on the rung with the OTE. 
  2. Why (U) an OTE?

    I agree that are uses for the OTU with HMI and SCADA interfaces, but there would be no need for an OTE in such a case.  In addition there should be one OTU with all the conditions grouped on that rung.  That's why OTL/OTU's can be evil!  People place them all over the program and it ends up making one giant mess.  Unfortunately he probably has one of these programs that has evolved over the years with a little here and a little there programming and no attention to the program as a whole.  Nothing like the patched patch of a patch to make your day interesting.
  3. Why (U) an OTE?

    There is no advantage to doing that.   I have seen it before and it screams poor programming practices.  Keep in mind that if you are using a PLC5 or SLC the outputs are not updated until the ladder scan is complete.  In your case, the last unlatch wins.  That can get very ugly.  If you move a rung in your program you can possibly break the program so be very careful with what you do in that program.  That said, I would be looking into the program to see how I could eliminate the OTU's if it were my program.  Keep in mind that depending on the program it could get very tricky. 
  4. DF1 and PLC5 vs SLC500

    I would think that even if the registers were different in the PLC5 versus SLC (ie swapped bytes or something), you would at least get a garbled number.  As I understand you are not getting anything.  That said, even though the cable he posted is wrong, he mentions getting online via RSLinx with autoconfig.  If he has been online with the PLC5 via his cable, then it should be correct. 
  5. studio 5000 ultilzation chalenge

    Ideally you would have some sort of SCADA system that would log downtime events and be setup with scheduled runtime for your machine.  As has been mentioned, you are basically being asked to achieve a poor mans OEE.  As you mention, keeping track of machine run versus stop time is pretty easy.  Joe mentions using the system clock to avoid issues with powering down the controller.  You may also want to add an additional variable to be stored.  Possibly a daily expected runtime number that would allow you to calculate some basic OEE number that has some meaning.  Just logging up and downtimes doesn't let you know if the machine is operating outside its expected run periods (ie, planned downtime versus unplanned downtime). 
  6. DF1 and PLC5 vs SLC500

    Are you sure your communication parameters are correct.  It looks from your text that you are sure about the cable.  The periodic comm light flashing seems to me like a comm port that is trying to connect but not achieving a good connection.  Can you connect up a PC to this port and get online just to insure the cable and comm parameters are correct?
  7. RSLogix5 Analog Scaling

    Actually Michael the SLC isn't from this century either!  LOL
  8. RSLogix5 Analog Scaling

    If you are using the PLC5 you have to scale old school.  Since both of your ranges start at 0 (raw and scaled) then it makes things a little easier.  You can scale at the card level but you lose resolution.  Just use a compute block.  The raw input from an IFE defaults to 0-4095.  0 for 4 ma and 4095 for 20ma.  Hopefully you already have the data transfer from the IFE in the program or it gets a lot harder.  The data from the IFE transfers via a Block Transfer Read (BTR).  You should be able to go into the BTR setup and see the data address associated with your input.  It will be an integer data file such as N7:0.  You can use a compute block (CPT) to do the math.  You will divide your input by 4095 and multiply the result times 50 for your new scale (N7:0/4095*50).  Your destination should go to a floating point such as F8:0.  If your block transfers are not setup then you will probably need to spend some time with the books to get that one figured out. 
  9. SLC5/05 in unmatched chassis

    Ack!  I guess I have been using micrologix controllers too much lately!  I did a quick check before my post but didn't realize that project was a micro.  Glad Mickey stepped up to cover my tracks!  (or any other appropriate word that might go there)
  10. SLC5/05 in unmatched chassis

    Just go into the I/O configuration and click on advanced config for the module that is not there (or double click on it).  You will see a check box "ignore configuration error."  Check that box and you should be able to run your program without faults.
  11. Flex I/O Rack

    Sounds like you are going in the right direction.  The flex is an older remote i/o system but it is solid and I prefer it over point I/O or remote racks.  If you use the AENT communication module then you can just drop it off of an ethernet I/P connection which is fairly straight forward.  In addition to the I/O modules, you will need compatible terminal bases such as the TB3.  Each I/O module will need to be evaluated for compatibility to the proper terminal module, but the I/O documentation is detailed about which modules pair with which terminal blocks.  I would stay away from the 32 point modules as the wiring is less straight forward.  The 16 point discrete modules and 8 point analog modules make wiring pretty intuitive.  You get 8 modules per drop so you will need to plan accordingly on that. 
  12. Clearing a bunch of counters at once

    You need to use the RES instruction just like the 5000, but you cannot put them in series.  You will have to put them on parallel branches if you want them on a single rung.    
  13. Yeah I guess part of the problem is that none of us can figure out why the logic you have shown would not do what you say you need.  If what you shown is not working then you need to take a another look at armadillo's post.  Maybe you have used the timer somewhere else in your logic?  In addition to the deadband you can also just latch in or better yet seal in your alarm output once it trips.  Reset it with an alarm acknowledge button or something.  Also your logic shown does not compare the float with 20 it compares with the value in N7:2 which is shown on your pic to be 0.
  14. So the timer does time, but the signal still bounces?  Are you saying that the signal will never be under 20% for 5 seconds due to noise or some other factor?  The logic you have shown should be timing given what you have in the pic.  Does it time if N7:0 is set to 20?  Have you tried as Armadillo mentioned jumpering around the leq instruction?  That would eliminate other issues as he mentioned if the timer starts timing.  If not then the problem is with duplicate timers or other issues he mentions. If your signal is jumping to the point that it will not stay below 20 for 5 seconds then you could use two different values for hysteresis.  Say go below 20 to start the timer and go above 25 for it to stop.  Or maybe something needs to be done to fix a noise problem?  I think we need more info on this.
  15. Set of instructions or labs for Noob?

    Kaiser, The problem I have with Rockwell's labs is that they are designed to get you in and out in an hour thus they hold your hand through the entire process.  I think that works ok for us experienced guys, but new programmers have to learn the struggle and work through creating a program without all the hand holding.  That't the biggest problem I have with all of the manufacturer's training programs.  They lead you through everything to make sure they can cover the material in the time allotted.  For me and you that's OK.  I know I am generally just looking for the new stuff that has come out when going through one of those labs.  New programmers end up being as lost at the end as they were in the beginning.  Having to program with a nudge or two is the only way I know for someone to actually learn to really program.  That's why we offer the mentoring approach.  I think most experienced programmers on here can point to at least one mentor that has helped us along the way. 
  16. Set of instructions or labs for Noob?

    You are welcome to checkout our PLCMentor site.  We have training in the ControlLogix with programming exercises.  We allow you to submit a number of programs for review which allows you to get expert advice on your progress.  We also have a good library arranged by instructions or topic so that it is easy to review an instruction or learn about a new instruction.  Our site was designed for guys like you that either can't get away for a week or do get to go for a 3-5 day training session and come back to all the stuff that piled up while gone.  Generally by the time that new knowledge gets a chance to be applied, half of it has leaked out!  Our training is all self paced and there is a weekly web class for our Stage 3 subscribers that is used as a question and answer session.  In that class you can bring programs from your facility to discuss or just ask for help with something you are programming or trying to figure out. 
  17. SLC5/03 RSLogix 500 Rack config error

    So I gotta say - I've heard of panels being called a rat's nest, but I thought it referred to the wiring.  Who knew?
  18. SLC5/05 1747-L553 intermittent loss of communication

    Havent seen that, but I have seen where a device such as the PLC can get overloaded on a network without a managed switch. 
  19. Copy data value from one PLC to another using PanelView

    So I guess I'm missing how this is a solution.  If the 1500 comms lock up then how would using a PV to transfer the number help since the comms would be locked up to the PV also?  If necessary I think you could trigger a simple macro to transfer the value of one tag to another.  Tag1 on 1100  and Tag 2 on 1500.  Alternatively, as kaiser suggests, you may want to delve into your comms problem some more.  Do you have a managed switch on your network?  I have used eni's with 1500's in the past without communications drops.  Without a managed switch the eni may be getting flooded with unnecessary messages that such a switch would filter out.  I know that VFD's have a low tolerance for this and will just stop communicating.  The eni may be siimilar though I have not seen it personally. 
  20. Virtual Machines

    Ive never had good luck with unity mode - period.  Something flaky always happens so I just gave up and put it on a second monitor.
  21. RS Logix Designer Tags

    Yeah I never could figure out what the purpose was behind this and never saw any real answers to the questions being asked so I just threw in the towel. 
  22. RS Logix Designer Tags

    I think you are missing my request concerning what you want to achieve.  Are you trying to edit an existing EDS file from a device manufacturer to make it format the data in a different way?  Your EDS doesn't list a vendor.  Or are you trying to use an EDS for something entirely different?  I really don't get why you would be trying to make a custom EDS file for this.  It seems to me that what you want to do is achievable by some simple logic.  Maybe if you are worried about customer interface, making a simple AOI would be better suited.  Maybe someone else here gets what you are trying to achieve better than me.
  23. RS Logix Designer Tags

    I do not think there is a way to do this; however, maybe we should discuss why you want to do it and see if there is an alternative. 
  24. Micrologix 1400 reverting to Remote Mode on its own

    No run mode would not have mattered.  You can add logic to handle some faults but if you have I/O that is not accessible to the processor then it is a problem that needs to be addressed.
  25. Popular HMI/SCADA Software Suites?

    Adam, looks like you have been left hanging.  I would suggest Inductive Automation's Ignition for a SCADA to learn.  It seems to be gaining market share and is a very capable system.  It is also very different from WW so it would give you a feel for something different.  With HMI's I would recommend RedLion HMI's.  Great interface at good prices.  The best thing about learning for both of these is that the configuration software is available for free (2 hour limit on Ignition).  Inductive Automation also has a online University with free access to their training.