[ESC+IP0] RFID Write (UHF) [NX/LX]

CL4NX CL6NX CL4NX-J CL6NX-J PW208/PW208m PW208NX/PW208mNX FX3-LX CT4-LX/HC4-LX PW4NX LR4NX-FA S84NX/S86NX

HEX code

ESC <1B>16
IP0 <49>16<50>16<30>16

Parameter

See under "Parameters".

Default Value

Nil

Valid range and term of command

When turning off the power switch The set command is not maintained.
Valid range within item The set parameter becomes invalid.
Valid range between items The set parameter becomes invalid.

Function

Specifies the data to be written to Gen2 (Class1Generation2) compatible RFID tags. The standard format (three-character parameter identifier) is used when using the memory area extended for each IC chip.

Format(Standard format)

<IP0>e:h(,pcw:xxx) (,epc:xxxx...xxxx)|(,epa:dddd,aaaaa...aaaa)(,usr:xxxx...xxxx)|(,usa:dddd,aaaaa...aaaa) (,lck:bbbbb) ;

Note: Typical parameters are shown in the format examples above. Refer to the next item for details on the parameters.

Old format

SSCC96 code conversion

<IP0>e:a,c:d,s:d,d:ddddddddddddd(,o:xxx)(,m:bbbbb)(,k:xxxxxxxx)(,a:xxxxxxxx)(,p:xxxxxxxx);

SGTIN96 encoding

<IP0>e:c,f:d,c:d,t:d,d:ddddddddddddddddd,n:dddddddddddd(,o:xxx)(,m:bbbbb)(,k:xxxxxxxx)(,a:xxxxxxxx)(,p:xxxxxxxx);

Free mapping

<IP0>e:z(,d:xxxxxxxxxxxxxxxxxxxxxxxx)(,u:xxxxxxxxxxxxxxxx)(,k:xxxxxxxx)(,a:xxxxxxxx)(,p:xxxxxxxx)(,o:xxx)(,m:bbbbb)(,k:xxxxxxxx)(,a:xxxxxxxx)(,p:xxxxxxxx);

Note: Typical parameters are shown in the format examples above. Refer to the next item for detailson the parameters.

[Old format] is solely for maintaining compatibility with models before CL4NX. If you are going to use a new command from CL4NX and beyond, please create with [Standard format].

  • Parameter

EPC encode type parameter
e: EPC encode Type

Specify the parameter right after <IP0>.

The parameter cannot be omitted.

h [Standard format]

Use the three-character parameter identifier after the declaration.

In addition to the standard Gen2 tag, it is possible to write to the memory area extended for each IC chip manufacturer.

a [Conventional format] SSCC96 code conversion

Use the "one-character parameter identifier".

When the Company prefix/Serial reference/Filter value is received, and then converted to an SSCC96 compliant code, and written to the tag.

c [Conventional format] SGTIN96 code conversion

Use the "one-character parameter identifier".

When the Company prefix/Serial reference/Filter value is received, and then converted to an GTIN96 compliant code, and written to the tag.

z [Conventional format] Free mapping

Use the "one-character parameter identifier".

When data is written as is without performing code conversion

Standard format parameters

This is the extended format for the tag from IC chip manufacturer having over 96 bits EPC area.

<IP0>e: Write these parameters after specifying h.

<IP0>e: The order of the parameters after specifying h doesn't matter.

Three-character parameter identifier
Gen 2 basic operation parameters (can be omitted)
pcw: PC rewrite The PC area contains length information for controlling the number of digits of data to be recorded to the EPC. You can change the number of digits of the EPC data by specifying multiples of four from 0 to 124 in decimal code to this parameter.

Specifying this parameter is not necessary in most cases because the length information is written to the PC automatically by judging from the data length specified by epc:, if this parameter is not specified. (Maximum value of the length information of PC is 124 digits.)

afi: AFI write data Specify the number from 000 to 1FF in HEX code. Synthesize data together with current PC length information and write.
epc: EPC write data Specify 4 to 124 digit number in HEX code corresponding to the traditionally written data in the EPC area. Digits can be varied in multiples of four. When the character string is longer than the digits specified by pcw:, a parameter error occurs, and when the character string is shorter, the blanks are filled with zeros.

