0% found this document useful (0 votes)
132 views12 pages

RFID-S Startup Guide

Uploaded by

Cesar Chacon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views12 pages

RFID-S Startup Guide

Uploaded by

Cesar Chacon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

BLident

RFID-S Startup Guide



Dat e: 05. 31. 09
Ver si on: 1. 0

























By: Ni ck Cl ut e


RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 2

Tabl e of Cont ent s

1 I nt r oduct i on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1. 1 About t hi s St ar t up Gui de . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Dat a Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2. 1. 1 I nput Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2. 1. 2 Out put Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2. 1. 3 Er r or Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2. 1. 4 Tag I nf o Command Speci f i cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2. 1. 5 Tr ans I nf o Command Speci f i cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Typi cal RFI D- S Appl i cat i on St eps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8








RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 3

1 Introduction

1. 1 About t hi s St ar t up Gui de
Thi s st ar t - up gui de cont ai ns st ep by st ep i nf or mat i on t o begi n usi ng t he RFI D- S
sl i ce. Thi s sl i ce can be used wi t h any PLC t o i nt er f ace wi t h t he RFI D syst emvi a
st andar d pr ocess dat a. Thi s gui de assumes t hat t he r eader i s f ami l i ar wi t h t hei r
par t i cul ar PLC and Net wor k syst emi n r egar ds t o r eadi ng i nput s and wr i t i ng out put s.



RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 4
2 Data Map
The dat a map of t he RFI D- S modul e i s as f ol l ows. Thi s i s j ust t he sl i ce dat a, de-
pendi ng on t he net wor k used, t her e may be addi t i onal dat a f or t he gat eway or ot her
sl i ces t hat wi l l come bef or e t he RFI D- S dat a. To gener at e t he compl et e node' s dat a
map use t he St at i on Repor t f unct i on i n I O Assi st ant 3.

2.1.1 Input Map

Ch0
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0 Done Busy Error Trans_Conn Trans_On TP TFR Reserved
1 Error_Cat(CategoryCode)
2 Error_Desc(DescriptionCode)
3 Reserved
4 ReadDataByte1
11 ReadDataByte8
Ch1
12 Done Busy Error Trans_Conn Trans_On TP TFR Reserved
13 Error_Cat(CategoryCode)
14 Error_Desc(DescriptionCode)
15 Reserved
16 ReadDataByte1
23 ReadDataByte8

Done Sl i ce i s r eady t o r ecei ve command. Thi s bi t wi l l be of f unt i l pr evi ous
command bi t i s t ur ned of f .

Busy Sl i ce i s cur r ent l y pr ocessi ng command. Thi s i s nor mal l y on when
t r anscei ver i s wai t i ng f or a t ag t o be pr esent ed.

Er r or Sl i ce has encount er ed an er r or dur i ng l ast command. Ref er t o
Er r or _Cat and Er r or _Desc f or det ai l s.

Tr ans_Conn Tr anscei ver i s cor r ect l y connect ed and communi cat i ng wi t h t he
sl i ce.

Tr ans_On Tr anscei ver has been t ur ned on by sl i ce.

TP Tag pr esent ; Tag i s pr esent i n t r anscei ver f i el d. LED on t r anscei ver
wi l l bl i nk r api dl y.

TFR Tag Ful l y Read; Tag has been pr esent i n t r anscei ver f i el d l ong enough
so t hat ent i r e t ag memor y has been st or ed i n buf f er . Thi s bi t does not need
t o be on t o i ndi cat e a command has been compl et ed.

Er r or _Cat and Er r or _Desc These t wo byt es make up t he speci f i c er r or code.
These i nput s ar e onl y val i d whi l e t he " Er r or " bi t i s on. Ref er t o sect i on
2. 1. 3 f or speci f i c descr i pt i ons of er r or codes.

Read Dat a Byt es Dat a r ead f r omt he t ag


RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 5
2.1.2 Output Map

Ch0
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0 Transceiver Next Tag_ID Read Write Tag_Info Trans_Info Reset
1 Reserved ByteCount2 ByteCount1 ByteCount0
2 Address(MSB)
3 Address(LSB)
4 WriteDataByte1
11 WriteDataByte8
Ch1
12 Transceiver Next Tag_ID Read Write Tag_Info Trans_Info Reset
13 Reserved ByteCount2 ByteCount1 ByteCount0
14 Address(MSB)
15 Address(LSB)
16 WriteDataByte1
23 WriteDataByte8

Tr anscei ver Tur ns on and of f t r anscei ver . Used onl y i f t wo t r anscei ver s ar e
cl ose enough t o cr oss t al k. Ot her wi se t hi s bi t shoul d be set t o an " Al ways
On" . I f t r anscei ver i s of f , LED wi l l bl i nk sl owl y ( def aul t ) , and be sol i d i f
t r anscei ver i s on.

Next I f t ur ned on whi l e command i s pr ocessed, t he next command r un wi l l r e-
qui r e a new t ag i d t o ent er t he f i el d.

