Dc2+Pk Epc/Tid Return Request - SATO CL4NX Programming Reference Manual

Hide thumbs Also See for CL4NX:
Table of Contents

Advertisement

17.9 Common Commands
for All Languages
17.9

DC2+PK EPC/TID Return Request

EPC/TID Return Request
Command
DC2
HEX code
<12>
16
Default value
None
When turning off the power switch
Valid range
Valid range and
Printer operation in progress
term of
command
Media sensor information acquisition
in progress
Error
[Function]
Returns the status of RFID tag write by <IP0> command and EPC/TID.
[Format]
[DC2]PK
[[DC2]PK return data format (normal)]
[STX]a...a,b,c,d...d[CR][LF] [ETX]
[Return data]
Symbol
Parameter name
Total number of data byte
* This is the total number of bytes after parameter b.
a
The delimiting comma between parameters a and b,
and the ETX are not included.
Write result status
*Text format
b
Error symbol
c
EPC/TID return data
d
[Format of EPC/TID return data]
"Specify memory"+":"+"Data" +"Line feed(0DH、0AH)"
ee:f...f(,gg:h...h)[CR][LF]
Specifying the memory to be record
Parameters of the IF: RFID settings section of the [DC2]PA-Printer settings
DATA_TO_RECODE: The data to be read differs according to the settings of the RFID data record.
"0": BOTH (EPC and TID are returned)
"1": EPC (only EPC is returned)
"2": TID (only TID is returned)
A setup example of [DC2]PA is shown below.
<A>
[DC2]PA,24,IF,18, DATA_TO_RECODE:0[CR][LF]
<Z>
To set the above from settings menu, you can do the same from "Interface"->"RFID"->"Data to Record"
PK
Parameter
<50>
<4B>
None
16
16
The command cannot be received during the printer
operation. ([NAK] return)
The command cannot be received while sensor
information is being acquired. ([NAK] return)
Commands can be received even if an error is occurring.
362
DC2+PK
Valid range
Data size from the first write result
status until before [ETX]
Maximum 5 digits
0: Write failure
1: Write success
Note: Specified in text format.
N:No error
E:EPC write error
T:TID read error
M:MCS error
(Chip
inconsistent
or
supported)
A:All errors
Note: Specified in text format
Refer to 【EPC/TID return data】
as below
Note: Specified in text format
not

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents