SATO CL4NX Programming Reference Manual page 319

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

6. SGTIN96 code conversion
This function is used to generate a code according to the SGTIN96 standard when a company prefix, item reference,
filter value, and serial number are applied. For the time being, the usage method is explained by using an example in
which the following numbers have been applied. All numbers below are in decimals.
Company prefix: 003885
Item reference: 4006606
Filter value: 0 (Select the filter value from the filter value standard table described earlier according to the purpose
of use. In this example, the filter value is 0 from "All Others")
Serial number: 000000000001 (fixed as 12 digits)
According to the standard, the company prefix and item reference are combined together to result in 13 digits. Of
these 13 digits, the proportion of the company prefix and the item reference can be selected from the seven
combinations described in the table below.
Partition value
Number of digit of the company prefix
0
1
2
3
4
5
6
In the case shown in this example, the following combination is assumed:
Number of digits of the company prefix: 6
Number of digits of item reference: 7 If both items combined together do not form 13 digits, 0 is entered
before the number to fill up the lacking number of digits.
The partition value is 6, but since this value is generated within the PC, it need not be specified.
Under this condition, if the format of <IP0> EPC code write is applied, it results in the following:
When the standard format is used
<IP0>e:h,enc:c,com:003885,itm:4006606,flt:0,slr:000000000001;
Description of each parameter
e:h,------------- Specifies the standard format
enc:c,------------ Specifies SGTIN96 code conversion
com:003885,-------------- The company prefix is 6 digits
itm:4006606,------------- The item reference is 7 digits 13 digits when combined with com:
flt:0 ----------- The filter value is All Others
slr:000000000001--- Serial number, fixed at 12 digits 274877906943 or a smaller number.
;---------------- End terminal
When the one-character parameter identifier in the conventional format is used
<IP0>e:c,c:6,t:7,f:0,d:0038854006606,n:000000000001;
Description of each parameter
e:c,------------ Specifies SGTIN96 code conversion
c:6,-------------- The company prefix is 6 digits
t:7,------------- The item reference is 7 digits 13 digits when combined with c:
f:0,-------------- The filter value is All Others
d:0038854006606, –Number in which the company prefix and item reference are joined together It is 13
n:000000000001--- Serial number, fixed at 12 digits 274877906943 or a smaller number.
;---------------- End terminal
When these commands are executed, the above parameters are converted to SGTIN96 code
301803CB4F48B38000000001 and 24 characters, and are written in a tag.
12
11
10
9
8
7
6
digits.
313
Number of digit of the item reference
1
2
3
4
5
6
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents