Jump to content

DaveE

Members
  • Posts

    83
  • Joined

  • Last visited

Posts posted by DaveE

  1. Good Evening

    I have recently downloaded this version

    Is it just me or is it really twitchy?

    I stops, goes non responsive so frequently its doing my head in

    Running Windows 10 64Gb ram, I 7 processor, so it shouldnt be the computer. Never had an issue with 1.28 version

     

    any thoughts?

  2. Aus

    Yes you are correct scans of the camera (slip of the brain)

    The issue I have is that even if I just stay on the first 5 lines of the main routine, and dot run anything else at all, the MB33 and the MB38 do not increment to start with, and then "wake up"

    (Those are attached to the TCP/IP scan)

    One thing that was suggested to me today, which I forgot about was to go into info mode and scan then, to see if the PLC is getting something and doing nothing with the data, or not getting anything

    image.png.50cb2534c9252558180e0064b7552ed4.png

     

  3. Good Afternoon

    I have a V570 that is connected over TCP/IP to 2 cognex cameras. for some reason that I cannot establish when I start the system, the first 3 or 4 scans will not trigger the scan. Neither MB33 or MB38 go high when the camera is triggered to take a picture. After the first couple of scans it seems to start working properly. The logic in my head tells me that the camera for some reason isnt sending the scans over properly, but that doesnt make sense to me either. This is the initialize in the main routine.image.thumb.png.7c6df9dbfed469b67705bcb8629604ba.png

    If I go to the sub routine (and yes it is being called) if the positive edge of MB33 or MB38 is not seen, the whole system stops.

    I have to be missing something, I have time outs set, so If I lose communication for some reason is starts again. I am missing something and hoping a genius out there can assist my brain

    image.thumb.png.1745bbca1f9beebfef5691a80cd1df34.png

    image.png.02b9d489f1a362d6332cc58b55651bbe.png

     

    Thanks

     

  4. Good Morning

    I have a new project in which my customer wants the system to scan a barcode, connected either via serial or ethernet and then record the barcodes scanned.

    That bit is no issue, was going to use a data table and store all of the scans done, and use the last entry to give him a total.

    However he has just thrown a wrench in what I had planned as he wants the details on the screen too.

    Not only that he wants to show a totalized list of the barcodes scan with a subtotal for each barcode scanned during the day, and I am not sure how to created that on the PLC. And I will not know what those barcodes will be, could be one barcode, could be 10 different (they have 3000 different products, but fortunately not all running at once.)

     

    I will be using a V570 for this.

    Has anyone got any knowledge of doing this type of thing previously, or even if its possible?

    Thanks

     

  5. Good Morning

    I did this (and do this) using a data table and a sensor at both ends

    After the camera is triggered, store a bit in row 0 of a data table to "say" either " good read-0" or "bad read-1" and then increment the row in the data table, so the next trigger comes into the next row.

    Then at the reject end I read row 0 and if that bit is true I set the reject, if false I unset the reject (just to be safe)

    at the end of all that I delete row 0 and decrement the row

    works like a charm and no encoder needed.

    also, major benefit is that you change product sizes, it doesnt matter, as you are counting products. Also you can put the reject where you like, who cares, its only numbers.

    (Hint, if you go this way, make sure that you use plenty of rows when you set up the data table, when I started, I set the table for 30 rows, and needed 40 products before the reject eye.. oops)

     

  6. Good Morning

    I have a program, in which I need to receive using RS232 from 2 different units (One is a hand held scanner, and one is an Inkjet printer)

    I have configured both protocols correctly and I see in info mode that the PLC is receiving them, but the strings they are receiving are not being sent to the correct place (I don’t see where they go)

     

    In the main program I set this

    image.jpeg.4ac0773749e1244851be870e04661f96.jpeg

    My thought was that when I set MB0 the plc would get the code from the barcode scanner and when I set MB121 the “from printer” code would be received

    image.jpeg.88e095a52bd5e3af6e0ad7905fc93b65.jpeg

     

     

    As you can see that when I get the correct result I would then go to the assembly code scan

    I also set the Barcode scanner protocol and reset the printer protocol

     

    However when I run the program, it doesn’t “see the scans”, however when I am in info mode I see them

    Thoughts please, what am I doing wrong

    Link to vlp program

    Thanks In advance

     

     

    image.jpeg

  7. Good afternoon

    I am trying to send files through ethernet from the SD card. I have downloaded the FTP client example, and have modified it a little bit so it may work in my application.

    I will soon be modifying it again, so that it automatically connects, but at the moment I am happy to do things manually (well I would but I cant get it working.)

    What should be happening, is that I scan a barcode, which then creates a CSV file on the SD card (that bit is working!)

    Then what happens it takes me off to the FTP page. When I press the connect button, it is meant to connect me, but I get nada, nothing!

    Can someone tell me where I am going wrong? Thanks guys

    Code is attached to this message. The main routine initializes the card etc then I go to the FTP subroutine to do the rest

     

     

    version 20.vlp

×
×
  • Create New...