Joe E.

MrPLC Member
  • Content count

    1263
  • Joined

  • Last visited

Community Reputation

176 Excellent

3 Followers

About Joe E.

  • Rank
    Propeller Head

Contact Methods

  • Website URL http://

Profile Information

  • Gender Male
  • Location Harrisonburg, VA
  • Country United States

Recent Profile Visitors

8707 profile views
  1. Keyence IV2 sensor to Allen Bradley PLC

    Weelllllllll.......kinda....... You really shouldn't re-use the tag elsewhere, but I've seen it done successfully in two systems (CompactLogix and ControlLogix). By "successfully", I mean the code operated as intended, not that it was a good implementation. The tag was used in XIC/XIO instructions after the ONS to carry the pulse through the rest of the code. It was an abominable bear to try to figure out, but it functioned...until something went wrong and you had to figure it out.
  2. 1783 -NATR Remote connection issue

    I think VFD Guy is right. There's a routing issue between your PC and the -NATR. You'll need to involve your local IT support, especially since it seems to work for colleagues and not you.
  3. RSLogix 5 - Does Version Matter

    I also don't know... Back when I used RSL5, I remember installing a newer version on my laptop and not having issues, but I never formally tested it by moving files around like that. And all of the VMs were Windows 7 or Windows XP, not Windows 10. I would make a new virtual machine with Windows 10 and move the files around to test. That assumes, of course, that you're using VMs for stuff...
  4. Allen Bradley Newbie

    As Michael Lloyd said, you'll need RSLogix 500. Contact your local distributor for pricing. As for the cable, you may be able to disconnect the HMI cable from the HMI and connect it to your serial port (if it's a 9-pin connector on the other end). Or, you can buy a cable from Rockwell (VERY pricey). Or, you can use this one: https://www.plccable.com/allen-bradley-usb-1761-cbl-pm02-for-all-micrologix-plc-communication/ I've had excellent results from their other cables and have this one on my desk right now, in use to program a MicroLogix PLC. If you would prefer a USB-Serial adaptor, I recommend a Keyspan USA-19HS unit. I've had mine for over a decade with no issues. I've found no other adapter that works better for connecting to stuff. In my experience, if it won't work with this one, it won't work with anything else except a native COM port.
  5. Can you decrease the scan time in Studio 5000

    So, I created a project in View Designer (v6.01 which installed with Studio 5000 v32). When I right-click on the background of an empty screen, I get a result like OP's screenshots. No refresh rate. Interesting...
  6. Can you decrease the scan time in Studio 5000

    In FT View Studio (for the Panelview+ HMIs), each screen has an update rate setting. Look for a similar setting in View Designer.
  7. How can I improve my counter's accuracy?

    So, I just pulled up a CompactLogix program I have running on a 1769-L33ER on my desk. The shortest RPI (Requested Packet Interval) for a standard 16-point 24VDC output module is 0.5ms. This is the FASTEST the output module could possibly get updated information from the CPU. It may be longer than that depending on backplane traffic (and probably other factors as well). The 1769-OB16's delays are 0.1ms to turn the output on and 1.0ms to turn it off. The -OB16P (with protected output channels) is slower at 1.0ms on delay and 2.0ms off delay. This is an older manual, but should give you an idea. You'd have to find the specifications of the exact module you're using. In my example, if your periodic task is running every 0.5ms, it will be up to another 0.5ms (RPI) plus 0.1ms before the standard output turns on and another 0.5ms plus 1.0ms to turn off. The RPI is "requested" and may take longer. It's also asynchronous to the program execution and may occur sooner after the periodic scan updates the output table than the RPI. It's unpredictable.
  8. How can I improve my counter's accuracy?

    Is this just a free-running counter that counts 0-1000 based on time? Does it use a timer instruction to trigger a CTU instruction? If so, and if accuracy is super important, You might try using high priority periodic task with a time base that's short enough to be accurate enough but no shorter. If you want it to go from 0-1000 in 500ms, and if each count of the counter is important for accuracy, your task interval would be 0.5ms. You can use an SSV instruction to adjust the task interval as needed.The first instruction would be an ADD that adds 1 to the accumulator tag. Then you do what you need to with the counter value inside the periodic task. The periodic task will interrupt the continuous task as needed, so you want to be careful or you can cause a watchdog fault of the continuous task if it's interrupted too often. If you use the continuous task to control the outputs, the timing will be off by a scan or so plus the RPI of the output module plus the output's response time. What's your current scan time for the continuous task? What exactly are you trying to accomplish? There may be a better way.
  9. 2080-LC30-24QWB - firmware download failed

    That's...annoying. Are they replacing it under warranty? I don't know how hard it would be to update the Control Flash utility to prompt the user to double check the date code, but that would be a nice step. Or if the manufacture date is available to the utility if it would just refuse to do the update. That may not be possible, though.
  10. Awesome. I started to write some more about the project settings dialog but it got complicated because there were so many different options and I didn't know if you had a PV+6 or PV+7, which changes how the dialog acts. What you have should work properly. If it doesn't, and both PLCs reply to ping properly, verify the Communications Setup and make sure the "Runtime (Target)" tab is correct for both shortcuts. Then try to re-create the runtime file. If it still doesn't work, try rebooting your PC and then re-create the runtime file.
  11. What "level" HMI are you working with? The PV+6 Compact and PV+7 Standard only support communicating with 1 PLC. The PV+6 Standard and PV+7 Performance support multiple HMIs.
  12. Control Logix CPT Statement Oddity

    That's....interesting. Good catch! I can see Really Bad Things happening if you were to end up dividing by the integer value that ended up zero unexpecetedly...  
  13. Compact Logix L33ER

    Sadly, the L33ER can only have one IP address. The ports are basically a switch connected to one NIC. I'm pretty sure (from what I remember) that the ENBT only had one port and that the EN2T can also only have one IP address. What *may* be possible (I've never done it...) is to use subnet masking to let the PLC and peripherals communicate. A mask of 255.240.0.0 would allow addresses from 10.0.0.1 through 10.15.255.254 to communicate. I'm NOT an expert and don't know all of the ramifications of this, but it may be worth a try. I know it would make a lot more IP addresses accessible to the controller but would make the controller similarly accessible to other devices that are masked appropriately. I would probably leave the peripherals (I/O, VFDs, etc.) on their current subnet with their current mask and set the PLC to an address in that same subnet but with a broader mask. That way only the PLC itself will have connectivity outside the local subnet. I used this calculator to confirm my mask: https://www.subnet-calculator.com/subnet.php?net_class=A  
  14. calling a Cognex job with Siemens TIA V 16

    The Siemens counterpart to the EDS/AOP is the GSD. I'd think that Cognex would provide more support than just sending you an FB, but I've never set up a system from scratch....
  15. 2080-LC30-24QWB - firmware download failed

    I've also had issues with firmware updates via USB when using virtual machines. During the process, the device reboots and doesn't always automatically re-connect to the VM, which causes problems. In general, I think it's best to use the host PC for this.