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.

<strong>EPC</strong>URIurn:epc:id:sgln:CompanyPrefixLocationRefExtension13221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350<strong>GS1</strong>ElementString(414)Figure 10.Correspondence between SGLN <strong>EPC</strong> URI with extension and <strong>GS1</strong> Element StringFormally, the correspondence is defined as follows. Let the <strong>EPC</strong> URI and the <strong>GS1</strong>element string be written as follows:<strong>EPC</strong> URI: urn:epc:id:sgln:d 1 d 2 …d L .d (L+1) d (L+2) …d 12 .s 1 s 2 …s K<strong>GS1</strong> Element String: (414)d 1 d 2 …d 13CompanyPrefixLocationRef(254)s 1 s 2 …s KCheckDigitTo find the <strong>GS1</strong> element string corresponding to an SGLN <strong>EPC</strong> URI:(254)1. Number the digits of the first two components of the <strong>EPC</strong> as shown above. Note thatthere will always be a total of 12 digits.2. Number the characters of the serial number (third) component of the <strong>EPC</strong> as shownabove. Each s i corresponds to either a single character or to a percent-escape tripletconsisting of a % character followed by two hexadecimal digit characters.3. Calculate the check digit d 13 = (10 – ((3(d 2 + d 4 + d 6 + d 8 + d 10 + d 12 ) + (d 1 + d 3 + d 5 +d 7 + d 9 + d 11 )) mod 10)) mod 10.4. Arrange the resulting digits and characters as shown for the <strong>GS1</strong> Element String. Ifany s i in the <strong>EPC</strong> URI is a percent-escape triplet %xx, in the <strong>GS1</strong> Element Stringreplace the triplet with the corresponding character according to Table 47 (AppendixA). (For a given percent-escape triplet %xx, find the row of Table 47 that containsxx in the “Hex Value” column; the “Graphic Symbol” column then gives thecorresponding character to use in the <strong>GS1</strong> Element String.). If the serial numberconsists of a single character s 1 and that character is the digit zero (‘0’), omit theextension from the <strong>GS1</strong> Element String.To find the <strong>EPC</strong> URI corresponding to a <strong>GS1</strong> element string that includes a GLN (AI414), with or without an accompanying extension (AI 254):1. Number the digits and characters of the <strong>GS1</strong> element string as shown above.Extension2. Determine the number of digits L in the <strong>GS1</strong> Company Prefix. This may be done, forexample, by reference to an external table of company prefixes.3. Arrange the digits as shown for the <strong>EPC</strong> URI. Note that the GLN check digit d 13 isnot included in the <strong>EPC</strong> URI. For each serial number character s i , replace it with theCopyright ©2005- 2011 <strong>GS1</strong> AISBL, All Rights Reserved. Page 45 of 218

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

Saved successfully!

Ooh no, something went wrong!