You may also use the space, tab, line feed in data separator, but these codes will be skipped.

Specifying digits other than digits of multiples of 4 will cause a parameter error. Specifying digits exceeding the maximum number of digits will cause RFID write error.

epa: EPC memory

ASCII write

Specify numbers to write to EPC area in ASCII. Data that includes Control code (00H-1FH) can be written as well.

Note that size information of the data area separated with comma is required in front of the data.

Example:

If the data size is 62, specify epa:62,abcde...

The digits should be a multiple of 2.

The numbers should be specified within 2-62 digits, but the maximum number of digits depends on the tag in use.

Specifying odd number digits will cause a parameter error. Specifying digits exceeding the maximum number of digits will cause RFID write error.

usr: USER memory write Specify numbers to write to USER area in hexadecimals. It must be specified in digits that are multiples of 4.

The numbers should be within 4-512 digits, but the maximum number of digits depends on the tag in use. You may also use the space, tab, line feed in data separator, but these codes will be skipped.

Specifying digits other than digits of multiples of 4 will cause a parameter error. Specifying digits exceeding the maximum number of digits will cause RFID write error.

usa: USER memory

ASCII write

Specify numbers to write to USER area in ASCII. Data that includes Control code(00H-1FH) can be written as well.

Note that size information of the data area separated with comma is required in front of the data.

Example:
If the data size is 64, specify usa:64,abcde...

The digits should be a multiple of 2.

The numbers should be specified within 2-256 digits, but the maximum number of digits depends on the tag in use.

Specifying odd number digits will cause a parameter error. Specifying digits exceeding the maximum number of digits will cause RFID write error.


Parameters related to specifying USER Memory Block to start writing (omissible)
wsb: Specify block to start writing Specifies the block to start writing the USER memory data. The 0th block is specified if omitted.

Block is a unit to write to user memory. Take the values in the following table.

A maximum up to a 3-digit decimal can be specified, but a parameter error occurs if it exceeds the maximum amount for the specified memory (128 and above). See the following table.

Memory area Capacity of 1 block Total number of blocks Total capacity
USER Memory 2bytes 128blocks 256bytes

Only USER memory is available.


Operation parameters in standard format (can be omitted)
lck: Lock Specify the area to be locked by five bits in binary code such as lck:10101.

The order is from the first digit to USER,TID,ACCESS,KILL,EPC. If the access password is specified, it results in a password lock, and if the access password is not specified, it results in a permanent lock.

Bit Section to be locked
bit0 (LSB) EPCdata
bit1 KillCode
bit2 AccessCode
bit3 TIDdata
bit4 (MSB) UserMemory

Note: Impinj Monza R6 is a IC chip for which EPC permanent lock is only an available feature. Using 11111 for 5-bit block (ex. "lck:11111") can use the lock feature.

* Cannot be specified at the same time as "lc2 (lock specification)".

lc2: Lock Specify the area to be locked by 10-digit character (ex. lc2:1011XX0001). The order is from the upper two digits to USER, TID, ACCESS, KILL, and EPC. Detailed lock can be applied by specifying the following bits for each area.
Bit specification Lock item
00 Unlock
01 Permanent Unlock
10 Password Lock/Password Read Lock
11 Permanent Lock
XX Mask

Note: Impinj Monza R6 is a IC chip for which EPC permanent lock is only an available feature. However using 11111 for 5-bit block (ex. "lc2:1111111111") can use a lock feature.

* Cannot be specified at the same time as "lck (lock specification)".

apw: Access password To perform locking or read protecting with a password, specify an eight-character HEX code.

* Cannot be specified together with Unlocking password (psw:) at the same time.

* When specify this parameter, please specify with writing parameter like an epc:.

* Please specify a password other than "00000000".

psw: Unlocking password To access an area on which a password lock or password read lock is applied, specify the same number sequence as that used when locking.

Specify unlocking area with lck: or lc2:.

kpw: Kill code Specify the kill code with eight-character HEX code. You cannot execute the kill by writing the code only.

[Supported in models excluding CT4-LX/HC4-LX] NXP G2XL dedicated secure parameters (can be omitted)

(Cannot be used in a Gen2 chip other than NXP G2XL.)

rlk: G2X, Read protection Specify 0 or 1 to indicate whether read protection is to be set or canceled. 1 for set and 0 for reset. When read protection is set, the reading of all areas becomes restricted.

You must concurrently use an access password other than "00000000", and for reset, specify the same number sequence as the access password used during setting, in the cancellation password. (dedicated for NXP G2XL)

eas: G2X, EAS bit data Specify 0 or 1 as the value of the EAS bit. 1 for set and 0 for reset.

You must concurrently use an access password other than "00000000", and for reset, specify the same number sequence as the access password used during setting, in the cancellation password. (dedicated for NXP G2XL)


[Supported in models excluding CT4-LX/HC4-LX] NXP G2iM/G2iL dedicated secure parameters (can be omitted)

(Cannot be used in a Gen2 chip other than NXP G2iM/G2iL.)

rlk: G2I, Read protection Specify 0 or 1 to indicate whether read protection is to be set or canceled. 1 for set and 0 for reset. When read protection is set, the reading of all areas becomes restricted.

You must concurrently use an access password other than "00000000", and for reset, specify the same number sequence as the access password used during setting, in the cancellation password. (dedicated for NXP G2im/G2iL)

eas: G2I, EAS bit data Specify 0 or 1 as the value of the EAS bit. 1 for set and 0 for reset.

You must concurrently use an access password other than "00000000", and for reset, specify the same number sequence as the access password used during setting, in the cancellation password. (dedicated for NXP G2im/G2iL)


Feed control parameters (can be omitted)
fsw: Feed without printing Usually, for RFID write item without print data, only writing of RFID data is performed, and the label is not fed.
Parameter Performance Remarks
0 Do not transport (when no print items are present) fsw: Equivalent to omission
1 Transfer (when no printed items are present)
2 Perform writing only without transport or printing No label consumption; writing test possible

If no transport occurs, the write result will be notified by a buzzer (success: two short beeps, failure: six short beeps).


SSCC96/SGTIN96 standard code conversion parameters
enc: Declaration of code standard conversion Declare when executing conversion according to the code standard. SSCC96 and SGTIN96 can be specified. The converted data is written in the EPC area. Therefore, you can no longer use the epc: parameter identifier
Parameter Conversion
a SSCC96
c SGTIN96
flt: Filter value Specify the filter value with the number from 0 to 7. Refer to the filter value standard table described later. If omitted, 0 is specified.
com: Company prefix

Specified

Specify the company prefix with 6 to 12-digit decimal number.
srl: Serial reference In the case of SSCC96, specify the serial reference with 5 to 11-digit decimal number together with the number sequence specified in com:, so that the value is 17 digits or less. Even if the value does not reach 17 digits, leave it as is since the upper digits are filled with a zero inside the printer.
In the case of SGTIN96, specify the serial number with 12-digit fixed decimal number. Specify 274877906943 or a smaller number.

It becomes a parameter error in the case of less than 12 digits.

itm: Item reference (Only for SGTIN96) Specify the item reference with 1 to 7-digit decimal number together with the number sequence specified in com:, so that the value is 13 digits or less.

Even if the value does not reach 13 digits, leave it as is since the upper digits are filled with a zero inside the printer.


EM microelectronic EM4425 write-related parameters

(Available for EM4425-v10 and EM4425-v12. These items will be supported with CT4-LX 6.6.5 and CL4NX/CL6NX 1.14.1)

ict: EM4425 Chip Write Declaration Parameter
Specifies the type of IC chip to write data to.

When omitted, the IC chip type is "00" (= invalid).

Must be specified when using the "01" IC chip described below.

The parameter "ict:" must be placed before "scr:," "ncf:," "ndt:," "ncl:," "tlw:," "ahc:," and "ckb:" described below. If it is placed after them, a command error will result.

