11.08.2015 Views

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

27372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777Input: The input to the decoding method is the bit string that begins in the next leastsignificant bit position following the previous coding segment. Only a portion of this bitstring is consumed by this decoding method, as described below.Validity Test: The input must be such that the decoding procedure below does not fail.Output: Construct the output string as follows. Beginning with the most significant bit of the input, divide the input into adjacent 6-bit segments, until a terminating segment consisting of all zero bits (000000) is found.If the input is exhausted before an all-zero segment is found, stop: the input isinvalid. The number of 6-bit segments preceding the terminating segment must be greaterthan or equal to the minimum number of characters and less than or equal to themaximum number of characters specified in the footnote to the coding table for thiscoding table column. If not, stop: the input is invalid. For each 6-bit segment preceding the terminating segment, consult Table 48(Appendix G) to find the character corresponding to the value of the 6-bit segment. Ifthere is no character in the table corresponding to the 6-bit segment, stop: the input isinvalid. If the input violates any other constraint indicated in the coding table, stop: the inputis invalid. Translate each 6-bit segment preceding the terminating segment into a singlecharacter or 3-character escape triplet by looking up the 6-bit segment in Table 48(Appendix G) and using the value found in the “URI Form” column. Concatenate thecharacters and/or 3-character triplets in the order corresponding to the input bit string.The resulting string is the output of the decoding procedure. If any columns remain in the coding table, the decoding procedure for the nextcolumn resumes with the next least significant bit after the terminating 000000segment.14.5<strong>EPC</strong> Binary Coding TablesThis section specifies coding tables for use with the encoding procedure of Section 14.3and the decoding procedure of Section 14.3.4.The “Bit Position” row of each coding table illustrates the relative bit positions ofsegments within each binary encoding. In the “Bit Position” row, the highest subscriptindicates the most significant bit, and subscript 0 indicates the least significant bit. Notethat this is opposite to the way RFID tag memory bank bit addresses are normallyindicated, where address 0 is the most significant bit.14.5.1 Serialized Global Trade Item Number (SGTIN)Two coding schemes for the SGTIN are specified, a 96-bit encoding (SGTIN-96) and a198-bit encoding (SGTIN-198). The SGTIN-198 encoding allows for the full range ofserial numbers up to 20 alphanumeric characters as specified in [<strong>GS1</strong><strong>GS1</strong>0.0]. TheSGTIN-96 encoding allows for numeric-only serial numbers, without leading zeros,whose value is less than 2 38 (that is, from 0 through 274,877,906,943, inclusive).Copyright ©2005- 2011 <strong>GS1</strong> AISBL, All Rights Reserved. Page 95 of 218

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!