system man ual proggramming interface - ifm · riented prog frameworks uages c# (. ing languag. the...
TRANSCRIPT
-
- 1 -
ProgSyste
gramminem mang interfa
DTE8DTE9
ual ace
8xx 9xx
-
1
2
3
4
4.
4.
5
6
7
8
9
9.
9.
10
11
11
11
11
11
11
General .....
Preliminary
Function pri
Synchronou
1 Syn
2 Asy
Name conce
Typical prog
Representa
Representa
Command c
1 Com
2 Res
9.2.1 Res
9.2.2 EPC
Callback
Comman
1.1 Com
11.1.1 C
11.1.2 D
1.2 Rea
11.2.1 S
11.2.2 S
11.2.3 S
11.2.4 S
11.2.5 A
11.2.6 A
1.3 Writ
11.3.1 S
11.3.2 S
11.3.3 S
11.3.4 S
11.3.5 A
1.4 GPI
11.4.1 G
11.4.2 G
1.5 Gen
11.5.1 A
11.5.2 A
11.5.3 G
....................
note ............
inciple ..........
us vs. asynch
nchronous co
ynchronous c
ept ...............
gram sequen
tion of the R
tion of the E
calls and the
mmand calls .
sults .............
sult Flags .....
CListEntry ....
functions ....
nds ...............
mmunication
ConnectRead
DisconnectRe
ading of RFID
SyncGetEPC
SyncBulkGetE
SyncReadDat
SyncReadDat
ASyncGetEPC
ASyncReadD
ting to RFID
SyncWriteDat
SyncWriteDat
SyncWriteEP
SyncWriteEP
ASyncWriteD
O ports .......
GPIOGetIOD
GPIOSetOutp
neral comma
ASyncStopCo
ActivateBuzze
GetPortPowe
....................
....................
....................
hronous com
ommunication
communicatio
....................
nce ...............
RFID system .
lectronic Pro
ir results .....
....................
....................
....................
....................
....................
....................
...................
der ...............
eader ...........
D tags ..........
s .................
EPCs ..........
taAny ..........
taSpecific ...
Cs ...............
DataAny ........
tags ............
taAny ..........
taSpecific ....
CSpecific ....
CToSingleTa
ataAny ........
....................
ata ..............
put ...............
ands .............
ommand ......
er ................
r ..................
....................
....................
....................
mmands ........
n ..................
on ................
....................
....................
....................
oduct Code (
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
ag ................
....................
....................
....................
....................
....................
....................
....................
....................
- 2 -
....................
....................
....................
....................
....................
....................
....................
....................
....................
EPC) ...........
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
...................
Conte....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
....................
ents ..... 4
..... 4
..... 4
..... 4
..... 4
..... 4
..... 5
..... 5
..... 6
..... 6
..... 7
..... 7
..... 7
..... 7
..... 7
..... 7
..... 8
..... 8
..... 8
..... 8
..... 8
..... 8
..... 8
..... 9
..... 9
... 10
... 11
... 12
... 12
... 12
... 13
... 13
... 14
... 15
... 15
... 16
... 16
... 16
... 17
... 17
-
12
12
12
12
12
12
12
11.5.4 S
11.5.5 S
Annex ...
2.1 Clas
2.2 Stru
2.3 Enu
2.4 Enu
2.5 Enu
2.6 Enu
SetPortPower
SetExtendedR
....................
ss CEPC .....
ucture EPCL
umeration Ta
umeration Re
umeration Re
umeration Ex
r ..................
ResultFlag ..
....................
....................
istEntry .......
agErrorCode
eaderErrorCo
esultFlag ......
xtendedResu
....................
....................
....................
....................
....................
....................
ode ..............
....................
ultFlags .........
- 3 -
....................
....................
....................
....................
....................
....................
....................
....................
....................
...................
...................
...................
...................
...................
...................
...................
...................
...................
....................
....................
....................
....................
....................
....................
....................
....................
....................
...................
...................
...................
...................
...................
...................
...................
...................
...................
....................
....................
....................
....................
....................
....................
....................
....................
....................
... 17
... 18
... 19
... 19
... 19
... 19
... 19
... 20
... 20
-
1 ThisDTE
The mem
In thimpo
2 The ing s
Also
The othetrans
3 Com
4
4.1
A
S
Whenousthe r
The
4.2
A
Wheente
1 htt
Evalu-ation un
General s system manE910 from ifm
RFID systemmory areas e
his documentortant classe
Preliminaprogrammin
system Micro
.NET for
C++ for
o, demo appl
sample souer programmsferred acco
Functionmmunication
1. Call: Se
2. Callback
Synchron
Synchron
AWE
Sync... Error
en a synchros reading of result.
designation
Asynchro
Sync... ErrorC
en a commaners into the a
p://www.gs1
nit
nual describem electronic.
ms operate tetc. are descr
t, the details es and metho
ary note ng interface iosoft Window
r programs w
programs wr
ications are
rce texts in ting language
ordingly.
principlebetween pro
nding of a co
k: Return of a
nous vs. a
nous comm
Tag
1x
rCode
onous commathe EPCs, a
"synchronou
onous comm
ResCode
nd for asyncntenna field
.org/gsmp/kc
es the progra
o the standaribed in addit
of the commods are desc
s made avaiws™. 2 varia
which are wri
ritten with C+
supplied as
his documenes, types with
ogram and R
ommand to th
a result by th
asynchron
unication
Resu
and is transmll tags in the
us" refers to
munication
sultHandlerSync
hronous reador leaves it.
c/epcglobal/u
amming inter
ards EPC Clation to the w
munication becribed.
lable in the fants are avail
tten on the b
++.
source text f
nt are writtenh the same o
RFID system
he RFID sys
he RFID syst
nous comm
ltHandler
mitted, this coantenna fiel
the fact that
c ResultHan
ding of the EThis happen
uhfc1g2
- 4 -
rface of the R
ass1 GEN2/Iireless proto
etween RFID
form of a DLLlable:
basis of Micro
for the progra
n in C#. C# isor similar nam
is always ca
stem and rec
tem in a callb
mands
ommand is ed are read o
the result is
ndler ASync
∞
ASy
EPCs is sent,ns until a sto
RFID system
SO18000-6Ccol for the ai
D system and
L for object-o
osoft's .NET
amming lang
s a programmmes are used
rried out in t
eipt of an ac
back
executed exaonce. A list of
provided sim
yncStopComma
, an individuap command
ms DTE800, D
C1. There, allr interface.
d computer a
oriented prog
Frameworks
guages C# (.
ming languagd. The progr
he following
knowledgem
actly once. Fof the EPCs o
multaneously
and ErrorCode
al result is reis sent.
DTE810, DT
l terms relati
are explained
gramming un
s.
NET) and C+
ge of .NET Fram example
steps:
ment
or example, of all read tag
y with the co
e
eturned for ea
TE900 and
ng to RFID,
d. Also, the m
nder the oper
++.
rameworks. es have to be
upon synchrgs is returned
mmand call.
ach tag whic
tags,
most
rat-
In e
ro-d as
h
-
The whe
The be e
5 The
The disti
6 #
1
2
3
designation en a tag ente
execution ofexecuted whi
Name conames of th
[t]KSRWroot word alnguish the d
KSRWSy KSRWSe tKSRWD
tation of pointer.
Typical pStep
Instant
a InstantCRRU4
b Registrtions The coplemennous coof 2 diff
Connec
a Instantthe typefigDatdata.
b EstablisRFID sstep 1 aThe retduring
Comma
TransmTo do sod. Theupon re
"asynchronors into or lea
f several asyile an asynch
ncept he different dW[SetResulways is the n
different funct
yncGetEPCstResultHaDelegateRef the callback
program s
iation
iation of an o4 with the sta
ration of all re
rresponding nted separateommands referent callba
ction establis
iation of newe tKSRWComta and defin
shment of thsystem with tand the confturn value infconnection e
and transmis
mission of theso, select thee return valueeceipt of the
ous" here meaves the ante
ynchronous chronous com
ata types anltHandlername of the tions.
()is the actuandlerSyncesultHandlk function. Th
equence
object of the andard const
elevant callb
methods muely. Calls of a
equire the track functions
shment
w configuratiommunicationition of the
e connectionhe reader obfiguration objforms about establishmen
ssion
e actual come corresponde informs abcommand.
eans that theenna field.
commands ammand is acti
d functions a|Delegatecommand, e
ual command
cGetEPCs()erSyncGet
he signature
class tructor
back func-
ust be im-asynchro-nsmission (→ 4.2).
on object of onCon-connection
n to the bject of ject. errors
nt.
mand. ding meth-bout errors
- 5 -
e results do n
at the same tive.
are structureeResultHane.g. SyncGet
d call.
This functiotEPCs() Th
of the individ
Sample so
CRRU4 Re
Reader.Kandle
Reader.KndOfBResulSync,ResulASync
var comC
tKSRWcomConfi
tKSRWcomConficomConfi
pe = comConfi
"192.if (Read
tKSRW{ // yo} if (Read
tKSRW{ // yo}
not coincide w
ime is not po
ed based on tndler]CommtEPCs. Differ
on defines w
his method podual method
urce text
eader = ne
KSRWSetReserSyncGetEKSRWSetResBankAny(ltHandlerA, ltHandlerAc);
ConfigDataWCommunicagData.enKWCommunicagData.stKgData.stKtKSRWIPAdgData.stK.168.0.1";der.KSRWCoWReaderErr
our code h
der.KSRWSyWReaderErr
our code h
with the com
ossible. But s
the followingmandName rent prefixes
which function
ointer points must corres
w CRRU4()
ultHandleEPCs); ultHandle
ASyncReadD
ASyncReadD
a = new ationConfiKSRWCommunationType.KSRWEthernKSRWEthernddressTypeKSRWEthern; nnectReadrorCode.KS
here
yncGetEPCsrorCode.KS
here
mmand call b
synchronous
g scheme:
s are prepend
n is accesse
to the indivispond to that
;
erSyncGetE
erASyncRea
DataUntilE
DataUntilE
igData(); nicationTy.KSRW_CT_Enet.bIsIPAnet.enKSRWe.KSRW_IPAnet.psNetw
der(comConSRW_REC_No
s() == SRW_REC_No
ut are return
s commands
ded, to be ab
d upon callb
dual implemt of the metho
EPCs(Resul
adDataUnti
EndOfBankA
EndOfBankA
ype = Ethernet;Address = WIPAddressAT_IPv4; workName =
nfigData) oError)
oError)
ed
can
ble to
ack.
en-od
ltH
ilE
Any
Any
0; sTy
=
==
-
4
5
The callb
7 The All c
The be re
8 Thisthe r
The al le
ObjeEPCof anrepr
Waiting
The RFand caltion, re
Discon
Discon
sequence dback function
Represenclass CRRU4
commands de
method poinegistered in
Represens class CEPCresults of a r
EPC is alwaength of the E
ects of this cC to a tag (exn empty EPCresents the in
Programm
new CR
SetRe
Conn
Co
ResultH
Discon
g for callback
FID system ells the corresgistered in s
nect
nection from
iagram shown.
ntation of 4 is the centrescribed in s
nters of the cthe correspo
ntation of C is the abstrread comman
ays treated aEPC of an ind
lass are genxample see sC of the indicndicated EPC
CRRRU4()
esultHandler()
nectReader()
ommand()
Handler()
nnectReader()
k
executes the sponding caltep 1b.
m the RFID sy
ws a typical s
the RFID ral class of thsection11 are
callback funconding instan
the Electrraction of thend in the stru
as an array odividual tag c
erated via 2 section 11.3.cated length.C.
RRU4
command lback func-
ystem.
sequence for
system his programme methods of
ctions are notnces of this c
ronic Prode EPC of an ucture EPCLif unsigned 1can be queri
constructors3). The consThe constru
Reader
- 6 -
private
objectKSRWtKSRWtKSRW
Reader.K
r the transmis
ming interfacf this class.
t defined in tclass (see se
duct CodeRFID tag. OistEntry (→6-bit integered via the pr
s. The new ostructor CEPCuctor CEPC(u
void Resuct sender,WResultFlaWExtendedRWEPCListEn
KSRWDiscon
ssion of a co
ce. It represe
the class CRection 10).
e (EPC) bjects of this→ Section 9
s (ushort[])roperty byteobjects are foC(byte ubEushort[] p
ultHandler, ag resultFResultFlagntry[] epc
nnectReade
ommand and
nts the abstr
RRU4. Individ
s class are fo.2.2).
) in the progre ubEPCWoror example uEPCWordLenprguwEPC)
rSyncGetEP
Flag, g extendedcList)
er();
d receipt of th
raction of the
dual callback
or example a
ramming interdLength osed when asngth) genergenerates a
PCs(
dResultFla
he result via a
e RFID syste
k functions m
lways used i
erface. The aof the class.
ssigning a nerates an objen object whic
ag,
a
em.
must
n
actu-
ew ect ch
-
Withanot
Com
9
9.1 The quire
In →
The the R
9.2 The
9.2.1For of th
If no
In caOut
9.2.2Mancontplain
The sele
10 The manappr
For
For
The func
All p
h the methodther EPC (pa
mplete list of
Comman
Commancommand c
ed.
tKSRWRetKSRWRe
enKtKSRWRe
→ section 11
return valueRFID system
Results results of a
1 Result Feach comma
he enumerati
o error has oc
ase of an errOfRange,
2 EPCListny commandstain the EPCned in → ann
ExtendedRection can be
Callback self-impleme
nd there is a ropriate callb
synchronouKSRWSet
tKSasynchrono
KSRWSettKStKS
synchronouction is execu
parameters a
d bool Comparameter pEPall elements
nd calls an
d calls calls must be
eaderErroeaderErroKSRWTagMemeaderErrothe paramet
e enum tKSRm.→ Annex 1
command ca
Flags and, its resulion are expla
ccurred, No ror, the error MoreThanO
tEntry s return an a
Cs of all tags nex 12.2.
ResultFlage set with the
functionsented callbacorrespondin
back function
us commandtResultHaSRWDelegarous commantResultHaSRWDelegatSRWDelegats callback fuuted every tim
and error cod
pare(CEPC PC). of the class
nd their re
assigned dif
rCode KSRrCode KSRmoryBank, rCode KSRters of the co
RWReaderEr2.4
all are return
lt is transmittained in → an
Error is recause can bneTagInFi
array EPCLiinfluenced b
g indicates w command K
s ck functions ng method pn.
ds the callbac
ndlerSyncreResultHands, a synchr
ndlerASynteResultHateResultHaunction is exeme the event
des of the diff
pEPC) it c
including ex
sults
fferent param
RWSyncBulkRWSyncWrituint udwW
RWSyncGetEommands are
rrorCode in
ed via callba
ted in the fornnex 12.5.
eturned.
be read from eld.
ist with indivy the comma
which elemenKSRWSetExt
must alwayspointer and a
ck function is
GetEPCs(andlerSyncronous and a
cGetEPCs(andlerASynandlerASynecuted whent occurs.
ferent callba
- 7 -
can be check
xplanations in
meters. In ca
kGetEPCs(uteDataAny(WordPointeEPCs() e described i
ndicates whe
ack functions
rm of the stat
this result. T
vidual elemeand, e.g. all
nts of the strutendedResu
s be registerecorrespondi
s always reg
cGetEPCs oan asynchron
ncGetEPCsSncGetEPCsAn the comma
ck functions
ked whether
n → annex 1
ase of simple
ushort uwTuint udwPer, ushort
individually.
ether the com
s (→ section
tus indicator
The most com
ents of the stread tags. A
ucture are fillultFlag (→
ed at the useing method i
istered acco
ownHandlernous callbac
Sync ownHaASync ownHnd has been
are describe
an EPC (the
2.1
commands,
TimeToReadPassword, t[] prguwD
mmand was r
10).
enum tKSR
mmon errors
ructure EPCLll elements o
ed with actu→ section 11.5
ed instance on the CRRU4
rding to the f
r); ck function m
andler1, Handler2) started. The
ed in more de
e object itself
, no paramet
d) tKSRWTagMData)
received free
RWResultFl
s are: NoTag
ListEntry.of the enume
al data (→ a5.5).
of CRRU4. F4 class for re
following pat
must always b
e asynchrono
etail in sectio
f) correspond
ters may be r
MemoryBank
e from faults
lag. All elem
, NoData,
. These elemeration are ex
annex 12.6).
For each comegistering the
ttern:
be registered
ous callback
on 11.
ds to
re-
k
from
ments
ments x-
The
m-e
d.
-
11
11.1Conare
11.1With
Co
11.1With
Co
11.2
11.2The
Co
Re
11.2The
Co
Comman
1 Communnection to anno callback f
1.1 Connech this comma
ommand
KSRWConntKSRW
Param pKSRW
1.2 Disconnh this comma
ommand
KSRWDisc
2 Reading
2.1 SyncGeEPCs of all
ommand
KSRWSyncply
tKSRWDelobjetKSRtKSRtKSR
Param oSen enKS enKS prgK Possi
NoEr
2.2 SyncBuEPCs of all
ommand
KSRWSync Param uwTi
nds
nication nd disconnecfunctions for
ctReader and, the conn
nectReaderWCommunica
meter
WCommunica
nectReader and, the conn
connectRea
of RFID tags
etEPCs tags in the a
cGetEPCs()
legateResuct oSendeRWResultFlRWExtendedRWEPCListEmeter
der RWResultFRWExtendeKSRWEPCLisible result fla
ror, NoTa
ulkGetEPCs tags which w
cBulkGetEPmeter
meToRead
ction from ththese comm
nection to the
r( ationConf
ationConfi
nection to the
ader()
s
antenna field
);
ultHandlerr, ag enKSRWdResultFlantry[] pr
Flag dResultFlt
ags
ag
were in the fi
PCs(ushort
e RFID systemands.
e RFID syste
igData pKDe
igData One
e RFID syste
are read.
rSyncGetEP
WResultFlaag enKSRWErgKSRWEPCL
Descrip
CRRU4
Result
ag ExtendList of E
eld in the ind
t uwTimeToDescrip
Time s
- 8 -
em are no ac
em is establis
KSRWCommunescription
bject which cection to the
em is disable
PCs(
ag, ExtendedReList) ption
4 object whic
Flags
ded Result Fl
EPCs of all r
dicated time
oRead) ption
pan in millise
ctions which
shed and co
nicationCo
contains the RFID reader
ed.
esultFlag,
ch has execu
lags
read tags
span are rea
econds whic
operate with
mmunication
nfigData)
entire informr (see seque
uted the com
ad.
h is to be co
h RFID tags.
n is initialised
mation for estence in secti
mmand
nsidered
Therefore, t
d.
tablishing a con 6).
here
con-
-
Re
11.2The pass
Co
Re
11.2The
ply
tKSRWDelobjetKSRtKSRtKSR
Param oSen enKS enKS prgK Possi
NoEr
2.3 SyncReindicated me
sword, is rea
ommand
KSRWSyncuinttKSRuintbyte
Param udwP
enKS udwW ubCo
ply
tKSRWDelobjetKSRtKSRtKSR
Param oSen enKS enKS prgK
Possi
NoEr
2.4 SyncReindicated me
legateResuct oSendeRWResultFlRWExtendedRWEPCListEmeter
der RWResultFRWExtendeKSRWEPCLisible result fla
ror, NoTa
eadDataAny emory area o
ad.
cReadDataA udwPasswRWTagMemor udwWordP ubCount)
meter
assword
RWTagMemoWordPointeunt
legateResuct oSendeRWResultFlRWExtendedRWEPCListEmeter
der RWResultFRWExtendeKSRWEPCLis
ible result fla
ror, OutO
eadDataSpecemory area o
ultHandlerr, ag enKSRWdResultFlantry[] pr
Flag dResultFlt
ags
ag
of all tags in
Any( word, ryBank enKPointer,
ryBank r
ultHandlerr, ag enKSRWdResultFlantry[] pr
Flag dResultFlt
ags
fRange, N
cific of a certain t
rSyncBulkG
WResultFlaag enKSRWErgKSRWEPCL
Descrip
CRRU4
Result
ag ExtendList of E
the antenna
KSRWTagMem
Descrip
Accessthe tag
Memor
Memor
Numbe
rSyncReadD
WResultFlaag enKSRWErgKSRWEPCL
Descrip
CRRU4
Result
ag ExtendList of aEPCs.
NoTag
tag is read. T
- 9 -
GetEPCs(
ag, ExtendedReList) ption
4 object whic
Flags
ded Result Fl
EPCs of all r
a field, the ac
moryBank,
ption
s password. As.
ry area (EPCry address st
er of data wo
DataAny(
ag, ExtendedReList) ption
4 object whic
Flags
ded Result Fl
all tags in theThe read da
The tag to be
esultFlag,
ch has execu
lags
read tags
ccess passwo
As a standar
C, TID, USEtarting from w
ords to be rea
esultFlag,
ch has execu
lags
e field. The data can be fo
e read is sele
uted the com
ord of which
rd, the passw
R or RFU) wwhich readin
ad
uted the com
different tagsund in the EP
ected via the
mmand
corresponds
word 0x0000
which is to be
g is to take p
mmand
s are distinguPCListEntr
EPC.
s to the indic
0 0000 is set
e read
place
uished by thery.Data
cated
on
e
-
Co
Re
11.2The with
Co
syn
asy
ommand
KSRWSyncCEPCuinttKSRuintbyte
Param pEPC udwP
enKS udwW ubCo
ply
tKSRWDelobjetKSRtKSRtKSR
Param oSen enKS enKS prgK
Possi
NoEr
2.5 ASyncGasynchrono its EPC.
ommand
KSRWASynnchronous re
tKSRWDelobjetKSR
Param oSen enKS Possi
NoErynchronous r
tKSRWDelobje
cReadDataS pEPC, udwPasswRWTagMemor udwWordP ubCount)
meter
assword
RWTagMemoWordPointeunt
legateResuct oSendeRWResultFlRWExtendedRWEPCListEmeter
der RWResultFRWExtendeKSRWEPCLis
ible result fla
ror, OutO
GetEPCs us reading o
ncGetEPCs(eply
legateResuct oSendeRWResultFlmeter
der RWResultFible result fla
ror, OutOreply
legateResuct oSende
Specific(
word, ryBank enKPointer,
ryBank r
ultHandlerr, ag enKSRWdResultFlantry[] pr
Flag dResultFlt
ags
fRange, N
of the EPC is
()
ultHandlerr, ag enKSRW
Flag ags
fRange, N
ultHandlerr,
KSRWTagMem
Descrip
EPC w
Tag acon the
Memor
Memor
Numbe
rSyncReadD
WResultFlaag enKSRWErgKSRWEPCL
Descrip
CRRU4
Result
ag ExtendEPC ofThe da
NoTag
activated. E
rASyncGetE
WResultFlaDescrip
CRRU4
Result
NoTag
rASyncGetE
- 10 -
moryBank,
ption
which identifie
ccess passwotags.
ry area (EPCry address st
er of data wo
DataSpecif
ag, ExtendedReList) ption
4 object whic
Flags
ded Result Fl
f the read tagata can be fo
Each tag whic
EPCsSync(
ag) ption
4 object whic
Flags
EPCsASync(
es the tag
ord. As a sta
C, TID, USEtarting from w
ords to be rea
fic(
esultFlag,
ch has execu
lags
g, und in EPCLi
ch enters into
ch has execu
(
ndard, the p
R or RFU) wwhich readin
ad
uted the com
istEntry.D
o or leaves t
uted the com
password 0x0
which is to be
g is to take p
mmand
Data
the antenna f
mmand
0000 0000 is
e read
place
field is signa
s set
aled
-
11.2The ante
Co
Sy
Asy
tKSRtKSRtKSR
Param oSen tKSR enKS prgK
2.6 ASyncRasynchrono
enna field is r
ommand
KSRWASynuinttKSRuintbyte
Param udwP
enKS udwW ubCo
nchronous re
tKSRWDelobjetKSR
Param oSen enKS Possi
NoErynchronous
tKSRWDelobjetKSRtKSRtKSR
Param oSen tKSR enKS prgK
RWComingGoRWExtendedRWEPCListEmeter
der RWComingGoRWExtendeKSRWEPCLis
ReadDataAnus reading oread.
ncReadData udwPasswRWTagMemor udwWordP ubCount)
meter
assword
RWTagMemoWordPointeunt eply
legateResuct oSendeRWResultFlmeter
der RWResultFible result fla
ror, OutOreplies
legateResuct oSendeRWComingGoRWExtendedRWEPCListEmeter
der RWComingGoRWExtendeKSRWEPCLis
ingFlag edResultFlantry[] pr
ingFlag dResultFlt
ny of the tag dat
aAny( word, ryBank enKPointer,
ryBank r
ultHandlerr, ag enKSRW
Flag ags
fRange
ultHandlerr, ingFlag edResultFlantry[] pr
ingFlag dResultFlt
nKSRWComiag enKSRWErgKSRWEPCL
Descrip
CRRU4
Indicate
ag ExtendEPC ofEach ta
ta is activated
KSRWTagMem
Descrip
Tag acon the
Memor
Memor
Numbe
rASyncRead
WResultFlaDescrip
CRRU4
Result
rASyncRead
nKSRWComiag enKSRWErgKSRWEPCL
Descrip
CRRU4
Indicate
ag ExtendEPC ofEach n
- 11 -
ingGoingFlExtendedReList) ption
4 object whic
es whether a
ded Result Fl
f the tag whicag and each
d. The indica
moryBank,
ption
ccess passwotags.
ry area (EPCry address st
er of data wo
dDataAnySy
ag) ption
4 object whic
Flags
dDataAnyAS
ingGoingFlExtendedReList) ption
4 object whic
es whether a
ded Result Fl
f the tag whicnew tag is sig
lag, esultFlag,
ch executes
a tag enters i
lags
ch has enterevent is sign
ated memory
ord. As a sta
C, TID, USERtarting from w
ords to be rea
ync(
ch has execu
Sync(
lag, esultFlag,
ch executes
a tag enters i
lags
ch has entergnaled by an
the asynchro
into or leaves
ed into or lefnaled by an i
y area of eac
ndard, the p
R or RFU) whwhich readin
ad.
uted the com
the asynchro
into or leaves
ed into the aindividual ca
onous comm
s the antenn
ft the antennindividual ca
ch tag which
password 0x0
hich is to be
ng is to take p
mmand
onous comm
s the antenn
antenna fieldallback.
mand
na field
a field. allback.
enters into t
0000 0000 is
read.
place.
mand
na field
.
he
s set
-
11.3
11.3The
Co
Re
11.3The
Co
3 Writing to
3.1 SyncWrindicated da
ommand
KSRWSyncuinttKSRuintusho
Param udwP
enKS udwW prgu
ply
tKSRWDelobjetKSRtKSRprgK
Param oSen enKS enKS
prgK Possi
NoEr
3.2 SyncWrindicated da
ommand
KSRWSyncCEPCuinttKSRuintusho
Param pEPC udwP
enKS udwW prgu
o RFID tags
riteDataAnyata is written
cWriteData udwPasswRWTagMemor udwWordPrt[] prgu
meter
assword
RWTagMemoWordPointewData
legateResuct oSendeRWResultFlRWExtendedKSRWEPCLismeter
der RWResultFRWExtende
KSRWEPCLisible result fla
ror, OutO
riteDataSpeata is written
cWriteData pEPC, udwPasswRWTagMemor udwWordPrt[] prgu
meter
assword
RWTagMemoWordPointewData
y to all tags in
aAny( word, ryBank enKPointer, uwData)
ryBank r
ultHandlerr, ag enKSRWdResultFlat)
Flag dResultFl
t ags
fRange, N
cific onto a certa
aSpecific(
word, ryBank enKPointer, uwData)
ryBank r
n the antenna
KSRWTagMem
Descrip
Tag acon the
Memor
Memor
Array w
rSyncWrite
WResultFlaag enKSRWE
Descrip
CRRU4
Shows
ag Shows pleted.
List con
NoTag
ain tag. The t
(
KSRWTagMem
Descrip
EPC w
Tag acon the
Memor
Memor
Array w
- 12 -
a field.
moryBank,
ption
ccess passwotags.
ry area (EPCry address st
with data wor
eDataAny(
ag, ExtendedRe
ption
4 object whic
possible res
which eleme
ntains all tag
tag to be writ
moryBank,
ption
which unambi
ccess passwotags.
ry area (EPCry address st
with data to b
ord. As a sta
C, TID, UStarting from w
rds to be writ
esultFlag,
ch has execu
sults of the c
ents of the d
gs to which d
tten is select
iguously iden
ord. As a sta
, TID, USER
tarting from w
be written
ndard, the p
SER or RFUwhich writing
tten
tKSRWEPC
uted the com
ommand exe
ata structure
ata was writt
ed via the EP
ntifies a tag
ndard, the p
or RFU) wh
which readin
password 0x0
U)to which tog is to take pl
CListEntry
mmand
ecution
e EPCListEn
ten
PC.
password 0x0
hich is to be r
ng is to take p
0000 0000 is
o be written
lace
y[]
ntry were c
0000 0000 is
read
place
s set
com-
s set
-
Re
11.3A ne
Co
Re
11.3A ne
ply
tKSRWDelobjetKSRtKSRtKSR
Param oSen enKS enKS
prgK
Possi NoEr
3.3 SyncWrew EPC is w
ommand
KSRWSyncCEPCuintCEPC
Param pEPC udwP
NewEply
tKSRWDelobjetKSRtKSRtKSR
Param oSen enKS enKS
prgK
Possi NoEr
3.4 SyncWrew EPC is w
legateResuct oSendeRWResultFlRWExtendedRWEPCListEmeter
der RWResultFRWExtende
KSRWEPCLis
ible result fla
ror, OutO
riteEPCSpecritten to a ce
cWriteEPCS pEPC, udwPassw NewEPC)
meter
assword
PC
legateResuct oSendeRWResultFlRWExtendedRWEPCListEmeter
der RWResultFRWExtende
KSRWEPCLis
ible result fla
ror, OutO
riteEPCToSiritten to the o
ultHandlerr, ag enKSRWdResultFlantry[] pr
Flag dResultFl
t
ags
fRange, N
cific ertain tag. Th
Specific(
word,
ultHandlerr, ag enKSRWdResultFlantry[] pr
Flag dResultFl
t
ags
fRange, N
ingleTag only tag in th
rSyncWrite
WResultFlaag enKSRWErgKSRWEPCL
Descrip
CRRU4
Shows
ag Shows pleted.
List witten
NoTag
e tag is sele
Descrip
EPC w
Tag acon the
New EP
rSyncWrite
WResultFlaag enKSRWErgKSRWEPCL
Descrip
CRRU4
Shows
ag Shows pleted.
List witten.
NoTag
he field. If the
- 13 -
eDataSpeci
ag, ExtendedReList) ption
4 object whic
possible res
which eleme
th only one e
cted via its o
ption
which unambi
ccess passwotags.
PC which is
eEPCSpecif
ag, ExtendedReList) ption
4 object whic
possible res
which eleme
th only one e
ere is more th
ific(
esultFlag,
ch has execu
sults of the c
ents of the d
element: EPC
old EPC.
iguously iden
ord. As a sta
to be written
fic(
esultFlag,
ch has execu
sults of the c
ents of the d
element: the t
han one tag
uted the com
ommand exe
ata structure
C of the tag to
ntifies a tag
ndard, the p
n onto the tag
uted the com
ommand exe
ata structure
tag (with its n
in the field, a
mmand
ecution
e EPCListEn
to which data
password 0x0
g.
mmand
ecution
e EPCListEn
new EPC) to
a specific err
ntry were c
a has been w
0000 0000 is
ntry were c
o which was w
ror is returne
com-
writ-
s set
com-
writ-
d.
-
Co
Re
11.3Asyn
Co
Sy
ommand
KSRWSyncCEPCuint
Param pEPC udwP
ply
tKSRWDelobjetKSRtKSRtKSR
Param oSen enKS
enKS
prgK
Possi NoEr
3.5 ASyncWnchronous w
ommand
KSRWASynuinttKSRuintusho
Param udwP
enKS udwW prgu
nchronous re
tKSRWDelobjetKSR
Param oSen enKS
cWriteEPCT pEPC, udwPassw
meter
assword
legateResuct oSendeRWResultFlRWExtendedRWEPCListEmeter
der RWResultF
RWExtende
KSRWEPCLis
ible result fla
ror, OutO
WriteDataAnwriting is activ
ncWriteDat udwPasswRWTagMemor udwWordPrt[] prgu
meter
assword
RWTagMemoWordPointewData eply
legateResuct oSendeRWResultFlmeter
der RWResultF
ToSingleTa
word);
ultHandlerr, ag enKSRWdResultFlantry[] pr
Flag
dResultFl
t
ags
fRange, M
ny vated. The in
taAny( word, ryBank enKPointer, uwData)
ryBank r
ultHandlerr, ag enKSRW
Flag
ag(
Descrip
New EP
Tag acon the
rSyncWrite
WResultFlaag enKSRWErgKSRWEPCL
Descrip
CRRU4
Shows MoreT
ag Shows comple
List witten.
MoreThanOn
ndicated data
KSRWTagMem
Descrip
Tag acon the
Memor
Memor
Array w
rASyncWrit
WResultFlaDescrip
CRRU4
Shows
- 14 -
ption
PC which is
ccess passwotags.
eEPCToSing
ag, ExtendedReList) ption
4 object whic
possible resThanOneTa which eleme
eted.
th only one e
neTagInFie
a is written to
moryBank,
ption
ccess passwotags.
ry area (EPCry address st
with data to b
teDataAnyS
ag) ption
4 object whic
possible res
to be written
ord. As a sta
gleTag(
esultFlag,
ch has execu
sults of this cagInFieldents of the d
element: the t
eld, NoTag
o each tag w
ord. As a sta
C, TID, USERtarting from w
be written.
Sync(
ch has execu
sults of this c
n to the only t
ndard, the p
uted the com
command exed
ata structure
tag (with its n
g
hich enters i
ndard, the p
R or RFU) to which writing
uted the com
command exe
tag in the fie
password 0x0
mmand.
xecution. Only
e EPCListE
new EPC) to
nto the ante
password 0x0
which to be
g is to take pl
mmand.
xecution.
ld.
0000 0000 is
y possible he
Entry were
o which was w
nna field.
0000 0000 is
written.
lace.
s set
ere:
e
writ-
s set
-
Asy
11.4
11.4The
Co
Re
Possi NoEr
ynchronous
tKSRWDelobjetKSRtKSRtKSR
Param oSen tKSR enKS
prgK
4 GPIO por
4.1 GPIOGecurrent logic
ommand
KSRWGPIO Param ubIO
ply
tKSRWDelobjetKSRbyteushoushoushoushousho
Param oSen enKS ubIO
uwPh uwLo uwDe uwLo uwPh Possi
ible result fla
ror, OutOreplies
legateResuct oSendeRWComingGoRWExtendedRWEPCListEmeter
der RWComingGoRWExtende
KSRWEPCLis
rts
etIOData c and physic
OGetIODatameter
Card
legateResuct oSendeRWResultFl ubIOCardrt uwPhysrt uwLogirt uwDebort uwLogirt uwPhys
meter
der RWResultFCard
hysicalInpgiclInputbouncedIngicOutputhysicalOutible result fla
ags
fRange
ultHandlerr, ingFlag edResultFlantry[] pr
ingFlag dResultFl
t
al states of t
a(byte ubI
ultHandlerr, ag enKSRWd, icalInputclInputs,ouncedInpucOutputs,icalOutpu
Flag
puts ts nputs ts tputs ags
rASyncWrit
nKSRWComiag enKSRWErgKSRWEPCL
Descrip
CRRU4
Shows
ag Shows comple
List witfield. Each n
he digital inp
IOCard) Descriptio
Number oalways 0.
rGPIOGetIO
WResultFla
ts, uts, uts)
Descriptio
The states
Shows po
Number o900 and 9
Physical in
Logic inpu
Debounce
Logic outp
Physical o
- 15 -
teDataAnyA
ingGoingFlExtendedReList) ption
4 object whic
whether a ta
which elemeeted.
th only one e
new tag is sig
puts and outp
on
of the GPIO c
OData(
ag,
on
s of this CRR
ossible result
of the GPIO c910 always 0nputs
uts
ed logic input
puts
outputs
ASync(
lag, esultFlag,
ch executes
ag has enter
ents of the d
element: the t
gnaled by an
puts are prov
card to be re
RU4 object w
ts of the com
card which h0.
ts
the asynchro
ed into or lef
ata structure
tag which jus
individual ca
vided.
ad. For ifm D
were read.
mand execu
as been read
onous comm
ft the antenn
e EPCListE
st entered in
allback.
DTE800, 810
ution.
d. For ifm DT
mand.
a field.
Entry were
to the antenn
0, 900 and 91
TE800, 810,
e
na
10
-
11.4The
Co
Re
11.5
11.5The
Co
Re
NoEr
4.2 GPIOSedigital outpu
ommand
KSRWGPIObytebyteusho
Param ubIO
ubOu uwTi
ply
tKSRWDelobjetKSRbytebyte
Param oSen enKS ubIO
ubOu Possi NoEr
5 General c
5.1 ASyncSactive, asyn
ommand
KSRWASynply
tKSRWDelobjetKSR
Param oSen enKS Possi
ror, OutO
etOutput uts are activa
OSetOutput ubIOCard ubOutputrt uwTime
meter
Card
tput me
legateResuct oSendeRWResultFl ubIOCard ubOutput
meter
der RWResultFCard
tput ible result fla
ror, OutO
commands
StopCommanchronous co
ncStopComm
legateResuct oSendeRWResultFlmeter
der RWResultFible result fla
fRange
ated for the in
t( d, t, )
ultHandlerr, ag enKSRWd, t)
Flag
ags
fRange
and ommand is st
mand()
ultHandlerr, ag enKSRW
Flag ags
ndicated time
Descriptio
Number o910 alway
Output nu
Switch-onmillisecondeactivateswitch-on
rGPIOSetOu
WResultFla
Descriptio
The outpu
Shows po
Number oand 910 a
Number o
topped.
rASyncStop
WResultFlaDescriptio
CRRU4 o
Shows po
- 16 -
e.
on
of the GPIO cys 0. umber (startin
n time in millisnds, the outped before thetime "0" is to
utput(
ag,
on
ut was set on
ossible result
of the GPIO calways 0. of the output
pCommand(
ag) on
bject on whic
ossible result
card to be us
ng with 0)
seconds. In cut remains pe end of the so be transmit
n this CRRU4
ts of the com
card which w
which was s
ch the async
ts of the com
sed. For ifm D
case of a swermanently oswitch-on timtted.
4 object.
mand execu
was used. For
witched.
chronous com
mand execu
DTE800, 810
witch-on time on. If an outp
me, a comma
ution.
r ifm DTE800
mmand was
ution.
0, 900 and
of 65535 put is to be and with the
0, 810, 900
stopped.
-
11.5The
Co
Re
11.5The
Co
Re
11.5The
Co
NoEr
5.2 Activatebuzzer is ac
ommand
KSRWActi Param uwTi
ply
tKSRWDelobjetKSR
Param oSen enKS Possi NoEr
5.3 GetPortcurrent valu
ommand
KSRWGetP Param ubPo
ply
tKSRWDelobjetKSRbytebyte
Param oSen enKS ubPo ubPo Possi NoEr
5.4 SetPortantenna per
ommand
KSRWSetP Param
ror
eBuzzer ctivated for th
ivateBuzzemeter
me
legateResuct oSendeRWResultFlmeter
der RWResultFible result fla
ror, OutO
tPower ue of the ante
PortPower(meter
rt
legateResuct oSendeRWResultFl ubPort, ubPortPo
meter
der RWResultFrt rtPower ible result fla
ror, OutO
tPower rformance is
PortPower(meter
he indicated
er(ushort
ultHandlerr, ag enKSRW
Flag ags
fRange
enna perform
(byte ubPo
ultHandlerr, ag enKSRW
ower)
Flag
ags
fRange
set to the in
(byte ubPo
time.
uwTime) Descriptio
Time in m
rActivateB
WResultFlaDescriptio
CRRU4 o
Shows po
mance of the
ort) Descriptio
Antenna p
rGetPortPo
WResultFla
Descriptio
The anten
Shows po
Antenna p
Antenna b
dicated valu
ort, byte Descriptio
- 17 -
on
milliseconds
Buzzer(
ag) on
bject on whic
ossible result
indicated po
on
port number
ower(
ag,
on
nna performa
ossible result
port number
beam perform
e on the indi
ubPower)on
ch the buzze
ts of the com
ort is read.
(in the range
ance was rea
ts of the com
mance in 1/4
icated port.
er was activa
mand execu
e of 1 to 4)
ad on this CR
mand execu
dBm(erp)
ated.
ution.
RRU4 object
ution.
.
-
Re
11.5The
Co
Re
ubPo ubPo
ply
tKSRWDelobjetKSRbyte
Param oSen enKS ubPo Possi NoEr
5.5 SetExtesetting as to
ommand
KSRWSetEtKSR
Param enKS
ply
tKSRWDelobjetKSR
Param oSen enKS Possi NoEr
rt wer
legateResuct oSendeRWResultFl ubPort)
meter
der RWResultFrt ible result fla
ror, OutO
endedResulto which Exte
ExtendedReRWExtendedmeter
RWExtende
legateResuct oSendeRWResultFlmeter
der RWResultFible result fla
ror, OutO
ultHandlerr, ag enKSRW
Flag
ags
fRange
tFlag nded Result
esultFlag(dResultFla
dResultFl
ultHandlerr, ag enKSRW
Flag ags
fRange
Antenna p
Antenna bthe antenn0x84 (33
rSetPortPo
WResultFla
Descriptio
The anten
Shows po
Antenna p
Flags are tra
( ag enKSRWE
Descrip
ag The req→ Ann
rSetExtend
WResultFlaDescrip
CRRU4
Shows
- 18 -
port number
beam performna port. The
3dBm(erp)).
ower(
ag,
on
nna performa
ossible result
port number
ansmitted is
ExtendedReption
quested Extenex 12.6
dedResultF
ag) ption
4 object whic
possible res
(in the range
mance in 1/4setting rang
ance was spe
ts of the com
on which the
changed.
esultFlag)
ended Resul
Flag(
ch has execu
sults of the c
e of 1 to 4)
dBm(erp). Ae goes from
ecified on thi
mand execu
e performanc
t Flags
uted the com
ommand exe
A value of zer0x44 (17dB
is CRRU4 ob
ution.
ce was chang
mmand.
ecution.
ro deactivateBm(erp)) to
bject.
ged.
es
-
12
12.1
12.2
Ele
EPCTag
DatCouPorRSS
TimPC
12.3
Ele
NoENoAAccVerUnsOthMemMemInsNon
12.4
Ele
NoE
Ele
pub
pub
pub
pub
pub
Annex
1 Class CE
2 Structure
ement
C gErrorCode
ta untWords rt SI
meStamp
3 Enumera
ement
Error Answer cessDeniedrifyFailedspecified her moryOverunmoryLockedsufficientnSpecific
4 Enumera
ement
Error
ement
blic byte ubEPCWor
blic CEPC(ubEPCWor
blic CEPC(prguwEPC
blic bool pEPC)
blic ushor
EPC
e EPCListEn
e
tion TagErr
d d
n d tPower
tion Reader
rdLength (byte rdLength) (ushort[]C) Compare(
rt[] GetE
ntry
Des
An o
The → A
The
Leng
Ante
Indicwith
Time
Prot
rorCode
Des
No e
No a
Acce
Veri
Uns
Othe
Tag
Tag
Insu
Unk
rErrorCode
Des
No e
D
P
Cw
Cc
CEPC ME
PC() M
cription
object which
tag access eAnnex 12.3
data on the
gth of Data enna port on
cator for the this tag
e stamp
tocol control
cription
error
answer from
ess to tag de
fication failed
pecified tag
er error
memory size
memory loc
ufficient tag e
nown error
cription
error found.
Description
Property; indi
Constructor; with the indic
Constructor; cated EPC.
Method; comEPCs corresp
Method; retur
- 19 -
represents t
error code
tag.
in words
which the ac
signal streng
data word of
the tag
enied, wrong
d
error
e exceeded
cked
energy
icates the len
generates a cated length.
generates a
mpares two obpond to each
rns the actua
the EPC on t
ction has bee
gth (Receive
f the tag (see
password
ngth of the E
new object o
new object o
bjects of thish other.
al EPC as an
the tag.
en executed
Signal Stren
e EPC specif
EPC in bytes.
of the class w
of the class w
class and re
n array of uns
.
ngth Indicato
fication)
.
which repres
which repres
eturns true
signed 16-bit
or) for the act
sents an EPC
sents the indi
when both
t integers.
tion
C
i-
-
NotNoVComComCom
12.5
Ele
NoENoDCRCNoLOutNoSNoANoFNoCAntNoTMorWroFirWro
NoHNoPNon
12.6
Ele
00000000R00R0T00T00TR0TRP00P00P0R
tInitializValidHandlmmunicatiommunicatiommunicatio
5 Enumera
ement
Error Data CError License tOfRange Standard Antenna Frequency Carrier tennaErrorTag reThanOneTongLicensermwareRejeongCommandode
Handle Profile nSpecified
6 Enumera
ement Des
00 No e0A AnteR0 RSSRA RSS00 Tim0A TimR0 TimRA Tim00 Prot0A ProtR0 Prot
zed le onTimeoutonNoMemoronUnspeci
tion ResultF
r
TagInFieldeKey ected dFunctionM
d
tion Extend
scription
element filled
enna port tra
SI value tran
SI value and
e stamp tran
e stamp and
e stamp and
e stamp and
tocol control
tocol control
tocol control
The
The
The y Thefied An u
Flag
Descripti
No error
Direct Mo
Direct Mo
Execution
Wrong va
Direct Mo
Direct Mo
Direct Mo
Direct Mo
Direct Mo
No tag in
d More thanWrong lic
Firmware
M Wrong mversa)
When the
Direct Mo
Unspecifi
dedResultFla
d with curren
ansmitted
smitted
antenna por
nsmitted
d antenna po
d RSSI value
d RSSI value
data word tr
data word a
data word a
DLL has not
command w
reply by the
re is no mem
unknown erro
on
ode: no respo
ode: Gen2 fu
n of a functio
alue range
ode: no comm
ode: no anten
ode: no frequ
ode: carrier n
ode: antenna
the field or n
n 1 tag in the
cense key
e rejected (wh
ode (when a
e handle (16-
ode: no comm
ed
ags
nt values
rt transmitted
rt transmitted
transmitted
and antenna
ransmitted
nd antenna
nd RSSI val
- 20 -
t been correc
was sent from
e evaluation u
mory space le
or has occur
onse from th
nctions - che
on which is n
munication s
nna selected
uency selecte
not switched
a error
no tag with in
e field (e.g. fo
hen trying to
a direct mode
-bit authentic
munication p
d
d
a port transm
port transmit
ue transmitte
ctly initialised
m an invalid l
unit takes too
eft in the eva
rred.
e tag for Gen
ecksum com
ot covered b
tandard sele
d
ed
on
ndicated EPC
or SyncWrite
load a non-c
e command i
cation) of the
profile set
mitted
tted
ed
d.
ocation.
o long. A time
aluation unit t
n2 functions
parison tag w
by the license
ected
C in the field
eEpcToSingle
conforming F
s executed i
tag does no
eout has occ
to save the c
wrong
e key
eTag)
FW into the r
n the norma
ot reply
curred.
command.
reader)
l mode and vvice
-
P0RPT0PT0PTRPTR
RA Prot00 Prot0A ProtR0 ProtRA Prot
tocol control
tocol control
tocol control
tocol control
tocol control
data word a
data word a
data word a
data word a
data word a
nd RSSI val
nd time stam
nd time stam
nd time stam
nd time stam
- 21 -
ue and anten
mp transmitte
mp and anten
mp and RSSI
mp and RSSI
nna port tran
ed
nna port tran
I value trans
I value and a
nsmitted
smitted
mitted
antenna port transmitted