IC chip type Product Note
00 Conventional IC chip other than the following Same as when this parameter is omitted
01 EM4425 Dual Frequency Tag
scr: System Configuration Block1 register specifying parameter
(* Not available for EM4425-v10)
Specify a parameter to write to System Configuration register (UHF User Memory 120h - 122h) by 12 digit hex number.

Other numbers than 12 digit hex number will be considered a parameter error.

e.g. scr:210447F08000

ncf: OTP NDEF Configuration register specifying parameter
(* Not available for EM4425-v10)
Specify a parameter to write to OTP NDEF Configuration register (UHF Reserved Word 1Ch - 1Fh) by 16 digit hex number.

Other numbers than 16 digit hex number will be considered a parameter error.

e.g. ncf:F939004B1E520000

ndt: NDEF memory block data selection
Specify the data to write to NDEF memory block (UHF User Memory A0h -).

Specify binary type data followed by the max 3 digit decimal number length and a comma.

Within the valid range of 256 bytes. However, use less than or equal to the capacity of the NDEF memory block setting described in "scr:" (System Configuration Block 1 register).

e.g. ndt:nnn,bb...bb (set the NDEF data to bb...bb)


EM microelectronic EM4425 write-related parameters

(These items will be supported with CT4-LX 6.6.5 and CL4NX/CL6NX Plus 1.14.1)

ncl: OTP NDEF Configuration Lock Word register specifying parameter

(* Not available for EM4425-v10)

Specify the setting value to be written to the OTP NDEF Configuration Lock Word register (UHF User Memory 12Dh) as a 4-digit hexadecimal number; otherwise, a parameter error will result. Normally, "8000" is specified, but any value between 0000 and FFFFF will produce the same result.

When writing, the OTP NDEF Configuration register (UHF Reserved Word 1Ch to 1Fh) becomes read-only.

If this parameter is not specified, the OTP NDEF Configuration register is not read-only locked.

Example: ncl:8000

tlw: Tamper Lock Word register specifying parameter
(* Not available for EM4425-v10)
Specify a parameter to write to Tamper Lock Word register (UHF User Memory 12Ch) by 4 digit hex number.

After Tamper is locked, the written Tamper Alarm of non-volatile memory will be valid.

Other numbers than 4 digit hex number will be considered a parameter error. "8000" shall be specified at normal situation.

If this parameter is not specified or a number less than "8000" is specified, the written Tamper Alarm non-volatile memory will not be valid.

Tamper Detection setting shall be performed at System Configuration Block 1.

e.g. tlw:8000

ahc: Active HF Crypto Mode Word register specifying parameter
(* Not available for EM4425-v10)
Specify a parameter to write to Active HF Crypto Mode Word register (UHF User Memory 126h) by 4 digit hex number. Other numbers than 4 digit hex number will be considered a parameter error. "8000" shall be specified at normal situation. But specifying any number from 0000 to FFFF will have the same result.

If this parameter is not specified, the setting will not move to HF Crypto Mode and the tag will not respond to NFC in the HF side.

e.g. ahc:8000

ckb: Crypto Key Block 3/4 register specifying parameter
(* Not available for EM4425-v10)
Specify a parameter to write to Crypto Key Block 3/4 register (UHF Reserved Word 0Ch - 13h) by 32 digit hex number. Other numbers than 32 digit hex number will be considered a parameter error.

e.g. ckb:FEDCBA9876543210FEDCBA9876543210

* In EM4425-v10, writing the "scr:", "ncf:", "ncl:", "tlw:", "ahc:", and "ckb:" parameters will cause a write error because the corresponding register is write-protected in advance. Please be careful not to write these parameters.

Coding examples of the standard format (three-character parameter identifier)

Coding example 1

When data is written in an arbitrary length in the EPC region in the IC chip manufacturer extension specifications tag

<A>
<V>50<H>50<XM>SECURE RFID EPC DATA WRITE
<IP0>e:h,epc:01234567890123456789012345678901; (in digits that are multiples of 4)
<Q>1
<Z>

