- 10 digit serial number rslogix 500 programming serial numbers#
- 10 digit serial number rslogix 500 programming serial number#
Well, then, just run it in through the serial port. So we need to get a new input card for this. Just use a digital input to the PLC to trigger the line to stop, you say? Sorry, we just burned that last digital input last week on a safety gate input. Sooner or later any 'right tool' you use needs to get information into the main control system and the data collection PC.
10 digit serial number rslogix 500 programming serial number#
It will also eliminate the need to modify the PC software to handle exceptions because the PLC generated serial number will appear to be another valid barcode to the PC. 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. 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?There is no HMI, so it has to be all done in the 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.
![10 digit serial number rslogix 500 programming 10 digit serial number rslogix 500 programming](http://www.plcdev.com/files/plcdev/images/MVI46-MCM_image008.gif)
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. 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? A little harder to 65536 but much harder after that with a counter
![10 digit serial number rslogix 500 programming 10 digit serial number rslogix 500 programming](https://docplayer.es/docs-images/86/94445626/images/62-0.jpg)
How large will the serial number grow? It's easy up to 32767.
![10 digit serial number rslogix 500 programming 10 digit serial number rslogix 500 programming](https://truevfiles193.weebly.com/uploads/1/1/8/6/118628833/702183985.jpg)
A couple quick questions and the beginning of an idea,