Joe E.

MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by Joe E.

  1. Thermocouple

    I would expect "Engineering Units" to be equal to "Engineering Units x1".
  2. Another Dumb newb question

    You don't need to scale it in ladder since it's already scaled in the module configuration. You would just use it as you need to use it, as an alarm setpoint, display, input to a PID control, etc. If your module is configured correctly, the temperature is in normal engineering units for you when it gets to the tag database. So your SCP in 500 would have a destination field that you would set to some address, let's say F8:0. In my screenshot, instead of using F8:0, you would use test1:1:I.Ch0Data in your code. Do you need to change the scaling at runtime?
  3. Thermocouple

    I'm pretty sure you to have to scale the raw value (1744 in your screenshot) to engineering units. I can't look for it now, but there should be a datasheet or user manual covering that module that gives the ranges, like 0-1000°F = 0-16000 counts or something like that (I just made those numbers up). You would then use a SCP instruction to convert your raw counts into degrees. You can also experiment with it if you know the actual temperature by just adjusting the parameters of the SCP instruction until you get a good reading. I would rather find the actual relationship between counts and degrees, though.
  4. PLC-5 Analog Inputs/Outputs

    You need to identify the rack/slot/module of the actual module and then search your program for "BTR" instructions that reference that rack/slot/module. Then double-click on "Setup Screen" in the BTR instruction to open the setup dialog. The address associated with each channel should be listed there. You can then do a cross-reference or find-all for that address. For example, if I wanted to find the "ch1 vollmer" data, I would just search for N7:54: Of course, this is the example I have handy. Your experience may vary.
  5. Another Dumb newb question

    To adjust the scaling, double-click the TC module in the project tree to open its properties dialog box. Go to the "Configuration" tab. There you can set up TC type, temperature units, etc. In the project tree, under the controller, open up "Controller Tags" and scroll down to whatever you named the 1734 chassis. There will be entries for each module. Expand the one for your TC module. In my case, I called the chassis "test1" and the module "test2". The scaled temperature will be in the "~...Ch0Data" and "~...Ch1Data" tags. You can create a new tag with a meaningful name that is aliased to this hardware address.
  6. Beginner PLC Project

    If you want your learning/training to be the most useful where you work now, you should get an Automation Direct PLC and the software. It looks like they have several lines (Productivity Series, Do-More, DirectLogic, Click). I would find out which series your employer uses. It's possible they use more than one, in which case you would either pick the one they use the most of or price out the different ones, remembering that you need the software too.
  7. Beginner PLC Project

    What PLCs does your employer use? PLCs vary a lot by brand and series, so your test bench should reflect the company's stuff as closely as possible.  
  8. RS232(DB9)

    Your PLC is a MicroLogix 1000, which is supported by the free version of RSLogix 500. You can use AdvancedHMI to create a PC-based HMI/SCADA. Since you have the ML1000, you probably won't be able to use RSLogix to be online with your PC while the AdvancedHMI application is talking to the PLC. It's *possible* that they can both talk if your AdvancedHMI program is running on the same PC as RSLogix, but I would be amazed if it worked, since COM ports are typically not able to be shared between programs. If you go up one level to the ML1100, you get Ethernet/IP communications while still being supported by the free RSLogix 500 software, and you can have multiple things connected to the PLC at the same time.  
  9. Preserving FIFO Data

    For that, I typically do online program changes. They also have a "data preserved download" tool, but I've never used it.
  10. I just created a new PV800 project in CCW and set the communications under the "Setting" tab to look at a MIcroLogix 1100:
  11. Powerflex 525

    I assume you have the drive powered up, right? If that's the case, your trick is what I almost always do, except almost all of the 525s I've personally worked on have been integrated into a Logix 5000 project. I just set the IP address from the HIM and let Logix do the rest. This is only the second one I've done as a stand-alone machine in CCW.
  12. Powerflex 525

    Probably not. I happen to have a 525 that I need to configure, so I popped off the control module and plugged it into my PC. It showed up as a removable drive. The executable runs but shows "Disconnected". I connected it to my VM that has CCW installed and it looks like it works. The executable opens and uploads the parameter file as a *.pf5 file. This file can't be edited as far as I know. I'm experimenting with CCW now to see if I can configure it offline.
  13. Powerflex 525

    Does the unit show up as an external drive in Windows Explorer?  
  14. Can you just do the logging and alarming in the Red Lion directly? If you need to get the information into another PLC, the Red Lion can serve as a gateway. We have 2 systems where we have a G3 HMI transferring data between a ControlLogix PLC and 2 Eurotherm controllers over Modbus/TCP. It can do the same between the 5/05 and CompactLogix processors. Or you can add a CompactLogix that should be able to read tags directly via MSG instructions. Using MSG instructions will likely get very cumbersome if the tags you need to read aren't part of an array tag structure. If you need to read a bunch of individual tags, this may get ugly with MSGs....
  15. I've never done it, but you should be able to use MSG instructions in the 5/05 to read tags out of the CompactLogix processors. I have used a MSG instruction to transfer data between ControlLogix processors whose supported firmware versions were too far apart for produce-consume tags to be set up. That worked well. Back in the dark ages, I also used MSG instructions to transfer data between SLC 5/04 processors over DH+ with great reliability and ease. Edited to add: You will probably have to set up "SLC Mapping" in the CompactLogix processors for the 5/05 to read them. That will require modifying the PLCs, which you don't want to do. With that in mind, you may be better off using another CompactLogix PLC or using an HMI (like Red Lion or AdvancedHMI).
  16. Powerflex 525

    The link worked for me. I think you will need to set up a KnowledgeBase account (free) to view the article. Here is a direct link to the Word document in case that works better for you:  
  17. WinCC Flexible: How to edit recipes?

    If the original developer of the HMI project was kind, there will be a "new recipe" button somewhere in the recipe controls. This button will create a new recipe. The "Save Data to SD Card" button is what generates the csv file. It's not there by default.   Edited to add: You should be able to just touch the recipe values and type in a new value if it's enabled. It is possible when adding the recipe control to the screen to lock down edits. What we do is have 2 otherwise identical recipe controls overlayed on each other. The one on top is locked down and is made invisible when a user with enough access is logged in, revealing the one with edit capability.
  18. Oracle Virtualbox and Factory Talk Activations

    Is this a new hard drive? If so, you will need to re-host the licenses to the new drive (or use the NIC). I would not host it to the virtual machine at all but use the host and have your activation software point to the host via a host-only network connection. I know how to set that up in VMWare but it's been a long time since I used VirtualBox and I never used it for automation software so I'm afraid I can't help you with details about the host-only network. In VMWare, I set up a new host-only network and check the IP address inside the VM. The VM I'm using right now was assigned, but each time I set up a new PC it ends up in a different subnet so yours will be different. Point FT Activation manager to and refresh the list. It should find and be able to use the licenses on the host.
  19. I haven't used that particular PLC before, but I have seen very similar behavior with other output modules, especially newer ones. The solution was to either use a surge suppression network in parallel with the load or to just use a larger load. We first saw it with the small terminal-block type relays. AB makes a version with a surge suppressor built in (which solved it for us in one application). In another place, we couldn't use those relays, so we ended up just using a larger ice cube relay instead of the small one.
  20. WinCC Flexible: How to edit recipes?

    Are you trying to add recipes, edit existing recipes, or add recipe parameters? The first 2 can be done if you can get the recipes backed up to a memory device (MMC or USB flash drive). Just plug the MMC or flash drive into your PC and it's a CSV file that's easily read and edited. Then you have to restore it on the HMI. You can use ProSave to do the backup/restore, or if your HMI developer was kind there will be buttons to read/write the CSV file in the HMI runtime. If those options aren't available, or if you want to add/remove parameters, however, I'm pretty sure you're out of luck without WinCC Flexible software.  
  21. Micrologix 1400 Float TAG

    If the value in F8:0 is what you want to use in other places in your program, just go ahead and use it. You can read a memory location as many times as you want.
  22. 22-Com-E Card Mess

    Or use a 1203-USB (or the RS232 version) to connect to the drive. You should be able to get to the COMM-E that way as well.
  23. 22-Com-E Card Mess

    I believe the parameters that set the IP address, gateway, and mask default to So if you just change the "address source" parameter to "parameters" from the default BOOT/P, you will end up with that address. I would expect it to fault or something, though.
  24. 22-Com-E Card Mess

    Is the 22-COMM-E on a Powerflex drive? If so, you should be able to get into the HIM of the drive, hit ESC (or similar) to back out to the topmost menu and select the COMM-E, then go through the parameters in the COMM-E to set the address and mask to what they should be.   Edited to add: With that IP address, it shouldn't be "owned" by anything, but you may have to disconnect the network cable and then reboot the drive before you can change the IP address. I don't know, as I've changed the IP address once it was owned by a controller.
  25. Compact Logix Ladder

    There isn't anything in LAD that will just drop-in and do what you want but it shouldn't be too hard to roll your own with an array and some LIM instructions. If they hadn't eliminated the SCP instruction in the 5000 world, it would be even easier... Ok, so I couldn't resist trying this. Here's my made-up table of pressures and flows: The first column is 11 pressure data points. Second column is the span between the points. Third and fourth columns are the same for flow. Here are the PLC tags: The pressure and flow data points are variables so you can adjust your table as desired. Next, calculate the span tags: The spans for the flow are calculated the same way. I built 2 branches of the scaling calculation here:   This is just a simple linear interpolation calculation. Ironically, it would be far easier in the Logix 5 and Logix 500 worlds by using the SCP instruction. With that, we could eliminate the range calculations altogether and just have a "LIM SCP" branch for each step. But Rockwell decided we don't need SCP any more.... They do have the SCL instruction in structured text and FBD but that doesn't help us much in the LAD world. I've tinkered with making my own SCP instruction as an AOI but haven't had a lot of time to work on it. I tested this with a variety of pressures from 0 up to 20 including the actual pressure points (10 and 20) and it returned the right answer (it agreed with Excel, anyway).