Coding example 2

When EPC and user memory are written in a batch in the IC chip manufacturer extension specifications tag, and permanent lock operation on EPC and user memory.

<A>
<V>50<H>50<XM>SECURE RFID EPC & USER DATA WRITE
<IP0>e:h,epc:01234567890123456789012345678901,usr:012345678.........5676789012345678901,lck:10001;
<Q>1
<Z>

Coding example 3

When data is written in EPC by specifying the SSCC96 standard code conversion in the Gen2 tag, and permanent locking is performed the EPC.

<A>
<V>50<H>50<XM>SECURE RFID SSCC96 DATA WRITE
<IP0>e:h,enc:a,flt:0,com:12345678,srl:012345678,lck:00001;
<Q>1
<Z>

Coding example 4

When data is written in EPC by specifying the SGTIN96 standard code conversion in the Gen2 tag

<A>
<V>50<H>50<XM>SECURE RFID SGTIN96 DATA WRITE
<IP0>e:h,enc:c,flt:0,com:123456,itm:0123456,srl:012345678901;
<Q>1
<Z>

Coding example 5

Writes data to EPC of tag after the printer convert it to the SGTIN96 standard code. And writes standard data to USER of tag.

<A>
<V>50<H>50<XM>SECURE RFID SGTIN96 DATA WRITE
<IP0>e:h,enc:c,flt:0,com:123456,itm:0123456,srl:012345678901,usr:01234567;
<Q>1
<Z>

Coding example 6

Writes data to EPC of new tag and performing password locks operation ACCESS and EPC

<A>
<IP0>e:h,epc:77914949,apw:456E9897,lck:00101;
<Q>1
<Z>

Coding example 7

When data to EPC by unlocking ACCESS and EPC for the tag that locked ACCESS and EPC in coating example 6 (Password is the set password when locking.)

* Cannot specify Access password (apw:) at this time.

<A>
<IP0>e:h,psw:456E9897,epc:77914948,lck:00101;
<Q>1
<Z>

Coding example 8

When writing data in the EPC area of the IC chip "Impinj Monza R6" tag (unlocked tag) and permanently locking the EPC (* Impinj Monza R6 is an IC chip in which permanent lock of the EPC only can be executed).

<A>
<IP0>e:h,epc:77914949,lck:11111;
<Q>1
<Z>

Coding example 9

When writing EPC and USER to a new tag (unlocked tag) and performing a permanent lock operation on the EPC area

<A>
<IP0>e:h,epc:012345678901,usr:E0123456,lc2:XXXXXXXX11; 
<Q>1
<Z>

Coding example 10

When only wiritng data in the EPC area of the tag(EPC write test/non-print feed)

<A>
<IP0>e:h,epc:77914949,fsw:2;
<Q>1
<Z>

Specify the block to start writing with wsb: and write data to the subsequent blocks in order (grayed out part)
Block 0 1 2 3 4 5 6 7 8 9 10 11 … … 63
Data 1111 2222 3333
Coding example 11

When writing data in the EPC area of the tag and writing 12 byte data of "111122223333" from block 5 in the USER area.

<A>
<IP0>e:h,epc:77914949, usr: 111122223333,wsb:5;
<Q>1
<Z>

Coding example 12

(These items will be supported with CT4-LX 6.6.5 and CL4NX/CL6NX Plus 1.14.1)

Set the system configuration to determine the memory allocation between the EPC and NDEF data areas of EM microelectronic EM4425-v12 tags, write the 24-digit EPC to the EPC area and the 25-character URI information to the NDEF area, activate the HF crypto mode, and lock each register. In the case of issuing a tag for a smart poster by locking each registers.

<A>
<IP0>e:h,epc:012345678901234567890123,ict:01,scr:210447F08000,ncf:F800000000000000,ndt:025,(E1) (40) (13
) (01) (03) (12) (D1) (01) (0E) (55) (04) nfc.tapee.net(FE) ,ncl:8000,tlw:8000,ahc:8000,fsw:1;
<Q>1
<Z>

* " (E1) " represents the binary code E1h

