All Activity

This stream auto-updates   

  1. Past Hour
  2. CC-LINK CONNECTION

    Thank you ! I was able to get it linked . I'm new to CC-Link , is the Operation Test tab in the CC-Link Diagnostics how you test your connection between the PLC and other station connected ?
  3. Wrong values on FX3U

    I don't know why, but it seems that I had not yet found/seen the Structured Programming manual. I had a few other manuals but not this one 😅. I understand the functions better now. Thanks! The D8340 "bug" has also been solved! Just like the C250/C251 problem, I found out that the Chinese clone has a different device number for the actual pulse count. I used a switch for enabling a DRVI command while scrolling through the device list until I saw a value changing. For this PLC type I have to use D8132 instead of D8340.
  4. Today
  5. SMS messaging from a CJ2M-CPU31

    Thanks for the reply - will have a look at this over the weekend.
  6. Tracking,

    Thank you so much guys, the information what you guys shared are very useful. I made a little example program, to check how is it working. Its working properly I guess. @pturmel Could you please share with me an example ladder logic, about your solution. Some part of that dispriction is not clear to  me yet. Thanks ahead.
  7. CC-LINK CONNECTION

    Did the error start suddenly or is this a new system?  Check station & baud rate settings on each device, and resistors where appropriate. 
  8. SMS messaging from a CJ2M-CPU31

    This isn't supported, you'll need to utilize a 3rd party service like textbelt.com and program the PLC to utilize their API. I don't have any examples for the CJs, just the NJ/NX PLCs. If you only need 1 or 2 different SMS messages there are some products that can send out SMS messages based on digital inputs(RT100 for example). Alternatively many cell modems support AT commands which are very easy to utilize with socket services and allow you to customize the recipients and message contents. Socket Services on a CJ: https://www.myomron.com/index.php?action=kb&article=1396
  9. CC-LINK CONNECTION

    Hey guys, I'm having trouble getting my data link started in GX Works3 . Does anybody know how to get rid of the errors for the slave stations ?
  10. I just discovered that my Mikrotik router can do packet captures for me on selected interfaces and stream the results to a Wireshark instance on my laptop.  No need for the port mirror at all (but HW offload has to be disabled on the affected ports).
  11. Tracking,

    If you have to track in arrays of larger data structures, using ring buffer techniques can greatly reduce CPU utilization.  Using the shift instructions, or COP for shifting, is quite expensive.  Instead of shifting, you add to an integer subscript for the load point to manage where you are in the array.  And wrap around the end.  For physical items on the conveyor a known distance downstream from your load sensor, you simply add to the load point subscript the constant for the distance (in array elements), wrapping it around, too.
  12. I doubt this will be much help, but AB drives usually have a Status Word, Command Word and Data Links between themselves and the PLC. The Powerflex Manuals will describe the Status Word, Command Word and Data Links in detail.  The trick will be to find how in Schneider Memory / Tag Structure the EDS has mapped them. The HIM of the drives will also be useful as they will tell you when you have supplied th appropriate Stop/Enable signals to allow the drives to runa t all. Speaking of which, have you run the drives from the HIM to confirm you're enables and stops are wired correctly?
  13. Tracking,

    I've done this with covneyors and no encoder just a once per revolution of the driven shaft prox.  So 5 meters might become 500 or 5000 pusles of the sensor. Then create an array of length 600 or 6000.  I was usually using DINTS because I had to track more than just good/bad. Each prox pulse I check the bad sensor and load position 6000 of the array with a 1 or zero,  After that I COP Array[1] Array[0] moving everything one position. A little trail and error tells me that due to rounding errors and such the unload/stop position is actually 98 or 997 not the 10 or 100 I calculated. Hope this napkin description makes sense.  I'm sure it can also be adapted to using the encoder values. 
  14. No question about that at all. But I am often not on-site, so a port mirror that can be configured remotely has great value.  And, sometimes, simply moving connectors masks a problem.
  15. Port mirroring is complicated. Either find an old hub or use a sniffer is the easiest. I use shark tap. 
  16. Troubleshooting problems in cases like this.  Most modern managed switches have features to help technical staff connect wireshark to specific ports, so that sources of bad behavior can be examined unfiltered, and without relying on an intermediate two-port switch. Actual DLR, though, is awesome.
  17. Yesterday
  18. Has anyone done SMS messaging from an Omron CJ2J-CPU31 PLC? If so could you help please. Omron here in Oz have not had any experience doing this and are unable to assist.
  19. Hi, I'm working on Mitsubishi MR-J5-70A amplifier, and need some advice on selecting fuse size. Main power is 1ph 240VAC, and in the manual, it says that for main power, 1ph 240VAC for rated current of 6.5A, and for controller power, 1ph 250VAC with rated current of 0.2A. will it be ok to use 6.5A fuse for main power and 0.2A fuse for controller power? or what calculation or table do I need to use to select proper fuses?   Thanks, 
  20. Modbus TCP

    thank you, my problem has been resolved
  21. Tracking,

    So, some more details. The BSL and BSR instructions operate on a rising edge of the rung enable. You would enable the instruction once every time the encoder turns enough for a part to have passed by. The last one I did is in a CompactLogix. I had to create a tag called "Track_Array" of type DINT[1]. The Array tag of the BSL instruction was Track_Array[0]. Its Control tag is a new otherwise unused tag and the source bit (for me) is an Always_Off bit. Length is the number of parts that can be on the conveyor plus a few. If the conveyor is more than 32 parts long, you'll want to have your Track_Array tag bigger. For example, DINT[2] will get you 64 positions. The one I did was anchored at the load station being station 0 so I used a BSL. If instead you want the end to be bit 0, you'd use a BSR instead. Doesn't really affect things other than how you think of it. Here's the rung with the BSL. CAM_00 is on once per machine cycle. In your case, you'd flash it once every time a part spot has passed by on the conveyor: Here, we set bit 1, which is where the servo loads the blanks: Here, we clear bit 8, which is where the finished parts fall out of the machine. Like I said before, I'm not 100% sure this is really the best way to proceed for you. It may make more sense to use a FIFO array. Use an FFL instruction every time a part passes by the sensor and an FFU every time a part arrives at the end position. Downside to using a BSL/BSR is if the parts can slip on the conveyor. If that's not an issue, the FIFO won't work if parts can be removed from the conveyor between the sensor and end. That's why it's good to have multiple tools in your belt.
  22. Tracking,

    If all you want is to store good/bad, use a bit shift array using a BSL or BSR instruction. High level description: You'll execute the BSL/BSR once per "interval" of the conveyor's movement. Let's say the end position is at bit 0 of the array and the sensor is at bit 20. The sensor will set/reset bit 20 of the array while the reject/whatever sequence looks at bit 0. A BSR is fired to shift the data automatically.
  23. I'm working on a retrofit controller for my Leadwell 550E VMC.  The tool changer is different on this machine than what comes setup in the new 3000M controller,  mine has a up down function for the umbrella style too changer.   I outputted the ladder file from the new 3000M controller and it came out as Ladder01.GRP.   Does anybody know what ladder program can open and edit this kind of file?  I tried RSlogix and AD's do more designer and neither worked.  I can open it with hex editor and it will display some of the I/O but cannot edit anyting meaningfully.  The ladder is 1600 lines of code and i can possibly edit it at the machine, but i really don't want to work through that long of a program standing at the machine.   LADDER01.GRP
  24. Tracking,

      Firstly, thank you for your answer! Secondly, yes they are the same size. Im trying to make the proper code for the task. I made in the first row, a signal when a bad product is detecting I raise a counter like 1, 2, 3 4. ... and so on.  In the next row I check wether the counter is equal to 1 if yes, then I start to accumulate the pulses from the encoder until its reaches the 500, at that point I make a Stop signal, then I clear the counter. Of course there is a possibility, there is a new NG product can appear before the former one stored out, so if the Bad_product_appear bit is active again then the Counting counter isgoing to be 2 and it sarts to count also for the second, as the same way as before. My question is what if I have to make like 200 row like this, I think there is a better solution.   Anybody can help this, if my explanation is poor Im sorry, I try to answer for every question. Thanks ahead.  
  25. I've seen many applications that used the dual ports in a daisy-chain configuration. Is the main drawback that all downstream devices go away if one in the middle is powered off? Or is there another reason too?
  26. Tracking,

    Are the products all the same size? If so, I would first create an array big enough to have one position for each place a product could be on the conveyor. Array could be bits or integers, depending on how much info you want to track. Use the encoder to advance the array. Write to the right spot in the array at the sensor and read from it at the "store" position. That's my first pass thought.
  27. Ancient QuickPanel

    I can tell you about a year ago I dealt with the same issue on a QPJ similar to that. it appeared that it was dead but you could hear it change screens and work still.   The contrast was shot on it. someone somehow messed with the contrast. the best thing you can do is try to change it blind. I think pressing in the bottom corners of the screen at the same time will pop up the contrast adjustment, and you can pick a square at the bottom after that to change it. I probably have some pics here somewhere I can put up to give you an idea of what it looks like.
  28. Ferrule Crimper

    Trippled the number the panels we build a year. Looking into the cut, strip, ferrule crimp tools with the barrell chamber that holds a strip of ferrules and you just stick the stripped wire in and crimp. Looks like there are 3 popular versions. Phoenix Contact 1200101 Crimpfox 4 in 1, Weidmuller 9020000000 and Panduit CT-1000. Anyone have experiences with these or any other I may have missed? Recommendations?
  29. Load more activity