Tag_I D Tur n on t o r ead t he Uni que I dent i f i er ( UI D) f r omt ag. These ar e al -
ways uni que f or ever y t ag i n t he wor l d.

Read Tur n on t o r ead dat a f r oma t ag.

Wr i t e Tur n on t o wr i t e dat a t o a t ag.

Tag_I nf o Tur n on t o r ead i nf or mat i on about t ag i n f i el d, i ncl udi ng t ag
manuf act ur er and memor y avai l abl e i n t ag. See sect i on 2. 1. 4 f or det ai l s.

Tr ans_I nf o Tur n on t o r ead i nf or mat i on about t r anscei ver connect ed t o t he
channel . I t can r et ur n dat a such as t ype of t r anscei ver , har dwar e and sof t -
war e r evi si ons. See sect i on 2. 1. 5 f or det ai l s.

Reset Tur ni ng t hi s on wi l l r eset any i n- pr ocess or queued commands.

Byt eCount These 3 bi t s r epr esent t he number of byt es t o Read or Wr i t e
o 000 = 1 byt e
o 001 = 2 byt es
o 010 = 3 byt es
o 011 = 4 byt es
o 100 = 5 byt es
o 101 = 6 byt es
o 110 = 7 byt es
o 111 = 8 byt es

Addr ess Addr ess on t he t ag t o r ead f r om/ wr i t e t o.

Wr i t e Dat a Byt es Dat a t o be wr i t t en t o t he t ag.


RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 6

2.1.3 Error Codes

Error_Cat Error_Desc Meaning
1 1 Tagmemoryerror(e.g.CRCerror)
1 2 Presenceerror,taghasleftthetransmissionwindow
1 3
Addressorcommanddoesnotfitthetagcharacteristics(e.g.memory
size)
1 4 Tagisdefective,replacetag
1 5 Tagmemoryoverflow
1 6 Unformattedtag
1 7 Inconsistenttagdatastructure,reformattag
1 8 TagwithinthetransmissionwindowdoesnothavetheexpectedUID
1 9 Commandnotsupportedbythetag
1 10 Accessviolation(e.g.blocklocked)refertoISO18000x
1 11127 Reservedforfutureprofileuse
1 128255 Vendorspecific
2 1 Communicationtimeoutatairinterface
2 2 Moretagswithintransmissionwindowthanallowed
2 3..127 Reservedforfutureprofileuse
2 128 CRCerrorinairinterface
2 129..255 Vendorspecific
3 1 Incorrectfilename
3 2 Filedoesnotexist
3 3
Thetagtypeisincorrectorunsuitablefortheselectedmodeofoperation,
nofilesystemavailableontag
3 4 Createcommand;nomoredirectoryentriesavailable.


2.1.4 Tag Info Command Details

Thi s command i s i ni t i at ed on t he r i si ng edge of t he i nput bi t . The command i s exe-
cut ed when a t ag i s pr esent i n t he ai r i nt er f ace. The command r et ur ns 8 byt es of
i nf or mat i on t o t he " Read_Dat a" byt es.

Byt e 0: Number of Memor y bl ocks
Byt e 1: Number of Byt es per bl ock
Byt e 2: DSFI D
Byt e 3: AFI
Byt e 4: I CI D
Byt es 5- 7: Al ways " 0"



RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 7

2.1.5 Trans Info Command Details

Thi s command i s i ni t i at ed on t he r i si ng edge of t he i nput bi t . The command i s exe-
cut ed i mmedi at el y. The command r et ur ns 8 byt es of i nf or mat i on t o t he " Read_Dat a"
byt es, and t he cont ent i s dependent on t he val ue of " Addr ess" .

Address DataRepresents Example
0xF0 First8bytesoftransceiverpartnumber "TNLRQ80"
0xF1 Second8bytesoftransceiverpartnumber "H1147\0\0"
0xF2 Third8bytesoftransceiverpartnumber ""
0xF3 Fourth8bytesoftransceiverpartnumber ""
0xF4 HardwareandFirmwareRevoftransceiver
Byte0 xdigitofHWRev(x.y)
Byte1 ydigitofHWRev(x.y)
Byte2 Character"V" 0x56
Byte3 xdigitofFWRev(Vx.y.z)
Byte4 ydigitofFWRev(Vx.y.z)
Byte5 zdigitofFWRev(Vx.y.z)
Byte6 Blank
Byte7 Blank




RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 8

3 Typical RFID-S Application Steps

Thi s sect i on hi ghl i ght s t he basi c st eps r equi r ed t o use t he RFI D syst emwi t h t he
RFI D- S sl i ce by demonst r at i ng how t o wr i t e t o a t ag or r ead f r oma t ag. For mor e
det ai l on t he commands t hat can be r un wi t h t he RFI D- S sl i ce, see t he " RFI D- S User
Gui de" .