Coding example 13

(These items will be supported with CT4-LX 6.6.5 and CL4NX/CL6NX Plus 1.14.1)

When issuing a tag for smart posters by writing a 24-digit EPC in the EPC area and 25-character URI information in the NDEF area of an EM4425-v10 tag manufactured by EM microelectronic.

<A>
<IP0>e:h,epc:012345678901234567890123,ict:01,ndt:025,(E1) (40) (17) (01) (03) (12) (D1) (01) (0E) (55) (04) nfc.t
apee.net(FE) ,fsw:1;
<Q>1
<Z>

* " (E1) " represents the binary code E1h

Conventional format

The format for Gen2 (Class1Generation2) tag only.

Use the standard format for the tag from the IC chip manufacturer having an EPC area of more than 96 bits.

<IP0>e: Write these parameters after specifying *.

Conventional format: One-character parameter identifier (SSCC96 code conversion / SGTIN96 code conversion / free mapping)
EPC data parameter
d: EPC data Specify the EPC data. The restrictions on the number of digits based on each EPC encoding type are as follows.
When SSCC96 code conversion is specified

<IP0>e:a,..

A 17-digit decimal number sequence in which the company prefix and serial reference are joined together
When SGTIN96 code conversion is specified

<IP0>e:c,..

A 13-digit decimal number sequence in which the company prefix and item reference are joined together
When free mapping is specified

<IP0>e:z,..

A hexadecimal string containing 24 or less number of digits in multiples of four, which is written without conversion in the EPC area. Use the standard format in an application exceeding 24 digits (96 bits).

You may also use the space, tab, line feed in data separator, but these codes will be skipped.


SSCC96/SGTIN96 conversion parameter
f: filter value Refer to the filter value and the filter value standard table described later.

If omitted, 0 is specified.

c: company prefix Number of digits of the company prefix

A number from 6 to 12. Number of digits of the company prefix in the first half of the data specified in the d parameter.

s: serial reference Number of digits of Serial reference (only when selecting SSCC96)

Number of digits of the serial reference in the latter half of the data specified in the d parameter. Specify a number from 5 to 11, so that when combined with c, the resultant value is 17.

t: item reference Number of digits of Item reference (only when selecting SGTIN96)

Specify a number from 1 to 7, so that when combined with c, the resultant value is 13.

n: serial number Serial number 12 digits (fixed) (only when selecting SGTIN96)

Specify 274877906943 or a smaller number.


Feed control parameters (can be omitted)
g: Feed without printing Usually, for RFID write item without print data, only writing of RFID data is performed, and the label is not fed.
Parameter Performance Remarks
0 Do not transport (when no print items are present) fsw: Equivalent to omission
1 Transfer (when no printed items are present)
2 Perform writing only without transport or printing No label consumption; writing test possible

If no transport occurs, the write result will be notified by a buzzer (success: two short beeps, failure: six short beeps).


Gen 2 memory bank operation parameters (can be omitted)
u: User Memory HEX Specify numeric string to write to USER area in hexadecimals. Specified digits must be multiples of 4.

This can be specified in the range of 4 to 128 digits, but the maximum number of digits depends on the used tag.

For applications that exceed 128 digits, use the standard format.

You may also use the space, tab, line feed in data separator, but these codes will be skipped.

v: User Memory ASCII Specify numeric string to write to USER area in ASCII data. It is necessary to have data area and data size information separated with a comma before the data. For example in specifying a data size as 16, specify as follows:

V:16,abcd...

Specified digits must be multiples of 2.

This can be specified in the range of 2 to 64 digits, but the maximum number of digits depends on the used tag.

For applications that exceed 64 digits, please use the standard format.

o: AFI code Application Family Identifier. Specify a hexadecimal number from 0H to 1FFH. To write as AFI, specify the ninth bit (MSB) as 1.
m: Locking 5-digit binary number Set the bit of the bank to be locked as 1.

If you specify the access code, it results in a "password lock", and if you omit the access code, it results in a "permanent lock".

Bit Section to be locked
bit0 (LSB) EPCdata
bit1 KillCode
bit2 AccessCode
bit3 TIDdata
bit4 (MSB) UserMemory

Example: If only the EPCdata area is locked "m: 00001"

k: kill code 8-digit HEX code Used when writing the kill code.

Specify other than "00000000" in an eight-digit HEX number sequence configured by numbers from 0 to 9, and alphabets from A to F. The purpose of this parameter is only to write the kill code. You cannot kill the tag actually.

a: access code This is an eight-digit number sequence specified when applying the password lock.

You can use an eight-digit HEX number sequence configured by numbers from 0 to 9, and alphabets from A to F. To apply the password lock, specify other than "00000000". If you omit this parameter, and specify m: Locking, a permanent lock is applied on the specified area.

p: password code This is an eight-digit number sequence used for rewriting the tags on which a password lock has already been applied.

It is an eight-digit HEX number sequence configured by numbers from 0 to 9, and alphabets from A to F that is used when writing in a tag on which a password lock has been applied. Specify the same number sequence as the access code used at the time of locking.

By specifying a number sequence same as the access code specified at the time of password lock in the "password code", and specifying "00000000" in the "access code", the tag on which a password lock has been applied can be returned to an open state.

Coding examples of one-character parameter identifiers

(SSCC96 code conversion / SGTIN96 code conversion / free mapping)

Coding example 1

Country code 49 /Company code 12345 / Serial no. 0000000 789

When SSCC 96 data is written to a Gen2 corresponding tag

<A>
<V>50<H>50<XM>49123450000000789
<IP0>e:a,c:7,s:10,f:1,d:49123450000000789;
<Q>1
<Z>

Coding example 2

Country code 49 /Company code 12345 / Item 067890 / Serial no. 000000000789

When SGTIN96 data is written to a Gen2 corresponding tag

<A>
<V>50<H>50<XM>4912345067890000000000789
<IP0>e:c,c:7,t:6,f:1,d:4912345067890,n:000000000789;
<Q>1
<Z>

Coding example 3

When free mapping data is written in the EPC area of a Gen2 corresponding tag

<A>
<V>50<H>50<BD>101080*301803CB4F48B38000000001*
<IP0>e:z,d:301803CB4F48B38000000001;
<Q>1
<Z>

Coding example 4

When data is written in free mapping in the EPC area of a Gen2 corresponding tag, data is written in the user area, and at the same time, a permanent lock is applied to both the EPC and USER areas

<A>
<V>50<H>50<BD>101080*0123456789ABCDEF01234567*
<IP0>e:z,d:0123456789ABCDEF01234567,u:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF,m:10001;
<Q>1
<Z>

Coding example 5

When data is written in free mapping in the EPC area of a Gen2 corresponding tag, and a password lock (Password: 12345678) is applied to the EPC area

<A>
<V>50<H>50<BD>101080*0123456789ABCDEF01234567*
<IP0>e:z,d:0123456789ABCDEF01234567,a:12345678,m:00101;
<Q>1
<Z>

Supplemental explanation

  1. This command can be used only once between the data transmit start <A> to the data transmit end <Z>.
  2. When print data is to be included beside RFID write (UHF), multiple labels can be specified. If there is no print data as in Example 2, media is not fed. If a blank media is to be fed after RFID write (UHF), specify feeding without print as in Example 3.


    [Example 1] If print data is included, the QTY can be specified.

    <A>
    <V>50<H>50<XM>0123456789ABCDEF01234567
    <IP0>e:z,d:0123456789ABCDEF01234567;
    <Q>1
    <Z>
    

    [Example 2] If you specify RFID write (UHF) without print data, the media is not fed, and QTY cannot be specified.

    <A>
    <IP0>e:z,d:0123456789ABCDEF01234567;
    <Z>
    

    [Example 3] If there is no print data, but you have specified feeding without print in RFID write (UHF), the media is fed, and QTY can be specified.

    <A><IP0>e:z,d:0123456789ABCDEF01234567,g:1; <Q>2<Z>

    or

    <A><IP0>e:h,epc:0123456789ABCDEF01234567,fsw:1;<Q>2<Z> (for the standard format)

    Example 1 Example 2 Example 3
    When RFID write (UHF) is successful Print, feed Don't feed
    Two short beeps
    Feed a blank label
    When RFID write (UHF) has failed Print tag error
    Retry operation
    Six short beeps Print tag error
    Retry operation
  3. * If you have set TAG OFFSET to other tan the default value, or if you have specified temporary tag offset, feeding is performed in Example 2 as well.

  4. Buzzer will sound in the following manner.

    RFID write (UHF) success/fail will be notified with the following buzzers only when RFID write (UHF) is specified without print data:

    RFID write (UHF) is successful: Two short buzzer sounds

    RFID write (UHF) fails: Six short buzzer sounds

    Buzzer sound for after RFID write (UHF) can be changed according to settings under System -> Sound -> Error Sound.

  5. If 0 is specified in the fsw: parameter for the item without printing data: when sending this command, send it when the printer stops printing and the printing items are not available in the printer.
  6. Unused parameters can be omitted.
  7. For details on the filter value to be used with SSCC96/SGTIN96, refer to the table below according to the purpose of use.

    Filter value standard table

    Filter value SSCC96 SGTIN96
    0 All Others All Others
    1 Reserved Point of Sale (POS) Trade Item
    2 Full Case for Transport Full Case for Transport
    3 Reserved Reserved
    4 Reserved Inner Pack Trade Item Grouping for Handling
    5 Reserved Reserved
    6 Unit Load Unit Load
    7 Reserved Unit inside Trade Item or component inside a product not intended for individual sale
  8. SSCC96 code conversion

    This function is used to generate a code according to the SSCC96 standard when a company prefix, serial reference, and filter value 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 are in decimals.

    Company prefix: 4011661

    Serial reference: 3000000001

    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")

    According to the standard, the company prefix and serial reference are combined together to result in 17 digits. Of these 17 digits, the proportion of the company prefix and the serial reference can be selected from the seven combinations described in the table below.

    Partition value Number of digit of the company prefix Number of digits of the serial reference
    0 12 5
    1 11 6
    2 10 7
    3 9 8
    4 8 9
    5 7 10
    6 6 11

    In the case shown in this example, the following combination is assumed:

    Number of digits of the company prefix: 7

    Number of digits of serial reference: 10

    The partition value is 5, but since this value is generated within the PC, it need not be specified.


    Under this condition, if the format of RFID write (UHF) <IPO> is applied, it results in the following:


    When the standard format is used

    <IP0>e:h,enc:a,com:4011661,srl: 3000000001,flt:0;

    Description of each parameter

    Code Explanation
    e:h, Specifies the standard format
    enc:a Specifies SSCC96 code conversion
    com:4011661, The company prefix is 4011661
    srl:3000000001, The serial reference is 3000000001 17 digits when combined with com:
    flt:0 The filter value is All Others
    ; End terminal

    When the one-character parameter identifier in the conventional format is used

    <IP0>e:a,c:7,s:10,f:0,d:40116613000000001;

    Description of each parameter

    Code Explanation
    e:a, Specifies SSCC96 code conversion
    c:7, The company prefix is 7 digits
    s:10, The serial reference is 10 digits 17 digits when combined with c:
    f:0, The filter value is All Others
    d:40116613000000001 Number in which the company prefix and serial reference are joined together It is 17 digits.
    ; End terminal

    When these commands are executed, the above parameters are converted to SSCC96 code 3114F4DA34B2D05E01000000 and 24 characters (18 characters in actuality), and are written in a tag.

  9. 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 Number of digit of the item reference
    0 12 1
    1 11 2
    2 10 3
    3 9 4
    4 8 5
    5 7 6
    6 6 7

    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 <IPO> RFID write (UHF) is applied, it results in the following:

    When the standard format is used

    <IP0>e:h,enc:c,com:003885,itm:4006606,flt:0,srl:000000000001;

    Description of each parameter

    Code Explanation
    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
    srl: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

    Code Explanation
    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 digits.
    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.