- #10 digit serial number rslogix 500 programming serial numbers#
- #10 digit serial number rslogix 500 programming serial number#
#10 digit serial number rslogix 500 programming serial number#
The idea of having the PLC generate a simulated barcode with a serial number is so the database query will report the number of times the barcode readers were completely bypassed. When barcodes are read by the PC and stored in a database, the query only retreives distinct records to filter out when a box gets scanned multiple times. In order to prevent complete backup of the line, there is a method of bypassing the barcode reading, but this has to be tracked. If the reader does not read the barcode it will stop the line and require someone to scan the barcode with a hand scanner. As the parts enter the stacker a barcode reader reads the label and stores it in the PLC to be retreived by a PC that is on the other side of the plant. The SLC 5/04 is on the very end of the assembly line controlling a box stacker. There is no HMI, so it has to be all done in the PLC. On a download, whatever is in the PC will over write the PLC so you may want to have a way with an HMI to preset the serial number.ĭoes it have to be completely in the PLC? Can you have part of the number on an HMI, and fill in the rest via PLC?
#10 digit serial number rslogix 500 programming serial numbers#
One last issue is that you will have to be careful about upload/download of programs to the PLC after the run of serial numbers is established. Lastly, I'm pretty sure they are byte swapped that wouldh have to be accounted for as well. You may also have to do a shift left by 8 bits on every other character as they are stored two characters to a word. I believe there is a way to MOV or COP the numbers into different positions in the string but I'm not sure of the addressing. Each DN bit would reset that counter and increment the next higher units counter.
![10 digit serial number rslogix 500 programming 10 digit serial number rslogix 500 programming](http://rockwellautomation.custhelp.com/rnt/rnw/img/enduser/answers/A9834_img3.png)
I don't have the total solution here but maybe the easiest way is to have a series of counters that just count 48 to 57 (These are the ASCII codes for the digits 0 through 9). Is the string part at the beginning fixed?.
![10 digit serial number rslogix 500 programming 10 digit serial number rslogix 500 programming](https://image.slidesharecdn.com/factorytalkactivationcustomer-140820201134-phpapp02/95/factory-talk-activation-customer-32-638.jpg)
A little harder to 65536 but much harder after that with a counter How large will the serial number grow? It's easy up to 32767.A couple quick questions and the beginning of an idea,