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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

24242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461Output: Construct the output bit string by concatenating the following three components: The value P specified in the “partition value” column of the matching partition tablerow, as a 3-bit binary integer. The value of C considered as a decimal integer, converted to an M-bit binary integer,where M is the number of bits specified in the “<strong>GS1</strong> Company Prefix bits” column ofthe matching partition table row. The value of D converted to an N-bit binary string, where N is the number of bitsspecified in the “other field bits” column of the matching partition table row. This N-bit binary string is constructed as follows. Consider D to be a string of zero or morecharacters s 1 s 2 …s N , where each character s i is either a single character or a 3-character sequence matching the Escape production of the grammar (that is, a 3-character sequence consisting of a % character followed by two hexadecimal digits).Translate each character to a 7-bit string. For a single character, the corresponding 7-bit string is specified in Table 47 (Appendix A). For an Escape sequence, the 7-bitstring is the value of the two hexadecimal characters considered as a 7-bit integer.Concatenate those 7-bit strings in the order corresponding to the input, then pad withzero bits as necessary to total N bits.The resulting bit string is (3 + M + N) bits in length, which always equals the “CodingSegment Bit Count” for this segment as indicated in the coding table.14.3.6 “Numeric String” Encoding MethodThe Numeric String encoding method is used for a segment that appears as a numericstring in the URI, possibly including leading zeros. The leading zeros are preserved inthe binary encoding by prepending a “1” digit to the numeric string before encoding.Input: The input to the encoding method is the URI portion indicated in the “URIportion” row of the encoding table, a character string with no dot (“.”) characters.Validity Test: The input character string must satisfy the following: It must match the grammar for PaddedNumericComponent as specified inSection 5. The number of digits in the string, D, must be such that 2 × 10 D < 2 b , where b is thevalue specified in the “Coding Segment Bit Count” row of the encoding table. (Forthe GDTI-113 scheme, b = 58 and therefore the number of digits D must be less thanor equal to 17. GDTI-113 is the only scheme that uses this encoding method.)If any of the above tests fails, the encoding of the URI fails.Output: Construct the output bit string as follows: Prepend the character “1” to the left of the input character string. Convert the resulting string to a b-bit integer, where b is the value specified in the “bitcount” row of the encoding table, whose value is the value of the input characterstring considered as a decimal integer.Copyright ©2005- 2011 <strong>GS1</strong> AISBL, All Rights Reserved. Page 87 of 218

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

Saved successfully!

Ooh no, something went wrong!