ElectronGuru

MrPLC Member
  • Content count

    21
  • Joined

  • Last visited

Community Reputation

1 Neutral

About ElectronGuru

  • Rank
    Sparky

Profile Information

  • Gender
  • Location Missouri
  • Country United States
  • Interests ones and zeros.
  1. Micro850

    The logic in a Micro 800 is supposed to work the same as in RS500. So you'll have a main routine, followed by all subroutines. In RS500, you're limited to 256 routines total, although 0 & 1 are proprietary to the system and not accessible. That leaves Ladder 2 as the main routine, and 3 through 256 as subs. You can also have a subroutine "call" another subroutine, which is then referred to as a "nested" subroutine. RS500 limits you to eight nested subroutines but if you need that many, you're likely doing something very wrong, lol. All that said, I believe the Micro 800s are only programmable through Connected Components Workbench (CCW). (Someone please correct me if I'm wrong on this). The ladder editor in CCW sucks and is not anywhere near as easy as writing code in RS500. I'm using CCW V10, and primarily for VFDs. I haven't played with CCW V12 (the most recent update), but I've heard the editor and tool bars are "somewhat better". I was told by a Rockwell distributor sales engineer that the Micro 800s were Rockwell's answer to the products being sold by Automation Direct. It's an inexpensive but long-lasting, rugged controller for small to medium controller-based systems, with a free programming tool, CCW.. The trade-off is that the programming tool isn't terribly user friendly. So, if you're just running a trash compactor or a bailer and need to save money in terms of actual dollars spent, get a Micro 800, download CCW and deal with the ladder editor extending your programming time. The PLC itself will definitely last longer that anything Automation Direct is putting out there. However, if I were running a little bit bigger project that required a lot of subroutines and such, I'd probably go with a Micro 1400, just bite the bullet, and pay for RS500. Long answer to a simple question, but I hope this helps
  2. How to program this logic in Logix5000

    The easiest way would be to use a function block routine with a Boolean And (BAND) instruction. It requires any of two inputs to be on for the output to go true. Put bits 0 through 5 on the input side, bit ten on the output side.
  3. Structures text and user memory.

    Jobbe9000 gives great advice on using DINTs instead of individual BOOLs. Every time you create a tag as a BOOL in CLX, you still consume the volume of a DINT. Probably not a big deal if you're running a small process that's just turning things on and off. But this is extremely important when running large, high speed processes, particularly in closed loop systems where you may be evaluating data and bandwidth hogs, like PIDs. Even if the "space" available in the controller is not an issue, it just makes better sense to allocate memory in the controller's default data type, DINT, because it makes for a more efficient running controller. Starting in Version 21 (when they changed from RS5000 to Studio-5000) the tag names, descriptions, rungs comments (virtually all of the internal documentation) was now downloadable to the controller. That means anyone could walk up to any controller and have that info available on the rungs, without having a pre-existing, off-line copy of the project on their laptop. You still have to have a matching copy on your laptop, but Studio will create it for you when it sees one doesn't exist. (It's not automatic; you have to follow the prompts and click on some things). The tradeoff is that the documentation eats up space in the controller, hence tag names consume space, as described above by Jobbe9000. You can disable this feature by unchecking a couple of boxes in the project properties dialogue box, under the Project tab. I've attached a .pdf showing where to look if you're not familiar with it. Also, from personal experience, I can tell you for a fact that structured text executes significantly slower than ladder. When looking at the task monitors while similar codes in ST or ladder are executing in separate, identical controllers, ST is about 5X slower. Therefore, I only use it for instructions that don't exist in the other CLX programming languages. That said, Rockwell brags that the new 5580 controllers can execute ST just as fast as ladder, but I haven't been able to lay hands on one of those $6,000+ cards to check it out. Hope you find this useful. S5K.pdf
  4. Difference between l33erm and 306erm.

    Ditto. Next time I come into contact with Compact I'll definitely be playing around a bit.
  5. 1771-OW16 vs 1771-OW16/B rev H01

    That's a really old card on a really old system. That goes in a PLC-5 chassis, yes? Usually when a catalog number has a "/A" or "/B" etc behind it, that designates additional functionality added to the newer model. For years Allen Bradley has been in the habit of adding new features to the end of the list (so-to-speak) so as to make I/O cards backward compatible. I did open an RS5 file and looked at available I/O cards. It only shows the 1171-OW16, and does not differentiate between /A, /B, etc. So, I don't think you should have any issues using the /B as a direct replacement.  Unfortunately, Allen Bradley has retired the PLC-5 so I wasn't able to find a readily available .pdf on the I/O cards. If I do come across one, I reply again with a link. Hope this helps.
  6. Difference between l33erm and 306erm.

    Can be configured individually? Does that mean that the controller can have two, separate IP addresses? Or just have different configurations for the two ports, but for the same IP address. When I see two Ethernet jacks on the same Allen Bradley module, I tend to think that it's just for DLR compatibility.
  7. 404 when trying to download updates

    Internet Explorer is no longer supported and Rockwell is slowly moving away from it, even though it shows up as one of the two preferred download methods in PCDC; the other being Firefox. Try Firefox and make sure you have dependable high-speed internet access. Hope this helps. 
  8. Reset in ControlLogix Processor

    Joe has given some good advice here. As to what caused the fault, non-recoverable faults are usually hardware faults. When this happens, something has gone so catastrophically wrong that the controller erases its project from memory, leaving the I/O cards to their control I/O via their configuration files. As often as not, a non-recoverable fault results in the replacement of the controller card, so I would definitely spend some time trying to find out what caused this. Electrical power surges, loose power/ ground connections, and prolonged excessive heat are a handful of the things that can cause this.   Good luck!
  9. ACD file to PDF

    Well now I feel dumb; I overlooked the attachment! Sorry about that, gkol.
  10. MICROLOGIX 1500 TO MICRO820

    RS232 is a serial network, but I use the word "network" very loosely. It's primarily used to talk directly from a laptop to controller for going online, uploading, and downloading. Since its range is limited to 50 feet, it's not typically used for permanent networking of controllers. That said, for any given network, you simply need the appropriate network cards installed at each controller, and then write the code to get the needed information from one controller to the other. The 1500 will use RS500 but as of now, I believe the only way to write code for an 800 is with Connected Components Workbench (CCW). Either way, you will need to use the Message instruction to exchange data between these controllers. Hope this helps.
  11. ACD file to PDF

    I don't know of any way to extract data from a .acd without Studio installed on the laptop. If the file is small enough that it can be attached to an email, you might try sending it to someone that has V21 or later. They can then export the tag data base and send it back to you as  a text or .csv file. If you have RSLinx on your laptop and access to the controller, you can also monitor the tags live without going on line with the controller. Open Linx as an application and after setting up an appropriate driver for the network being used, right click on the controller and open the Data Monitor. It will produce an alpha-numeric list of the tags with their current values without interfering with controller operation. If anyone has a trick for extracting data from a .acd without access to Studio, I'd love to hear it. Hope this helps.
  12. rs logix 5000 cross referencing

    Version 30 is the first one that is supposed to be 100% Windows 10 compliant. V32 is the highest version currently available. However, V21 will work in Windows 10; just make sure you're using an older version of Adobe, as there are known conflicts with Adobe 11, such as online books not working, etc. It sounds like you've got your work cut out for you. The cross reference tool is a method of determining every location and type of use a given tag is being utilized for in a project.  I don't know of any way to cross reference multiple tags simultaneously and even if you could, 4,000 tags would contain so much data that I don't know how you'd sort through it all. You mentioned that most of your tags are aliases; this can be to your advantage, as the aliases are probably the ones that are most important, because it's rare in a large project to use a module defined tag without an alias. If I were tackling this, I would probably go through the project routine by routine, cross referencing the tags on the rung instructions as I go. As you likely already know, right-clicking on any given tag, then clicking cross reference, will pull up the report. The report defaults to the "By Logic" tab, which shows everything about that tag. If you change that to the "By Hierarchy" tab, you just get the scope of that tag, which may help more readily identify which tags you're going to keep and continue to use, and which are obsolete. That, of course, will depend on how well the project is organized to begin with. If they scoped tags locally for each of the individual burners, you're likely in luck. If almost everything is controller scoped, not so much. Either way, there's no silver bullet I'm aware of that's going to automatically sort out 4,000 tags.  
  13. Annoying problem in Logix5000

    What version of Studio 5000 are you using? I think up to version 20 or 21 you had to install the (free) Compare Tool separately. However, even when it comes (somewhat) embedded in the version you purchased, you must still click on a prompt button that pops up during installation and asks if you want to install it on your laptop, as well as ControlFlash, Task Monitor, etc. Something to be aware of when talking about saving are the Enable Automatic Recovery and Project Backup functions, which are set to ten minutes, and three backups by default. (You can find them under Tools, Options, Application). That is not your problem here, but it should be kept in mind when making edits. To answer your question directly, it's persnickety (as it should be) and if you make changes, it doesn't care that you put things back where you started. What it sees is that you made changes. When you're closing the project it's going to ask you whether you want to save those changes. So, when prompted to save the changes as your exiting Studio, just click no. I actually use this to my advantage when teaching someone about programming. It allows me to make whatever changes I want without keeping track of them, then clicking no on exiting with the confidence that my original project will be intact the next time I actually need it. Hope this helps!  
  14. "Display Print " button from Studio ME

    Like PLCMentor said, if you're developing a project in Studio and want a screen shot of a display, open the display and use your laptop's print screen function to take the screen shot. If, on the other hand, you're wanting an operator to be able to screen shot a display on the HMI at runtime, you must install a "Display Print" on that display. You'll find that button in Advanced Objects. However, this button literally causes a hard copy of the display to be printed. You will have to refer to user manual for the particular HMI you're using to get instructions on how to install a printer.
  15. Is it safe to divide an INT to Real ?

    It's never a great idea to mix and match data types when applying math instructions as even under the best of circumstances, the results are always subject to rounding and truncating errors. Also, as Lloyd has stated above, if you're using a ControlLogix platform, just get a diagnostic analog input card (such as the two he suggested) and set the scaling in the card. This not only eliminates possible errors in the math instruction(s), you're not wasting valuable controller card scan time on scaling logic since the input card would be multicasting scaled data across the backplane.