1. Wi r e t r anscei ver t o RFI D- S.

BL67 and BL Compact BL20


RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 9

2. Pr ovi de 24VDC t o U
SYS
and U
L
f or BL20 gat eways, V
I
and V
O
f or BL67 and BLCom-
pact . The t r anscei ver s ar e power ed by U
L
and V
O
, so t hese must be power ed i n
or der f or t he RFI D syst emt o wor k.
3. I f t r anscei ver i s wi r ed cor r ect l y, t he LED wi l l be bl i nki ng sl owl y and t he
" Tr ans_Conn" i nput wi l l t ur n on. I f t he LED i s sol i d on, does not bl i nk when
a t ag i s pr esent , and " Tr ans_Conn" does not t ur n on, t hen t he t wo dat a l i nes
need t o be r ever sed.
LED Location


RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 10

4. Tur n on t he t r anscei ver by t ur ni ng on t he " Tr anscei ver " out put bi t .


Out
Byte
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
n Transceiver Next Tag_ID Read Write Tag_Info Trans_Info Reset
n+1 Reserved ByteCount2 ByteCount1 ByteCount0
n+2 Address(MSB)
n+3 Address(LSB)
n+4 WriteDataByte1
n+11 WriteDataByte8


5. The t r anscei ver LED wi l l be sol i d gr een and t he " Tr ans_On" bi t wi l l t ur n on.
In
Byte Bit7 Bit6 Bit5
Bit4
Bit3 Bit2 Bit1 Bit0
n Done Busy Error Trans_Conn Trans_On TP TFR Reserved
n+1 ErrorCode(LSB)
n+2 ErrorCode(MSB)
n+3 Reserved
n+4 ReadDataByte1
n+11 ReadDataByte8

6. When a t ag i s i n t he f i el d, t he LED wi l l bl i nk r api dl y and t he " TP" bi t wi l l
t ur n on i ndi cat i ng a t ag i s pr esent .

LED' s Bl i nk Rapi dl y


RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 11

7. To r ead or wr i t e, f i l l i n t he " Byt eCount " bi t s t hat cor r espond wi t h t he num-
ber of byt es you need t o r ead or be wr i t t en t o.
Remember :
000 = 1 byt e
001 = 2 byt es
010 = 3 byt es
011 = 4 byt es
100 = 5 byt es
101 = 6 byt es
110 = 7 byt es
111 = 8 byt es

Out
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
n Transceiver Next Tag_ID Read
Write
Tag_Info Trans_Info Reset
n+1 Reserved ByteCount2 ByteCount1 ByteCount0
n+2 Address(MSB)
n+3 Address(LSB)
n+4 WriteDataByte1
n+11 WriteDataByte8


8. Fi l l i n t he " Addr ess" byt es wi t h t he memor y addr ess on t he t ag t o be r ead or
wr i t t en t o.

9. Ver i f y t he " Done" bi t i s on, i ndi cat i ng t he RFI D i s r eady f or a command. I f
i t i s not on, ver i f y t hat al l command bi t s ar e t ur ned of f .

In
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
n Done Busy Error Trans_Conn Trans_On TP TFR Reserved
n+1 ErrorCode(LSB)
n+2 ErrorCode(MSB)
n+3 Reserved
n+4 ReadDataByte1
n+11 ReadDataByte8

10. To r ead, t ur n on t he " Read" bi t . To wr i t e, t ur n on t he " Wr i t e" bi t . Leave
t hi s bi t on unt i l t he " Done" bi t t ur ns of f .

Out
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
n Transceiver Next Tag_ID Read Write Tag_Info Trans_Info Reset
n+1 Reserved ByteCount2 ByteCount1 ByteCount0
n+2 Address(MSB)
n+3 Address(LSB)
n+4 WriteDataByte1
n+11 WriteDataByte8








RFI D- S St ar t up Gui de

TURCK I nc. 3000 Campus Dr i ve Mi nneapol i s, MN 55441 Appl i cat i on Suppor t : 1- 800- 544- 7769 Fax:
( 763) 553- 0708 www. t ur ck. com 12

11. The " Busy" bi t wi l l i ndi cat e t he command i s r unni ng.

In
Byte
Bit7
Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
n Done Busy Error Trans_Conn Trans_On TP TFR Reserved
n+1 ErrorCode(LSB)
n+2 ErrorCode(MSB)
n+3 Reserved
n+4 ReadDataByte1
n+11 ReadDataByte8


12. The " Busy" bi t t ur ns of f when t he command has compl et ed. I f t he Read/ Wr i t e
bi t was t ur ned of f , t hen t he " Done" bi t wi l l be t ur ned on.

In
Byte
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
n Done Busy Error Trans_Conn Trans_On TP TFR Reserved
n+1 ErrorCode(LSB)
n+2 ErrorCode(MSB)
n+3 Reserved
n+4 ReadDataByte1
n+11 ReadDataByte8

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy