[ESC+RK] RFID Write (ISO/IEC14443 TypeA) [SX]

CL4-SXR CL6-SXR

Hexadecimal code

ESC <1B>16
RK <52>16<4B>16

Parameter

Refer to Parameters page

Initial value

None

Valid range and term of command

When power switch is OFF The set command will not be maintained.
Valid range within items The set parameter becomes invalid.
Valid range between items The set parameter becomes invalid

Function

Specifies the data to write on RFID tag that supports ISO/IEC14443 Type A.

Format

When setting NFC (NDEF) format user data

<RK>a(,b),NFC:x(,ict:xx)(,lck:xxxx)(,dlk:yyyyyy)(,spl:x)(,ptl:xx)(,ecd:x)(,lgc:aaaaa...aaaa)(,idt:xxx...xxx) (,ndd:mmmm,nnnnn...nnnn)(,hma:xxxxxxxxxxxx)(,dnm:aaaaa...aaaa)(,dcl:xxxxxx)(,scl:xxxx)(,ver:x,x)(,rfb:x) (,ssi:xxx,aaa...aaa)(,nky:xxx,aaa...aaa)(,atp:xxxx)(,etp:xxxx)(,amc:e)(,ams:hhh)(,amb:f)(,ame:g)(,nce:l)(,cfl:o) (,lma:ii)(,prt:j)(,acl:k)(,lim:p)(,apw:ssssssss)(pck:tttt)(,psw:ssssssss)(,sa0:uu)(,sa1:vv)(,sak:wwwww...wwww) (,aky:wwwww...wwww)(,fsw:r)

[When setting free format user data / when there is no user data]

<RK>a(,b),Dmmmm,n...n(,NFC:f)(,ict:xx)(,wsb:sss)(,lck:xxxx)(,dlk:yyyyyy)(,amc:e)(,ams:hhh)(,amb:f)(,ame:g) (,cfl:o)(,lma:iii)(,prt:j)(,acl:k)(,lim:p)(,apw:ssssssss)(pck:tttt)(,psw:ssssssss)(,sa0:uu)(,sa1:vv) (,sak:wwwww...wwww)(,aky:wwwww...wwww)(,fsw:r)

  • Parameter

Specification of inlay type
a Valid range for models with module supporting ISO/IEC14443 TypeA:1

1:NTAG, MIFARE, my-d (supports NFC), FM11NT021/FM11NT081


Ignore RFID tag error (omissible)
b
Parameter Operation in Retry Mode
-1 Even if a tag error occurs, it does not stop and retries printing/writing that data to the next label.
0 When a tag error occurs, it stops each time.
1~9 When a tag error occurs, it does not stop and retries to the next label with the specified number of ignored sheets (1~9) as the upper limit. If tag errors occur continuously beyond the specified number, it stops.
Parameter Operation in Release Mode
-1 Even if a tag error occurs, it does not stop and discards that data, then proceeds to print/write the next data to the next label.
0, 1 When a tag error occurs, it stops each time.
2~9 When a tag error occurs, it does not stop and discards that data with the specified number of ignored sheets (2~9) as the upper limit, then proceeds to print/write the next data to the next label. If the number of consecutive tag errors reaches the specified limit, an error occurs and the system stops.

Note 1: If this parameter is omitted, the number of retries set under the menu Interfaces -> RFID -> Retries ([DC2]PA's identifier IF, MAX_RETRY_LABEL) is applied instead.

Note 2: Do not omit this parameter or change its value, in the middle of successive <RK> command items. Also, do not send a <TU> command item continuously after a <RK> command item with this parameter. They will result in not guaranteed operation when a tag error occurs.


Data input format + number of data to write in bytes
Dmmmm

or

dmmmm

Number of data to write

"D" or "d" shows that this field is for specifying the number of data to write.

Capital "D" indicates that the data is in ASCII, lower-case "d" indicates the write data is in HEX.

Specify the length of data in bytes with the number (mmmm) that comes after "D" or "d".

This parameter is used when data is set without using free format or no user data.

Specifies the number of bytes for the next parameter "n:data array to write". This portion should be written in bytes, so the number specified for this field will not change regardless of data format, whether ASCII or HEX.

Specify 0 if there is no data to write to user memory, in which case specify nothing but the comma for the succeeding "n: data array to write".


Data array to write
n Data array to write This parameter is used when data is set without using free format or no user data.

The character code and maximum number of characters varies depending on the data input/output format (ASCII/HEX) as below:

ASCII Range of available character codes: (00H) - (FFH)

See "Mapping table of IC chip type, number of blocks and total capacity" for the valid number of characters. It can be specified by unit of 1 character, so it is the same as maximum number of bytes allowed for each IC chip.

HEX Range of available character codes: 0 (30H) - 9 (39H), A (41H) - F (46H)

Specify digits with multiples of 2. The number of valid characters would be twice the number of characters available for the maximum number of bytes for each IC chip, mentioned in "Mapping table of IC chip type, number of blocks and total capacity".


Specifying NFC (NDEF) format
NFC: Specify this parameter when you set data in NDEF (NFC Data Exchange Format) format stipulated by NFC forum.

Valid range: 1-6,f

[When setting NFC (NDEF) format user data]

Parameter User data
1 URI format
2 TEXT format
3 Smart poster format
4 handover (Bluetooth) format
5 handover (Wi-Fi) format
6 handover (mixture of Bluetooth/Wi-Fi) format

[When setting free format user data]

Parameter User data
f NDEF form

Note: Of a case and the user data that user data is not NDEF form when there is not it, this designation is unnecessary.

Parameters can be specified in any order from here.

IC chip type (The default is, IC chip type become 00 "NTAG203")
ict: Specify IC chip type to write data. The maximum number of bytes depends on the type of chip specified here.
IC chip type Name of product Maximum number of bytes Remark
00 NTAG NTAG203 144
01 NTAG210 48
03 NTAG213 144
04 NTAG215 496
05 NTAG216 888
30 MIFARE MIFARE Ultralight 48
31 MIFARE Ultralight (EV1) (MF0UL11) 48
33 MIFARE Ultralight C 144
62 my-d (NFC support) my-d move NFC 128
90 FM11NT*** FM11NT021 144
91 FM11NT081 888

Note 1: A command error will occur if you specify a value over maximum number of bytes (e.g. specifying "D0889" for number of data to write for NTAG216).

Note 2: When the handover (Bluetooth / Wi-Fi mixed) format is selected, a chip type with a small maximum size may cause a command error.

Availability of various omissible parameters for each product (except for Ignore RFID tag error and IC chip type)

IC Chip type

00 01 03 04 05 30 31 33 62 90 91

Product

NTAG 203

NTAG 210

NTAG 213

NTAG 215

NTAG 216

MIFARE
Ultralight

MIFARE
Ultralight
(EV1) (MF0UL11)

MIFARE
Ultralight C

my-d move NFC

FM11NT021

FM11NT081

Parameter

wsb Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
lck Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
dlk Yes No Yes Yes Yes No No Yes Yes Yes Yes
spl Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ptl Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ecd Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
lgc Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
idt Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ndd Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
hma Yes No Yes Yes Yes No No Yes Yes Yes Yes
dnm Yes No Yes Yes Yes No No Yes Yes Yes Yes
dcl Yes No Yes Yes Yes No No Yes Yes Yes Yes
scl Yes No Yes Yes Yes No No Yes Yes Yes Yes
ver Yes No Yes Yes Yes No No Yes Yes Yes Yes
rfb Yes No Yes Yes Yes No No Yes Yes Yes Yes
ssi Yes No Yes Yes Yes No No Yes Yes Yes Yes
nky Yes No Yes Yes Yes No No Yes Yes Yes Yes
atp Yes No Yes Yes Yes No No Yes Yes Yes Yes
etp Yes No Yes Yes Yes No No Yes Yes Yes Yes
amc No No Yes Yes Yes No No No No No No
ams No Yes Yes Yes Yes No No No No No No
amb No Yes Yes Yes Yes No No No No No No
ame No No Yes Yes Yes No Yes No No No No
nce No No Yes Yes Yes No No No No Yes Yes
cfl No No Yes Yes Yes No No No No Yes Yes
lma No Yes Yes Yes Yes No Yes No No Yes Yes
prt No Yes Yes Yes Yes No Yes No Yes Yes Yes
acl No Yes Yes Yes Yes No Yes No No No No
lim No Yes Yes Yes Yes No Yes No Yes Yes Yes
apw No Yes Yes Yes Yes No Yes No Yes Yes Yes
pck No Yes Yes Yes Yes No Yes No No Yes Yes
psw No Yes Yes Yes Yes No Yes No Yes Yes Yes
sa0 No No No No No No No Yes No No No
sa1 No No No No No No No Yes No No No
sak No No No No No No No Yes No No No
aky No No No No No No No Yes No No No
fsw Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes

Yes: Operable No: Inoperable (command error occurs)

Parameters related to specify block to start writing (omissible)
wsb: Specify block to start writing Specifies the block to start writing the data. Block is a unit to write to user memory. The following values in the table are allowed based on the type of inlays. A maximum up to 3 digits in decimal can be specified. A parameter error will occur if it exceeds the maximum amount for the specified inlay. Please see the following table.
Take note that the parameters related to write starting block cannot be used for writing data in NFC (NDEF) format.

Mapping table of IC chip type and number of blocks, and total capacity

IC chip type Product Capacity of 1 block Total number of blocks Total capacity Valid range of number of blocks
00 NTAG203 4bytes 36blocks 144bytes 0-35
01 NTAG210 4bytes 12blocks 48bytes 0-11
03 NTAG213 4bytes 36blocks 144bytes 0-35
04 NTAG215 4bytes 124blocks 496bytes 0-123
05 NTAG216 4bytes 222blocks 888bytes 0-221
30 MIFARE Ultralight 4bytes 12blocks 48bytes 0-11
31 MIFARE Ultralight (EV1) (MF0UL11) 4bytes 12blocks 48bytes 0-11
33 MIFARE Ultralight C 4bytes 36blocks 144bytes 0-35
62 my-d move NFC 4bytes 32blocks 128bytes 0-31
90 FM11NT021 4bytes 36blocks 144bytes 0-35
91 FM11NT081 4bytes 222blocks 888bytes 0-221

Parameters for Block Lock (omissible)
lck: Static lock It is possible to control 12 blocks worth of user memory for the specified blocks. Please set a fixed, 4-digit hexadecimal.

See bit image as below.

Bit position 7 6 5 4 3 2 1 0
1st byte L
7
L
6
L
5
L
4
L
CC
BL
15-10
BL
9-4
BL
CC
2nd byte L
15
L
14
L
13
L
12
L
11
L
10
L
9
L
8

CC: Block that indicate inlay specification


There are 2 types of locking, locking by each block (L) and block locking (BL) 6 blocks together. The numbers indicate the number of block to be locked.

The specified block will be write protected when you specify 1 in place of L (will be made read-only).

The target range of blocks will be fixed with the current restrictions when you specify 1 in place of BL. The block without L-lock cannot be made read-only, so it will constantly be read-write.

At the same time, you specify the L and BL for the same block, the target block is read-only reduction.


Coding Sample

Format where the setup to ignore RFID tag error is omitted when recording 10byte characters of "AAAA1111BB" in block position of user memory 8 in NTAG213 RFID tag, and locking sequential four blocks (read only) at the same time.

Bit position 7 6 5 4 3 2 1 0
1stbyte L
7
L
6
L
5
L
4
L
CC
BL
15-10
BL
9-4
BL
CC
2ndbyte L
15
L
14
L
13
L
12
L
11
L
10
L
9
L
8
      : Locked block
dlk: Dynamic lock Allows 13th block and beyond to be controlled when user memory capacity is over 12 blocks.

Please set a fixed, 6-digit hexadecimal.

Please set a 4-digit hexadecimal for NTAG203 and MIFARE Ultralight-C

Set an 8-digit hexadecimal for my-d move NFC.


There are two types of bit images, locking multiple blocks (L) and block-locking multiple blocks (BL). It depends on the product as to which block will be allocated for each bit (See the following bit image chart for specifying dynamic block lock)

The specified block will be write protected when you specify 1 in place of L (will be made read-only).

The target range of blocks will be fixed with the current restrictions when you specify 1 in place of BL. The block without L-lock cannot be made read-only, so it will constantly be read-write

At the same time, you specify the L and BL for the same block, the target block is read-only reduction.

Note that once locking the target with 1, you cannot set 0 to clear it.

Bit image of dynamic block lock

  1. Note: There is no bit image of the 3rd byte for NTAG203 and MIFARE Ultralight-C
  2. There is bit image of the 4th byte for my-d move NFC only.
  3. This is a lock for the configuration data setting area.

ISO/IEC14443 Type A memory structure

Parameters related to NFC (NDEF) support (omissible)
spl: Specify format of detailed record Furthermore, specify the user data format in the case of NFC:3.
Parameter User data
1 URI record
2 title (TEXT) record
3 action record
4 icon Record

* For smart poster, make sure to specify the URI record. As other records are treated as options, specify if necessary.

ptl: Protocol For NFC:1 or NFC:3 (spl:1), specify the protocol (scheme) corresponding number to 1-3 digit decimal.

The valid range is 1-255 (refer to the table of "Setting value of protocol (ptl:)" ).

* Considering the extensibility of the function, only the valid range is checked instead of its content.

ecd: Character code For NFC:2 or NFC:3 (spl:2), specify the character code.

Valid range 0-1

Parameter character code
0 UTF-8
1 UTF-16BE
lgc: Language code For NFC:2 or NFC:3 (spl:2), specify the name that complies with RFC5646 to 2-63 digit.

Usable characters are 0-9, A-Z, a-z and - (hyphen).

E.g.: French (fr), Japanese (ja), English (en), American English (en-US)

idt: Icon data type For NFC:3 (spl:4), specify the icon data type to MIME type that complies with RFC2046. 1 - 64 digits.

E.g.: PNG image⇒[image/png]

ndd: Write user data Specify user data. Command error will occur if this is not specified. The size information for the data area is required before the data. For example, if the data size was 64, it should be specified as ndd:64,abcde....
NFC: spl: Setting value
1 - Specify the resource with UTF-8 character code.
3 1
2 - Specify any string. Specify with consideration of character code and language code.
3 2
3 3 Specify the following value:

Valid range: 0-2.

0: Do the action (Send SMS to start browser)

1: Save for later (Save process)

2: Open for editing (SMS, UR edit)

3 4 Specify the icon data (binary data) to hexadecimal which digit is 2's multiples.
ver: Version For NFC:4-6, specify the handover version number to decimal.

Specify major and minor numbers delimited by a period character. For example, specify as ver:2.1 if the major number is 2 and minor number is 1.

Note: It is possible to specify 2 versions when NFC:6. One will be reflected to Bluetooth record, and the other will be reflected to Wi-Fi record. The version will not be reflected to Wi-Fi record if you have specified only one.

* Check items shall be limited to if the number of digits are 3-5 and if the major/minor numbers are 15 or smaller. Number of periods shall be limited as one.

hma: MAC Address for handover For NFC:4-6, specify the MAC address to a fixed 12-digit hexadecimal.

Note: It is possible to specify 2 MAC addresses when NFC:6. One will be reflected to Bluetooth record, and the other will be reflected to Wi-Fi record. The version will not be reflected to Wi-Fi record if you have specified only one.

dnm: Device name For NFC:4 or NFC:5 - 6 (wcc:1), specify the device name.

Specify a string within 16 characters from 0-9, A-Z, a-z, - (hyphen) and _ (underscore).

dcl: Class of Device For NFC:4, specify the device class to a fixed 6-digit hexadecimal.

* Considering the extensibility of the function, only the digit number is checked instead of its content.

Specify service code for the first 2 digits (refer to "Service code of the device class" table in 12.3.1 (14443 TypeA<RK>)).

Specify major device class for 3, 4 digits and the last 2 digits for minor device class (refer to "Major device class and minor device class of the device class" table in 12.3.1 (14443 TypeA<RK>)).

E.g.

scl: Service Class UUID For NFC:4, specify more than 1 service class (refer to "Service class" table).

Specify to hexadecimal which digit is 4's multiples.

* Considering the extensibility of the function, only the digit number is checked instead of its content.

E.g.

Up to 8 service classes can be specified.

rfb: RF Bands For NFC: 5-6, specify the wireless frequency band when using Wi-Fi to a fixed 2-digit hexadecimal.
Value Encryption type
01 2.4GHz
02 5.0GHz
04 60GHz

* Number of digits only shall be checked instead of checking the entire contents, considering the function scalability.

ssi: SSID For NFC: 5-6, specify the recognition name of the access point to 1 - 32 digit.

Usable characters are 0-9, A-Z, a-z and the following symbols:

!

"

#

$

%

&

'

(

)

*

+

,

-

.

/

:

;

<

=

>

?

@

[

\

]

^

_

`

{

|

}

~

* Space cannot be used.

The size information of the front data delimited by a comma is necessary. For example if the data size is 32, specify as ssi:32,abcde...

nky: Network Key For NFC: 5-6, specify the network key of the access point to 8 - 63 digit.

Usable characters are 0-9, A-Z, a-z and the following symbols:

!

"

#

$

%

&

'

(

)

*

+

,

-

.

/

:

;

<

=

>

?

@

[

\

]

^

_

`

{

|

}

~

* Space cannot be used.

The size information of the front data delimited by a comma is necessary. For example if the data size is 8, specify as nky:8,AbCdEfGh.

atp: Authentication Type For NFC: 5-6, specify the authentication type of the access point to a fixed 4-digit hexadecimal.

Valid range: 0001-FFFF (refer to "Setting value of the authentication type" table.)

* Considering the extensibility of the function, only the digit number is checked instead of its content.

etp: Encryption Type For NFC: 5-6, specify the encryption type of the access point to a fixed 4-digit hexadecimal.

Valid range: 0001-FFFF (refer to "Setting value of the encryption type" table.)

* Considering the extensibility of the function, only the digit number is checked instead of its content.

  • Take note that the parameters related to NFC (NDEF) support cannot be used when not writing data in NFC (NDEF) format.
  • The data write will fail if the created data specified by the parameters related to NFC (NDEF) support exceeds the maximum byte of the targeted IC chip.

NFC (NDEF) formats and availabilities for each parameter

NFC (NDEF)
format (NFC:)
1: URI 2: TEXT 3: Smart
poster
4: Handover
(Bluetooth)
5: Handover
(Wi-Fi)
Parameter spl No No Yes No No
ptl Yes No See below No No
ecd No Yes No No
lgc No Yes No No
idt No No No No
ndd Yes Yes No No
ver No No No Yes Yes
hma No No No Yes Yes
dnm No No No Yes No
dcl No No No Yes No
scl No No No Yes No
rfb No No No No Yes
ssi No No No No Yes
nky No No No No Yes
atp No No No No Yes
etp No No No No Yes

* If handover (mixture of Bluetooth/Wi-Fi) (NFC:6) is specified, the following combinations can be used.

  1. Bluetooth + Wi-Fi (WSC)

Detailed record for smart poster

Format
(spl:)
1: URI 2: Title 3: Action 4: Icon
Parameter ptl Yes No No No
ecd No Yes No No
lgc No Yes No No
idt No No No Yes
ndd Yes Yes Yes Yes

Various setting value for each parameter

  1. Setting value of protocol (ptl:)
  2. Value Protocol value Protocol
    1 http://www. 2 https://www.
    3 http:// 4 https://
    5 tel: 6 mailto:
    7 ftp://anonymous:anonymous@ 8 ftp://ftp.
    9 ftps:// 10 sftp://
    11 smb:// 12 nfs://
    13 ftp:// 14 dav://
    15 news: 16 telnet://
    17 imap: 18 rtsp://
    19 urn: 20 pop:
    21 sip: 22 sips:
    23 tftp: 24 btspp://
    25 btl2cap:// 26 btgoep://
    27 tcpobex:// 28 irdaobex://
    29 file:// 30 urn:epc:id:
    31 urn:epc:tag: 32 urn:epc:pat:
    33 urn:epc:raw: 34 urn:epc:
    35 urn:nfc: 36-255 reserved
  3. Setting value of Class of Device (dcl:)
  4. Code Data type name
    01 Positioning (Location identification)
    02 Networking (LAN, Ad Hoc, ...)
    04 Rendering (Printing, Speakers, ...)
    08 Capturing (Scanner, Microphone, ...)
    10 Object Transfer (v-Inbox, v-Folder, ...)
    20 Audio (Speaker, Microphone, Headset service, ...)
    40 Telephony (Cordless telephony, Modem, Headset service, ...)
    80 Information (WEB-server, WAP-server, ...)
  5. Major device classes and minor device classes of device class (dcl:)
  6. Major Device Classes:
    Code
    Major Device Classes:
    Data type name
    Minor Device Class:
    Code
    Minor Device Class:
    Data type name
    01 Computer (desktop, notebook, PDA, organizer, ... ) 04 Desktop workstation
    08 Server-class computer
    0C Laptop
    10 Handheld PC/PDA (clamshell)
    14 Palm-size PC/PDA
    18 Wearable computer (watch size)
    1C Tablet
    00 Uncategorized, code for device not assigned
    02 Phone (cellular, cordless, pay phone, modem, ...) 04 Cellular
    08 Cordless
    0C Smartphone
    10 Wired modem or voice gateway
    14 Common ISDN access
    00 Uncategorized, code for device not assigned
    03 LAN/Network Access point 20 1% to 17% utilized
    40 17% to 33% utilized
    60 33% to 50% utilized
    80 50% to 67% utilized
    A0 67% to 83% utilized
    C0 83% to 99% utilized
    E0 No service available
    00 Fully available
    04 Audio/Video (headset, speaker, stereo, video display, VCR, ...) 04 Wearable Headset Device
    08 Hands-free Device
    10 Microphone
    14 Loudspeaker
    18 Headphones
    1C Portable Audio
    20 Car audio
    24 Set-top box
    28 HiFi Audio Device
    2C VCR
    30 Video Camera
    34 Camcorder
    38 Video Monitor
    3C Video Display and Loudspeaker
    40 Video Conferencing
    48 Gaming/Toy
    00 Uncategorized, code not assigned
    05 Peripheral (mouse, joystick, keyboard, ... ) 04 Joystick
    08 Gamepad
    0C Remote control
    10 Sensing device
    14 Digitizer tablet
    18 Card Reader (e.g. SIM Card Reader)
    1C Digital Pen
    20 Handheld scanner for bar-codes, RFID, etc.
    24 Handheld gestural input device (e.g., "wand" form factor)
    40 Keyboard (above mentioned 0x04-0x24 plus)
    80 Pointing device (above mentioned 0x04-0x24 plus)
    C0 Combo keyboard / pointing device (above mentioned 0x04-0x24 plus)
    00 Uncategorized device
    06 Imaging (printer, scanner, camera, display, ...) 10 Display
    20 Camera
    40 Scanner
    80 Printer
    07 Wearable 04 Wristwatch
    08 Pager
    0C Jacket
    10 Helmet
    14 Glasses
    08 Toy 04 Robot
    08 Vehicle
    0C Doll / Action figure
    10 Controller
    14 Game
    09 Health 04 Blood Pressure Monitor
    08 Thermometer
    0C Weighing Scale
    10 Glucose Meter
    14 Pulse Oximeter
    18 Heart/Pulse Rate Monitor
    1C Health Data Display
    20 Step Counter
    24 Body Composition Analyzer
    28 Peak Flow Monitor
    2C Medication Monitor
    30 Knee Prosthesis
    34 Ankle Prosthesis
    38 Generic Health Manager
    3C Personal Mobility Device
    00 Undefined
    0F Uncategorized: device code not specified 00 Uncategorized, code for device not assigned
    All other values reserved All other values reserved
  7. Setting value of Service Class UUID (scl:)
  8. Code Service class name Code Service class name
    1000 ServiceDiscoveryServerServiceClassID 1001 BrowseGroupDescriptorServiceClassID
    1101 SerialPort 1102 LANAccessUsingPPP
    1103 DialupNetworking 1104 IrMCSync
    1105 OBEXObjectPush 1106 OBEXFileTransfer
    1107 IrMCSyncCommand 1108 Headset
    1109 CordlessTelephony 110A AudioSource
    110B AudioSink 110C A/V_RemoteControlTarget
    110D AdvancedAudioDistribution 110E A/V_RemoteControl
    110F A/V_RemoteControlController 1110 Intercom
    1111 Fax 1112 Headset - Audio Gateway (AG)
    1113 WAP 1114 WAP_CLIENT
    1115 PANU 1116 NAP
    1117 GN 1118 DirectPrinting
    1119 ReferencePrinting 111A Basic Imaging Profile
    111B ImagingResponder 111C ImagingAutomaticArchive
    111D ImagingReferencedObjects 111E Handsfree
    111F HandsfreeAudioGateway 1120 DirectPrintingReferenceObjectsService
    1121 ReflectedUI 1122 BasicPrinting
    1123 PrintingStatus 1124 HumanInterfaceDeviceService
    1125 HardcopyCableReplacement 1126 HCR_Print
    1127 HCR_Scan 1128 Common_ISDN_Access
    112D SIM_Access 112E Phonebook Access - PCE
    112F Phonebook Access - PSE 1130 Phonebook Access
    1131 Headset - HS 1132 Message Access Server
    1133 Message Notification Server 1134 Message Access Profile
    1135 GNSS 1136 GNSS_Server
    1137 3D Display 1138 3D Glasses
    1139 3D Synchronization 113A MPS Profile UUID
    113B MPS SC UUID 1200 PnPInformation
    1201 GenericNetworking 1202 GenericFileTransfer
    1203 GenericAudio 1204 GenericTelephony
    1205 UPNP_Service 1206 UPNP_IP_Service
    1300 ESDP_UPNP_IP_PAN 1301 ESDP_UPNP_IP_LAP
    1302 ESDP_UPNP_L2CAP 1303 VideoSource
    1304 VideoSink 1305 VideoDistribution
    1400 HDP 1401 HDP Source
    1402 HDP Sink All other values reserved
  9. Setting value of Authentication Type (atp:)
  10. Value Type
    0001 Open (Default)
    0002 WPA-Personal
    0004 Shared
    0008 WPA-Enterprise
    0010 WPA2-Enterprise
    0020 WPA2-Person
    All other values reserved
  11. Setting value of Encryption Type (etp:)
  12. Value Type
    0001 None (Default)
    0002 WEP
    0004 TKIP
    0008 AES
    000C AES/TKIP
    All other values reserved

Reference: NDEF record image for storage location

  1. URI format, TEXT format

    1 record per 1 user data

  2. Smart poster

    Multiple records are stored for 1 user data.

    At least one URI format record needs to be stored here.

  3. Handover (Bluetooth)

  4. Handover (Wi-Fi)

  5. Handover (mixture of Bluetooth/Wi-Fi)

Parameters related to ASCII mirroring (omissible)
amc: Specify ASCII mirroring data Specify the original data to reflect to user data.
Parameter Performance
0 Nothing is reflected
1 The UID written on the tag is reflected
14 characters are reflected.
2 The NFC counter written on the tag is reflected
6 characters are reflected.
3 Both UID and NFC counter is reflected
21 characters are reflected.
(UID 14 characters + NFC counter 6 characters + 1 separating character in between)
ams: Specify the page to start ASCII mirroring Specify which page to start reflecting from in the user memory for the data specified with amc.

Valid range: 0-255, a 3-digit decimal

A parameter error will occur when a value that exceeds specified inlay capacity is specified.

IC Chip type Product Valid range
00 NTAG203 -
01 NTAG210 0-11
03 NTAG213 0-35
04 NTAG215 0-123
05 NTAG216 0-221

-: No ASCII mirroring

amb: Specify start byte for ASCII mirroring Specify start byte to reflect the page specified in ams.

Valid range: 0-3

When specifying these parameters,it is necessary to consider the character number reflected by the user data.

When accessing the tag with this setting, the following is reflected.

* For NTAG213, NTAG215 and NTAG216, the data specified by amc: is reflected. However, for NTAG210 and NTAG212, as there is no NFC counter structurally, UID will be reflected automatically.


Parameters modulation mode (omissible)
ame: modulation mode Defines the modulation mode.
Parameter Performance
0 strong modulation mode disabled.
1 strong modulation mode enabled.

Parameters related to NFC counter (omissible)
nce: NFC counter update CFG1:ACCESS:NFC_CNT_EN

Sets availability of NFC counter automatic update.

Parameter Performance
0 disabled.
1 enabled (automatically updates counter when READ command is executed).
cfl: NFC counter

password restriction

CFG1:ACCESS:NFC_CNT_PWD_PROT

Sets availability of NFC counter password restriction.

Parameter Performance
0 disabled (password not valid).
1 enabled (password is valid)

Parameters related to configuration for authentication (omissible)
lma: Set address for password-lock Sets the address to the block that requires password check.

Valid range: 0-255, 3-digit decimal

A parameter error will occur if a value exceeding specified inlay capacity is specified.

If set the address for password-lock (lma:), password confirmation will be required not only for the specified user memory range
but also when updating the configuration page. (Parameters requiring a password: amc, ams, ame, nce, cfl, lma, prt, acl)

IC Chip type Product Valid address
00 NTAG203 -
01 NTAG210 0-11
03 NTAG213 0-35
04 NTAG215 0-123
05 NTAG216 0-221
30 MIFARE Ultralight -
31 MIFARE Ultralight (EV1) (MF0UL11) 0-11
33 MIFARE Ultralight C -
62 my-d move NFC (*1)
90 FM11NT021 0-35
91 FM11NT081 0-221

-: No password

  1. my-d move NFC is excluded because it is applied to a fixed area
prt: Set protection format Sets the type of restriction.
Parameter Performance
0 write protect
1 read-write protect

Note: When, for "my-d move NFC ," I perform this designation regardless of a set point,

  1. It cannot cancel a limit.
  2. It cannot set "dlk".
acl: Lock authentication configuration information Locks authentication configuration except for password.

Unlockable after locking.

Parameter Performance
0 Nothing is implemented when 0.
1 Perma-lock is implemented when 1 is specified.
lim: Set number of retries for authentication Sets number of retries when password authentication fails.

Valid range: 0-7

Note: When it is in the case that set 7 and a value equivalent to 7 by multiple setting for "my-d move NFC", I cannot change it.


Parameters related to access password (omissible)
apw: Access password Specify an 8-digit fixed hexadecimal when you want to lock/read-protect with password.
pck: Set data to return when password confirmation is successful Specify a 4-digit fixed hexadecimal data to return when the password check is successful
psw: Specify unlock password Specify the same numerals used to lock the area which is password locked/read-locked.
sa0: Access restriction area Specify a 2-digit fixed decimal within 00-35 for the block to protect, dedicated for MIFARE Ultralight C.
sa1: Access restriction method Specify the contents of restriction dedicated for MIFARE Ultralight C.

00: read-write protect

01: write protect

sak: Specify access password Specify a 32-character fixed hexadecimal when locking/read-protecting with password, dedicated for MIFARE Ultralight C.
aky: Specify unlock password Specify the same numerals used to lock the area which is password locked/read-locked, dedicated for MIFARE Ultralight C.

Parameters related to feed control (omissible)
fsw: Specify feed without printing Normally, RFID write print jobs that don't include print data writes but don't feed label. (Except for cases with tag offset as default)
Parameter Performance
0 Label-feed will stop (if the data does not include print items); the same operation with when fsw: is not specified.
1 Label-feed will start (if the data does not include print items).
2 Write only can be executed without label-feed/print. Due to this, label-write test can be executed without using a label.

If don't feed, short buzzer will sound 2 times when write is successful. Short buzzer will the sound 6 times when it fails to write.

Coding sample 1 (When setting NFC (NDEF) format user data)

Registering "http://www.sato.com" in URI format to NTAG210 RFID tag, omitting the ignore RFID tag error parameter

Coding sample 2 (When setting NFC (NDEF) format user data)

When recording the URI "https://www.sato2.co.jp" and text "OMP" in smart poster format to MIFARE Ultralight RFID tag in UTF-8 English (en)

Coding sample 3 (When setting NFC (NDEF) format user data)

When recording the following data in handover format (Bluetooth) in NTAG215 RFID tag, omitting the ignore RFID tag error parameter:

Version: 2.1

Device address: 01:02:03:04:05:06

Device class: "DeviceName"

Class of Device: Phone / Smartphone

Service classes: Telephony

Coding sample 4 (When setting NFC (NDEF) format user data)

When recording the following data to RFID tag of my-d move NFC with handover (Wi-Fi WSC) format, omit the ignore RFID tag error parameter:

Version: 2.1

MAC Address: 01:02:03:04:05:06

RF Band: 2.4GHz

SSID: DeviceName

Network key: abcdefgh

Authentication Type: WPA-Personal

Encryption Type: WEP

Coding sample 5 (data format set to ASCII)

When writing 13-byte characters "4912345678904" to NTAG203 RFID tag, with "Ignore RFID tag error" omitted


<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904
<Q>2
<Z>
            

Memory data after execution

Coding sample 6 (data format set to HEX)

When writing 13-byte characters "4912345678904" to NTAG210 RFID tag, with "Ignore RFID tag error" omitted


<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,d13,34393132333435363738393034,ict:01
<Q>2
<Z>
             

Coding sample 7 (data format set to ASCII)

In case where 13 bytes characters [4912345678904] is recorded to RFID tag of MIFARE Ultralight from block of user memory 5, with "Ignore RFID tag error" omitted


<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904,ict:30,wsb:5
<Q>1
<Z>
              

Memory data after execution

Coding sample 8 (data format set to ASCII)

When writing 13-byte characters "4912345678904" to NTAG213 RFID tag, locking 4 continuous blocks simultaneously with "Ignore RFID tag error" omitted


<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904,lck:F000
<Q>2
<Z>
           

Memory data after execution

Coding sample 9 (data format set to ASCII)

Format where the setup to ignore RFID tag error is omitted when recording 10byte characters of "AAAA1111BB" in block position of user memory8 in NTAG213 RFID tag, and locking sequential four blocks (read only) at the same time, with "Ignore RFID tag error" omitted


<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D10,AAAA1111BB,ict:00,wsb:8,lck:00F0
<Q>2
<Z>
             

Memory data after execution

Coding sample 10 (data format set to ASCII)

In case where 13 bytes characters of [4912345678904] is recorded to RFID tag of NTAG215 from a block of user memory 12 and target block is locked simultaneously (lock L and BL at the same time), with "Ignore RFID tag error" omitted.


<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904,ict:04,wsb:12,dlk:010001
<Q>2
<Z>
             

Memory data after execution

Supplemental explanation

  1. This command allows to print for continuous printing, cutter printing, dispenser printing and tear-off. However, when you specify cutter, dispenser motion No.2 and tear off, tag information write is available but information return will not be available.
  2. This command cannot be specified multiple times in between <A> (start of data transmission) through <Z> (end of data transmission).
  3. Contents of sequential printing or calendar cannot be written as information to the tag.
  4. The sent information and written information are verified before printing when information is written to tag with this command.
  5. The default value of parameter b is 0 (stop without ignoring tag error).
  6. If printing object doesn't exist for the print job that includes this command, printer only writes for RFID and doesn't feed label. The buzzer will sound 6 times if it fails to write to tag. If successful, the buzzer is sounded 2 times but does not feed the label. If you want to feed or print as blank label specify 1 for the "fsw: feed without printing" field.
  7. 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.
  8. Refer to the following chart if you want to specify the alphabet "A" in ASCII/HEX data formats.
    Mode ASCII HEX
    Data 'A' "41"
    Code 41H 34H,31H