Michael Lloyd

MrPLC Member
  • Content count

    692
  • Joined

  • Last visited

Community Reputation

40 Excellent

1 Follower

About Michael Lloyd

  • Rank
    Expert
  • Birthday 06/01/58

Profile Information

  • Gender Male
  • Location Texas
  • Country United States
  • Interests Photography, Long Range Shooting, Reloading, Fishing, Hunting

Recent Profile Visitors

3844 profile views
  1. RSLogix5 Analog Scaling

    Just for clarity for me- is this for a PLC 5?    I can't help with a PLC5 other than help replace it with something from this century :o) SLC 500 or CLX... no problem
  2. Index Tag Names though AOI

    Sorry, I've been travelling. I'll attach one of the programs that uses what your looking for to this. It moves a bunch of data to/from an analog alarm block. I've used it up to almost 300 analog points with multiple parameters in each analog tag (using UDT's) so I know it's fast and pretty robust (ie it works) There is an AOI involved- AALM (I don't like the AB alarm block so I rolled my own. Theirs has too much crap for my purposes) And the routine you're interested in is AA_C  and maybe AA just to get an idea for what it's doing. AIOM is where I map an analog card point to a tag   Asherton_12_22_15.ACD
  3. Index Tag Names though AOI

    Short version, yes, I’ll see if I can round up the routine and attach it later today. This is  for CLX correct?
  4. Is there an instruction for this?

    You can't run the AOI in a continuous task and have any control over the sample time. Put it in a periodic task. The AOI reads the elapsed time from the periodic task and uses that to calculate delta T. Other than that it's just a simple AOI. If it won't open (for viewing or editing) let me me know and I'll post an unprotected version. This one should not be protected.     Rc.L5X
  5. Is there an instruction for this?

    I built a rate of change AOI that is pretty simple to use and would give you a rate of change PV to use in an alarm. I built the MAVE routine into the rate of change AOI to help smooth the output. We use it to measure the rate of change of oil flow in and out of a tank (80,000 - 250,000 barrel) which uses a comparatively long 20s sample time and for gas pipeline pressure rate of change to predict a leak, which uses a sample time of a second or two. Sample time is set by how you call the block. Delta T is calculated (in ms) by the AOI.  I can add it to the post later (traveling today) if your interested in it. It’s not password protected so you can customize it if you want to
  6. Display IP Address

    Have you checked the tags for the card?
  7. Compact Logix Ladder

    Yes there is. Well... kind of, you have to have Function Block licensing. There's a function block called FGEN (Function Generator) that is wonderful for doing what you want to do. I've used it for Air/Fuel Ratio control, valve characterization, etc. If I remember correctly (been over a year since I've used it), when you make the tag for X and Y you need to make it for number of characters +1 or it will fault.  Or you can roll your own un Structured Text. Y = mX+b... slope of a line for each segment of the non-linear curve. I'd use FGEN :)  
  8. Rslogix 5000 add-on instruction

    I used to lock AOI's but I removed all of the protections years ago so I don't remember what that looks like. I'd bet that it's a license issue if it's a structured text based AOI
  9. Messages between CompactLogix and SLC 5/03

    The cheapest version of their protocol converter will work for what you are doing. I think I gave you DSPGT. That one has a webserver and other fluff that wouldn’t be useful to you. I don’t know how close they are together but an AO wired yo an AI would work if they are in the same panel or near each other.  If you’re using UDT’s in the CLX and have trouble pulling the tags (because you can’t see them in the tree) it’s because you to tell the RL what the UDT contains. I’d have to look in the software to give you more detail. It’s easy to add the UDT but not necessarily easy to figure out the first time.  Their tech support has always been outstanding       
  10. Messages between CompactLogix and SLC 5/03

    Maybe. The Red Lion is under $900 and my kid could program it to do what you need it to do. Actually he does but I don’t think 33 qualifies him to be a kid :)
  11. Messages between CompactLogix and SLC 5/03

    I would use a red lion DSPGT protocol converter. It’ll “speak” CLX tags via Ethernet and SLC registers through the serial port
  12. MNET to OMNI

    I’m traveling at the moment so I can’t look at what I’ve done in the past, but as I remember it, Omni uses standard Modbus protocol. I haven’t used an MNET card in a long time. Red Lion DSPGT’s work as well and cost less.  OMNI has a nice little free modbus polling program. You could poll a register, view it in bytes or bits, compare it to what you are seeing  
  13. CLX Message to SLC error...

    I'll have to pull up both programs when I'm at work to see how I resolved this issue. The cell modem (either or both ends) issue I had went away when I port forwarded the PLC IP to port 2222. This post was a different problem than the cell modem and I don't recall if it was resolved and how it was resolved if so.
  14. SLC 5/04 Output Issues

    It would be easier to help if we could see the ladder logic Although your test method should work try using a button And last, are you sure that you aren’t trying to control an output from more than one rung. Ie one rung turns it on but somewhere else it’s being turned off. It happens more often than you would think. Some of us have even made that mistake more than once. It’s really fun when you do it in big program that uses multiple languages. :) Troubleshooting is half the fun i never say that when I’m troubleshooting     
  15. Siemens S5 to Rockwell Conversion

    Cryptic machine code language, aka STL,  is what you program the S5 with. It'll do some ladder but what you see in the OP's most is what you get when you dive into the land of the S5. I actually like them but kind of like I liked a really annoying girlfriend once... Fun to play with but not a keeper :o)