HARTING
Issue 1.1Version 1.0Status: 2012-08 /English
Ha-VIS RF-R500 RFID Reader System Manual
People | Power | Partnership
iHa-VIS RF-R500 - System Manual / Issue 1.1
Engl
ish
Ha-VIS RF-R500 - System Manual
Ha-VIS RF-R500 RFID Reader
System manual
- English version -
ii HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
All brand and product names are trademarks or registered trademarks of the owner concerned.
1st Edition 2012, revised 08/12
© HARTING Electric GmbH & Co. KG, Espelkamp
Author: HARTINGEditor: HARTING
All rights reserved, including those of the translation.
No part of this manual may be reproduced in any form (print, photocopy, microfilm or any other process), processed, duplicated or distributed by means of electronic systems without the written permission of HARTING Electric GmbH & Co. KG, Espelkamp.Subject to alterations without notice.
Printed on bleached cellulose. 100% free from chlorine and acid.
iiiHa-VIS RF-R500 - System Manual / Issue 1.1
Contents
Engl
ish
Contents
About this Manual .................................................................................................................................................... viSubject .......................................................................................................................................................................... viAudience ....................................................................................................................................................................... viBefore you begin ........................................................................................................................................................... viHa-VIS RFID documentation ........................................................................................................................................viiExplanation of the symbols ...........................................................................................................................................viiTypographical conventions ...........................................................................................................................................viiFeedback ......................................................................................................................................................................vii
Safety Instructions - Read before start-up! ............................................................................................................ 1
1. Introduction ........................................................................................................................................................ 21.1. The Ha-VIS RF-R500-c / Ha-VIS RF-R500-p Reader ............................................................................................2
2. Data Transmission between Reader and Host ................................................................................................ 32.1. Configuration Commands and Control Commands ................................................................................................32.2. Host Commands .....................................................................................................................................................42.3. Buffered Read Mode ...............................................................................................................................................52.4. Notification Mode ....................................................................................................................................................6
3. Interface .............................................................................................................................................................. 73.1. Characteristics of TCP/IP protocol ..........................................................................................................................73.2. Serial Data Format and Protocol Frames ...............................................................................................................73.3. CRC16 Calculation Algorithm .................................................................................................................................9
4. Configuration Parameters (CFG) .................................................................................................................... 104.1. CFG0: Passwords ................................................................................................................................................. 114.2. CFG1: Interface and Mode ...................................................................................................................................13
4.2.1. Magnetic Strip Emulation ........................................................................................................................174.2.2. Wiegand Emulation .................................................................................................................................18
4.3. CFG2: Inputs / Outputs .........................................................................................................................................204.3.1. Dedicated Input / Output Functions.........................................................................................................21
4.4. CFG3: RF-Interface ..............................................................................................................................................224.5. CFG4: Transponder Parameters ..........................................................................................................................264.6. CFG5: Anticollision ...............................................................................................................................................274.7. CFG6...8: Reserved ..............................................................................................................................................284.8. CFG9: Input / Output II (Assignment – output to antenna read event) .................................................................294.9. CFG10: Trigger ....................................................................................................................................................304.10. CFG11: Read Mode – Read Data .......................................................................................................................324.11. CFG12: Read Mode - Filter .................................................................................................................................374.12. CFG13 Scan Mode .............................................................................................................................................394.13. CFG14: Reserved ...............................................................................................................................................424.14. CFG15: Antenna Multiplexing I ...........................................................................................................................424.15. CFG16: Persistence Reset ................................................................................................................................444.16. CFG17...19: Reserved ........................................................................................................................................454.17. CFG20: RF-Parameter .......................................................................................................................................454.18. CFG22...27: Selection mask for EPC Gen 2 ......................................................................................................464.19. CFG28...39: Reserved ........................................................................................................................................504.20. CFG63: Customer Parameter .............................................................................................................................504.21. CFG66: LAN Settings, Part 1 ..............................................................................................................................504.22. CFG67: LAN Settings, Part 2 ..............................................................................................................................524.23. CFG68: LAN Settings, Part 3 ..............................................................................................................................534.24. CFG69 : LAN Settings, Part 4 .............................................................................................................................54
iv HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.25. CFG70: WLAN Settings, Part 1 ..........................................................................................................................554.26. CFG71: WLAN Settings, Part 2 ..........................................................................................................................564.27. CFG72: WLAN Settings, Part 3 ..........................................................................................................................574.28. CFG73 : WLAN Settings, Part 4 .........................................................................................................................584.29. CFG74: WLAN Security Settings, Part 1 ............................................................................................................604.30. CFG75: WLAN Security Settings, Part 2 ............................................................................................................624.31. CFG76: WLAN Security Settings, Part 3 ............................................................................................................634.32. CFG77: WLAN Security Settings, Part 3 ............................................................................................................644.33. CFG78: WLAN Security Settings, Part 3 ............................................................................................................654.34. CFG79: WLAN Security Settings, Part 4 ............................................................................................................664.35. CFG80: WLAN Security Settings, Part 4 ............................................................................................................674.36. CFG81: WLAN Security Settings, Part 4 ............................................................................................................684.37. CFG82: Notification Channel, Part 1 ..................................................................................................................694.38. CFG83: Notification Channel, Part 2 ..................................................................................................................714.39. CFG84: Network Time Protocol ..........................................................................................................................724.40. CFG85: Linux System Tools ...............................................................................................................................73
5. Protocols for Reader Configuration ............................................................................................................... 755.1. [0x87] Set System Time and Date ........................................................................................................................755.2. [0x88] Get System Time and Date ........................................................................................................................765.3. [0x8A] Read Configuration ....................................................................................................................................765.4. [0x8B] Write Configuration ....................................................................................................................................785.5. [0x8C] Reset Configuration ...................................................................................................................................79
6. Protocols for Reader Control .......................................................................................................................... 816.1. [0x52] Baud Rate Detection .................................................................................................................................816.2. [0x63] RF Controller Reset ..................................................................................................................................816.3. [0x64] System Reset ............................................................................................................................................826.4. [0x66] Get Reader Info .........................................................................................................................................836.5. [0x69] RF Reset ....................................................................................................................................................896.6. [0x6A] RF Output ON/OFF ...................................................................................................................................906.7. [0x6E] Reader Diagnostic .....................................................................................................................................916.8. [0x72] Set Output ..................................................................................................................................................94
6.8.1. Set Output Examples ..............................................................................................................................956.9. [0x74] Get Input ....................................................................................................................................................966.10. [0x76] Check Antennas .......................................................................................................................................966.11. [0xA0] Reader-Login ...........................................................................................................................................98
7. Protocols for Host Commands ....................................................................................................................... 997.1. [0xB0] Host commands ........................................................................................................................................99
7.1.1. [0x01] Inventory.....................................................................................................................................1007.1.2. [0x23] Read Multiple Blocks ..................................................................................................................1027.1.3. [0x24] Write Multiple Blocks ..................................................................................................................104
8. [0xB3] Host commands for EPC Transponders .......................................................................................... 1078.1. EPC Class 1 Commands ....................................................................................................................................107
8.1.1. [0x18] Kill...............................................................................................................................................1078.1.2. [0x22] Lock ............................................................................................................................................1088.1.3. [0x25] BlockPermalock.......................................................................................................................... 1108.1.4. [0x26] Read Permalock Status.............................................................................................................. 112
8.2. Supported Host commands for Transponders .................................................................................................... 1148.2.1. EPC class 1 Gen 2 ................................................................................................................................ 114
vHa-VIS RF-R500 - System Manual / Issue 1.1
Contents
Engl
ish
9. Protocols for Buffered Read Mode and Notification Mode ........................................................................ 1159.1. The Buffered Read Mode Procedure .................................................................................................................. 1159.2. The Notification Mode Procedure ....................................................................................................................... 1169.3. Transponder Access in the Buffered Read Mode and Notification Mode ........................................................... 1179.4. [0x22] Read Buffer .............................................................................................................................................. 1179.5. [0x31] Read Data Buffer Info ..............................................................................................................................1209.6. [0x32] Clear Data Buffer .....................................................................................................................................1219.7. [0x33] Initialize Buffer..........................................................................................................................................1219.8. [0x34] Force Notify Trigger .................................................................................................................................121
10. ANNEX ............................................................................................................................................................. 122ANNEX A: Codes of Transponder Types ...................................................................................................................122ANNEX B: Codes of Identifier Data Types (IDDT) .....................................................................................................122ANNEX C: Index of Status Bytes ...............................................................................................................................123ANNEX D: Discontinued Protocols for Reader Configuration ....................................................................................126ANNEX E: Abbreviations ...........................................................................................................................................129
vi HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
About this Manual
Subject
This book describes the configuration of the RFID Reader Ha-VIS RF-R500 from HARTING.
The instructions given in this manual are based on advantageous boundary conditions. HARTING does not give any guarantee promise for perfect function in cross environments and does not give any guaranty for the functionality of the complete system which incorporates the subject of this document.
HARTING call explicit attention that devices which are subject of this document are not designed with components and testing methods for a level of reliability suitable for use in or in connection with surgical implants or as critical components in any life support systems whose failure to perform can reasonably be expected to cause significant injury to a human. To avoid damage, injury, or death, the user or application designer must take reasonably prudent steps to protect against system failures.
HARTING assumes no responsibility for the use of any information contained in this manual and makes no representation that they are free of patent infringement. HARTING does not convey any license under its patent rights nor the rights of others.
Ha-VIS is a registered trademark of HARTING.
I-CODE® is a registered trademark of Philips Electronics N.V.
Tag-itTM is a registered trademark of Texas Instruments Incorporated.
Audience
This book is intended for users who want to use applications with Ha-VIS RF-R500.
Before you begin
This book assumes familiarity with RFID.
viiHa-VIS RF-R500 - System Manual / Issue 1.1
Contents
Engl
ish
Ha-VIS RFID documentation
This book is part of the Ha-VIS RFID documentation set. Visit http://www.HARTING.com to obtain the latest version of the Ha-VIS RFID documentation and additional information and resources.
Explanation of the symbols
The following symbols are used in this software guide:
WARNINGThis text describes warning notes that indicate a low-level source of danger. If not avoided, human damage to property may result.
ATTENTIONThis text describes warning notes that indicate a low-level source of danger. If not avoided, damage to property may result.
Note
This symbol describes general notes supplying important information concerning one or more operating steps. It also provides references to further information supplied within this manual.
Typographical conventions
This manual uses the following typographical conventions to describe the software interface:
Format Meaning Example
blue (in normal text) Link to other chapters Link to external web pages
Ha-VIS RFID - Getting Started Guide http://www.HARTING.com
italic blue Paths; folder c:/Programme/HA-VIS/RFID
bold Names of modules and other important items
EventType
bold italic Names of characteristics or similarly OnApplicationMessage
Feedback
We would like to receive your opinions, suggestions, and feedback on this documentation.
You can email comments and suggestions to the Ha-VIS RFID documentation team at [email protected]. Although we do not reply to emails sent to this address, we read all suggestions with interest.
1Ha-VIS RF-R500 - System Manual / Issue 1.1
Engl
ish
Safety Instructions / Warnings
Safety Instructions - Read before start-up!• ThedeviceHa-VISRF-R500mayonlybeusedforthepurposeintendedbythe
manufacturer
• WheninstallingthedeviceinareascoveredunderUS47CFRPart15aminimumseparationof25cmbetweenantennaandthehumanbodymustbemaintained.
• Theoperationmanualshouldbekeptreadilyavailableatalltimesforeachuser.
• Unauthorizedchangesandtheuseofsparepartsandadditionaldeviceswhichhavenotbeensoldorrecommendedbythemanufacturermaycausefire,electricshocksorinjuries.Suchunauthorizedmeasuresshallexcludethemanufacturerfromanyliability.
• Theliability-prescriptionsofthemanufacturerintheissuevalidatthetimeofpurchasearevalidforthedevice.Themanufacturershallnotbeheldlegallyresponsibleforinaccuracies,errors,oromissionsinthemanualorautomaticallysetparametersforadeviceorforanincorrectapplicationofadevice.
• Compositionoftheinformationinthismanualhasbeendonetothebestofourknowledge.HARTINGdoesnotguaranteethecorrectnessandcompletenessofthedetailsgiveninthismanualandmaynotbeheldliablefordamagesensuingfromincorrectorincompleteinformation.Since,despiteallourefforts,errorsmaynotbecompletelyavoided,wearealwaysgratefulforyourusefultips.
• Installation,operation,andmaintenanceproceduresshouldonlybecarriedoutbyqualifiedpersonnel.
• Useofthedeviceanditsinstallationmustbeinaccordancewithnationallegalrequirementsandlocalelectricalcodes.
• Whenworkingondevicesthevalidsafetyregulationsmustbeobserved.
Observe before beginning with installation procedures.
• InaccordancewithEN50110-1/-2(VDE0105Part100),qualifiedpersonnelonlyareallowedtocarryouttransport,installation,commissioningandmaintenancetasks.GuidelinescontainedinIEC60364andHD384(DINVDE0100)aswellasnationalaccidentpreventionregulationsmustbeadheredto.
2 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
1. Introduction
1.1. The Ha-VIS RF-R500-c / Ha-VIS RF-R500-p Reader
TheHa-VISRF-R500-candtheHa-VISRF-R500-parethenewtopofthelineLongRangeReaderversionsoftheHa-VISRFIDproductline.TheyarethemostpowerfulfixedreadersintheHa-VISRFIDproductfamily.
TheHa-VISRF-R500-candtheHa-VISRF-R500-phavethefollowingkeyfeatures:
• NewLowNoiseTransmitterArchitecture
• Highsensitivityreceiverincreasesthetagdetectionrangesothattransponderscanbereadovertheentirepowerup,fieldstrengtharea.
• PowerfulTagresponsedecodingenginetodecodeFM0andMillercodedreturnlinksignalsfore.g.DenseReaderMode.
• Readerprotectionagainstvariousfaultconditionsase.g.antennashortcut,antennamismatchingandelectrostaticdischarge.
• Tough,solidaluminiumdiecasehousingforroughenvironments.
• Quickinstallationduetoeasyaccesstotheinterfacesandantennaports.
• Indicationofreadeventsvia4separatereadingpointLEDs.
• FullsupportfortheUHFmultiplexerIDISC.ANT.UMUXresultsinapossibleantennasystemwithamaximumnumberof2048antennas.Controlcommandsaresentviatheantennacable.
• PossibilitytosupplytheReaderviaPoweroverEthernet(PoE)(onlywithHa-VISRF-R500-p)
InadditiontothefactthattheHa-VISRF-R500-c/Ha-VISRF-R500-pReaderseriesishavingthelargestreadrange,theplatformprovidesthemostextensiveconfigurationpossibilitiesandreadercommandset.ThebasesetofcommandsandfeaturesarecompatiblewiththecommandsusedthroughouttheHa-VISRFIDproductline.TheconfigurationpossibilitiesoftheHa-VISRF-R500-candHa-VISRF-R500-pmakeiteasytoadaptthereaderstoawiderangeofapplicationsbysoftwareandhardwareconfigurations.
EachreaderiscontrolledbyanApplicationConnectivityController(ACC).TheACCusesanARMprocessorrunningaLinuxoperatingsystem.TheACCtransformsthereaderintoapowerfulandintelligentdevice,capableofrunningapplicationsoftwaredirectlyonthereaderplatformandcapableofconnectingandcontrollingotherrealworlddevices.Thereaderhasfivehardwareinterfaceports:Ethernet,RS232,RS485,USB,andaUSB-HostporttosupportaWLANdongleormemorystick.AllportsareundercontroloftheACC.Furthermore,thereaderhasdigitalI/O’sfordirectcontrolofvarioustriggerpossibilitiesandvariousoutputsforadirectcontrolofseveralindicators.
3Ha-VIS RF-R500 - System Manual / Issue 1.1
Data Transmission between Reader and Host
Engl
ish
2. Data Transmission between Reader and HostFivedifferentwaysofdatatransmissionbetweenHa-VISRFIDReadersandhost(terminal,PC)arepossible.TheHost Commands,Buffered Read Mode,Scan ModeandNotification ModeareusedforthedataexchangebetweenTransponderandhost,whereastheConfiguration CommandsandtheReader Control CommandsservesforadaptingtheReaderparameterstotheindividualrangeofapplications.Thefollowingchartshowswhichmethodofdatatransmissionissupportedbywhichinterface:
Interface RS 232 RS 485 Data Clock LAN WLAN
ConfigurationCommands √ √ √ √
ReaderControlCommands √ √ √ √
HostCommands √ √ √ √
BufferedReadMode √ √ √ √
ScanMode √ √ √
NotificationMode √ √
2.1. Configuration Commands and Control Commands
ThismethodofdatatransmissionisusedforReaderconfigurationandthediagnosisviathedifferentHardwareInterfacesoftheReader.
TheReader-configurationparameterswillbestoredintheReadermemory.TostorethecurrentconfigurationduringapowerdownoftheReadertheReader-ConfigurationhastobestoredintheEEPROM.AfterpoweruptheReaderreadstheconfigurationoutoftheEEPROM.
TheReadercontrolisimmediatelyprocessedandtheresponsefromtheReadercontainsstatusordatainformationofthecontrolcommand.
Host (Terminal / PC / ....) ReaderParameter-/controlcommand → Parameterreceivedandstored/control
commandprocessed
Yes No
← Status/data Errorstatus
←
4 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
2.2. Host Commands
TheHostCommandsprovidetheexchangeofdatabetweenahostandTranspondersviatheReaderaslongastheTransponderremainsinthedetectionrangeoftheReader.
Note
DuringthewritingofdataonaTransponder,itmustbeensuredthattheTransponderislocatedwithinthedetectionrangeoftheReaderduringtheentireprocess.IftheTransponderisremovedfromdetectionrangeoftheReaderduringawritingprocess,thiswillcausealossofdata.
TheReadertoTransponderaddressingmode:
Addressed mode:
Beforereadingorwritingdatainaddressedmode,theUIDoftheTransponderhastobeknown.Thisisexecutedbysendingtheprotocol7.1.1.[0x01]Inventory.IfaTransponderislocatedwithinthedetectionrangeoftheReaderatthattime,itanswerswithitsUID.Forallfollowingread-/writeorderstheTranspondermustbeaddressedwithitscorrectUID.
ThefollowingchartwillshowthenecessarystepsforthecommunicationwithaTransponderinaddressedmode:
Host (Terminal / PC / ....) ReaderInventorytogettheUID → Transponderinantennafield?
Yes No
← Status/numberofTransponders/UID
Status=noTransponder
←
ReaddatafromTransponderwithUID
→ TransponderwithcorrectUIDinantennafield?
Yes No
← Status/Transponderread
data
Status=noTransponderinReaderfield
←
WritedatatoTransponderwithUID
→ TransponderwithcorrectUIDinantennafield?
Yes No
← OKstatus Status=noTransponderinReaderfield
←
5Ha-VIS RF-R500 - System Manual / Issue 1.1
Data Transmission between Reader and Host
Engl
ish
2.3. Buffered Read Mode
TheBufferedReadModeisahighleveloperatingmodetodetectTransponderswhicharewithinthedetectionrangeoftheReader.ThisoperationmodeprocessesallTransponderreaddataandfilteroperationstomaketheuserinterfacetransparenttoTransponderdataandtominimizedatatransfersbetweenReaderandhost.ThereareonlythreecommandsusedtocontrolBufferedReadMode.
InthisoperatingmodetheReaderautomaticallyselectsTransponderswhicharewithinthedetectionrangeoftheReaderandreadstheirrequesteddata.ThereadTransponderdataisstoredina‘FIFO’organizeddatabuffer.Upto10000datasetscanbestoredintothebuffer.Incaseofpowerdownthebufferwillbeinitializedandalldatasetsgotlost.
ThesampledTransponderdatacanbereadwiththe9.4.[0x22]ReadBuffercommand.Thiscommandalwaysreadsthefirstavailabledatasetsfromthedatabuffer.Howeverdataalreadyreadhavetobedeletedwiththe9.6.[0x32]ClearDataBuffercommandbeforethenextdatasetsinthedatabuffercanbereachedwiththereadcommand.
IftheBufferedReadModeisenabledinthe4.2.CFG1:InterfaceandModeconfigurationblocktheReaderimmediatelystartssamplingTransponderdataafterpowerup.TheBufferedReadModecanbereinitializedwiththe9.7.[0x33]InitializeBuffercommand.
IfturnedtoBufferedReadModetheReaderanswerseveryvalidmessagewithdata-orstatus-protocol.TheanswerincludesthecontrolbytewhichhasbeenreceivedbytheReader.
Host (Terminal / PC / ....) ReaderReaddata → Transponderdataindatabuffer?
Yes No
← Status/dataprotocol
Status=novaliddata
←
Cleardata → Transponderdataread?
Yes No
← OKstatus Status=novaliddata
←
Note
OnlyreadoperationsareavailablewiththeBufferedReadMode.
6 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
2.4. Notification Mode
TheNotificationModeisanextendedoptionoftheBufferedReadMode:queuedTransponderdataandoptionallyInput/Statuseventsarenotifiedautomaticallyandasynchronouslytoahostwiththe9.4.[0x22]ReadBufferresponseprotocol.Thedestinationaddressandthenotificationconditionscanbesetin4.38.CFG83:NotificationChannel,Part2configurationblock.Ingeneral,thenotificationchannelcanbeusedsimultaneouslywiththehostinterface.
IndifferencetotheBufferedReadModeprocedure,anotificationisnormallynotacknowledgedbythehost.Thus,thedeletionofthetransferreddatawiththe9.6.[0x32]ClearDataBuffercommandisnotnecessary.Asanoption,theacknowledgementcanbeenabledtosynchronizethenotificationswiththehosttopreventnotificationoverflowinthehostapplication.
Thenotificationmessageformatdependsontriggersettingsin4.9.CFG10:Triggerandsettingsforthereadmodein4.10.CFG11:ReadMode–ReadDataand4.11.CFG12:ReadMode-Filteraswellassettingsforthenotificationtriggerin4.37.CFG82:NotificationChannel,Part1.Thefollowingtableliststhemessageformats:
Notification Trigger: continuous or time-triggeredInput/StatusEvent DataEvent
ReadTriggerdisabled Input/StatusandDataEventsarenotifiedtogetherinoneormultiplemessages.ThemessageformatdependsonsettingsinTR-DATAofCFG11.
ReadTriggerenabled Notificationseparatelyandimmediately,ifin:
CFG11:INflaginTR-DATA2isset
and
CFG12:flagissetforinputand/orstatustobeobserved
NOTE:Onenotificationcancontainmorethanoneinput/statusevent,ifmultipleeventsoccuratthesametime.
Notificationshortlyafternotificationofinput/statusevent.
ThemessageformatdependsonsettingsinTR-DATAofCFG11.
Notification Trigger: host-triggeredInput/StatusEvent DataEvent
IndependentofReadTrigger Input/StatusandDataEventsarenotifiedtogetherinonemessage.Thenotificationisactivatedbycommand[0x34]ForceNotifyTrigger.
ThemessageformatdependsonsettingsinTR-DATAofCFG11.
AnadditionaloptionoftheNotificationModeistheKeepalivemessage,whichcanbesentperiodicallytothehost.TheKeepalivemessagetransportsvaluableinformationaboutthereaderhardwareandantennatuningstatus.Keepalivemessagesarealwaysneveracknowledgedbythehost.TheKeepalivemessageshouldnotbemistakenwiththekeepaliveoption(s.CFG69ff.)ofaLAN/WLANconnectioninitiatedbyahost.
7Ha-VIS RF-R500 - System Manual / Issue 1.1
Interface
Engl
ish
3. InterfaceTheHa-VISRF-R500-candHa-VISRF-R500-phave4interfaceports.Theprotocolframeoftheseportscanbedifferent.Ontheasynchronousserialinterfacethewholeprotocolframeisdescribedin3.2.SerialDataFormatandProtocolFrames.TheTCP/IPprotocolframeisdescribedbelow.
3.1. Characteristics of TCP/IP protocol
IftheReaderusestheLANorWLANinterfacethedataispackagedinTCP/IPprotocolframes.Thismeansthewholedataformatandprotocolframewhichisdescribedin3.2.SerialDataFormatandProtocolFramesispackagedasthedataofTCP/IPprotocolframes.
IfyouusetheTCP/IPprotocolpleasebeawarethatthedatapackagedintheTCP/IPframeistransferredwithProtocolframe:AdvancedProtocol-Lengthasdescribebelow.
3.2. Serial Data Format and Protocol Frames
TheHa-VISRF-R500-candHa-VISRF-R500-pcanbeconfiguredbydifferentinterfacesanddatamaybewrittenonTranspondersorreadfromTransponders.ThecommunicationbetweenReaderandconnectedhost(terminal,PC,etc.)isexecutedbymeansoffixedprotocols.Theusedprotocolisintendedfordatabususeandisequippedwithabusaddress.
DuringdatatransferviatheasynchronousinterfacetheReadersuppliestherequireddataorastatusbyte.Thereplycontainsthetransmittedcontrolbyte.
ThereisnoreplyfromtheReaderifthereisaprotocolframefailure.
Protocol frame: Standard Protocol-Length (up to 255 Byte)
Host→Reader
1 2 3 4...n-2 n-1 n
LENGTH=n
COM-ADR CONTROL-BYTE
(DATA) LSBCRC16
MSBCRC16
Host←Reader
1 2 3 4 (5...n-2) n-1 n
LENGTH=n
COM-ADR CONTROL-BYTE
STATUS DATA LSBCRC16
MSBCRC16
Protocol frame: Advanced Protocol-Length
Reader←Host
1 2 3 4 5 (6...n-2)
STX(0x02)
MSBALENGTH
LSBALENGTH
COM-ADR CONTROL-BYTE
(DATA) Ã
n-1 n
Ä LSBCRC16
MSBCRC16
8 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Host←Reader
1 2 3 4 5 6 (7...n-2)
STX(0x02)
MSBALENGTH
LSBALENGTH
COM-ADR CONTROL-BYTE
STATUS (DATA) Ã
n-1 n
Ä LSBCRC16
MSBCRC16
TheReadersupportsbothProtocolframes,standardandadvancedprotocolframe.TheHostapplicationcanchoosewhichprotocolframeisused.TheReaderwillalwaysresponsewithadvancedprotocolframe.
STX:IftherespondedprotocoloftheReaderstartswiththeSTXsign(0x02)theprotocolincludesmorethan255Byte.Thentheprotocollengthisdefinedbythe2ByteParameterALENGTH.
ALENGTH (n = 8...65535):NumberofprotocolbytesincludingSTX,ALENGTHandCRC16
LENGTH (n = 6...255): Standard Protocol-Length (up to 255 Byte): NumberofprotocolbytesincludingLENGTHandCRC16.
COM-ADR: 0...254addressofdeviceinbusmode
Note
TheReadercanbeaddressedviaCOM-ADR255atanytime!
CONTROL-BYTE: DefinesthecommandwhichtheReadershouldoperate.
STATUS: IncludesthestatusmessageorprotocoldatafromortotheReader.
DATA: Isaoptionaldatafieldwithvariablelength.ThenumberofDATAbytedependsonthecommand.ThedatawillbesentalwaysasMSBfirstiftheReaderisintheHostCommandMode.
CRC16: Cyclicredundancycheckoftheprotocolbytesfrom1ton-2,asspecifiedbyCCITT-CRC16Polynomial: x16+x12+x5+1(0x8408)StartValue: 0xFFFFDirection: Backward
Data format:
Startbits: 1
Databits: 8
Stopbits: 1
Parity: even(default)oddnone
9Ha-VIS RF-R500 - System Manual / Issue 1.1
Interface
Engl
ish
Timing conditions:
Data timeout: Withinoneprotocol,thecharactershavetofolloweachotherinintervalsofmaximum12ms.
ïmax.12msð ïmax.12msð ïmax.12msð
Host→Reader: Charn Charn+1 Charn+2 ..
3.3. CRC16 Calculation Algorithm
Polynomial: x16+x12+x5+1 →CRC_POLYNOM=0x8408;
StartValue: 0xFFFF →CRC_PRESET=0xFFFF;
C-Example:
unsignedintcrc=CRC_PRESET;for(i=0;i<cnt;i++) /*cnt=numberofprotocolbyteswithoutCRC*/{ crc^=DATA[i]; for(j=0;j<8;j++) { if(crc&0x0001) crc=(crc>>1)^CRC_POLYNOM; else crc=(crc>>1); }}
10 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4. Configuration Parameters (CFG)TheRFCconfigurationmemoryoftheReaderisorganizedinconfigurationblocksof16byteeach.Thesearedividedinto14byteconfigurationparametersanda2byteCRC16checksum.Eachoftheseconfigurationblockstakesanumber(CFG0...CFGn).
StructureofaconfigurationblockinReaderconfigurationmemoryandReaderEEPROM(CFG):
Byte 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Contents PARAMETER CRC16
TheACCconfigurationmemoryoftheReaderisorganizedinconfigurationblocksof32byteeach.Thesearedividedinto30byteconfigurationparametersanda2byteCRC16checksum.Eachoftheseconfigurationblockstakesanumber(CFG0...CFGn).
StructureofaconfigurationblockinReaderconfigurationmemoryandReaderEEPROM(CFG):
Byte 0 1 2 3 4 5 6 7 8 9 0 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Contents PARAMETER CRC16
Theparametersarestoredintwodifferentconfigurationmemorylocations:
• ReaderRAM
• BackupEEPROM(usedforstoringparameteroverpowerdown)
MultipleconfigurationmemorylocationscanbeaddressedbythevalueoftheparameterCFG-ADR.
CFG-ADR: CFGn: memory-addressoftherequiredconfigurationblockLOC: specifiesthelocationoftheconfigurationblock(RAM/EEPROM)MODE: specifiesoneorallconfigurationblocks
Bit: 7 6 5 4 3 2 1 0
Function LOC MODE CFGn:addressofconfigurationblock
TheEEPROMconfigurationblocksareprotectedbya16bitCRC-checksum.TheexaminationofthesechecksumsisexecutedaftereachresetoftheReader.Ifachecksumerrorisfound,theReadergoesintoanerrorstatus„EE-Init-Mode“andsetstheconfigurationblockwhichisfaultytothedefault-values.
WhiletheEE-Init-Modeisactive,theLEDblinksalternatelyredandgreenandtheReaderanswersexternalcommandswiththestatus„0x10EEPROMFailure“.The„EE-Init-Mode“canbeexitednowbyanewreset(coldstartor6.3.[0x64]SystemResetcommand).Ifafterthisthechecksumsofalldatarecordsarecorrect,theReadershiftstotheconfiguredoperationmode.
Notes
Malfunctionsmayoccurifparametersareconfiguredoutsidetheirdescribedrangeorifunspecifiedparametershavebeenchanged!AdowngradeofthefirmwarewillresultinacompleteresetoftheEEPROM.Allparameterswillberesettofactorydefault.
11Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
Structure of configuration parameter description
Byte 0 1 2 ......n
contents RAM-eff. EEPROM-eff. 00res
.....
notmarked
Changingofthisparameterbecomesimmediatelyeffectiveafterwriting/savingthisconfigurationblocktoRAM
graymarked
Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROMandaresetoftheRFControllerwith6.3.[0x64]SystemResetinmode0x00.
markedwith“00“
Thesebitsorbytesarereservedforfutureextensionsorforinternaltestingandmanufacturing-functions.Thesebitsorbytesandalsoanynotdescribedbitsandbytesmust not be changed,asthismaycausefaultyoperationoftheReader.
4.1. CFG0: Passwords
TheparametersoftheCFG0configurationblockcontaintheidentificationcodestopersonalizetheReaderforausertopreventoutsideaccesstosomefeaturesoftheReader.Forsecurityreasonsdatafromthisconfigurationblockcannotbereadfromthehost,theyare“write-only”.Alsothecommand5.5.[0x8C]ResetConfigurationisnotavailableforthisconfigurationblock.
Byte 0 1 2 3 4 5 6
Contents READER-ID 0x00 0x00 0x00
Default 0x00000000
Byte 7 8 9 10 11 12 13
Contents 0x00 CFG_ACCESS 0x00 0x00
Default
READER-ID: (AccessProtection.Password) DefinesthepasswordwithwhichthehostlogsintotheReaderforaread/writeaccesstotheconfigurationparameterblocks.
CFG_ACCESS: (AccessProtection.Lock_CFGX) DefinestheConfigurationblockswhichareaccessibleonlyiftheuserhashadasuccessfullogintotheReader.
Byte: 8 9
Bit: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 Ã
CFGNo. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
12 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Byte: 10 11
Ä Bit: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
CFG_NO. 16 17 18 19 20 21 22-29
- - - - 63 - - - -
CFG_NO TheBitinCFG_NOdefinesiftheaccesstotheconfigurationblockisfreeoriftheuseshouldlogintotheReadertogetaccesstotheconfigurationblock.b0→ Accessiffreeb1→ Accessneedalogin
NotesAREADER-ID=0x00000000disablesthepasswordfunction.IftheReaderIDisnotset0x00000000theconfigurationpageCFG0isautomaticallyreadprotected.Areadwiththecommand5.3.[0x8A]ReadConfigurationwillalwaysget‘0x00000000’.TochangetheREADER-IDyoumustwritetotheCFG0immediatelyaftertheLogintotheReaderwiththecommand6.11.[0xA0]Reader-Login.AchangedpasswordbecomesvalidafteraSystemReset6.3.[0x64]SystemReset.Thecommands5.4.[0x8B]WriteConfigurationand5.5.[0x8C]ResetConfigurationdonotchangetheCFG0registerifallconfigurationblocksareused.AlsoaccessprotectedConfigurationPageswillnotbeinfluencedbytheseCommands.Thecommand6.11.[0xA0]Reader-Loginisusedtoenableconfigurationdataaccess.ItispossibletodisabletheREADER-IDwithanactivationcode,iftheREADER-IDisunknown.TheactivationcodemustbeorderedbyyoursupplierorHARTING.
Config Protection
BymeansofConfigProtection,theaccesstotheconfigurationparametersstoredwithintheReaderisprotectedbya32-bitpassword,the„READER-ID“.Thismeansthatonlyaftera„Login“withavalidREADER-IDtheconfigurationparametersintheEEPROMoftheReadercanbereadandchangedintheEEPROMoftheReader.
13Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.2. CFG1: Interface and Mode
TheparametersoftheconfigurationblockCFG1containthedatacommunicationsettings.1
Byte 0 1 2 3 4 5 6
Contents COM-ADR 0x00 BAUD1 TRANS-FORM1
Enable-Termination-Resistor
0x00 TR-RESPONSE-
TIME
Default 0x00 0x08 0x01 0x00 0x00
0x00 38400 Baud e,8,1
Byte 7 8 9 10 11 12 13
Contents TR-RESPONSE-
TIME
0x00 0x00 0x00 SCAN-INTERFACE
INTERFACE READER-MODE
Default 0xC8 0x00 0x95 0x00
1 sec.
COM-ADR: (HostInterface.Serial.BusAddress) BusaddressoftheReader(0...254)forcommunicationviatheasynchronousinterface,especiallyforapplicationswiththeRS485interface.
Notes
Donotconfigureaddress255!ViatheCOM-ADR255inthesendprotocol,theReaderisabletobeaddressedatanytime.Itanswersthenwiththeconfiguredaddress.
BAUD1: (HostInterface.Serial.Baudrate) BymeansofthisbytetheBaudrateoftheasynchronousinterfacecanbedefined.0x05: 4800Baud0x06: 9600Baud0x07: 19200Baud0x08: 38400Baud0x09: 57600Baud0x0A: 115200Baud
NotesChangingofBAUDonlybecomeseffectiveafterwriting/savingconfigurationblockCFG1toEEPROMandaresetoftheReader.TheReadersetstheBaudrateto38,400Baud,iftheusersetsaninvalidBaudrate.
1 AreasonablenesscheckisperformedbywritingthisparametertotheReader.IfanerroroccurstheReaderanswerswithSTATUS=0x11.
14 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
TRANS-FORM1: Bymeansofthisbyte,severalparametersforthedatatransmissionformatoftheasynchronousinterfacecanbedefined.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 S D P
P: (HostInterface.Serial.Parity) KindofParityb00: noParityb01: evenParityb10: oddParityb11: - do not use -
D: (HostInterface.Serial.Databits) NumberofDataBitsb0: 8DataBitsb1: - do not use -
S: (HostInterface.Serial.Stopbits) NumberofStopBitsb0: 1StopBitb1: - do not use -
NotesChangingofTRANS-FORMonlybecomeseffectiveafterwriting/savingconfigurationblockCFG1toEEPROMandresetoftheReader.Always8DataBitsand1StopBitsshouldbeused.
Enable-Termination-Resistor: (HostInterface.Serial.RS4xx.Enable_TerminationResistors)
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 0 TERM
TERM: ThisbitactivatestheRS485busterminationonthereaderRS485interface.b0: disabled(default)b1: enabled
1 AreasonablenesscheckisperformedbywritingthisparametertotheReader.IfanerroroccurstheReaderanswerswithSTATUS=0x11.
15Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
TR-RESPONSE-TIME: (AirInterface.TimeLimit) BymeansofthisparameterthemaximumdurationfortheTranspondercommandcanbede-fined.
TheTR-RESPONSE-TIMEstartsaftertheReaderhasreceivedanewcommand.AtthelatestaftertheTR-RESPONSE-TIMEelapsedtheReaderwillsendananswerprotocol.Inthiscase,thecurrentcommandsbetweenReaderandTransponderareaborted.IfthistimeistooshorttheInterfaceStatus“0x83RFCommunicationError“willappear.
max.responseduration
TR-RESPONSE-TIME 0...65535*5ms
NotesTR-RESPONSE-TIMEhasnoeffectwiththeprotocolsforReaderConfigurationandtheprotocolsforReaderControl.TheTR-RESPONSETimemustbe<“BlockTimeout”intheHostInterfacesettings.
SCAN-INTERFACE: (OperatingMode.ScanMode.Interface) SelectionofthecommunicationportforScan-Mode
Bit: 7 6 5 4 3 2 1 0
Function: - - DC-Format
- - IF-NO
IF-NO:InterfaceNumber b000: RS232 b001: RS485 b010: - do not use - b011: Dataclock b1xx: - do not use -
DC-FORMAT: Bymeansofthisparameterthekindofdatatransmissionviadata-/clockinterfacecouldbyselected:
b000: Wiegandemulation(see4.2.2.WiegandEmulation)dataformat:binary1:1,accordingwrittentoTransponder.
b001: magneticstripe(see4.2.1.MagneticStripEmulation)dataformat:binary1:1,accordingwrittentoTransponder.
b010: magneticstripe(see4.2.1.MagneticStripEmulation)dataformat:accordingISO78112,track2+3(5Bit)
b011: magneticstripe(see4.2.1.MagneticStripEmulation)dataformat:accordingISO78112,track1(7Bit)
b100: Wiegandemulation(see4.2.2.WiegandEmulation)dataformat:Wiegandformattedprotocolframewithstartandstopsign.
16 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
b101: magneticstripe(see4.2.1.MagneticStripEmulation)dataformat:accordingISO78112,track2+3(5Bit)additionalaprefixof16leadingzeroclocksbeforethestartcharacterandadditionalatrailerof16attachedzeroclocksfollowingtotheLRCcharacter.
b110: Wiegandemulation(see4.2.2.WiegandEmulation)dataformat:Wiegandformattedprotocolframe
INTERFACES: (HostInterface.Interfaces) Flagsforenablingthecommunicationports
Bit: 7 6 5 4 3 2 1 0
Function: Discovery - - USB WLAN LAN RS4xx RS232
RS 232: b0:disable b1:enable
RS 4xx: b0:disable b1:enable
LAN: b0:disable b1:enable
WLAN: b0:disable b1:enable
USB: b0:disable b1:enable
Discovery: b0:disable b1:enable
READER-MODE: (OperatingMode.Mode) Bymeansofthisbyte,theReadermodecanbedefined.
Bit: 7 6 5 4 3 2 1 0
Function: BRM-E NTF-E 0 0 0 0 0 SCAN-E
SCAN-E: BysettingofthisbittheScan-Modecanbeenabledb0: Host Mode(seechapter7.ProtocolsforHostCommands)b1: Scan Mode
BRM-E: BysettingofthisbittheBufferedReadModecanbeenabledb0: Host Mode or Scan Modeb1: BRM-Mode
NTF-E: BysettingofthisbittheNotificationModecanbeenabledb0: Off b1: On (only together with BRM-Mode)
Thefollowingtableliststhebitcombinationsforthereadermodes:
17Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
Bit
7 6 5 4 3 2 1 0
ReaderM
ode Host-Mode 0 0 0 0 0 0 0 0
ScanMode 0 0 0 0 0 0 0 1
BufferedReadMode 1 0 0 0 0 0 0 0
NotificationMode 1 1 0 0 0 0 0 0
4.2.1. Magnetic Strip Emulation
Data Format: ThefollowingtableshowsdatacodingdependingonDC-FORMAT
ForcuttingthelengthofdataoutputtheparametersD_LGTandD_START(seechapter4.10.CFG11:ReadMode–ReadData)areused.D_LGTandD_STARTarethenumberofBitstobereadandtheStartBit.
DC-FORMAT
b001 b010 b101
b011
binary 1:1 according ISO 7811-2 (5 bit)
according ISO 7811-2 (7 bit)
raw data MSB......LSB P/MSB.....LSB P/MSB..........LSB
0x0 b0000 b1/0000 b0/010000
0x1 b0001 b0/0001 b1/010001
0x2 b0010 b0/0010 b1/010010
0x3 b0011 b1/0011 b0/010011
0x4 b0100 b0/0100 b1/010100
0x5 b0101 b1/0101 b0/010101
0x6 b0110 b1/0110 b0/010110
0x7 b0111 b0/0111 b1/010111
0x8 b1000 b0/1000 b1/011000
0x9 b1001 b1/1001 b0/011001
0xA b1010 b1/1010 b1/100001
0xB b1011 b0/1011 b1/100010
0xC b1100 b1/1100 b0/100011
0xD b1101 b0/1101 b1/100100
0xE b1110 b0/1110 b0/100101
0xF b1111 b1/1111 b0/100110
Start „%“ - b0/1011 b1/000101
Stop „?“ - b1/1111 b0/011111
Example:Outputofrawdata0x19BF
SignDC-FORMAT
prefix(16*0)
Start%
0x1
0x9
0xB
0xF
Stop? LRC trailer
(16*0)
b001 - - 0001 1001 1011 1111 - - -b010 - 1101/0 1000/0 1001/1 1101/0 1111/1 1111/1 0001/0 -b101 000...000 1101/0 1000/0 1001/1 1101/0 1111/1 1111/1 0001/0 000...000b011 - 101000/1 100010/1 100110/0 010001/1 011001/0 111110/0 011010/0 -
Time →
18 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
LRC XORoperationonStart-,DataandStop-sign.
TimingThefollowingdiagramrepresentsthesignalresponseofthe2datalinesofthedata-/clock-interfaceinmagneticstripemulation.
tn=0,5msta(n)≈tn/3tb(n)≈tn/2
4.2.2. Wiegand Emulation
Data Format:
ThefollowingdescriptionrepresentsthedatacodingdependingonDC-FORMAT
DC-FORMAT = b000 → binary 1:1InthisconfigurationtheoutputdataformatisequaltothedatacodingontheTrans-ponder.TheReaderdoesn'taddaprotocolframee.g.parityBitsorstartorstopsignsacrossthedatastream.
DC-FORMAT = b100 → Wiegand formatted protocol frame with start and stop sign InthisconfigurationtheReaderbuildtheprotocolframewithoneevenparitybitatthebeginningandoneoddparitybitattheendandonestartandonestopsign:
4Bit 1Bit nBit 1Bit 4Bit
START EVEN DATA ODD STOP
START: b1011EVEN: EvenparitybitcalculatedacrossthefirsthalfDATAbits.DATA: DatabitsasreadfromtheTransponderanddefinedinscan-modesettings.ODD: OddparitybitcalculatedacrossthelasthalfDATAbits.STOP: b1111
DC-FORMAT = b110 → Wiegand formatted protocol frame InthisconfigurationtheReaderbuildtheprotocolframewithoneevenparitybitatthebeginningandoneoddparitybitattheend
1Bit nBit 1Bit
EVEN DATA ODD
19Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
EVEN: EvenparitybitcalculatedacrossthefirsthalfDATAbits.DATA: DatabitsasreadfromtheTransponderanddefinedinscan-modesettings.ODD: OddparitybitcalculatedacrossthelasthalfDATAbits.
Example of parity calulation Example 1: 24 DATA bits
DATA bin 011110110010110101101001 OUTPUT 1 011110110010110101101001 0 `- Even Parity Bit `- Odd Parity BitExample 1: 25 DATA bits DATA bin 0111101100101101011010011 OUTPUT 0 0111101100101101011010011 1 `- Even Parity Bit `- Odd Parity Bit
Timing Thefollowingdiagramrepresentsthesignalresponseofthe2datalinesofthedata-/clock-interfaceinWiegandemulation.
tn=0,5ms
20 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.3. CFG2: Inputs / Outputs
TheparametersofconfigurationblockCFG2containthedigital-inputand-outputsettings.
Byte 0 1 2 3 4 5 6
Contents IDLE-MODE FLASH-IDLE IN-ACTIVE 0x00 REL1-TIMEMSB
Default 0xA8A0 0xCC00 0x00 0x00
Byte 7 8 9 10 11 12 13
Contents REL1-TIMELSB
OUT1-TIME REL2-Time REL3-Time OUT2-Time
Default 0x00 0x0000 0x0000 0x00 0x00
IDLE-MODE: Definesthestatusofthesignalemitters(OUT1andREL)duringtheidlemode.
Bit: 15 14 13 12 11 10 9 8
Function: REL1mode OUT2mode OUT1mode 0 0 Ã
7 6 5 4 3 2 1 0
Ä REL2mode REL3mode 0 0 0 0
Mode Function
b00 UNCHANGED Noeffectonthestatusofthesignalemitter
b01 ON Signalemitteron
b10 OFF Signalemitteroff
b11 FLASH Signalemitteralternatingon
FLASH-IDLE: Allocatesaflashing-frequencytoeachoutput.
Bit: 15 14 13 12 11 10 9 8
Function: REL1frq OUT2frq OUT1frq 0 0 Ã
7 6 5 4 3 2 1 0
Ä REL2frq REL3frq 0 0 0 0
Bitcombination Flashingfrequency
b11b10b01b00
1Hz2Hz4Hz8Hz
21Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
IN-ACTIVE: Determinesiftheinputisactivewithaclosedoropencontact:
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 IN5 IN4 IN3 IN2 IN1
b0: closedcontactactivatesinputb1: pencontactactivatesinput
OUT1-TIME and RELx-TIME (x = 1,2): DefinestheholdingtimeofthedigitaloutputOUT1/RELx.IftheReaderreceivesavalidTransponderresponsetheantennaassignedtotheoutputby4.8.CFG9:Input/OutputII(Assignment–outputtoantennareadevent)isactivatedforthevalueinOUT1/RELx-TIME.IfOUT1/RELx-TIMEiszerothefunctionisdisabled.IfOUT1/RELxishighinidlemode,OUT1/RELxwilllowforOUT1/RELx-TIME.Iftheflashmodeisenabled,theoutputgoeslow.Range: 0x0000...0xFFFF (* 100 ms) = 0 s...6553.5 s.
OUT2-TIME and REL3-TIME: DefinestheholdingtimeofthedigitaloutputOUT2/REL3.IftheReaderreceivesavalidTransponderresponsetheantennaassignedtotheoutputby4.8.CFG9:Input/OutputII(Assignment–outputtoantennareadevent)isactivatedforthevalueinOUT2/REL3-TIME.IfOUT2/REL3-TIMEiszerothefunctionisdisabled.IfOUT2/REL3ishighinidlemode,OUT2/REL3willlowforOUT2/REL3-TIME.Iftheflashmodeisenabled,theoutputgoeslow.Range: 0x00...0xFF (* 100 ms) = 0 s...25.6 s.
NoteBRM-mode(readingofserialnumberanddata):iftheserialnumberwasreadOKandthedatanot,nodatasetwillbetransferred,buttheassignedRELxand/ortheOUTxwillbeactive.
4.3.1. Dedicated Input / Output Functions
IN1isreservedforthetrigger,ifthetriggerisenabledin4.9.CFG10:Trigger.TheLED’sareusedforsystemmonitoring.
LED Color Dedicated Function1 green 1.1secondblink.
2.AlternatelyblinkwithLED2afteranEEPROMerror.
2 blue 1.TheRFinterfacehasafaultlesscommunicationwithaTransponder.
2.AlternatelyblinkwithLED1afteranEEPROMerror.
3 yellow TheinterfacesendsdatatothehostorApplicationandcommunicationBoard.
Note
LED1(green)andLED2(blue)areblinkingalternatelyifareaderroroftheEEPROMoccurredafterpower-upora6.2.[0x63]RFControllerResetcommand.
22 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.4. CFG3: RF-Interface
TheparametersoftheCFG3configurationblockcontainglobalTransponderdriversandReadersettings.
Byte 0 1 2 3 4 5 6
Contents TAG-DRV1 RF-POWER-ANT1
REG 0x00 DC-Power 0x00
Default 0x0010 0x19 0x060x04
0x00 0x00
Byte 7 8 9 10 11 12 13
Contents 0x00 FREQ_US 0x00 NRPREFERRED
CHN
PREFERREDCHN
Default 0x00 0x0000 0x00 0x00 0x0000
NotesThesettingsinCFG3arenotaffectedbythecommand[0x8C]Reset.
TAG-DRV1: (Transponder.Driver.UHF.Drivers) DefinestheTranspondertypesthatareoperatedbytheReader.
Byte 0 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Driver 0 0 0 0 0 0 0 0 0 0 0 E 0 0 0 0
b0: DriverfortheTranspondertypeisinactiveb1: DriverfortheTranspondertypeisactive
.E: (Transponder.Driver.UHF.EPC_Class1Gen2) EPCclass1Gen2
Inprinciple,onlythoseTransponderdriversshouldbeactivethatareusedintheactualapplication.Thus,thereactiontimeoftheReaderforTransponderread-/write-operationsisreducedandthedangerofaparasiticTransponderaccessisminimized.
NotesExceptfortheEPCGEN2driverallothertransponderdriversneedsanupgradecodefirst.TheupgradecodemustbeorderedbyyoursupplierorHARTING.TooperateanISO18000-6-CTranspondertheEPCGEN2driverneedstobeenabled.ThisFirmwareFunctionneedstobeactivatedwithanupgradecodefirst.
1 AreasonablenesscheckisperformedbywritingthisparametertotheReader.IfanerroroccurstheReaderanswerswithSTATUS=0x11.
23Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
RF-POWER-ANT11: (AirInterface.Antenna.UHF.No1.OutputPower) DefinestheRFoutputpowerforantenna1.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 LEVEL
LEVELLeveloftheRFoutputpower.
LEVEL RF-POWER [Watt] RF-POWER [dBm]0x12 0.3 24.8
0x13 0.4 26.0
0x14 0.5 27.0
0x15 0.6 27.8
0x16 0.7 28.5
0x17 0.8 29.0
0x19 1 30.0
0x1B 1.2 30.8
0x1D 1.4 31.5
0x1F 1.6 32.0
0x21 1.8 32.6
0x23 2 33.0
0x25 2.2 33.4
0x27 2.4 33.8
0x2A 2.7 34.3
0x2D 3 34.8
0x30 3.3 35.2
0x33 3.6 35.6
0x37 4 36.0
Notes
TheoutputpowerforAntenna2-4canbeconfiguredinCFG20.WiththeHa-VISRF-R500-cthemaximumoutputpowerislimitedto2Watts.Higherpowerlevelsettingswillbeignoredandthecurrentconfiguredvaluewillnotbechanged.IfthereaderissuppliedviaPoweroverEthernet(onlyHa-VISRF-R500-p)themaximumoutputpowerislimitedto1Watt.Higherpowerlevelsettingswillbeignoredandthecurrentconfiguredvaluewillnotbechanged.
1 AplausibilitycheckisperformedbywritingthisparametertotheReader.IfanerroroccurstheReaderanswerswithSTATUS=[0x11].
24 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
REG: (AirInterface.Region.UHF.Regulation) DefinestheregionspecificbehaviouraccordingtotheRFregulations.
ForEuropeanReadersfollowingregionsareapplicable:
REG Name Countries Numberofchannels
FrequencyBand
0X06 Europe ArmeniaAustriaAzerbaijanBelgiumBosniaHerzegovinaBulgariaCroatiaCyprusCzechRepublicDenmarkEstoniaFinlandFranceGermanyGreeceHungaryIcelandIrelandItalyLatviaLithuaniaLuxembourgMacedoniaMaltaMoldovaNetherlandsNorwayPolandPortugalRomaniaSerbia&MontenegroSlovakRepublicSloveniaSpainSwedenSwitzerlandTurkeyUnitedKingdom
4 865MHz...868MHz
0x16 Asia/Oceania HongKongIranJordanOmanPakistanUnitedArabEmiratesNewZealand
4 865MHz...868MHz
0x26 Russia Russia 3 866MHz...868MHz
0x36 Africa SouthAfricaTunesia
4 865MHz...868MHz
0x46 India India 3 865MHz...867MHz
0xFF Unknown Allothercountries - manually
Notes
IfRegionis[0xFF]Unknownpleasecontactyoursuppliertosetupthecorrectfrequencyconfiguration.
25Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
ForFCCReadersfollowingregionsareapplicable:
REG Name Countries Numberofchannels
FrequencyBand
0x04 America ArgentinaCanadaChileColombiaCostaRicaDominicanRepublicMexicoPanamaPeruPuertoRicoUSAUruguayVenezuela
50 902MHz...928MHz
0x14 China China 16 920.5MHz...924.5MHz
0x24 Australia/NewZealand
AustraliaNewZealand
9 921.5MHz...926MHz
0x34 Brazil Brazil 25 915MHz...927.5MHz
0x44 Israel Israel 4 915MHz...917MHz
0xFF Unknown Allothercountries - manually
Notes
IfRegionis[0xFF]Unknownpleasecontactyoursuppliertosetupthecorrectfrequencyconfiguration.
FREQ_US: DefinestheReaderspecificfrequencychannelusage.
Byte 0 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Function 0 0 upperchannel 0 0 lowerchannel
upper/lower channel: (AirInterface.Region.UHF.FCC.Channel.UpperChannel) (AirInterface.Region.UHF.FCC.Channel.LowerChannel) ChannelwhichisusedbytheFCCReaderasupperandlowerlimit.
upper/lowerchannel
Frequency
1
2
3
...
50
902.75MHz
903.00MHz
903.25MHz
927.25MHz
Notes
ThesesettingsareonlyapplicableifRegion[0xFF]Unknownisselected.ThesesettingsareonlyapplicableforFCCReaders
26 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
NR_CHN: (AirInterface.Region.UHF.EU.Channel.EN302208_4_ChannelPlan. PreferredChannels.NoOfChannels) Numberofchannels(1...4)usedbytheEuropeanReader.
Notes
ThesesettingsareonlyapplicableifRegion[0xFF]Unknownisselected.ThesesettingsareonlyapplicableforEUReaders
CHN: (AirInterface.Region.UHF.EU.Channel.EN302208_4_ChannelPlan. PreferredChannels.ChannelNoX) DefinesthechannelsusedbytheEuropeanReader.
Byte 0 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Function 1.PrefChn 2.PrefChn 3.PrefChn 4.PrefChn
Notes
ThesesettingsareonlyapplicableifRegion[0xFF]Unknownisselected.ThesesettingsareonlyapplicableforEUReaders
DC-Power: (AirInterface.Antenna.UHF.Miscellaneous.Enable_DCPower)
Enablesa24VDCPowerontheantennaoutputtosupplyanexternalmultiplexerviathean-tennacable.
Bit 7 6 5 4 3 2 1 0
Function 0 0 0 0 ANT4 ANT3 ANT2 ANT1
b0: disabled(default) 24VDCVoltageonantennaoutputisdisabledb1: enabled 24VDCVoltageonantennaoutputisenabled
Notes
IfDC-Powerisenablednoexternalpowersupplyisneededtosupplyanexternalmultiplex-er.Onlymultiplexersinthefirstcascadelevelcanbesuppliedviathe24VDCantennavoltag-es.
4.5. CFG4: Transponder Parameters
TheparametersoftheCFG4configurationblockcontaingeneralTranspondersettings.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x05 0x00 0x80
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 IDDIB TID-Length
Default 0x00 0x00
27Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
IDDIB(IdentifierDataInterpretationByte):(Transponder.Miscellaneous.IdentifierInterpretationMode) DefinesinwhichwaytheReaderinterpretsanddisplaystheIdentifierdatareadduringinventoryprocessbyusingtheinventorycommandorinBufferedReaderMode.
0x00–automaticMode(IDDTypeisautomaticsetbytheReader)
0x02–EPCandTID
Note
IfIDDIBis0x02thenonlytheTIDmustbeusedtoaddresscommands(e.g.read,write...)tothetag.
TID-Length: (Transponder.Miscellaneous.TID-Length) DefinesthelengthoftheTIDtobeexpectedwhenIDDIBisEPCandTID.
0x00–automaticMode
0x20–32Bits
0x40–64Bits
0x60–96Bits
NoteIfTID-Lengthis0x00thereaderwillautomaticallyaddthecompletecontentoftheTIDmemorybank.
4.6. CFG5: Anticollision
TheparametersoftheCFG5configurationblockcontainanticollisionsettings.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 SESSION ONT 0x00 0x00
Default 0x01 0x04
Q: (Transponder.UHF.EPC_Class1Gen2.Anticollision.AnticollisionStartValue) ThisfieldcontainsthestartvalueforthenumberoftimeslotsinananticollisionsequenceforEPCC1G2Transponder.TheReaderwillveryquicklyadapttothebestQvaluebyreaderinternalmechanism.TheconfiguredQvalueisthestartvaluefromwhichtheReaderstartstheoptimizationoftheQvalue.
ONT:
DefineswhichTransponderwillbesenttothehost.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 ACOLL 0 0
28 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
ACOLL: (Transponder.Anticollision.Enable) ThisbitactivatesAnticollisionMode.InAnticollisionModetheReaderautomaticallysetsTransponderspecificcommunicationparameters.
b0: disabledInthiscasetheReaderdoesn’tprocessesanyanticollisionprocedureforTranspondersinsidetheantennafield.
b1: enabled(default)InthiscasetheReaderprocessestheanticollisionprocedureforTranspondersinsideoftheantennafield.
Note
IfACOLLisdisabled(b0)theReaderforthaQuery(withQ=1),ACK,Req_RNsequenceandsettheTagintheOPEN/SECUREDstate.
SESSION: (Transponder.UHF.EPC_Class1Gen2.Anticollision.Session) DefineswhichSessionofEPCGen2TransponderwillbeusedinInventoryprocess.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 SESSION
b00: Session0(PersistenceResetTimeisalways0)b01: Session1(PersistenceResetTimeasdefinedinCFG16:PersistenceResetbutlimited tomaximum1sec.)b10: Session2(PersistenceResetTimeasdefinedinCFG16:PersistenceReset)b11: Session3(PersistenceResetTimeasdefinedinCFG16:PersistenceReset)
4.7. CFG6...8: Reserved
TheconfigurationblocksCFG6toCFG8arereservedforfutureuse.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
29Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.8. CFG9: Input / Output II (Assignment – output to antenna read event)
TheconfigurationblockCFG9containstheparameterfortheInput/OutputII.
Byte 0 1 2 3 4 5 6
Contents Output1_AE Output2_AE 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00
Byte 7 8 9 10 11 12 13
Contents Relay1_AE Relay2_AE Relay3_AE 0x00 0x00 LED4_OUT_AE
LED4_IN_AE
Default 0x00 0x00 0x00 0x00 0x00
Output1_AE (Output1 assignment to antenna read event) (DigitalIO.Output.No1.ReadEventActivation.AntennaNo)defineswhichantennaactivatestheOuptut1ifaTransponderhasbeendetected.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 ANT4 ANT3 ANT2 ANT1
Output2_AE (Output2 assignment to antenna read event) (DigitalIO.Output.No2.ReadEventActivation.AntennaNo) defineswhichantennaactivatestheOuptut2ifaTransponderhasbeendetected.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 ANT4 ANT3 ANT2 ANT1
Relay1_AE (Relay1 assignment to antenna read event) (DigitalIO.Relay.No1.ReadEventActivation.AntennaNo) defineswhichantennaactivatestheRelay1ifaTransponderhasbeendetected.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 ANT4 ANT3 ANT2 ANT1
Relay2_AE (Relay2 assignment to antenna read event) (DigitalIO.Relay.No2.ReadEventActivation.AntennaNo) defineswhichantennaactivatestheRelay2ifaTransponderhasbeendetected.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 ANT4 ANT3 ANT2 ANT1
30 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Relay3_AE (Relay3 assignment to antenna read event) (DigitalIO.Relay.No3.ReadEventActivation.AntennaNo) defineswhichantennaactivatestheRelay1ifaTransponderhasbeendetected.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 ANT4 ANT3 ANT2 ANT1
LED4_OUT_AE (LED4 assignment to Output event) (DigitalIO.Led.No4.ReadEventActivation.Output) defineswhichoutputactivatestheLED4.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 REL3 REL2 REL1 OUT1 OUT2
LED4_IN_AE (LED4 assignment to Input event) (DigitalIO.Led.No4.ReadEventActivation.Input) defineswhichinputactivatestheLED4.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 IN5 IN4 IN3 IN2 IN1
4.9. CFG10: Trigger
Theconfigurationblockcontainsparametersforthetriggerconfiguration.
Byte 0 1 2 3 4 5 6
Contents TRIGGER-MODE
TRIGGER-USE-A
TRIGGER_1-HOLD-TIME
0x00
TRIGGER_2-HOLD-TIME
0x00
TRIGGER_3-HOLD-TIME
MSB
Default 0x00 0x00 0x0005 0x0005 0x00
500 ms 500 ms
Byte 7 8 9 10 11 12 13
Contents TRIGGER_3-HOLD-TIME
LSB
TRIGGER_4-HOLD-TIME
TRIGGER_5-HOLD-TIME
TRIGGER-USE-B
0x00
Default 0x05 0x0005 0x0005 0x00
500 ms 500 ms
TRIGGER-MODE definesthemodeofthescanner.
Bit: 7 6 5 4 3 2 1 0
Function: Trigger 0 Condition 0 0 0 0 UnlimitedValidTime
31Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
Trigger: (OperatingMode.BufferedReadMode.Trigger.Enable) (OperatingMode.NotificationMode.Trigger.Enable) (OperatingMode.ScanMode.Trigger.Enable)
b0: Triggerdisabled:TheReaderRFPowerisonandtheReaderscansallthetimeinBRMMode.
b1: Triggerenabled:TheReaderstarttheRFPowerandthescan,ifthetriggerisactivatedbytheexternalswitch.
Note
IfTriggerisenabledandnotactivatedbytheexternalswitch,theRF-fieldwillbeswitchedoff.
Condition: (OperatingMode.BufferedReadMode.Trigger.Condition) (OperatingMode.NotificationMode.Trigger.Condition) (OperatingMode.ScanMode.Trigger.Condition)
b0: LevelTriggered:RFFieldwillbeswitchedonwiththerisingedge.TriggerHoldTimestartstorunwiththefallingedge
b1: EdgeTriggeredRFFieldwillbeswitchedonwiththerisingedge.TriggerHoldTimestartstorunwiththerisingedge.
Unlimited Valid Time: (OperatingMode.BufferedReadMode.Trigger.Enable_UnlimitTransponderValidTime) (OperatingMode.NotificationMode.Trigger.Enable_UnlimitTransponderValidTime) (OperatingMode.ScanMode.Trigger.Enable_UnlimitTransponderValidTime)
b0: ValidTimeislimitedtooneTriggerPeriod:TheValidTime(s.CFG12)isrestartedwitheachTriggerPeriodandthusnotlongerthanoneTriggerPeriod.
b1: UnlimitedValidTime:TheValidTime(s.CFG12)isapplicableformorethanoneTriggerPeriod.
TRIGGER-USE-A TRIGGER-USE-B
DefineswhetherInput1,Input2,Input3,Input4(Trigger-Use-A)orInput5(Trigger-Use-B)isusedasatrigger.IftheInputisusedasatriggeryoucanchoseiftheTriggerstartorstopstheoperation.
TRIGGER-USE-A
Bit: 7 6 5 4 3 2 1 0
Function: TU4 TU3 TU2 TU1
TRIGGER-USE-B
Bit: 7 6 5 4 3 2 1 0
Function: - - - TU5
32 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
TU-x: (OperatingMode.BufferedReadMode.Trigger.Source.Input.NoX.TriggerUse) (OperatingMode.NotificationMode.Trigger.Source.Input.NoX.TriggerUse) (OperatingMode.ScanMode.Trigger.Source.Input.NoX.TriggerUse)Xistheinputwhichisusedasatrigger
b00 triggernotused
b01 triggerstarttheReaderoperation
b10 triggerstopstheReaderoperation
b11 triggerstarttheReaderoperationiftheReaderisnotinoperation.IncaseofReaderisinoperationarisingedgeontheinputstopstheReaderOperation
TRIGGER_X-HOLD-TIME: (OperatingMode.BufferedReadMode.Trigger.Source.Input.NoX.HoldTime) (OperatingMode.NotificationMode.Trigger.Source.Input.NoX.HoldTime) (OperatingMode.ScanMode.Trigger.Source.Input.NoX.HoldTime)(1...65535*100ms=100ms...6553.5sec)TheTRIGGER-HOLD-TIMEdefinestheperiodinwhichtheReaderperformsinventorycommandsandholdstheRFPoweractive.
4.10. CFG11: Read Mode – Read Data
TheparametersoftheconfigurationblockCFG11containBufferedReadModeandScanModesettings.ToenableBufferedReadModetheBRMbitintheREADER-MODEregisteroftheconfigurationblock4.2.CFG1:InterfaceandModemustbeset.Itisusefultoenable“AnticollisionSelectMode”in4.6.CFG5:AnticollisionifthereisalargeorunknownnumberofTranspondersintheantennafield.TheBufferedRead-ModecanbeusedwiththeAntennaMultiplexMode.Theparametersforthisfunctionhavetobeconfiguredin4.14.CFG15:AntennaMultiplexing.
Byte 0 1 2 3 4 5 6
Contents TR-DATA-11 TR-DATA-2 TR-DATA-3 BANK DB-ADR
Default 0x71 0x00 0x02 0x01 0x0000
Byte 7 8 9 10 11 12 13
Contents DB-N D-START D-LGT
Default 0x00 0x0001 0x0004
TR-DATA-11: Selectsthedatatypesforreadoperation.
Bit: 7 6 5 4 3 2 1 0
Function: Extension DATE TIMER ANT ByteOrderDB
CB SNR
1 AreasonablenesscheckisperformedbywritingthisparametertotheReader.IfanerroroccurstheReaderanswerswithSTATUS=[0x11].
33Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
SNR (OperatingMode.BufferedReadMode.DataSelector.UID) (OperatingMode.NotificationMode.DataSelector.UID) (OperatingMode.ScanMode.DataSelector.UID)
b0: noSerialNumberwillbestoredb1: SerialNumberwillbestored
DB (OperatingMode.BufferedReadMode.DataSelector.Data) (OperatingMode.NotificationMode.DataSelector.Data) (OperatingMode.ScanMode.DataSelector.Data)
b0: nodatablockwillbestoredb1: datablockwillbestored
Byte Order DB (OperatingMode.BufferedReadMode.DataSource.ByteOrderOfData) (OperatingMode.NotificationMode.DataSource.ByteOrderOfData) (OperatingMode.ScanMode.DataSource.ByteOrderOfData)
b0: MSBfirstb1: LSBfirst
ANT (OperatingMode.BufferedReadMode.DataSelector.AntennaNo) (OperatingMode.NotificationMode.DataSelector.AntennaNo) (OperatingMode.ScanMode.DataSelector.AntennaNo)
b0: thenumberoftheantennawillnotbestoredb1: thenumberoftheantenna(1-4)wheretheTransponderhasbeendetected,willbe stored.
NoteIfNumberofAntennaisenabledthecheckboxforAntennaExtendedmustbedisabled.
TIMER (OperatingMode.BufferedReadMode.DataSelector.Time) (OperatingMode.NotificationMode.DataSelector.Time) (OperatingMode.ScanMode.DataSelector.Time)
b0: nointernalsystemtimerb1: internalsystemtimerwillbeactive
DATE (OperatingMode.BufferedReadMode.DataSelector.Date) (OperatingMode.NotificationMode.DataSelector.Date) (OperatingMode.ScanMode.DataSelector.Date)
b0: nodateistransferredBRMDatarecordb1: dateistransferredBRMDatarecord
Note
Theinternalsystemtimerisnotarealtimeclock(RTC)andtheaccuracycannotbeguaranteed.
34 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Extension
b0: extensionflagdisabled,DatafromTR-Data2willnotberequestedb1: extensionflagenabled,DatafromTR-Data2willberequested
TR-DATA-2: Selectsthedatatypesforreadoperation.
Bit: 7 6 5 4 3 2 1 0
Function: Extension - - ANT_Ext - - - IN
IN (OperatingMode.BufferedReadMode.DataSelector.InputEvents) (OperatingMode.NotificationMode.DataSelector.InputEvents) (OperatingMode.ScanMode.DataSelector.InputEvents)
b0: noInputstateswillbestoredb1: Inputstateswillbestored
ANT_Ext: Antenna Extended
b1: AntennanumberwithRSSI
Note
IfAntennaExtendedisenabledthecheckboxfornumberofantennamustbedisabled
Extension
b0: extensionflagdisabled,DatafromTR-Data3willnotberequestedb1: extensionflagenabled,DatafromTR-Data3willberequested
TR-DATA-3:
Selectsthedatatypesforreadoperation.
Bit: 7 6 5 4 3 2 1 0
Function: - - - - READ_COMPLETE_
BANK
- ANT-STORE
COMPrefix
COM Prefix: (Scan Mode only) (OperatingMode.ScanMode.DataFormat.BusAddressPrefix)
b0: noCOMPrefixissendb1: TheReaderwilltransmittheCOM-ADRinfrontofeachdataset.
ANT-STORE (OperatingMode.BufferedReadMode.DataSelector.Mode.Enable_AntennaPool) (OperatingMode.NotificationMode.DataSelector.Mode.Enable_AntennaPool) (OperatingMode.ScanMode.DataSelector.Mode.Enable_AntennaPool)
Ifthisbitisset,thereaderstoresonlyonedatasetalsoifataghasbeendetectedofmorethanonemultiplexerantenna.Ifthisbitisnotset,thereaderstoresadatasetforeachmultiplexerantenna.
35Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
Examples:1)ANT-STORE=1,Tagwasdetectedbyantenna1and4
Antenna 8 7 6 5 4 3 2 1
Bit 7 6 5 4 3 2 1 0detected 0 0 0 0 1 0 0 1
onedataset,antennanumber=0x09
NoteIfANT-STORE=1andaTagwasdetectedbyantenna1andthedatasetwastransmittedtothehost,thereaderdoesn'tstorenewdatasetsforthistransponderifreadonanotherantenna,ifvalidtimewasnotexpired.
READ_COMPLETE_BANK: (OperatingMode.BufferedReadMode.DataSelector.Mode.Read_Complete_Bank) (OperatingMode.NotificationMode.DataSelector.Mode.Read_Complete_Bank) (OperatingMode.ScanMode.DataSelector.Mode.Read_Complete_Bank)
IfthisbitissetthereaderwillreadoutallmemoryblocksfromtheselectedMemoryBANK.
b00 ReaderreadsoutthememoryblocksaccordingtothesettingsinDB-ADR,DB-N,D-StartandD-LGT.
b01 Readerreadsoutallblocksoftheselectedmemorybank
NoteThisfunctionalityislimitedtomemorybankswithamaximumsizeof256Byte.
BANK: MemorybankoftheTransponderwhichwillbeaccessedbytheReader
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 BANK_NR
BANK_NR: (OperatingMode.BufferedReadMode.DataSource.BankNo) (OperatingMode.NotificationMode.DataSource.BankNo) (OperatingMode.ScanMode.DataSource.BankNo)
IncaseofClass1Gen2TransponderBANK_NRisdefinedasfollows:b00 reservedb01 EPCmemorybankb10 TIDmemorybankb11 Usermemorybank
NoteEPCGen2memorybankscanonlybereadinopenstate.
DB-ADR1: (OperatingMode.BufferedReadMode.DataSource.FirstDataBlock) (OperatingMode.NotificationMode.DataSource.FirstDataBlock) (OperatingMode.ScanMode.DataSource.FirstDataBlock)
Addressoffirstdatablock.Range:0x00...0xFF.
36 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
DB-N1: (OperatingMode.BufferedReadMode.DataSource.NoOfDataBlocks) (OperatingMode.NotificationMode.DataSource.NoOfDataBlocks) (OperatingMode.ScanMode.DataSource.NoOfDataBlocks)
Numberofdatablocks.Range:0x01...0x20.ThedatablocksizeintheBufferedReadModeisalways2bytes.
D-START: (OperatingMode.ScanMode.DataSource.FirstByte)
Thisparameterdefinesthefirstbyteintherawdata(definedbyDB-ADRandD-LGT),whichwillbetransferredinScan-Mode.TotransferthewholedatablockD-STARTmustbesetto0.
NoteThesizeofonedatablockdependsonthetypeofTransponder.
D-LGT: (OperatingMode.ScanMode.DataSource.NoOfBytes) D-LGTdefinesthelengthofrawdatawhicharetransmittedintheScan-Mode.
Numberofdata bytes tobetransferred,startingwiththeD-START.
Example:datablock
Byte 0 1 2 3 4 5 6 7
Data 0x01 0x23 0x45 0x67 0x89 0xAB 0xCD 0xEF
D-START=1
D-LGT=4
OutputData 0x23 0x45 0x67 0x89
NoteIfWiegand/DataClockisselectedasScanModeInterfaceD-LGTindicatesthenumberofbitstobetransmitted.
1 AplausibilitycheckisperformedbywritingthisparametertotheReader.IfanerroroccurstheReaderanswerswithSTATUS=[0x11].
37Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.11. CFG12: Read Mode - Filter
Byte 0 1 2 3 4 5 6
0x00 VALID-TIME TR-ID IN-EV-FLT
Default 0x0037
5.5sec.0x01 0x00 0x00 0x00 0x01 0x00
Byte 7 8 9 10 11 12 13
Contents ST-EV-FLT 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00
VALID-TIME:(onlyforBufferedReadMode,NotificationModeandScanMode) (OperatingMode.BufferedReadMode.Filter.TransponderValidTime) (OperatingMode.NotificationMode.Filter.TransponderValidTime) (OperatingMode.ScanMode.Filter.TransponderValidTime)
(0...65535x100ms=0ms...6553.5sec)
TheperiodoftimeduringwhichaTransponderwillnotbereporteda2ndtime.
TR-ID: (onlyforBufferedReadModeandNotificationMode) TR-IDsetstheparametersforTransponderidentification.IfseveralTranspondershavethesamecontentintheaddresseddatablock,onlyonedatasetwillbegenerated.
Byte: 2 3 4 5
Function TR-ID-SOURCE
TR-ID-DB-ADR TR-ID-DB-N
TR-ID-SOURCE (OperatingMode.Miscellaneous.TransponderIdentification.Source)
SetsthedatasourceforTransponderidentification.
b0 datablockb1 SerialNumber
TR-ID-DB-ADR (Operating-Mode.Miscellaneous.TransponderIdentification.DataBlockNo)
SetstheaddressofthedatablockforTransponderidentification.IfID-SOURCEselectstheSerialNumberasdatasource,theID-DB-ADRwillbeignored.
TR-ID-DB-N (Operating-Mode.Miscellaneous.TransponderIdentification.NoOfDataBlocks)
SetsthenumberofdatablockstobereadforTransponderidentification.IfID-SOURCEselectstheSerialNumberasdatasource,theID-DBNwillbeignored.
38 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
NoteChangingofTR-IDonlybecomeseffectiveafterwriting/savingconfigurationblockCFG12toEEPROMandresetoftheAC-Controllerwith6.3.[0x64]SystemResetinmode0x01.TheaddressTR-ID-DB-ADRmustbeintherangeoftheselecteddatablocks:DB-ADR1≤TR-ID-DB-ADR≤DB-ADR1+DB-N1–1.
IN-EV-FLT: (OperatingMode.BufferedReadMode.Filter.Enable_InputXEvent) (OperatingMode.NotificationMode.Filter.Enable_InputXEvent)
InputEventFilter
Bit: 7 6 5 4 3 2 1 0
Function: - - - Input5 Input4 Input3 Input2 Input1
Input1...5 b0 inputeventwillnotbenotifiedb1 inputeventwillbenotified
ST-EV-FLT: StatusEventFilter
Bit: 7 6 5 4 3 2 1 0
Function: - - - - - - TIMEOUT BRM
TIMEOUT (OperatingMode.BufferedReadMode.Filter.Enable_TimeoutEvent) (OperatingMode.NotificationMode.Filter.Enable_TimeoutEvent)
b0 timeouteventwhileactiveBRMorNotificationmodewillnotbenotifiedb1 timeouteventwhileactiveBRMorNotificationmodewillbenotified
BRM (OperatingMode.BufferedReadMode.Filter.Enable_TriggerEvent) (OperatingMode.NotificationMode.Filter.Enable_TriggerEvent)
b0 changeofBRMorNotificationmodestatuswillnotbenotifiedb1 changeofBRMorNotificationmodestatuswillbenotified
Note
InputEventFiltersandStatusEventFiltersareonlyavailableforBufferedReadModeandNotificationMode.
1 DB-ADR,DB-NofCFG11
39Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.12. CFG13 Scan Mode
TheconfigurationblockCFG13containstheScanModesettings.
Byte 0 1 2 3 4 5 6
0x00 DB-USE SEP-CHAR SEP-USER END-CHAR END-USR1 END-USR2 END-USR3
Default 0x02 0x20 0x2C 0x01 0x0D 0x00 0x00
Byte 7 8 9 10 11 12 13
Contents 0x00 HEADER-USR1
HEADER-USR2
HEADER-USR3
HEADER-USR4
0x00 LEN-USR
Default 0x00 0x00 0x00 0x00 0x00
DB-USE:
Definesthedataformatofthedataandthevalueofthedata.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 DB-FORMAT
DB-FORMAT (OperatingMode.ScanMode.DataFormat.Format)
b0000: unformattedhex-dataInthiscasethedataaretransferredastheywerereadbythereader.
b0010: ASCIIformattedhex-dataInthiscasetherawdatafromtheTransponderwereconvertedtoASCII-Codebeforetransfer.Forthispurpose,thedatabytesfirstareseparatedintotheirNibblesandthenchangedintoASCIIsignsaccordingthefollowingtable.
raw data (hex / binary) ASCII data (ASCII / hex)0x0 b0000 ‚0‘ 0x30
0x1 b0001 ‚1‘ 0x31
0x2 b0010 ‚2‘ 0x32
0x3 b0011 ‚3‘ 0x33
0x4 b0100 ‚4‘ 0x34
0x5 b0101 ‚5‘ 0x35
0x6 b0110 ‚6‘ 0x36
0x7 b0111 ‚7‘ 0x37
0x8 b1000 ‚8‘ 0x38
0x9 b1001 ‚9‘ 0x39
0xA b1010 ‚A‘ 0x41
0xB b1011 ‚B‘ 0x42
0xC b1100 ‚C‘ 0x43
0xD b1101 ‚D‘ 0x44
0xE b1110 ‚E‘ 0x45
0xF b1111 ‚F‘ 0x46
40 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
SEP-CHAR: (OperatingMode.ScanMode.DataFormat.SeparationChar)
Selectstheseparationcharacterbetweentwodatatypesforthesenddata.
Bit: 7 6 5 4 3 2 1 0
Function: USER ‘‘ ‘,‘ ‘,‘ TAB CR LF CR+LF
ASCII HexCR+LF 0x0Dand0x0A
LF 0x0A
CR 0x0D
TAB 0x09
‘;’ 0x3B
‘,’ 0x2C
‘‘ 0x20
USER userdefinedinSEP-USR
none 0x00
NoteOnlyoneoptioncanbeselected.
SEP-USR: (OperatingMode.ScanMode.DataFormat.UserSeparationChar)Userdefinedseparationcharacter.
END-CHAR: (OperatingMode.ScanMode.DataFormat.EndChar)Selectstheendcharacterbetweentwodatatypesforthesenddata.
Bit: 7 6 5 4 3 2 1 0
Function: USER ‘‘ ‘,‘ ‘;’ TAB CR LF CR+LF
ASCII HexCR+LF 0x0Dand0x0A
LF 0x0A
CR 0x0D
TAB 0x09
‘;’ 0x3B
‘,’ 0x2C
‘‘ 0x20
USER userdefinedinSEP-USR
none 0x00
Note
Onlyoneoptioncanbeselected.
41Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
END-USR1...3: (OperatingMode.ScanMode.DataFormat.UserEndCharX)Userdefinedendcharacter.
HEADER-USR1...4: (OperatingMode.ScanMode.DataFormat.UserHeaderCharX)UserdefinedHeadercharacter.
LEN-USR:DefinesthelengthoftheHEADERcharacterandENDcharacter.
Bit: 7 6 5 4 3 2 1 0
Function: HEADER-LEN END-LEN
END-LEN (OperatingMode.ScanMode.DataFormat.NoOfUserEndChars)
b0000: END-USR1
b0001: END-USR1
b0010: END-USR1+2
b0011: END-USR1+2+3
HEADER-LEN (OperatingMode.ScanMode.DataFormat.NoOfUserHeaderChars)
b0000: noHEADERbyte
b0001: HEADER-USR1
b0010: HEADER-USR1+2
b0011: HEADER-USR1+2+3
b0100: HEADER-USR1+2+3+4
Exampleofscandata:
COM-ADR
Separation Character
Header UID Separation Character
Data-Blocks
END Character
COM-ADR
SEP-CHAR USR1 USR2 USR3 USR4 UID SEP-CHAR DB USR1 USR2 USR3
42 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.13. CFG14: Reserved
TheconfigurationblockCFG14isreservedforfutureuse.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
4.14. CFG15: Antenna Multiplexing I
TheparametersinCFG15areusedtoconfigureformultiplexingofantennasinBufferedReadMode,NotificationModeandScanMode.
Byte 0 1 2 3 4 5 6
Contents MUX-MODE ANT_OUT - - - - -
Default 0x01 0xFC 0x00 0x00 0x00 0x00 0x00
Byte 7 8 9 10 11 12 13
Contents - - - ANT_OUT_EXT_1
ANT_OUT_EXT_2
ANT_OUT_EXT_3
ANT_OUT_EXT_4
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
MUX-MODE: Activatesordeactivatesmultiplexinganddetermineswhenthenextoutputisselected.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 0 Multiplexing
Multiplexing: (AirInterface.Multiplexer.Enable)b0: disableb1: enable
ANT_OUT: SpecifiestheantennaoutputsusedinBRMMode,NotificationModeandScanMode
Bit: 7 6 5 4 3 2 1 0
Function: ANT_SEL
ANT_OUT_INT ANT_OUT_INT_NR
ANT4 ANT3 ANT2 ANT1
ANT_SEL: (AirInterface.Multiplexer.UHF.Internal.Antenna SelectionMode)
43Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
b0: ANT_OUT_INT_NRdefinesthenumberofantennasoftheinternalmultiplexer.Thereaderstartsalwayswithantenna1.
b1: ANT_OUT_INTisabitfieldanddefinestheantennaswhichareusedfortheinternalmultiplexing.
ANT_OUT_INT: (AirInterface.Multiplexer.UHF.Internal.SelectedAntennas) ThisparameterisdependedofBitANT_SEL
b0: Antennadisabledb1: Antennaenabled
ANT_OUT_INT_NR: (AirInterface.Multiplexer.UHF.Internal.NoOfAntennas) Numberofantennas(1...4)
b001: 1Antennab010: 2Antennasb011: 3Antennasb100: 4Antennas
Example: Readershallreadonantenna2and4ANT_SEL=b1,ANT_OUT_INT=b1010,ANT_OUT_INT_NRisnotrelevant
ANT_OUT_EXT_x (x=1..4): (AirInterface.Multiplexer.UHF.External.Output.NoX) Specifiesthenumberofantennaoutputsusedbyanexternalmultiplexerconnectedtoreaderantennaoutputx.
Bit: 7 6 5 4 3 2 1 0
Function: ANT_8 ANT_7 ANT_6 ANT_5 ANT_4 ANT_3 ANT_2 ANT_1
ANT_x (x=1..8):
b0: noreadingonantennax.b1: readingonantennax.
NoteIfnoexternalmultiplexerisusedANT_OUT_EXT_xissetto0x00.Withthecommand„CheckAntennas“[0x76]thereadersearchforanexternalmultiplexerandsetautomaticallytheparametersforANT_OUTandANT_OUT_EXT_x.
44 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.15. CFG16: Persistence Reset
TheparametersinCFG16areusedtoconfiguretheReaderresettimingofthepersistenceflagsofUHFTransponders.ThetimingforresetofthepersistenceflagsisusedbyallReaderModes.
Byte 0 1 2 3 4 5 6
Contents PERSISTANCE-MODE
0x00 PER-RESET-TIME-ANT_1
PER-RESET-TIME-ANT_2
PER-RESET-TIME-ANT_3
Default 0x00 0x00 0x0028
40x5ms=200ms
0x0028 0x00
Byte 7 8 9 10 11 12 13
Contents PER-RESET-TIME-ANT_3
PER-RESET-TIME-ANT_4
0x00 0x00 0x00 0x00
Default 0x28 0x0028
PERSISTENCE-MODE: TheParameterbelowdefinesifallantennaportsoftheReaderactasonereadingpointrespectivelyonesignalsourceorifeachantennaactasasinglereadingpointrespectivelyeachantennaactasoneindependentsignalsource.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 0 PER_ANT_MODE
PER_ANT_MODE: (Transponder.PersistenceReset.Mode)
b0: allantennaportsactasonereadingpoint.OnlyPER_RESET_TIME_ANT_1isusedastimerforthewholereadingarea
b1: eachantennaportactsasareadingpoint.Eachantennausesitsowntimer
PER-RESET-TIME-ANT_x: (Transponder.PersistenceReset.Antenna.NoX.PersistenceResetTime) ThetimervaluespecifiesatimewhichdeterminestheresetoftheTransponderpersistenceflagsbytheReader.ThetimerPER-RESET-TIME-ANT_xstartsaftertheReadergetsaresponseattherelatedantennaport/ports.AfterthistimehasexpiredtheReadersendapersistenceresetcommandtotheTranspondersattherelatedantennaport/ports.Timerticks=5msMaximumtimervalue=5msx65534[0xFFFE]=5.46125min.
Thevalue65535[0xFFFF]indicatesthatnopersistenceresetisperformedbytheReader.
45Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.16. CFG17...19: Reserved
TheconfigurationblockCFG17...19arereservedforfutureuse.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
4.17. CFG20: RF-Parameter
TheparametersoftheCFG20configurationblockcontaintheantennagainsetting.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 RF-POWER-ANT2
RF-POWER-ANT3
RF-POWER-ANT4
0x00
Default 0x19 0x19 0x19
RF-POWER-ANTx1: (AirInterface.Antenna.UHF.No2.OutputPower) (AirInterface.Antenna.UHF.No3.OutputPower) (AirInterface.Antenna.UHF.No4.OutputPower)DefinestheRFoutputpowerforantenna2,3and4.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 LEVEL
1AplausibilitycheckisperformedbywritingthisparametertotheReader.IfanerroroccurstheReaderanswerswithSTATUS=[0x11].
46 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
LEVEL LeveloftheRFoutputpower
LEVEL RF-POWER [Watt] RF-POWER [dBm]0x12 0.3 24.8
0x13 0.4 26.0
0x14 0.5 27.0
0x15 0.6 27.8
0x16 0.7 28.5
0x17 0.8 29.0
0x19 1 30.0
0x1B 1.2 30.8
0x1D 1.4 31.5
0x1F 1.6 32.0
0x21 1.8 32.6
0x23 2 33.0
0x25 2.2 33.4
0x27 2.4 33.8
0x2A 2.7 34.3
0x2D 3 34.8
0x30 3.3 35.2
0x33 3.6 35.6
0x37 4 36.0
NotesTheoutputpowerforAntenna1canbeconfiguredinCFG3.WiththeHa-VISRF-R500-cthemaximumoutputpowerislimitedto2Watts.Higherpowerlevelsettingswillbeignoredandthecurrentconfiguredvaluewillnotbechanged.IfthereaderissuppliedviaPoweroverEthernet(onlyHa-VISRF-R500-p)themaximumoutputpowerislimitedto1Watt.Higherpowerlevelsettingswillbeignoredandthecur-rentconfiguredvaluewillnotbechanged.
4.18. CFG22...27: Selection mask for EPC Gen 2
TheconfigurationblockCFG22...27holds3selectionmasksforselectionofEPCGen2Transponders.Thetablebelowshowedwhichconfigurationblockholdswhichmask.TheReaderstartstoselectTagswithmask1andsendsfurtherselectioncommandswithmask2and3,ifthesemasksareenabled.
Mask number Config. Block1 CFG22/23
2 CFG24/25
3 CFG26/27
Eachselectionmaskhasaformatasshownbelow.
47Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
CFG (even)
Byte 0 1 2 3 4 5 6
Contents S_MASK_LGT S_MODE S_START_POINTER S_MASK_MSB
Default 0x00 0x01 0x0010 0x30 0x00 0x00
Byte 7 8 9 10 11 12 13
Contents S_MASK
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
CFG (odd)
Byte 0 1 2 3 4 5 6
Contents S_MASK
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 7 8 9 10 11 12 13
Contents S_MASK
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
S_MASK_LGT: (Transponder.UHF.EPC_Class1Gen2.SelectionMask.MaskLength) DefinesthelengthofthemaskinBitIfS_MASK_LGTis0theselectionmaskisdisabled
S_MODE:
Bit: 7 6 5 4 3 2 1 0
Function: S_T 0 0 0 S_LOGIC S_NOT S_BANK
S_BANK: (Transponder.UHF.EPC_Class1Gen2.SelectionMask.BankNo) DefineswhethermaskappliestoEPC,TID,Usermemory
b00 reservedb01 EPCmemorybankb10 TIDmemorybankb11 Usermemorybank
S_NOT: (Transponder.UHF.EPC_Class1Gen2.SelectionMask.Negation) Enablenegatedselection.
b0 nonegationb1 negation
S_LOGIC: (Transponder.UHF.EPC_Class1Gen2.SelectionMask.Logic) Definesthelogicfunctionofthemasks.
b0 ORoperationb1 ANDoperation
48 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
NoteS_NOTandS_LOGICareonlyavailableforthesecondandthirdselectionmaskinCFG24andCFG26.
S_START_POINTER: (Transponder.UHF.EPC_Class1Gen2.SelectionMask.FirstBit) DefinesthememorybitaddressonwhichthebitStringoftheMaskiscomparedtothememoryoftheTag.
NoteIfaselectionmaskissettotheEPCmemorybankstartaddressshouldbe0x10orhigher.Thefirst16bitsareCRC16.
S_MASK: (Transponder.UHF.EPC_Class1Gen2.SelectionMask.Mask) BitcontainsthebitstringthattheTagcomparesagainstthememorylocation.
S_MASK_LGS_START_POINTER
class1GEN2Adr(Bit)
0.....15 16....31 32....47 48....63 64....79 80......
GEN2Data CRC16 PC EPC
S_MASK
Example1:
S_MASK_LGT=64
S_START_POINTER
=16
class1GEN2Adr(Bit)
0.....15 16....31 32....47 48....63 64....79 80...... TransponderResponse
EPC1 CRC16 0x3000 0xA02A 0x0510 0x15A0 0x1234.... --> YESEPC2 CRC16 0x3000 0xA02A 0x0510 0x15A0 0x6789.... --> YESEPC3 CRC16 0x3000 0xA02A 0x0510 0x15A1 0x6789.... --> NO
S_MASK_1 not checked
0x3000 0xA02A 0x0510 0x15A0 not checked
49Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
Example2:
S_MASK_LGT=32
S_START_POINTER
=16
class1GEN2Adr(Bit)
0...15 16...31 32...47 48...63 64...79 80... TransponderResponse
EPC1 CRC16 0x3000 0xA02A 0x0510 0x15A0 0x1234... --> YESEPC2 CRC16 0x3000 0xA02A 0x0510 0x15A0 0x6789... --> YESEPC3 CRC16 0x3000 0xA02A 0x0510 0x15A1 0x6789... --> NO
S_MASK_1 S_START_
POINTER = 16 S_MASK_LGT = 32
not checked
0x3000 0xA02A not checked
not checked
not checked
OR NOT S_MASK_2 S_START_
POINTER = 16 S_MASK_LGT = 32
not checked
0x3000 0xA02A not checked
not checked
not checked
AND S_MASK_3 S_START_
POINTER = 48 S_MASK_LGT = 32
not checked
not checked
not checked
0x0510 0x15A0 not checked
Thecomparestartsalwayswithmask1,mask2andfinisheswithmask3.AnAND-operationhasnopriorityoveranOR-operation.
EPC class GEN2 Memory specification: Source: EPCglobal
50 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.19. CFG28...39: Reserved
TheconfigurationpagesCFG28...39arereservedforfutureuse.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
4.20. CFG63: Customer Parameter
TheconfigurationblockCFG63isusedforcustomerparameter.
Byte 0 1 2 3 4 5 6
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default
4.21. CFG66: LAN Settings, Part 1
Byte 0 1 2 3 4 5 6
Contents IPv4-ADDRESS 0x00 0x00 0x00
Default 0xC0 0xA8 0x0A 0x0A 0x00 0x00 0x00
192 168 10 10
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 IPv4PORT-NUMBER
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x27
10001
Byte 21 22 23 24 25 26 27
Contents IPv4PORT-NUMBER
LOCAL-HOST-PORT-NUMBER
0x00 0x00 0x00 0x00
Default 0x11 0x27 0x1B 0x00 0x00 0x00 0x00
10011
51Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
Byte 28 29
Contents 0x00 MODE
Default 0x00 0x01
IPv4 enabled
IPv4-ADDRESS: (HostInterface.LAN.IPv4.IPAddress) DefinestheIPaddressforwiredLANconnection.
IPv4-PORT-NUMBER: (HostInterface.LAN.IPv4.PortNumber) DefinestheportnumberforwiredLANconnection.
LOCAL-HOST-PORT-NUMBER: (HostInterface.LAN.LocalHost.PortNumber) DefinestheLocalHostPortNumberforinternalcommunication.
NoteIPv4-PORT-NUMBERandLOCAL-HOST-PORT-NUMBERneedtobedifferent!
MODE: DefinestheuseoftheTCP/IPProtocol.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 TCP/IPProtocol
TCP/IP Protocol: (HostInterface.LAN.IPv4.Enable_IPv4) b00: IPv4disabledb01: IPv4enabled
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
52 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.22. CFG67: LAN Settings, Part 2
Byte 0 1 2 3 4 5 6
Contents IPv4-SUBNET-MASK 0x00 0x00 0x00
Default 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00
255 255 0 0
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
IPv4-SUBNET-MASK: (HostInterface.LAN.IPv4.SubnetMask) DefinesthesubnetmaskforwiredTCP/IPconnection.
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
53Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.23. CFG68: LAN Settings, Part 3
Byte 0 1 2 3 4 5 6
Contents IPv4-GW-ADDRESS 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
IPv4-GW-ADDRESS: (HostInterface.LAN.IPv4.GatewayAddress) DefinesthegatewayaddressforTCP/IPconnection.
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
54 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.24. CFG69 : LAN Settings, Part 4
Byte 0 1 2 3 4 5 6
Contents DHCP 0x00 0x00 0x00 KEEPALIVE KEEP-CNT KEEP-IDLE
Default 0x00 0x00 0x00 0x00 0x01 0x02 0x00
disable DHCP
enabled 2
Byte 7 8 9 10 11 12 13
Contents KEEP-IDLE KEEP-INTERVAL 0x00 0x00 0x00 0x00
Default 0x05 0x00 0x05 0x00 0x00 0x00 0x00
5 sec 5 sec
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
DHCP: DefinestheuseofDHCPforTCP/IPconnection.DefinestheuseoftheDHCPProtocol.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 DHCPProtocol
DHCP Protocol (HostInterface.LAN.IPv4.Enable_DHCP) b00: DHCPforIPv4optiondisabledb01: DHCPforIPv4optionenabled
KEEPALIVE: (HostInterface.LAN.Keepalive.Enable) 0x00: keepaliveoptiondisabled0x01: keepaliveoptionenabled
KEEP-CNT: (HostInterface.LAN.Keepalive.RetransmissionCount) Specifythemaximumnumberofretransmissions.Thisisthenumberoftimesthatthereaderre-transmitsakeepalivepackettothehosttocheckforconnectivity.Thevalidrangeis1...255.
55Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
KEEP-IDLE: (HostInterface.LAN.Keepalive.IdleTime) Thetimetheconnectionneedstoremainidlebeforethereaderstartssendingkeepaliveprobes.Thevalidrangeis1...65535sec.
KEEP-INTERVAL: (HostInterface.LAN.Keepalive.IntervalTime) SettheKeepaliveInterval.Thisisthepollingfrequencyusedtodetermineifakeepaliveex-changeisneeded.Thisintervalisusedwhentheconnectionfailed.Thevalidrangeis1...65535sec.
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
4.25. CFG70: WLAN Settings, Part 1
Byte 0 1 2 3 4 5 6
Contents IPv4-ADDRESS 0x00 0x00 0x00
Default 0xAC 0xA8 0x0A 0x0A 0x00 0x00 0x00
172 168 10 10 2
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 IPv4PORT-NUMBER
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x27
10002
Byte 21 22 23 24 25 26 27
Contents IPv4PORT-NUMBER
0x00 0x00 0x00 0x00 0x00 0x00
Default 0x12 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 MODE
Default 0x00 0x01
IPv4 enabled
IPv4-ADDRESS: (HostInterface.WLAN.IPv4.IPAddress) DefinestheIPaddressforwirelessLANconnection.
56 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
IPv4-PORT-NUMBER: (HostInterface.WLAN.IPv4.PortNumber) DefinestheportnumberforwirelessLANconnection.
MODE DefinestheuseoftheTCP/IPProtocol.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 TCP/IPProtocol
TCP/IP Protocol: (HostInterface.WLAN.IPv4.Enable_IPv4) b00: IPv4disabledb01: IPv4enabled
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
4.26. CFG71: WLAN Settings, Part 2
Byte 0 1 2 3 4 5 6
Contents IPv4-SUBNET-MASK 0x00 0x00 0x00
Default 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00
255 255 0 0
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
IPv4-SUBNET-MASK: (HostInterface.WLAN.IPv4.SubnetMask) DefinesthesubnetmaskforwirelessTCP/IPconnection.
57Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
4.27. CFG72: WLAN Settings, Part 3
Byte 0 1 2 3 4 5 6
Contents IPv4-GW-ADDRESS 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
IPv4-GW-ADDRESS: (HostInterface.WLAN.IPv4.GatewayAddress) DefinesthegatewayaddressforwirelessTCP/IPconnection.
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
58 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.28. CFG73 : WLAN Settings, Part 4
Byte 0 1 2 3 4 5 6
Contents DHCP 0x00 0x00 0x00 KEEPALIVE KEEP-CNT KEEP-IDLE
Default 0x00 0x00 0x00 0x00 0x01 0x02 0x00
disable DHCP
enabled 2
Byte 7 8 9 10 11 12 13
Contents KEEP-IDLE KEEP-INTERVAL AD-HOCCHANNEL
MODE 0x00 0x00
Default 0x05 0x00 0x01 0x01 0x00 0x00 0x00
5 sec 5 sec 1 0
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
DHCP: (HostInterface.WLAN.IPv4.Enable_DHCP) DefinestheuseofDHCPforTCP/IPconnection. DefinestheuseoftheDHCPProtocol.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 DHCPProtocol
DHCP Protocol (HostInterface.LAN.IPv4.Enable_DHCP) b00:DHCPforIPv4optiondisabledb01:DHCPforIPv4optionenabled
KEEPALIVE: (HostInterface.WLAN.Keepalive.Enable) 0x00:keepaliveoptiondisabled0x01:keepaliveoptionenabled
KEEP-CNT: (HostInterface.WLAN.Keepalive.RetransmissionCount) Specifythemaximumnumberofretransmissions.Thisisthenumberoftimesthatthereaderre-transmitsakeepalivepackettothehosttocheckforconnectivity.Thevalidrangeis1...255.
59Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
KEEP-IDLE: (HostInterface.WLAN.Keepalive.IdleTime) Thetimetheconnectionneedstoremainidlebeforethereaderstartssendingkeepaliveprobes.Thevalidrangeis1...65535sec.
KEEP-INTERVAL: (HostInterface.WLAN.Keepalive.IntervalTime)SettheKeepaliveInterval.Thisisthepollingfrequencyusedtodetermineifakeepaliveex-changeisneeded.Thisintervalisusedwhentheconnectionfailed.Thevalidrangeis1...65535sec.
AD-HOC CHANNEL: (HostInterface.WLAN.AdHocChannel) SelectstheWLANChannel(1..13)forAd-Hocnetworktype.
MODE: ThereadercanbeintegratedinamanagedWLANnetworkwithanAccessPointorinanAd-Hoc(Peer-to-Peer)networkwithoutanAccessPoint.IfanAd-Hocnetworktypeisselected,thenspecialsettingsinCFG74(SSID-LEN,SSID)arerequired.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 0 NW-TYPE
NW-TYPE: (HostInterface.WLAN.NetworkType)b0: networkwithAccessPointb1: Ad-Hoc(Peer-to-Peer)network
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
60 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.29. CFG74: WLAN Security Settings, Part 1
Byte 0 1 2 3 4 5 6
Contents SEC-MODE SSID-LEN SSID
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0
Byte 7 8 9 10 11 12 13
Contents SSID
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents SSID
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents SSID
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents SSID
Default 0x00 0x00
SEC-MODE: SecuritysettingsfortheWLANconnection
Bit: 7 6 5 4 3 2 1 0
Function: SSID 0 0 0 0 AuthenticationType
EncryptionType
WEP (Wired Equivalent Privacy): (HostInterface.WLAN.Security.EncryptionType) b00: Encryptiondisabledb01: WEP-Encryptionb10: WPA-Encryptionb11: WPA2-Encryption
SSID (Security Set Identifier): (HostInterface.WLAN.Security.ServiceSetIdentifier.Enable)b0: SSIDdisabledb1: SSIDenabled
Authentication Type: (HostInterface.WLAN.Security.AuthenticationType) b0: open(acceptnon-encryptedpackets)b1: restricted(discardnon-encryptedpackets)
61Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
SSID-LEN: (HostInterface.WLAN.Security.ServiceSetIdentifier.Length) NumberofbyteoftheSSID(1...28)
SSID (Security Set Identifier): (HostInterface.WLAN.Security.ServiceSetIdentifier.SSID) SecuritySetIdentifier(max.28byte).TheSSIDmustcontainonlyvisibleASCIIchars.
NotesTheimpactoftheWEPEncryptiondependsonsettingsinCFG75.Thus,bothconfigurationblocksshouldbemodifiedinsuccession.TheimpactoftheWPAEncryptiondependsonsettingsinCFG76,CFG77andCFG78.Thus,allconfigurationblocksshouldbemodifiedinsuccession.TheimpactoftheWPA2EncryptiondependsonsettingsinCFG79,CFG80andCFG81.Thus,allconfigurationblocksshouldbemodifiedinsuccession.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.
62 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.30. CFG75: WLAN Security Settings, Part 2
Byte 0 1 2 3 4 5 6
Contents WEP-KEY-LEN
WEP-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents WEP-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
WEP-KEY-LEN: (HostInterface.WLAN.Security.WEP.KeyLength) Definesthelengthofthekey,whichisusedfortheWEPWLANencryption.b0: WEP64b1: WEP128
WEP-KEY: (HostInterface.WLAN.Security.WEP.Key)
WEPKey,whichisusedfortheWLANencryption.Thefirstbyteofthekeyisplacedinbyte1.ThelastbyteforWEP64isplacedinbyte5andforWEP128inbyte13.
NotesTheimpactoftheWEP-KEYdependsonsettingsinCFG74.Thus,bothconfigurationblocksshouldbemodifiedinsuccession.The[0x83]SetDefaultConfigurationcommandhasnoeffectonthissetting.
63Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.31. CFG76: WLAN Security Settings, Part 3
Byte 0 1 2 3 4 5 6
Contents WPA-KEY-LEN
1st-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0
Byte 7 8 9 10 11 12 13
Contents 1st-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 1st-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 1st-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 1st-PART-WPA-KEY
Default 0x00 0x00
WPA-KEY-LEN: (HostInterface.WLAN.Security.WPA.KeyLength) Definesthelengthofthekey,whichisusedfortheWPAWLANencryption(1...63).
1st-PART-WPA-KEY: (HostInterface.WLAN.Security.WPA.Key) WPAKey,whichisusedfortheWLANencryption.
NotesTheimpactoftheWPA-KEYdependsonsettingsinCFG74,CFG77andCFG78.Thus,allconfigurationblocksshouldbemodifiedinsuccession.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting
64 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.32. CFG77: WLAN Security Settings, Part 3
Byte 0 1 2 3 4 5 6
Contents 2nd-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 2nd-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 2nd-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 2nd-PART-WPA-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 2nd-PART-WPA-KEY
Default 0x00 0x00
2nd-PART-WPA-KEY: (HostInterface.WLAN.Security.WPA.Key) WPAKey,whichisusedfortheWLANencryption.
NotesTheimpactoftheWPA-KEYdependsonsettingsinCFG74,CFG76andCFG78.Thus,allconfigurationblocksshouldbemodifiedinsuccession.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.
65Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.33. CFG78: WLAN Security Settings, Part 3
Byte 0 1 2 3 4 5 6
Contents 3rd-PART-WPA-KEY 0x00 0x00 0x00
Default 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
3rd-PART-WPA-KEY: (HostInterface.WLAN.Security.WPA.Key) WPAKey,whichisusedfortheWLANencryption.
NotesTheimpactoftheWPA-KEYdependsonsettingsinCFG74,CFG76andCFG77.Thus,allconfigurationblocksshouldbemodifiedinsuccession.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.
66 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.34. CFG79: WLAN Security Settings, Part 4
Byte 0 1 2 3 4 5 6
Contents WPA2-KEY-LEN
1st-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 1st-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 1st-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 1st-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 1st-PART-WPA2-KEY
Default 0x00 0x00
WPA2-KEY-LEN: (HostInterface.WLAN.Security.WPA2.KeyLength) Definesthelengthofthekey,whichisusedfortheWPA2WLANencryption.(1...63)
1st-PART-WPA2-KEY: (HostInterface.WLAN.Security.WPA2.Key) WPA2Key,whichisusedfortheWLANencryption.
NotesTheimpactoftheWPA2-KEYdependsonsettingsinCFG74,CFG80andCFG81.Thus,allconfigurationblocksshouldbemodifiedinsuccession.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.
67Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.35. CFG80: WLAN Security Settings, Part 4
Byte 0 1 2 3 4 5 6
Contents 2nd-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 2nd-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 2nd-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 2nd-PART-WPA2-KEY
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 2nd-PART-WPA2-KEY
Default 0x00 0x00
2nd-PART-WPA2-KEY: (HostInterface.WLAN.Security.WPA2.Key) WPA2Key,whichisusedfortheWLANencryption.
NotesTheimpactoftheWPA2-KEYdependsonsettingsinCFG74,CFG79andCFG81.Thus,allconfigurationblocksshouldbemodifiedinsuccession.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.
68 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.36. CFG81: WLAN Security Settings, Part 4
Byte 0 1 2 3 4 5 6
Contents 3rd-PART-WPA2-KEY 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
3rd-PART-WPA2-KEY: (HostInterface.WLAN.Security.WPA2.Key) WPA2Key,whichisusedfortheWLANencryption.
NotesTheimpactoftheWPA-KEYdependsonsettingsinCFG74,CFG79andCFG80.Thus,allconfigurationblocksshouldbemodifiedinsuccession.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.
69Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.37. CFG82: Notification Channel, Part 1
Byte 0 1 2 3 4 5 6
Contents MODE TIME-TRIGGERED-
TIME
DATA-SETS-LIMIT
0x00 KEEP-ALIVE
KEEP-ALIVE-TIME
Default 0x00 0x01 0x00 0x00 0x01 0x02 0x58
continuously 1 s 255 Off 600 s = 10 min
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
MODE:
Definesthebasicsettingsforthenotificationchannel.
Bit: 7 6 5 4 3 2 1 0
Function: ACK 0 0 0 0 0 DATA-TRIGGER
DATA-TRIGGER: (OperatingMode.NotificationMode.Transmission.NotifyTrigger) b00: continuouslyb01: time-triggeredb10: host-triggeredwithprotocol9.8.[0x34]ForceNotifyTrigger
Thetriggerdefinitionisonlyfordatarecords.Incontinuousandtime-triggeredmode,input/statusevents,ifenabledin4.10.CFG11:ReadMode–ReadDataandselectedin4.11.CFG12:ReadMode-Filter,arenotifiedalwaysimmediately.Ifhost-triggeredisenabled,thenotificationisactivatedbyhostcommandandallcollecteddata,inputandstatuseventsarenotifiedtogether.Fordetailedmessageconditions,see2.4.NotificationMode.Themessageformatisdescribedin9.ProtocolsforBufferedReadModeandNotificationMode.
70 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
ACK: (OperatingMode.NotificationMode.Transmission.Enable_Acknowledge) AcknowledgeNotificationb0: Notificationmustnotbeacknowledgedb1: Notificationmustbeacknowledgedwithprotocol[0x32]ClearDataBuffer
TIME-TRIGGERED-TIME: (OperatingMode.NotificationMode.Transmission.TimeTriggeredTime)Definesthecycletimeintime-triggeredmode.
max.timeperiod
TIME-TRIGGERED-TIME 0...255*1s
DATA-SETS-LIMIT: (OperatingMode.NotificationMode.Transmission.DataSetsLimit)Definesthemaximalnumberofdatasetsineachnotification.ThisparameterishelpfulforcommunicationlineswithreducedcapacityorlowgradequalitylikeGPRS.
Forcompliancewithpreviousconfigurationsettings,a0x00meansamaximumof255andeachothervaluedefinesanewmaximum.
KEEP-ALIVE: Modeforkeepalivenotification.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 0 0 0 EN
EN: (OperatingMode.NotificationMode.Transmission.KeepAlive.Enable) b0: disabledb1: enabled
KEEP-ALIVE-TIME: (OperatingMode.NotificationMode.Transmission.KeepAlive.IntervalTime) Definesthecycletimeforkeepalivenotification.
max.timeperiod
KEEP-ALIVE-TIME 0...65535*1s
NotesThiskeepalivehasnothingtodowiththeTCP/IPkeepalive.Itistocheckthepresenceofthereader.Thereaderperiodicalsendsouttheresultsofa6.7.[0x6E]ReaderDiagnosticcommand.The5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissettingChangingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
71Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.38. CFG83: Notification Channel, Part 2
Byte 0 1 2 3 4 5 6
Contents DEST-IPv4-ADDRESS 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0 0 0 0
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 DEST-IPv4-PORT
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0
Byte 21 22 23 24 25 26 27
Contents DEST-IPv4-PORT
0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x011 sec
0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
DEST-IPv4-ADDRESS: (Operating-Mode.NotificationMode.Transmission.Destination.IPv4.IPAddress) DefinesthedestinationIPaddress.
DEST-IPv4-PORT-NUMBER: (Operating-Mode.NotificationMode.Transmission.Destination.IPv4.PortNumber) Definesthedestinationportnumber.
HOLD-TIME: (Operating-Mode.NotificationMode.Transmission.Destination.ConnectionHoldTime) DefinestheholdtimeoftheTCP/IPconnectionaftersentofanotification.Thetimewillbere-triggeredwitheverynewnotification
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
72 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
4.39. CFG84: Network Time Protocol
Byte 0 1 2 3 4 5 6
Contents MODE TRIGGER-TIME SERVER-IPv4-ADDRESS
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
NTP off 0 sec 0 0
Byte 7 8 9 10 11 12 13
Contents SERVER-IPv4-ADDRESS 0x00 0x00 0x00 0x00 0x00
Default 0x000
0x000
0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 DEST-IPv4-PORT
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents DEST-IPv4-PORT
0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
MODE: (SystemTools.NetworkTimeProtocol.Mode) EnablesordisablesNTPmode.0x00: disabled0x01: enabled
TRIGGER-TIME: (SystemTools.NetworkTimeProtocol.Trigger) Definesthetimebetweentworequests,whichwillbesenttotheNTPserver.Thetimewillberetriggeredwitheverynewrequest.
SERVER-IPv4-ADDRESS: (SystemTools.NetworkTimeProtocol.IPv4.IPAddress) DefinestheIPv4addressoftheNTPServer.
NotesThe5.5.[0x8C]ResetConfigurationcommandhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
73Ha-VIS RF-R500 - System Manual / Issue 1.1
Configuration Parameters (CFG)
Engl
ish
4.40. CFG85: Linux System Tools
Byte 0 1 2 3 4 5 6
Contents BASIC-TOOLS
0x00 0x00 0x00 0x00 0x00 0x00
Default 0x03 0x00 0x00 0x00 0x00 0x00 0x00
Byte 7 8 9 10 11 12 13
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 14 15 16 17 18 19 20
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 21 22 23 24 25 26 27
Contents 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Default 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Byte 28 29
Contents 0x00 0x00
Default 0x00 0x00
BASIC-TOOLS: Offersthepossibilitytoactivateandde-activatebasicLinuxSystemTools
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 FTP_SRV WEB_SRV SSH TELNET
TELNET: (SystemTools.Linux.Telnet) EnablesordisablesTelnet0x00: disabled0x01: enabled
SSH: (SystemTools.Linux.ssh) EnablesordisablesSSH0x00: disabled0x01: enabled
WEB_SRV: (SystemTools.Linux.WebServer)EnablesordisablesWeb-Server0x00: disabled0x01: enabled
74 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
FTP_SRV: (SystemTools.Linux.FTPServer)Enablesordisables.FTP-Server0x00: disabled0x01: enabled
NotesThecommand5.5.[0x8C]ResetConfigurationhasnoeffectonthissetting.Changingofthisparameteronlybecomeseffectiveafterwriting/savingthisconfigurationblocktoEEPROManda6.3.[0x64]SystemResetoftheACC.
75Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Configuration
Engl
ish
5. Protocols for Reader ConfigurationViatheprotocolsforReaderconfiguration,theReadercanbeadaptedtoindividualconditionsofapplicationwithinwidelimits.
5.1. [0x87] Set System Time and Date
TheSetSystemTimeandDatecommandsetstheinternalsystemtimeroftheACC.
Host→Reader
1 2 3 4...8 8...12 12...13
13 COM-ADR [0x87] DATE TIMER CRC16
Host←Reader1
1 2 3 4 5...6
6 COM-ADR [0x87] STATUS1 CRC16
DATE:
Byte 4 5
TIME century year Ã
0...99 0...99
6 7 8
Ä month day timezone
1...12 1...31 0...23
TIMER:
Byte 9 10 11...12
TIME h min ms
0...23 0...59 0...59999
NoteAftersettingthesystemtimeanddatea9.7.[0x33]InitializeBufferisnecessaryiftheBufferedReadModeorNotificationModeisused.
1 seeANNEXC:IndexofStatusBytes
76 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
5.2. [0x88] Get System Time and Date
TheGetSystemTimeandDatecommandreadstheinternalsystemtimeroftheACC.
Host→Reader
1 2 3 4...5
5 COM-ADR [0x88] CRC16
Host←Reader
1 2 3 4 5...9 9...12 13...14
14 COM-ADR [0x88] STATUS1 DATE TIMER CRC16
5.3. [0x8A] Read Configuration
TheReadConfigurationProtocolisdefinedtoquerythecompleteorpartsofreaderconfiguration.
Thisprotocolisanextensionof[0x80]ReadConfigurationandrealizesmanyimprovements:
1. Severaldestinationsareaddressable.
2. Oneorallconfigurationblockscanberead.
3. Theaddressrangeisupto65535configurationblocksforeachdestination.
4. Differentconfigurationlocationsforeachdestinationareaddressable.
5. Protocolignoresreadprotectedconfigurationblocksandreturnsonlyreadableconfigurationblocks.
Host→Reader
1 2+3 4 5 6 7
0x02 LENGTH COM-ADR [0x8A] DEVICE BANK Ã
8 9+10 11 12+13
Ä MODE CFG-ADR CFG-N CRC16
Host←Reader
1 2+3 4 5 6
0x02 LENGTH COM-ADR [0x8A] STATUS Ã
7 8 9,10 11 2byte
Ä CFG-N BLOCK-SIZE CFG-ADR CFG-DATA CRC16
RepeatedCFG-Ntimes
DEVICE: TheDEVICEidentifiesthetargetcontrollerinsidethereader.Thefollowingdevicesareacceptable:
DEVICE ValueRF-Controller 0x02
77Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Configuration
Engl
ish
BANK: TheBANKaddressesaspecifiedmemorybankofthetargetdevice.Thefollowingbanksareacceptable:
BANK ValueMain 0x01
MODE: TheMODEcontrolsthecommand.Thefollowingflagsaredefined:
7 6 5 4 3 2 1 00 ALL 0 0 0 LOC
LOC: specifiesthelocationoftheconfigurationblock b000 RAM b001 EEPROM
ALL: specifiestoreadthecompleteconfigurationfromRAMorEEPROM b0 configurationtobereadspecifiedbyCFG-ADRandCFG-N b1 readcompleteconfiguration.CFG-ADRandCFG-Nignored
CFG-ADR: InRequestprotocol:Firstblockaddressoftherequiredconfigurationblocks.InResponseprotocol:blockaddressofthefollowingconfigurationdatawhichbuildstogetheradataset,repeatedCFG-Ntimes.
CFG-N: InRequestprotocol:Numberofconfigurationblockstoberead.InResponseprotocol:Numberofreturneddatasetswhichconsistsofablockaddressandrelatedconfigurationdata.0x00: allconfigurationblocks0x01: oneconfigurationblock
BLOCKSIZE: Numberofbytesineachconfigurationblock.Allblockshaveasizeof30Byte(0x1E).
CFG-DATA: Returnedconfigurationdata.
78 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
5.4. [0x8B] Write Configuration
TheWriteConfigurationProtocolisdefinedtochangethecompleteorpartsofreaderconfiguration.
Thisprotocolisanextensionof[0x81]WriteConfigurationandrealizesmanyimprovements:
1. Severaldestinationsareaddressable.
2. Oneorallconfigurationblockscanbewritten.
3. Theaddressrangeisupto65535configurationblocksforeachdestination.
4. Differentconfigurationlocationsforeachdestinationareaddressable.
5. Protocolignoreswriteprotectedconfigurationblocksandwritesonlywritableconfigurationblocks.
Host→Reader
1 2+3 4 5 6 7
0x02 LENGTH COM-ADR [0x8B] DEVICE BANK Ã
8 9 10 11,12 13 2byte
Ä MODE CFG-N BLOCK-SIZE CFG-ADR CFG-DATA CRC16
RepeatedCFG-Ntimes
Host→Reader(STATUS=0x00)
1 2+3 4 5 6 7+8
0x02 LENGTH COM-ADR [0x8B] 0x00 CRC16
DEVICE: TheDEVICEidentifiesthetargetcontrollerinsidethereader.Thefollowingdevicesareac-ceptable:
DEVICE ValueRF-Controller 0x02
BANK: TheBANKaddressesaspecifiedmemorybankofthetargetdevice.Thefollowingbanksareacceptable:
BANK ValueMain 0x01
MODE: TheMODEcontrolsthecommand.Thefollowingflagsaredefined:
7 6 5 4 3 2 1 00 0 0 0 0 LOC
LOC: specifiesthelocationoftheconfigurationblock b000 RAM b001 RAMandEEPROM
79Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Configuration
Engl
ish
CFG-N: Numberofconfigurationblocks.0x01: oneconfigurationblock
BLOCKSIZE: Numberofbytesineachconfigurationblock.Allblockshaveasizeof30Byte(0x1E).
CFG-ADR: Blockaddressoftherelatedconfigurationblock.
CFG-DATA: ConfigurationblockwitheachBLOCKSIZEbytesrelatedtoCFG-ADR.
5.5. [0x8C] Reset Configuration
TheResetConfigurationProtocolisdefinedtosetthecompleteorpartsofreaderconfigurationtofactorydefaultvalues.
Thisprotocolisanextensionof[0x84]ResetConfigurationandrealizesmanyimprovements:
1. Severaldestinationsareaddressable
2. One,orallconfigurationblockscanbereset
3. Theaddressrangeisupto65535configurationblocksforeachdestination
4. Differentconfigurationlocationsforeachdestinationareaddressable
5. Protocolignoreswriteprotectedconfigurationblocksandresetsonlywritableconfigurationblocks
Host→Reader
1 2+3 4 5 6 7
0x02 LENGTH COM-ADR [0x8C] DEVICE BANK Ã
8 9+10 11 12+13
Ä MODE CFG-ADR CFG-N CRC16
Host←Reader
1 2+3 4 5 6 7+8
0x02 LENGTH COM-ADR [0x8C] STATUS CRC16
DEVICE: TheDEVICEidentifiesthetargetcontrollerinsidethereader.Thefollowingdevicesareac-ceptable:
DEVICE ValueRF-Controller 0x02
BANK: TheBANKaddressesaspecifiedmemorybankofthetargetdevice.Thefollowingbanksareacceptable:
BANK ValueMain 0x01
80 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
MODE: TheMODEcontrolsthecommand.Thefollowingflagsaredefined:
7 6 5 4 3 2 1 00 ALL 0 0 0 LOC
LOC: specifiesthelocationoftheconfigurationblock b000 RAM b001 RAMandEEPROM
ALL: specifiestoresetthecompleteconfigurationfromRAMorEEPROM b0 configurationtoberesetspecifiedbyCFG-ADRandCFG-N b1 resetcompleteconfiguration.CFG-ADRandCFG-Nignored
CFG-ADR: InRequestprotocol:Firstblockaddressoftherequiredconfigurationblocks.
CFG-N: InRequestprotocol:Numberofconfigurationblockstobereset.0x00: allconfigurationblocks0x01: oneconfigurationblocks
81Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
6. Protocols for Reader Control
6.1. [0x52] Baud Rate Detection
ThisprotocolservestodeterminetheactualBaudrateoftheReader’sasynchronousinterface.
Host→Reader
1 2 3 4 5,6
6 COM-ADR [0x52] 0x00 CRC16
Host←Reader
1 2 3 4 5,6
6 COM-ADR [0x52] 0x00 CRC16
Note
ThereturnprotocolwillonlybesentiftheinquiryisexecutedwiththeBaudrateandactualparityoftheReader.
6.2. [0x63] RF Controller Reset
ThisprotocolallowsyoutoresettheRFController.
Host→Reader
1 2 3 4,5
5 COM-ADR [0x63] CRC16
Host←Reader1
1 2 3 4 5,6
6 COM-ADR [0x63] STATUS1 CRC16
Note
TheRF-fieldwillbeswitchedoffaftera“RFControllerReset”.Commandsissuedaftera[0x63]commandmustbedelayedwithatleast300ms,otherwisethereaderwillrespondwithstatus[0x0F]busy.Inthatcasethehostshouldrepeatthecommandlater.
1 seeANNEXC:IndexofStatusBytes
82 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
6.3. [0x64] System Reset
ThisprotocolallowsyoutoresettheACCandtheRFController.
Host→Reader
1 2 3 4 5,6
6 COM-ADR [0x64] Mode CRC16
Host←Reader1
1 2 3 4 5,6
6 COM-ADR [0x64] STATUS1 CRC16
MODE:
DefinesControllerwhichwillbereset.
MODE Controller0 RFController
1 ACC
Notes
TheRFControllerwillberesetaftertheACCrunsastartupprocess.Commandsissuedaftera[0x64]commandinMode1mustbedelayedwithatleast300ms,otherwisethereaderwillrespondwithstatus[0x0F]busy.Inthatcasethehostshouldre-peatthecommandlater.AresetoftheACCcanlastupto30seconds.
1 seeANNEXC:IndexofStatusBytes
83Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
6.4. [0x66] Get Reader Info
ThisprotocolallowsyoutodeterminethecurrentlyinstalledFirmwareversion,itstypeandthetypesoftheTransponderswhicharesupportedbytheFirmwareaswellassomeotherhard-andfirmwareoptionsoftheReader.AlsotheDevice-IDcanbedetermined.
MODE:
ViatheParameterMODEdifferentinformationcanberequestedfromtheReader.
0x00: RF-ControllerFirmware
0x01: AC-ControllerFirmware
0x03: FPGA-ControllerFirmware
0x10: HardwareInformation
0x40: CFG-Informationforread
0x41: CFG-Informationforwrite
0x50: LAN-Information:MAC
0x51: LAN-Information:IP-Address
0x52: LAN-Information:Netmask
0x53: LAN-Information:Gateway-Address
0x54: WLAN-Information:MAC
0x55: WLAN-Information:IP-Address
0x56: WLAN-Information:Netmask
0x57: WLAN-Information:Gateway-Address
0x60: I/OCapabilities
0x80: Device-ID(InformationisrequiredforFirmwareupgrades)
0xFF: All(readsallavailableinformationatonce)
Host→Reader
1 2 3 4 5,6
5 COM-ADR [0x66] MODE CRC16
DependingontheMODEParametertheReaderresponsehasadifferentstructureincludingdifferentinformation:
84 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
MODE = 0x00 (RFC Controller Firmware)
1 2 3 4 5...6 7
17 COM-ADR [0x66] STATUS1 SW-REV D-REV Ã
8 9 10...11 12,13 14,15 16,17
Ä HW-TYPE SW-TYPE TR-TYPE RX-BUF TX-BUF CRC16
SW-REV: RevisionstatusoftheFirmware.DependingontheModeandReadertypedifferentcontrollersaremeant.
D-REV: RevisionstatusofthedevelopmentFirmware.D-REVissetto‘0’incustomizedFirmwarerevisions.
HW-TYPE: DisplaysinformationabouttheHardwareVersion0x00 Ha-VISRF-R500-c0x01 Ha-VISRF-R500-p
SW-TYPE: TypeofRFCReaderFirmware0x5E Ha-VISRF-R500-c(94)
TR-TYPE: DisplaystheTransponderssupportedbytheRFCsoftware.
RX-BUF: RX-BUFisthemaximumreceivebuffersizeoftheReader.IfaprotocolfromthehostexceedstheRX-BUFsizetheReaderrespondswith0x81PROTOCOLLENGTHERROR.
TX-BUF: TX-BUFisthemaximumtransmitbuffersizeoftheReader.TheHosthastotakeintoaccountthataresponseprotocoloftheReadercanhavethislength.
Mode = 0x01 (ACC Firmware)
Host←Reader
1 2 3 4 5...6 7
10 COM-ADR [0x66] STATUS1 SW-REV D-REV Ã
8 9,10
Ä HW-TYPE CRC16
SW-REV: RevisionstatusoftheFirmware.DependingontheModeandReadertypedifferentcontrollersaremeant.
85Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
D-REV: RevisionstatusofthedevelopmentFirmware.D-REVissetto‘0’incustomizedFirmwarerevisions.
HW-TYPE: DisplaysoptionswhicharesupportedbytheReaderHardware
Mode = 0x03 (FPGA Firmware)
Host←Reader1
1 2 3 4 5...6 7
17 COM-ADR [0x66] STATUS1 SW-REV D-REV Ã
8 9...15 16,17
Ä FPGA-TYPE - CRC16
SW-REV: RevisionstatusoftheFirmware.DependingontheModeandReadertypedifferentcontrollersaremeant.Format:x.y.c.z Wherex,yandzarenumbersandcisacharacter
D-REV: RevisionstatusofthedevelopmentFirmware.
FPGA-TYPE: TypeofFPGAhardware0x0F Ha-VISRF-R500-c(94)
Mode = 0x10 (Hardware Information)
Host←Reader
1 2 3 4 5...6 7...8
17 COM-ADR [0x66] STATUS1 HW-INFO D_HW Ã
9...10 11 12 13 14
Ä A_HW FREQUENCY PORT_TYPE Reserved Reserved
15 16,17
Ä Reserved CRC16
HW-INFO: HardwareInformation’s
Bit: 15 14 13 12 11 10 9 8
Function: - - - - - - - -
1 seeANNEXC:IndexofStatusBytes
86 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Bit: 7 6 5 4 3 2 1 0
Function: MODUL - - - - - -
MODUL: b00:Ha-VISRF-R500-pb01:Ha-VISRF-R500-c
D-HW: internaluse
A-HW: internaluse
FREQUENCY: Flagsforsupportedfrequencies
Bit: 7 6 5 4 3 2 1 0
Function: HF UHF - - - - FCC EU
EU: b0:EUfrequenciesnotsupported b1:EUfrequenciessupported
FCC: b0:FCCfrequenciesnotsupported b1:FCCfrequenciessupported
UHF: b0:UHFnotsupported b1:UHFsupported
HF: b0:HFnotsupported b1:HFsupported
PORT_TYPE: Flagsforsupportedcommunicationports
Bit: 7 6 5 4 3 2 1 0
Function: DISC - BT USB WLAN LAN RS4xx RS232
RS 232: b0:notsupported b1:supported
RS 4xx: b0:notsupported b1:supported
LAN: b0:notsupported b1:supported
WLAN: b0:notsupported b1:supported
USB: b0:notsupported b1:supported
BT: b0:notsupported b1:supported
DISC: b0:Discoverynotsupported b1:Discoverysupported
87Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
Mode = 0x40 .. 0x41 (Configuration Information for read and write)
Host←Reader
1 2 3 4 5...6 7...n-2 n-1...n
n COM-ADR [0x66] STATUS NR_OF_PAGES
PERMISSION CRC16
NR_OF_PAGES: Definesthenumberofread/writtenconfigurationpages
PERMISSION:
Byte 7
Bit: 7 6 5 4 3 2 1 0
CFG_NO 0 1 2 3 4 5 6 7
Byte 8
Bit: 7 6 5 4 3 2 1 0
CFG_NO 8 9 10 11 12 13 14 15
Byte 9
Bit: 7 6 5 4 3 2 1 0
CFG_NO 16 17 18 19 20 21 22 23
.
.
.
Byte n-2
Bit: 7 6 5 4 3 2 1 0
CFG_NO X X X X X X X X
Mode = 0x50 .. 0x57 (LAN / WLAN Configuration)
IncaseofsettingEthernetparametersperDHCP,theseparameterscanberequestedwiththefollowingformat.
Host←Reader
1 2 3 4 5 6...n-2 n-1...n
n COM-ADR [0x66] STATUS FLAGS DATA CRC16
FLAGS: indicates additional settings
Byte 5
Bit: 7 6 5 4 3 2 1 0
0 0 DHCPv4
0 Disabledv4
0 Supportedv4
0
88 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Supported v4: b0:notsupportedb1:supported
Disabled v4: b0:LAN(WLAN)channelisenabledb1:LAN(WLAN)channelisdisabled
DHCP v4: b0:disabledb1:enabled
DATA (Mode 0x50..0x57):
MODE DATA0x50(LAN-MAC)0x54(WLAN-MAC)
FLAGS 6ByteMAC
0x51(LAN-IP-Address)0x55(WLAN-Address)
FLAGS IPv4:4ByteIP-Address
0x52(LAN-Netmask)0x56(WLAN-Netmask)
FLAGS IPv4:4ByteNetmask
0x53(LAN-Gateway)0x57(WLAN-Gateway)
FLAGS IPv4:4ByteGateway
Mode = 0x60 (I/O-Capabilities)
Host←Reader
1 2 3 4 5 6
9 COM-ADR [0x66] STATUS NR_OF_INPUTS
NR_OF_OUTPUTS
Ã
7 8...9
Ä NR_OF_RELAYS
CRC16
NR_OF_INPUTS: IndicatesthenumberofavailableInputs
NR_OF_OUTPUTS: IndicatesthenumberofavailableOutputs
NR_OF_RELAYS: IndicatesthenumberofavailableRelays
Mode = 0x80 (Device Information)
Host←Reader
1 2 3 4 5...8 9...12
22 COM-ADR [0x66] STATUS1 DEV_ID Custom_L Ã
13,14 15,16 17,18 19,20 21,22
Ä FW_L TR_DRV_L FNC_L - CRC16
89Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
DEV_ID: IndividualdeviceidentifieroftheReader.
CUSTOM_L: IndicateswhichcustomerFirmwareislicensedontheReader.
FW_L: IndicateswhichFirmwareversionislicensedontheReader.
TR_DRV_L: IndicateswhichTransponderdriversarelicensedontheReader.
FNC_L: IndicateswhichoptionalfunctionsarelicensedontheReader.
Mode = 0xFF (All Info Records)
ReturnofallInforecordsinoneResponse.
Host←Reader
1 2 3 4 5
n COM-ADR [0x66] STATUS DATASETS Ã
7 8...37 n-1...n
Ä MODE DATA CRC16
RepeatedDATASETStimes
MODE Modebyte
DATA (Mode 0xFF): Datarecordaccordingtothedefinitionintheprevioussections.Thedatarecordisalways30bytelongandinformationbeginsalwayswithbyte0.Unusedbytesmustbefilledwith0x00.
6.5. [0x69] RF Reset
TheRF-fieldoftheReaderantennacanbeswitchedofffortrf=10msbythecommandRFReset.
Host→Reader
1 2 3 4,5
5 COM-ADR [0x69] CRC16
Host←Reader1
1 2 3 4 5,6
6 COM-ADR [0x69] STATUS CRC16
NoteTheresponseofthiscommandwillbesentaftertheRFResetwascompleted.
1 seeANNEXC:IndexofStatusBytes
90 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
6.6. [0x6A] RF Output ON/OFF
ThecommandRFON/OFFswitchestheRFfieldoftheReaderantennaONandOFF.
IfthereaderworksinAutoReadMode1theRFcommunicationcanbeinterruptedbytransmittingRFOFFandcontinuedwithRFON.AfterRFOFF,thereaderacceptseveryHostcommandandtheRFcommunicationishandledonthelastselectedantenna.ForselectingaspecificantennawithoutcontinuingtheAutoReadMode,theoptionflagHMmustbeset.
Host→Reader
1 2 3 4 5,6
6 COM-ADR [0x6A] RF_OUTPUT CRC16
Host←Reader2
1 2 3 4 5,6
6 COM-ADR [0x6A] STATUS2 CRC16
RF-OUTPUT:
Setoneoffourantennaoutput.
Bit: 7 6 5 4 3 2 1 0
Function: HM 0 0 0 0 AntennaOutput
Antenna Output
SetoneRFoutputactiveorRFPoweroff
Antenna Output Descriptionb000
b001
b010
b011
b100
RFOFF
RFPoweronantennaoutput1
RFPoweronantennaoutput2
RFPoweronantennaoutput3
RFPoweronantennaoutput4
HM
MaintainHostMode(applicableonlyforAutoReadMode)
b0:AutoReadModeiscontinued,ifAntennaOutputisgreaterthanzerob1:HostModeismaintainedandAntennaOutputisselected,ifgreaterthanzero
NotesInthecaseofsendingRFoutputON/OFFwithantennaoutput=b000theReadersendsacommandtoresetthepersistenceflagsoftheTransponder.ThiscommandissentontheantennaportwhichwasactivebeforetheRFoutputON/OFFcommandissenttotheReader.SwitchingofantennaisalsopossibleinBRM-orScan-Mode,ifmultiplexerisdisabled.
1 ScanMode,BufferedReadModeorNotificationMode2 seeANNEXC:IndexofStatusBytes
91Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
6.7. [0x6E] Reader Diagnostic
ThecommandReaderDiagnosticdisplaysseveralhardwarediagnosticsontheReader.
Host→Reader
1 2 3 4 5...6
6 COM-ADR [0x6E] MODE CRC16
Host←Reader
1 2 3 4 5...n-2 n-1...n
n COM-ADR [0x6E] STATUS DATA CRC16
MODE: ReaderDiagnosticModes0x01 ListingofdetailinformationforSTATUS=0x84(RFcommunicationerror)0x04 ListingofdetailinformationforSTATUS=0x10(EEPROM-Failure)0x05 ListingofdetailinformationforFlagsA(control,|Z|>,|Z|<) (Muxchannelimpedancestatus)0x20 ListingofdetailinformationforSTATUS=0x18(Wrongfirmware)0xFF All
DATA: ResponseforReaderDiagnosticModes
MODE = 0x01:
5 6
FLAGSA FLAGSB
FLAGS A:
Bit: 7 6 5 4 3 2 1 0
Function: - - Channelallocation
RFPowerCONTROL
NOISE RF-HW
FLAGS B:
Bit: 7 6 5 4 3 2 1 0
Function: - - - - |Z|</>Ant4
|Z|</>Ant3
|Z|</>Ant2
|Z|</>Ant1
92 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
ErrorConditions(FlagAandB):
Error Set condition Clear condition Trouble shouting
RF Power LED 5
RF-HW RFhardwareerror CPUreset OFF ON
NOISE Thenoiseinthereceiverchannelisveryhigh
Selectotherpreferredchannel(s)oraddmorepreferredchannels(max.four)inCFG3.
ON ON
RFPowerCONTROL
RF-Poweroutofcontrolrange
ConfiguredPowertohighcheckcable
ON ON
Channelallocation ReaderisnotabletodetectafreechannelNote:ThisWarningisdisplayedonlywithEUReader
Selectotherpreferredchannel(s)oraddmorepreferredchannels(max.four)inCFG3
ON ON
|Z|<> absoluteimpedancevalue<<or>>50Ohm
checkcablecheckantennamatching
ON ON
MODE = 0x04:
5-6
INT_ERROR
INT_ERROR:
Bit: 15 14 13 12 11 10 9 8
Function: - - - - - - - -
Bit: 7 6 5 4 3 2 1 0
Function: - - - ParameterMismatch
RF-Decoder
FILTER EEDEV2
EEDEV1
EE_DEV1: ErrorduringthecommunicationwithEEPROMDev1
EE_DEV2: ErrorduringthecommunicationwithEEPROMDev2
FILTER: ErrorduringthecommunicationwithHardwareFilter
RF-Decoder: ErrorduringthecommunicationwithRF-Decoder
Parameter Mismatch
Warningduetoawrongconfigurationinthereader.Twoormoreparametersintheconfigurationdonotharmonizewitheachother.SotheReaderperformancemaynotbetheoptimum.
93Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
MODE = 0x05:
DetailinformationofFlagsAifIDISC.ANT.UMUXisused
3 4 5 6 7 8
ControlUMUX1
|Z|<UMUX1
|Z|>UMUX1
ControlUMUX2
|Z|<UMUX2 |Z|>UMUX2 Ã
9 10 11 12 13 14
Ä ControlUMUX3
|Z|<UMUX3
|Z|>UMUX3
ControlUMUX4
|Z|<UMUX4
|Z|>UMUX4
Control, |Z|<, |Z|>:
Bit: 8 7 6 5 4 3 2 1
Function: Chn8 Chn7 Chn6 Chn5 Chn4 Chn3 Chn2 Chn1
MODE = 0x20: ASCII-Stringwithadescriptionoftheerror.
MODE = 0xFF: READ ALL ExecutesallModesdescribedaboveancombinestheirresultsinoneprotocol.
Host←Reader
1 2 3 4 5
n COM-ADR [0x6E] STATUS DATASETS Ã
7 8...37 n-1...n
Ä OUT-NR OUT-S CRC16
RepeatedDATASETStimes
MODE Modebyte
DATA (Mode 0xFF): Datarecordaccordingtothedefinitionintheprevioussections.Thedatarecordisalways30bytelongandinformationbeginsalwayswithbyte0.Unusedbytesmustbefilledwith0x00.
94 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
6.8. [0x72] Set Output
ThecommandSetOutputservestemporarylimitedorunlimitedactivationoftheoutputsoftheReader.
EachoutputtakesthestatedefinedbythebyteOUTx-modefortheperiodoftime(OUT-TIME)includedintheprotocol.TheflashingfrequencyisdefinedbythebyteOUTx-frq.Viathisprotocoltheoutputscanbeswitchedonorofffortheindicatedperiodoftime.IftheReaderreceivesacommandSetOutput,alltimesthathavebeenactiveuntilthenarebeingoverwrittenbythenewtimesincludedintheprotocoliftheyare>0.
Host→Reader
1 2 3 4 5
n COM-ADR [0x72] MODE OUT-N Ã
6 7 8...9 n-1...n
Ä OUT-NR OUT-S OUT-TIME CRC16
RepeatedOUT-Ntimes
Host←Reader1
1 2 3 4 5...6
6 COM-ADR [0x71] STATUS1 CRC16
MODE: 0x000x01(reserved)
OUT-N: Definesthenumberofoutputrecords.
OUT-NR: Definesthetypeandthenumberoftheoutput.
Bit: 7 6 5 4 3 2 1 0
Function: OUT-Typ 0 OUT-Number
OUT-Typ: b000 DigitalOutputb001 LEDb010 Buzzerb100 Relays
anyotherBitconfigurationisreserved.
1 seeANNEXC:IndexofStatusBytes
95Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
OUT-S: OUT-S(OutputState)definesthestatusoftheoutputduringthetimedefinedinOUT-TIMEandprovidesthepossibilitytoallocateitsownflashing-frequencytoeachoutput.
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 0 OUTx-frq OUTx-mode
OUTx-mode: b00 UNCHANGED OUT-TIMEhasnoeffectonthestatusoftheoutputb01 ON outputforOUT-TIME=activeb10 OFF outputforOUT-TIME=inactiveb11 FLASH outputforOUT-TIME=withOSFalternating
OUTx-frq: b11 1Hzb10 2Hzb01 4Hzb00 8Hz
OUT-TIME: Bythevaluesdefinedby“OUT-TIME”,theoutputscanbeactivatedtemporarylimitedorunlimited.Anexceptionisthetimevalue0and65535(0xFFFF)(seefollowingtable).
0x0001 1x100ms ->100ms... ...0xFFFE 65534x100ms ->1:49:13h0xFFFF continuouslyactive
NotesInordertoresetacontinuouslyactivetime,OUT-TIME=1hastobesenttotheReader,whicheffectsachangetotheidlestatusafter100ms.Thecontinuousactivationisbeingsetbackafteraresetorapowerfailure.
6.8.1. Set Output Examples
Example No. 1: OUT1isalternatingwith4Hzfor500msREL1isnotactivatedfor200msREL2isactivatedfor1000msREL3andREL4areunchanged
OUT-N OUT-NR OUT-S OUT-TIME
0x0003 0x01 0x07 0x0005 Ê
Ä OUT-NR OUT-S OUT-TIME
0x81 0x02 0x0002 Ê
Ä OUT-NR OUT-S OUT-TIME
0x82 0x01 0x000A
96 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
6.9. [0x74] Get Input
WiththisprotocoltheactualstatusofthedigitalinputsIN1...IN4canbedeterminedatanytime.
Host→Reader
1 2 3 4...5
5 COM-ADR [0x74] CRC16
Host←Reader1
1 2 3 4 5 6...7
7 COM-ADR [0x74] STATUS1 INPUTS CRC16
INPUTS:
Bit: 7 6 5 4 3 2 1 0
Function: - - - IN5 IN4 IN3 IN2 IN1
b0 digitalinput=inactive
b1 digitalinput=active
NoteIfthetriggerisenabledinBufferedReadModetheinputIN1isn‘tavailableforcommonuse.
6.10. [0x76] Check Antennas
WiththisprotocolthereadersearchforantennasandsetstheparameterinCFG15(EEPROMandRAM)formultiplexingautomatically.
Host→Reader
1 2 3 4 5...6
6 COM-ADR [0x76] MODE CRC16
Host←Reader2
1 2 3 4 5
11 COM-ADR [0x76] STATUS1 ANT_OUT_INT
Ã
6 7 8 9 10...11
Ä ANT_OUT_EXT_1
ANT_OUT_EXT_2
ANT_OUT_EXT_3
ANT_OUT_EXT_4
CRC16
ANT_OUT_INT: DetectedAntennasoninternalmultiplexer
Bit: 7 6 5 4 3 2 1 0
Function: - - - - ANT_4 ANT_3 ANT_2 ANT_1
1 seeANNEXC:IndexofStatusBytes2 seeANNEXC:IndexofStatusBytes
97Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Reader Control
Engl
ish
b0 noantennadetected
b1 antennadetected
ANT_OUT_EXT_x: DetectedAntennasonexternalmultiplexer
Bit: 7 6 5 4 3 2 1 0
Function: ANT_8 ANT_7 ANT_6 ANT_5 ANT_4 ANT_3 ANT_2 ANT_1
b0 noantennadetected
b1 antennadetected
Examples1:
• noexternalantennamultiplexers
• antennasdetectedonantennaoutput2and4
Host←Reader
... 5 6 7 8 9 ...
ANT_OUT_INT
ANT_OUT_EXT_1
ANT_OUT_EXT_2
ANT_OUT_EXT_3
ANT_OUT_EXT_4
0x0A 0x00 0x00 0x08 0x00
ThefollowingparametersinCFG15willbeautomaticallyset.
• ANT_OUT:0xD0
• ANT_OUT_EXT_1:0x00
• ANT_OUT_EXT_2:0x00
• ANT_OUT_EXT_3:0x00
• ANT_OUT_EXT_4:0x00
Examples2:
• externalantennamultiplexersonoutput2and3Mux2:antennasonoutput3,4and7Mux3:antennasonoutput1and4
• antennadetectedonantennaoutput1
Host←Reader
... 5 7 8 9 10 ...
ANT_OUT_INT
ANT_OUT_EXT_1
ANT_OUT_EXT_2
ANT_OUT_EXT_3
ANT_OUT_EXT_4
0x07 0x00 0x4C 0x08 0x00
ThefollowingparametersinCFG15willbeautomaticallyset.
• ANT_OUT:0xB8
• ANT_OUT_EXT_1:0x00
98 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
• ANT_OUT_EXT_2:0x4C
• ANT_OUT_EXT_3:0x08
• ANT_OUT_EXT_4:0x00
6.11. [0xA0] Reader-Login
TheReader-Loginmustbeexecutedaftereverypowerupor6.2.[0x63]RFControllerResetcommand,ifanaccesstotheconfigurationparametersisdesired.
Host→Reader
1 2 3 4...7 8...9
9 COM-ADR [0xA0] READER-ID CRC16
Host←Reader1
1 2 3 4 5...6
6 COM-ADR [0xA0] STATUS1 CRC16
READER-ID: TheREADER-IDisapasswordwhichprotectstheconfigurationparametersfromanyreadandwriteaccess.TheREADER-IDcanbechangedintheconfigurationblock4.1.CFG0:Passwords.
NotesAReader-LoginwithwrongREADER-IDcausesa„Logout“.A„Logout“canbeaffectedviathecommand6.2.[0x63]RFControllerReset.
1 seeANNEXC:IndexofStatusBytes
99Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Host Commands
Engl
ish
7. Protocols for Host CommandsTheHostcommandscanbeusedtoaccesstheTransponders.
TransponderTypesEPCClass1Gen2
7.1.[0xB0]Hostcommands √
7.1.1.[0x01]Inventory √
7.1.2.[0x23]ReadMultipleBlocks √
7.1.3.[0x24]WriteMultipleBlocks √
8.[0xB3]HostcommandsforEPCTransponders √
8.1.1.[0x18]Kill √
8.1.2.[0x22]Lock √
8.1.3.[0x25]BlockPermalock √
8.1.4.[0x26]ReadPermalockStatus √
7.1. [0xB0] Host commands
ThiscommandsetsendsRFcommandstotheTransponder.
Host→Reader
1 2 3 4...n-2 n-1,n
n COM-ADR [0xB0] REQUEST-DATA
CRC16
Host←Reader
1 2 3 4 5...n-2 n-1,n
n COM-ADR [0xB0] STATUS RESPONSE-DATA
CRC16
REQUEST-DATA: Commandspecificrequest
RESPONSE-DATA: Commandspecificresponse
NotesDataisonlytransferredifSTATUS=0x00,0x83,0x94,0x95.ThiscommandsarenotavailableifScan-Mode,BufferedReadModeorNotificationModeisactive.
100 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
7.1.1. [0x01] Inventory
ThiscommandreadstheIDD(IdentifierData)ofallTranspondersinsidetheantennafield.IDDcanbeUIDorEPC.
REQUEST-DATA
4 5 (6)
0x01 MODE ANT_SEL
RESPONSE-DATAifANT=0
5 6 7 8 9...n
DATA-SETS TR-TYPE IDDT IDD_LEN IDD
RepeatedDATA-SETStimes
RESPONSE-DATAifANT=1
5 6 7 8 9 10...n n+1
DATA-SETS FLAGS TR-TYPE IDDT IDD_LEN IDD ANT_CNT Ã
RepeatedDATA-SETStimes
n+2 n+3 n+4 n+5...n+8
Ä ANT_NRv ANT_STATUS RSSI reserved
RepeatedANT_CNTtimes
RepeatedDATA-SETStimes
RESPONSE-DATA(STATUS=0x95)
5
EPCClass1Gen2ERROR
MODE:
Bit: 7 6 5 4 3 2 1 0
Function: MORE 0 ANT 0 0 0 0
MORE:b0 newInventoryrequestedb1 moredatarequested(IFStatus0x94appears->moredatasetsareavailable)
ANT: b0 Requestwithoutantennanumberb1 Requestwithantennanumber(ANT_SEL)
ANT-SEL:
IsabitfieldanddefinesthecorrespondingbitsofantennawherethereaderstartsanInventory.ANT-SELwillbeonlytransmittedifBit„ANT“issetinMode-Byte.
Bit: 7 6 5 4 3 2 1 0
Function: - - - - ANT4 ANT3 ANT2 ANT1
101Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Host Commands
Engl
ish
ANT1...4 b0 noreadingonthisantennaoutputb1 readingonthisantennaoutput
DATA-SETS: NumberofTransponderdatasetstobetransferredinthisReaderresponse.
FLAGS: Isabitfieldanddefineswhichdatawillbesend.
Bit: 7 6 5 4 3 2 1 0
Function: - - - ANT - - - IDD
IDD:b0 noIDDwillbesendb1 IDDwillbesend
ANT: b0 noantennainformationwillbesendb1 antennainformation(ANT_CNT,ANT_NR,ANT_STATUS,RSSI)willbesend
TR-TYPE: Transpondertype.See:ANNEXA:CodesofTransponderTypes
IDDT: (Identifier Data Type) DefinesthetypeofDatatransmitbeginningatByte10.PossibleInventoryDataTypeSee:ANNEXB:CodesofIdentifierDataTypes
IDD-LEN: IdentifierDataLengthdefinesthelengthoftheIDDinByte.
IDD: IdentifierDataoftheTransponder
ANT_CNT: Numberofantennaswheretransponderwasread
ANT_NR: Numberoftheantenna(1...255)
ANT_STATUS: TheANT_STATUScanbe0x00(OK)or0x83(RFcommunicationerror)See:ANNEXC:IndexofStatusBytes
RSSI: ReceivedSignalStrengthIdentificationindBm
NotesThiscommandsupportsallTransponders.IftheSTATUSbyteoftheprotocolframehasthevalue0x94moreIDDcanbereadoutoftheReaderwithMORE=b1.
102 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
7.1.2. [0x23] Read Multiple Blocks
Thiscommandreadsoneormoredatablocks.ThesupportedHostcommandsdependonthedifferentUHFTranspondertypes.
REQUEST-DATA
4 5 1Byte UID_LNGBytes
1Byte
0x23 MODE UID_LNG UID BANK Ã
1Byte A_PW_LGTBytes
1or2Bytes(def.byEXT_
ADR)
1Byte
Ä A_PW_LGT A_PW DB-ADR DB-N
RESPONSE-DATA
5 6 7 8...n
DB-N DB-SIZE SEC-STATUS DB
RepeatedDB-Ntimes
RESPONSE-DATA(STATUS=0x95)
5
EPCClass1Gen2ERROR
MODE:
Bit: 7 6 5 4 3 2 1 0
Function: MOREDATA
READ_COMPLETE_
BANK
EXT_ADR UID_LF ADR
ADR: b000 non-addressedb001 addressed
UID_LF: IfthisbitissettheparameterUID_LNGmustinsertedintotheprotocol.
b0: TheprotocolUID_LNGdoesn‘tincludetheUID_LNGbyteandtheUIDfieldhasafixedlengthof8byte,frombyte6tobyte13.
b1: TheprotocolincludestheparameterUID_LNG.TheUIDhasavariablelengthasdefinedinUID_LNG.
EXT_ADR: Ifthisbitissetthecommandincludesextendedaddressfields.
b0: Transpondermemoryaddressingisdonebythe1byteDB-ADRField.b1: TranspondermemoryaddressingisdonebyBANKand2byteDB-ADRField.
103Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Host Commands
Engl
ish
READ_COMPLETE_BANK: Ifthisbitissetthereaderwillautomaticallyreadoutallblocksoftheselectedmemorybank.
b0: ReaderreadsoutthememoryblocksaccordingtothesettingsforDB-ADRandDB-N.b1: Readreadsoutthecompetememorybank.
NoteThereadcompletebankfunctionalityislimitedtomemorybankswithamaximumsizeof2kByte.
MORE_DATA: Iftheprotocollengthincreasesthemaximumsizeofthetransferbuffer(TX-BUF)amoredatarequestneedstobesend.b0: noMoreDatarequestissendb1: MoreDatarequestissend
UID_LNG: IsanoptionalparameteranddependsonthesettingofUID_LF(seeMODE).UID_LNGdefinesthelengthofthefollowingUIDfield.
UID:
Read-onlyserialnumberoftheTransponder.TheUIDisrequiredonlyintheaddressedmode.
BANK:
MemorybankoftheTransponderwhichwillbeaccessedbytheReader
Bit: 7 6 5 4 3 2 1 0
Function: A_FLAG 0 0 0 0 0 BANK_NR
BANK_NR:IncaseofClass1Gen2TransponderBANK_NRisdefinedasfollows:b00 reservedb01 EPCmemorybankb10 TIDmemorybankb11 Usermemorybank
A_FLAG: IndicateswhetherthereadertriestoreadaGen2taginSecuredState.IfA_FLAGissettheprotocolcontainstheaccesspassword.A_FLAG:b0 noaccesspasswordinprotocolb1 accesspasswordandaccesspasswordlengthinprotocol.Readerexecuteaccess command
A_PW_LNG: LengthofAccessPassword.
A_PW: AccesspasswordwhichisusedtoaccesstothesecuredstateoftheTag.
DB-ADR: Firstblocknumbertoberead.DependingonEXT_ADR.Firstblockcanbeanyvaluebetween0and255or0and65535.
104 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
DB-N: NumberofdatablockstobereadfromtheTransponder,startingatDB-ADR.
ThemaximumnumberofDB-N,dependsonDB-SizeandtheinterfacetransmitbuffersizeTX-BUF.ThemaximumnumberofDB-Nis:
(TX-BUF-10)/(DB-Size+1)e.g.Blocksize2(DB-N=(512–10)/(2+1)=167).
Note
Withoutusingthereadcompletebankfunctionality,maximum167datablockscanbereadwithasinglereadmultipleblockscommand!
DB-SIZE: Numberofbytesofonedatablock.ThisvaluedependsonthespecificationoftheTransponder
SEC-STATUS: Blocksecuritystatusoffollowingdatablock.
DB: Requesteddatablock.TheblocksizeisdefinedbyDB-SIZE.
7.1.3. [0x24] Write Multiple Blocks
Thiscommandwritesoneormoredatablocks.
REQUEST-DATA
4 5 1Byte UID_LNGBytes
1Byte
0x24 MODE UID_LNG UID BANK Ã
1Byte A_PW_LGTBytes
1or2Bytes(def.byEXT_
ADR)
1Byte 1Byte DB-NtimesDB-SIZEBytes
Ä A_PW_LGT A_PW DB-ADR DB-N DB-SIZE DB
RepeatedDB-Ntimes
RESPONSE-DATA(STATUS=0x95)
5
EPCClass1Gen2ERROR
MODE:
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 EXT_ADR UID_LF ADR
ADR: b000 non-addressedb001 addressed
105Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Host Commands
Engl
ish
UID_LF: IfthisbitissettheparameterUID_LNGmustinsertedintotheprotocol.
b0: TheprotocolUID_LNGdoesnotincludetheUID_LNGbyteandtheUIDfieldhasafixedlengthof8byte,frombyte6tobyte13.
b1: TheprotocolincludestheparameterUID_LNG.TheUIDhasavariablelengthasdefinedinUID_LNG.
EXT_ADR: Ifthisbitissetthecommandincludesextendedaddressfields.
b0: Transpondermemoryaddressingisdonebythe1byteDB-ADRField.
b1: TranspondermemoryaddressingisdonebyBANKand2byteDB-ADRField.
UID_LNG: IsanoptionalparameteranddependsonthesettingofUID_LF(seeMODE).UID_LNGdefinesthelengthofthefollowingUIDfield.
UID: Read-onlyserialnumberoftheTransponder.TheUIDisrequiredonlyintheaddressedmode.
BANK: MemorybankoftheTransponderwhichwillbeaccessedbytheReader
Bit: 7 6 5 4 3 2 1 0
Function: A_FLAG 0 0 0 0 0 BANK_NR
BANK_NR: IncaseofClass1Gen2TransponderBANK_NRisdefinedasfollows:b00 reservedb01 EPCmemorybankb10 TIDmemorybankb11 Usermemorybank
A_FLAG:IndicateswhetherthereadertriestoreadaGen2taginSecuredState.IfA_FLAGissettheprotocolcontainstheaccesspassword.A_FLAG:b0 noaccesspasswordinprotocolb1 accesspasswordandaccesspasswordlengthinprotocol.Readerexecuteaccess
command
A_PW_LNG: LengthofAccessPassword.
A_PW: AccesspasswordwhichisusedtoaccesstothesecuredstateoftheTag.
DB-ADR: Firstblocknumbertoberead.DependingonEXT_ADRFirstblockcanbeanyvaluebetween0and255or0and65535.
106 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
DB-N: NumberofdatablockstobewrittentotheTransponder,startingatDB-ADR.ThemaximumnumberofDB-N,dependsonDB-SizeandtheinterfacereceiverbuffersizeRX-BUF.ThemaximumnumberofDB-Nis:(RX-BUF-30)/(DB-Size)e.g.Blocksize2(DB-N=(280–30)/2=125)
DB-SIZE: Numberofbytesofonedatablock.
DB: DataofthedatablocktobewrittentotheTransponder.TherequiredblocksizeisdefinedbyDB-SIZE.ThenumberoftheexpectedbytesareDB-N*DB-SIZE.
DB-ADR-E: Blocknumberweretheerroroccurred.
NoteIfanerroroccurredduringawritecommand,thenumberoftheblockwheretheerroroccurredwillbesendtohost
107Ha-VIS RF-R500 - System Manual / Issue 1.1
[0xB3] Host commands for EPC Transponders
Engl
ish
8. [0xB3] Host commands for EPC TranspondersThiscommandsendsspecialcommandstoEPCTransponder.
Host→Reader
1 2 3 4...n-2 n-1,n
n COM-ADR [0xB3] REQUEST-DATA
CRC16
Host←Reader
1 2 3 4 5...n-2 n-1,n
n COM-ADR [0xB3] STATUS RESPONSE-DATA
CRC16
REQUEST-DATA: EPCspecificrequest
RESPONSE-DATA: EPCspecificresponse
NoteDataisonlytransferredifSTATUS=0x00,0x83,0x94,0x95.
8.1. EPC Class 1 Commands
ThiscommandsupportsthefunctionsoftheEPCClass1Generation2(C1G2)Transponder
8.1.1. [0x18] Kill
ThiscommandwritesoneormoredatablocksbyusingthekillcommandforC1G2.Thetransponderwillneverrespondtoanycommandafterwards.
REQUEST-DATA
4 5 1Byte EPC_LNGBytes
0x18 MODE EPC_LF EPC Ã
1Byte K_PW_LNGBytes
Ä K_PW_LNG K_PW
RESPONSE-DATA(STATUS=0x95)
5
EPCClass1Gen2ERROR
108 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
MODE:
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 EPC_LF ADR
ADR:b000 non-addressedb001 addressed
EPC_LF: IfthisbitissettheparameterEPC_LNGmustinsertedintotheprotocol.
b1: TheprotocolincludestheparameterEPC_LNG.TheEPChasavariablelengthasdefinedinEPC_LNG.
EPC_LNG: IsanoptionalparameteranddependsonthesettingofEPC_LF(seeMODE).EPC_LNGde-finesthelengthofthefollowingEPCfield.
EPC: EPCoftheTransponder.TheEPCisrequiredonlyintheaddressedmode.
K_PW_LNG: LengthofKillPassword.
K-PW: KillPassword.
NotesForEPCClass1–KillpasswordK_PWhastocontainthekillcode.Akillpassword“allzero”willhavenoeffectonthetransponder.–KillpasswordlengthK_PW_LNG=4
8.1.2. [0x22] Lock
ThiscommandlocksdifferentmemoryportionsofanEPCTransponder.
REQUEST-DATA
4 5 1Byte EPC_LNGBytes
0x22 MODE EPC_LNG EPC Ã
1Byte 1Byte LOCK_LNGBytes
1Byte A_PW_LNTBytes
Ä EPC_TYPE LOCK_LNG LOCK_DATA A_PW_LNG A_PW
109Ha-VIS RF-R500 - System Manual / Issue 1.1
[0xB3] Host commands for EPC Transponders
Engl
ish
RESPONSE-DATA(STATUS=0x95)
5
EPCClass1Gen2ERROR
MODE:
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 0 EPC_LF 0 ADR
ADR: b000 non-addressedb001 addressed
EPC_LF: IfthisbitissettheparameterEPC_LNGmustinsertedintotheprotocol.
b1: TheprotocolincludestheparameterEPC_LNG.TheEPChasavariablelengthasdefinedinEPC_LNG.
EPC_LNG: IsanoptionalparameteranddependsonthesettingofEPC_LF(seeMODE).EPC_LNGde-finesthelengthofthefollowingEPCfield.
EPC: Read-onlyserialnumberoftheTransponder.TheEPCisrequiredonlyintheaddressedmode.
EPC_Type: TypeofTransponderaccordingANNEXA:CodesofTransponderTypes.
LOCK_LNG: LengthofLOCK_DATAField
LOCK_DATA: LockdatawhichwillbewrittentotheTag.
A_PW_LNG: LengthofAccessPassword.
A_PW: AccesspasswordwhichisusedtoaccesstothesecuredstateoftheTag.
Notes
ForEPCClass1:LockdatalengthLock_LNG=3
110 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
8.1.3. [0x25] BlockPermalock
ThiscommandpermalocksoneormoreblocksoftheusermemoryofanEPCtransponder.Theblocksizeofthepermalocksectionisvendor-defined.
REQUEST-DATA
4 5 1Byte EPC_LNGBytes
1Byte
0x25 MODE EPC_LNG EPC BANK Ã
1Byte A_PW_LNTBytes
2Byte 1Byte 2xBLOCK_RANGE
Ä A_PW_LNG A_PW BLOCK_PTR BLOCK_RANGE
MASK
RESPONSE-DATA(STATUS=0x95)
5
EPCClass1Gen2ERROR
MODE:
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 EXT_ADR EPC_LF 0 ADR
ADR: b000 non-addressedb001 addressed
EPC_LF: IfthisbitissettheparameterEPC_LNGmustinsertedintotheprotocol.
b1: TheprotocolincludestheparameterEPC_LNG.TheEPChasavariablelengthasdefinedinEPC_LNG.
EXT_ADR: Ifthisbitissetthecommandincludesextendedaddressfields.b0: Transpondermemoryaddressingisdonebythe1byteDB-ADRField.b1: TranspondermemoryaddressingisdonebyBANK
EPC_LNG: IsaoptionalparameteranddependsonthesettingofEPC_LF(seeMODE).EPC_LNGde-finesthelengthofthefollowingEPCfield.
EPC: Read-onlyserialnumberoftheTransponder.TheEPCisrequiredonlyintheaddressedmode.
111Ha-VIS RF-R500 - System Manual / Issue 1.1
[0xB3] Host commands for EPC Transponders
Engl
ish
BANK: MemorybankoftheTransponderwhichwillbeaccessedbytheReader
Bit: 7 6 5 4 3 2 1 0
Function: A_FLAG 0 0 0 0 0 BANK_NR
BANK_NR: IncaseofClass1Gen2TransponderBANK_NRisdefinedasfollows:b00 reservedb01 EPCmemorybankb10 TIDmemorybankb11 Usermemorybank
OnlyUsermemorybankisallowed.Ifthebankfieldisnotdefined(EXT_ADR=0),thereaderautomaticallyusesUsermemorybank
A_FLAG: IndicateswhetherthereadertriestoreadaGen2taginSecuredState.IfA_FLAGissettheprotocolcontainstheaccesspassword.A_FLAG:b0 noaccesspasswordinprotocolb1 accesspasswordandaccesspasswordlengthinprotocol. Readerexecuteaccesscommand
BLOCK_PTR: Specifiesthestartingaddressformask,inunitsof16blocksections.
BLOCK_RANGE: Specifiestherangeofmask,startingatBLOCK_PTRandending(16xBLOCK_RANGE)-1blocksectionslater.
MASK: Defineswhichblocksectionsatagpermalocks.Thetaginterpretseachbitasfollows:Maskbit=0:RetainthecurrentpermalocksettingMaskbit=1:PermalockthecorrespondingmemoryblocksectionThemaskbitsareorderedfromlower-ordersectiontohigher(theleadingmaskbitreferstothefirstblocksection)
A_PW_LNG: LengthofAccessPassword.
A_PW: AccesspasswordwhichisusedtoaccesstothesecuredstateoftheTag.
Notes
OnlyTagsinthesecuredstateexecuteaBlockPermalockcommand
112 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Example:
1) PermalocksBlocksection1-2
Thetaghasfour128bits(16Byte)blockpermalocksections
BLOCK_PTR=0x0000BLOCK_RANGE=0x01MASK=0110000000000000=0x6000||---blocksection2|---blocksection1
8.1.4. [0x26] Read Permalock Status
ThiscommandreadsthepermalockstatusoftheusermemoryofanEPCtransponder.
REQUEST-DATA
4 5 1Byte EPC_LNGBytes
1Byte
0x26 MODE EPC_LNG EPC BANK Ã
1Byte A_PW_LNTBytes
2Byte 1Byte
Ä A_PW_LNG A_PW BLOCK_PTR BLOCK_RANGE
RESPONSE-DATA(STATUS=0x95)
5
EPCClass1Gen2ERROR
MODE:
Bit: 7 6 5 4 3 2 1 0
Function: 0 0 EXT_ADR EPC_LF 0 ADR
ADR: b000 non-addressedb001 addressed
EPC_LF: IfthisbitissettheparameterEPC_LNGmustbeinsertedintotheprotocol.
b1: TheprotocolincludestheparameterEPC_LNG.TheEPChasavariablelengthasdefinedinEPC_LNG.
EXT_ADR: Ifthisbitissetthecommandincludesextendedaddressfields.b0: Transpondermemoryaddressingisdonebythe1byteDB-ADRField.b1: TranspondermemoryaddressingisdonebyBANK
113Ha-VIS RF-R500 - System Manual / Issue 1.1
[0xB3] Host commands for EPC Transponders
Engl
ish
EPC_LNG: IsaoptionalparameteranddependsonthesettingofEPC_LF(seeMODE).EPC_LNGde-finesthelengthofthefollowingEPCfield.
EPC: Read-onlyserialnumberoftheTransponder.TheEPCisrequiredonlyintheaddressedmode.
BANK: MemorybankoftheTransponderwhichwillbeaccessedbytheReader
Bit: 7 6 5 4 3 2 1 0
Function A_FLAG 0 0 0 0 0 BANK_NR
Bit: 7 6 5 4 3 2 1 0
Function: A_FLAG 0 0 0 0 0 BANK_NR
BANK_NR: IncaseofClass1Gen2TransponderBANK_NRisdefinedasfollows:b00 reservedb01 EPCmemorybankb10 TIDmemorybankb11 UsermemorybankOnlyUsermemorybankisallowed.Ifthebankfieldisnotdefined(EXT_ADR=0),thereaderautomaticallyusesUsermemorybank
A_FLAG: IndicateswhetherthereadertriestoreadaGen2taginSecuredState.IfA_FLAGissettheprotocolcontainstheaccesspassword.A_FLAG:b0 noaccesspasswordinprotocolb1 accesspasswordandaccesspasswordlengthinprotocol. Readerexecuteaccesscommand
BLOCK_PTR: Specifiesthestartingaddressformask,inunitsof16blocksections.
BLOCK_RANGE: Specifiestherangeofmask,startingatBLOCK_PTRandending(16xBLOCK_RANGE)-1blocksectionslater.
A_PW_LNG: LengthofAccessPassword.
A_PW: AccesspasswordwhichisusedtoaccesstothesecuredstateoftheTag.
Notes
OnlyTagsinthesecuredstateexecuteaReadPermalockStatuscommand
114 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Example:
1) Readblockpermalocksection0to2.
Thetaghasfour128bits(16Byte)blockpermalocksectionsBLOCK_PTR=0x0000BLOCK_RANGE=0x01Responseofpermalockbits:ssss000000000000|||---section2||---section1|---section0
8.2. Supported Host commands for Transponders
ThecommandcodeslistedinthefollowingtablesupportsthevariousTranspondercommandsandoperationsthatareavailableforeachTranspondertype.
8.2.1. EPC class 1 Gen 2
Memory organization:
Numberofblocks vendorspecific
Blocksize 2byte
Command Code Function Mode Commentnon-
addressedaddressed
0xB00x01 Inventory
0xB00x23 ReadMultipleBlocks √ √
0xB00x24 WriteMultipleBlocks √ √
0xB30x18 Kill √
0xB30x22 Lock √
115Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Buffered Read Mode and Notification Mode
Engl
ish
9. Protocols for Buffered Read Mode and Notification Mode
9.1. The Buffered Read Mode Procedure
Byusingthe“BRM”theReaderitselfreadsdatafromeveryTransponderwhichisinsidetheantennafield.Thismodemustbeenabledinthe4.2.CFG1:InterfaceandModeconfigurationblockandconfiguredinthe4.10.CFG11:ReadMode–ReadDataand4.11.CFG12:ReadMode-Filterconfigurationblocks.
ThesampledTransponderdatasetsarestoredinaFIFOorganizeddatabufferinsidetheReader.Thebufferedreadmoderunsofflinefromanyhostcommandsanditisimmediatelystartedafterpowerupora6.2.[0x63]RFControllerResetcommand.
OnlytwocommandsarenecessarytoreadoutsampledTransponderdatasets.ThefigurebelowillustratestheBufferedReadModeprocedure:
Host→Reader [0x22]
Read Buffer
CommandtotheReadertoreaddata
↓ typ. 6 ms
Host←Reader Status e.g. = 0x92
No Valid Data
Therearenodatasetsinsidethedatabuffer
↔ ↔ ↔
.
.
.
Host→Reader [0x22]
Read Buffer
CommandtotheReadertoreaddata
↓ typ. 6 ms
Host←Reader Status e.g. = OK
and n Data Sets
Therearedatasetsinsidethedatabufferandndatasetsaretransferredtothehost
↔ ↔ ↔
.
.
.
Host→Reader [0x32]
Clear Data Buffer
CommandtotheReadertoclearthereaddatasets
↓ typ. 6 ms
Host←Reader Status e.g. = OK Thenreadoutdatasetsareclearedfromthedatabuffer
↓: HostwaitsforananswerfromtheReader
↔: Hostisabletodootherjobse.g.tocommunicatewithotherReaders
Additionalinformationaboutthecapacityofthedatabuffercanbedeterminedwiththe9.5.[0x31]ReadDataBufferInfocommand.
116 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
9.2. The Notification Mode Procedure
ByusingNotificationModetogetherwiththeBufferedReadModetheReaderitselfreadsdatafromeveryTransponderwhichisinsidetheantennafieldandenablesaconnectiontoahosttosendthequeueddataasynchronously.Thismodemustbeenabledinthe4.2.CFG1:InterfaceandModeconfigurationblockandconfiguredin4.37.CFG82:NotificationChannel,Part1and4.38.CFG83:NotificationChannel,Part2configurationblock.ThesettingsfortheReadModedefinethenotificationin-formationsenttothehost.
OnlyonecommandisnecessarytosendsampledTransponderdatasets.ThefigurebelowillustratestheNotificationModeprocedure:
Reader→Host [0x22]
Read Buffer Response
NotificationdatafromtheReadertotheHostAftersuccessfulsendprocess,theReaderdeletes
transferreddatasetsfromtheinternaltable
Thereadersendsnotificationsasfastaspossible,ifthenotificationtriggerissettocontinuouslyoraveryshortcycletimeintime-triggeredmodeisdefined.Topreventanotificationoverflowinahostapplicationtheacknowledgementoptioncanbeset.Inthiscasethenotificationmustbeacknowledgedbythehostwitharesponseprotocoltosynchronizethenotificationprocesswiththehostapplication.Thefigurebelowillustratesthisprocedure:
Reader→Host [0x22]
Read Buffer Response
NotificationdatafromtheReadertotheHost
↓ max. 5000 ms
Reader←Host [0x32]
Clear Data Buffer
CommandtotheReadertodeletethenotifieddatasetsfromtheinternaltable
Theacknowledgeprotocol[0x32]ClearDataBuffermustbeinthespaceof5seconds.IfnoacknowledgeisreceivedtheReaderrepeatsthenotificationasitisconfigured.
Ifthehost-triggerednotificationisdefined,thereadersendsnevernotifications,unlessthehostsendsa9.8.[0x34]ForceNotifyTriggercommand.Withthissetting,thehostapplicationcancontroltheamountandpointoftimeofnotifications.
Additionalinformationaboutthecapacityofthedatabuffercanbedeterminedwiththe9.5.[0x31]ReadDataBufferInfocommand.
InNotificationModethe9.4.[0x22]ReadBuffercommandisnotapplicable.
AsanadditionaloptionKeepalivemessagescanbesentperiodicallytoahost.Keepalivenotificationsarealwaysneveracknowledged.TheinformationsentbyaKeepalivenotificationisidenticalwiththecommand6.7.[0x6E]ReaderDiagnosticwithmode=0x01.
117Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Buffered Read Mode and Notification Mode
Engl
ish
9.3. Transponder Access in the Buffered Read Mode and Notification Mode
TheBufferedReadModeonlyreadsdatablocksfromtheTranspondersintheantennafield.
Theanticollisionprocedurecanbeconfiguredinthe4.6.CFG5:Anticollisionconfigurationblock.
Afterpowerupora6.2.[0x63]RFControllerResetcommandthebufferedreadmodestartswithtransponderreading.
9.4. [0x22] Read Buffer
ThecommandReadBufferreadsanumberofdatasetsfromthedatabuffer.
Host→Reader
1 2 3 4...5 6...7
7 COM-ADR [0x22] DATA-SETS CRC16
Host←Reader
1 2 3 4 5 (6) 6,7(7,8)
n COM-ADR [0x22] STATUS1 TR-DATA1 TR-DATA2 DATA-SETS Ã
(8or9...n-2) n-1,n
Ä DATA CRC16
DATA-SETS: Numberofdatasetstobetransferredfromthedatabuffer.Ifthedatabufferdoesnotcontaintherequestednumberofdatasets,theReaderrespondswithallavailabledatasetsandanerrorwilloccur.
TR-DATA1:Selectsthedatatypesforreadoperation.
Bit: 7 6 5 4 3 2 1 0
Function: ExFlag DATE TIMER ANT ByteOrder
- DB IDD
IDD=IdentifierData(UIDorEPC)
DB=datablock
Byte Order=b0:MSBfirst,b1:LSBfirst
ANT=Antennanumber
TIMER=internalsystemtimer
ExFlag=Extensionflag,ifb1=TR-DATA2willbesend
118 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
TR-DATA2: Selectsthedatatypesforreadoperation.
Bit: 7 6 5 4 3 2 1 0
Function: - - - ANT_Ext - - - IN
IN: b0: noInputwillbestoredb1: Inputswillbestored
ANT-Ext: Antenna Extended AntennanumberwithRSSI
NotesIftheANTbitinTR_DATA(CFG11)issetinBuffer-Info-Mode:WhenaTransponderisdetectedbymultipleantennas,onlyonedatasetisstored.TheValid-Timeisonlysetatthefirstdetection.IfadatasetistransferredtothehostandthesameTransponderisdetectedinanotherantennabuttheValid-Timehasnotyetelapsed,nootherdatasetisstored.IftheANTbitinTR_DATA(CFG11)isnotsetinBuffer-Info-ModeandaTransponderisdetectedbymultipleantennas,thedatasetforeachantennaisstored.
DATA: Requestednumberofdatasetsfromthedatabuffer.Onlyselecteddatawillbetransferredtothehost.Seechapter4.10.CFG11:ReadModefordetails.
Eachdatasethasthefollowingstructure:
Data Type DATARecordLength byteno. 1 2
MSBRecLen LSBRecLen
SerialNumber byteno. 1 2 3 3+LEN
TR-TYP IDDT IDD-LEN IDD
datablocks byteno. 1 2 3 4…4+DB-N*DB-SIZE
DB-N DB-SIZE DB
Timer byteno. 1...4
TIMER
date byteno. 1...5
DATE
Antenna byteno. 1
ANT-NO
Input byteno. 1 1
IN STATUS
Antenna-Extended byteno. 1 2 3 4...7
ANT-CNT ANTx RSSIx reserved
RepeatedANT-CNTtimes
119Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Buffered Read Mode and Notification Mode
Engl
ish
ANT-NO=AntennanumberANTisabitfield.Ifthetagisreadonmorethanoneantennaandtheconfigurationoption„allantennaportsactasonereadingpoint“isset,thecorrespondingbitsofeachantennaweretheTransponderisreadwillbesetinthebitfield.
Bit: 7 6 5 4 3 2 1 0
Function: - - - - ANT4 ANT3 ANT2 ANT1
ANT1...4 b0 thisantennahasnotreadtransponderdatab1 thisantennahasreadtransponderdata
IN =Inputnumber
Bit: 7 6 5 4 3 2 1 0
Function: - - - Input5 Input4 Input3 Input2 Input1
Input1...5 b0 Inputinactiveb1 Inputactive
STATUS:
Bit: 7 6 5 4 3 2 1 0
Function: Timeout BRM
BRMb0 BRM->OFFb1 BRM->ON
Timeoutb0 BRMinterruptduetoInputstateb1 TimeoutduetoTrigger-Hold-Timetimeout
ANT-CNT=antennacounterShowstheantennasonwhichatransponderwasread.
ANTx=antennanumberTheantennanumberdependsonthenumberoftheoutputofthemultiplexerandtheconnectionofthatmultiplexerinthestructure.Thedecimalplacesoftheantennanumberdescribetheactiveoutputsofthemultiplexersonall3levelstoswitchtotheantenna.
ANT-CNT=(Level2MuxChannel)*10+(Level1MuxChannel)*1
Example:
• Muxonoutput2Level1
• Muxonoutput4Level2
ANT-CNT=4*10+2*1=42
RSSIx=Receivesignalstrengthidentification
120 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
NotesThiscommandreadsthesamedatasetsuntiltheyareclearedwiththe9.6.[0x32]ClearDataBuffercommand.ThiscommandisonlyavailableintheBufferedReadMode.DataareonlytransferredifSTATUS=0x00,0x83,0x84,0x93,0x94.IfSTATUS=0x83,0x84,0x85theTR-DATAandDATASETSwillbealwaystransferred.Everytimeifthetriggerstartsandstopsadatasetwillbestored.Alldatawillbesetto0x00,onlytheInputvalues“IN”and“STATUS”and“Date”and“Time”willbeset.
9.5. [0x31] Read Data Buffer Info
ThecommandReadDataBufferInforeadstheactualparametersofthedatabuffer.
Host→Reader
1 2 3 4...5
5 COM-ADR [0x31] CRC16
Host←Reader1
1 2 3 4 5...6 7...8
12 COM-ADR [0x31] STATUS1 TAB-SIZE TAB-START Ã
9,10 11,12
Ä TAB-LEN CRC16
TAB-SIZE: MaximumcountofTransponderdatasetsinthedatabuffer.
TAB-START: AddressoffirstDataSetinthedatabuffer.
TAB-LEN: NumberofTransponderdatasetsreservedinthedatabuffer.
NoteAdditionalinformationaboutthedatatablestatusistransferredifSTATUS=0x00,0x84,0x85,0x93.
1 seeANNEXC:IndexofStatusBytes
121Ha-VIS RF-R500 - System Manual / Issue 1.1
Protocols for Buffered Read Mode and Notification Mode
Engl
ish
9.6. [0x32] Clear Data Buffer
ThecommandClearDataBufferclearsthedatasetsfromthedatabufferwhichweretransferredwiththe9.4.[0x22]ReadBuffercommand.
Host→Reader
1 2 3 4...5
5 COM-ADR [0x32] CRC16
Host←Reader1
1 2 3 4 5...6
6 COM-ADR [0x32] STATUS1 CRC16
9.7. [0x33] Initialize Buffer
ThecommandInitializeBufferclearsthedatabuffertoaninitialstate.Itdoesnotmatterifthedatasetsinthedatabufferwerereadornot.
Host→Reader
1 2 3 4...5
5 COM-ADR [0x33] CRC16
Host←Reader
1 2 3 4 5...6
6 COM-ADR [0x33] STATUS1 CRC16
9.8. [0x34] Force Notify Trigger
Thiscommandforcesanotification,ifthenotificationmodeisenabledin4.2.CFG1:InterfaceandModeconfigurationblock.
Host→Reader
1 2 3 4 5...6
6 COM-ADR [0x34] MODE CRC16
Host←Reader
1 2 3 4 5...6
6 COM-ADR [0x34] STATUS1 CRC16
MODE: Reservedforfutureuse.Sendalways0x00.
1 seeANNEXC:IndexofStatusBytes
122 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
10. ANNEX
ANNEX A: Codes of Transponder Types
Value Transponder type0x84 EPCclass1Gen2/ISO18000-6-C
TheInformationwillbesendbyperformingthe7.1.1.[0x01]Inventorycommand.
ANNEX B: Codes of Identifier Data Types (IDDT)
Value IDDT0x00 EPC
0x02 EPC+TID
TheInformationwillbesendbyperformingthe7.1.1.[0x01]InventorycommandorusingtheBufferedReadMode.
123Ha-VIS RF-R500 - System Manual / Issue 1.1
ANNEX
Engl
ish
ANNEX C: Index of Status Bytes
Hex-value General0x00 OK:
• Data/parametershavebeenreadorstoredwithouterror• Controlcommandhasbeenexecuted
0x0F Busy:
• TheReaderisinfullactivity.Thehostshouldrepeatthecommandlater.
0xF1 Hardware Warning:
• RFCworksnotproperly• CommunicationlinkbetweenACCandRFCworksnotproperly• RFDecoder(FPGA)orHardwareFilterworksnotproperly
0xF2 Initialization Warning
ACCisinitializedpartlyorcompletelywithdefaultvaluesandHostModemaybeenabled
Hex-value Transponder Status0x01 No Transponder:
• NoTransponderislocatedwithinthedetectionfieldoftheReader.• TheTransponderinthedetectionfieldhasbeenswitchedtomute.• ThecommunicationbetweenReaderandTransponderhasbeeninterferedandtheReaderisnotabletoreadtheTransponderanymore.
0x02 Data False:
• CRC16dataerroronreceiveddata.
0x03 Write-Error:
• Negativeplausibilitycheckofthewrittendata:• Attempttowriteonaread-onlyarea• ToomuchdistancebetweenTransponderandReaderantenna.• Attempttowriteinanoisyarea.
0x04 Address-Error:
• TherequireddataareoutsideofthelogicalorphysicalTransponder-addressarea:• Theaddressisbeyondthemax.addressspaceoftheTransponder.• TheaddressisbeyondtheconfiguredaddressspaceoftheTransponder.• Thereaderisnotabletohandletherequestedamountofdata
0x05 Wrong Transponder-type:
• ThiscommandisnotapplicableattheTransponder:• AspecialcommandisnotapplicabletotheTransponder.
0X08 Authent Error
• Ifaccesspasswordiswrong
124 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
Hex-value Parameter Status0x10 EEPROM-Failure:
• TheEEPROMoftheReaderisnotabletobewrittenon.• BeforewritingontotheEEPROMafaultychecksumofparametershasbeendetected.
0x11 Parameter-Range-Error:
• Thevaluerangeoftheparameterswasexceeded.
0x13 Login-Request:
• ConfigurationaccesswithouthavingloggedintotheReaderbefore.
0x14 Login-Error:
• Loginattemptwithwrongpassword.
0x15 Read Protect:
• Theconfigurationblockisreservedforfutureuse.
0x16 Write Protect:
• Theconfigurationblockisreservedforfutureuse.
0x17 Firmware activation required:
ThefirmwaremustbeactivatedfirstusingHa-VISRFIDConfigdemoprogramandthecommand“SetFirmwareUpgrade”.TheupdatecodemustbeorderedbyHARTING.1.ReadtheDevice-IDusingthecommand[0x66]Firmwareversion(Mode0x80)2.SendtheDevice-IDandtheserialnumberofthereadertoHARTING3.Writetheupgradecodeintothereaderusingthecommand[0x5F]SetFirmwareUpdate
0x18 Wrong Firmware:
• FirmwareversionconflictbetweenRFCandFPGA• ConflictbetweenthesupportedtagdriversofRFCandFPGA• ReadertypeisnotsupportedbytheFPGA• MismatchbetweenRFCFirmwareandHardware
125Ha-VIS RF-R500 - System Manual / Issue 1.1
ANNEX
Engl
ish
Hex-value Interface Status0x80 Unknown Command:
• TheReaderdoesnotsupporttheselectedfunction.
0x81 Length-Error:
• Theselectedfunctionhasthewrongnumberofparameters.
0x82 Command not available:
• AHostcommandwassenttotheReaderintheBufferedReadMode.• ABufferedReadModeprotocolwassenttotheReaderinthestandardmode• ThecommandwithMorebitdoesnotcorrespondwiththelastcommand
0x83 RF communication error:
ThiserrorindicatesthatthereisanerrorincommunicationbetweentheTransponderandtheReader.Reasonforthiscanbe:
• TimeoutforTranspondercommunication.“Transponder-Response-Time”in4.2.CFG1:InterfaceandModeistooshort.
• Thecollisionhandlingalgorithmwasnotcontinueduntilnocollisionisdetected,reasonsforthebreak:
0x84 RF-Warning:
Detailedstatusinformationcanbereadwiththecommand6.7.[0x6E]ReaderDiagnostic.
• Theantennaconfigurationisn’tcorrect.Checktheantennacablesandtheantennamatching.
• Theenvironmentistoonoisy.• TheRFpowerdoesn’thavetheconfiguredvalue.• AllRFchannelareoccupied(EUReaderonly).
1
Hex-value Buffer Status0x92 No valid Data:
• ThereisnovaliddataintheBufferedReadMode.• ThereisnoTransponderintheantennafield.• TheVALID-TIME1hasn’telapsedforTranspondersintheantennafield.
0x93 Data Buffer Overflow:
• Adatabufferoverflowoccurred.
0x94 More Data:
• TherearemoreTransponderdatasetsrequestedthantheresponseprotocolcantransferatonce.
0x95 Tag Error
• ATagerrorcodewassentfromthetransponder.TheTagerrorcodeisshowninthefollowingbyte.
1 see4.10.CFG11:ReadMode
126 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
ANNEX D: Discontinued Protocols for Reader Configuration
Thefollowingcommandsarestillsupportedbythereaderfirmwarebutitisrecommendednottousethemanymore.Supportofthesecommandswillbestoppedafterseparateannouncement.
[0x80] Read Configuration
ByusingtheReadConfigurationtheactualconfigurationoftheReadercanbedetected.Inordertodothis,theconfigurationisreadinblocksof14byteseachandaddressedbyCFGninthebyteCFG-ADR.
Host→Reader1
1 2 3 4 5...6
6 COM-ADR [0x80] CFG-ADR CRC16
Host←Reader
1 2 3 4 5...18 19...20
20 COM-ADR [0x80] STATUS1 CFG-REC CRC16
CFG-ADR2:
Bit: 7 6 5 4 3 2 1 0
Function: LOC 0 CFGn:AddressofConfigurationBlock
CFGn: memory-addressoftherequiredconfigurationblock
LOC: specifiesthelocationoftheconfigurationblock b0 RAM b1 EEPROM
CFG-REC:
14bytesconfigurationblockreadfromaddressCFGninCFG-ADR.
NoteAreadconfigurationfromEEPROMwithreservedconfigurationblockswillcausean0x15errorcode.
1 seeANNEXC:IndexofStatusBytes2 seeChapter4.ConfigurationParameters(CFG)
127Ha-VIS RF-R500 - System Manual / Issue 1.1
ANNEX
Engl
ish
[0x81] Write Configuration
TheconfigurationoftheReadercanbechangedbymeansoftheWriteConfigurationcommand.Inordertodothis,theconfigurationmemoryiswrittentowith14byteslongblocksandaddressedbyCFGninthebyteCFG-ADR.ThedescriptionofparameterscanbetakenfromChapter4.ConfigurationParameters(CFG).
Host→Reader1
1 2 3 4 5...18 19...20
20 COM-ADR [0x81] CFG-ADR CFG-REC CRC16
Host←Reader
1 2 3 4 5...6
20 COM-ADR [0x81] STATUS1 CRC16
CFG-ADR2:
Bit: 7 6 5 4 3 2 1 0
Function: LOC 0 CFGn:AddressofConfigurationBlock
CFGn: memory-addressoftherequiredconfigurationblock
LOC: specifiesthelocationoftheconfigurationblock b0 RAM b1 RAMandEEPROM
CFG-REC:
14bytesconfigurationblockstoredintheconfigurationmemoryoftheReaderataddressCFGn.
NoteAwriteconfigurationtoEEPROMwithreservedconfigurationblockswillcausean0x16errorcode.
1 seeANNEXC:IndexofStatusBytes2 seeChapter4.ConfigurationParameters(CFG)
128 HARTING Electric GmbH & Co. KG
Ha-VIS RF-R500 - System Manual
Engl
ish
[0x83] Set Default Configuration
UsingthecommandSetDefaultConfigurationeachconfigurationblockcanberesettothemanufacturer‘ssetting.
Host→Reader
1 2 3 4 5...6
6 COM-ADR [0x83] CFG-ADR CRC16
Host←Reader
1 2 3 4 5...6
6 COM-ADR [0x83] STATUS CRC16
CFG-ADR:
Bit: 7 6 5 4 3 2 1 0
Function: LOC MODE CFGn:AddressofConfigurationBlock
CFGn: memory-addressoftherequiredconfigurationblock
MODE: specifiesoneorallconfigurationblocks b0 configurationblockspecifiedbyCFGn b1 allconfigurationblocks
LOC: specifiesthelocationoftheconfigurationblock b0 RAM b1 RAMandEEPROM
NoteAsetdefaultconfigurationwithreservedconfigurationblockswillcauseanerrorcode.
129Ha-VIS RF-R500 - System Manual / Issue 1.1
ANNEX
Engl
ish
ANNEX E: Abbreviations
ADR Address
ASK AmplitudeShiftKeying
CB ConfigBlock
CFG ConfigurationParameterBlock
CRC CyclicRedundancyCheck
DB DataBlock
DIP DualInlinePlastic
DRM DenseReaderMode
FIFO FirstinFirstout
frq Frequency
FSK FrequencyShiftKeying
h Hour
Hz Hertz
ID Identification
IDD IdentifierData
IN Input
LEN Length
LOC Location
LSB LeastSignificantByte
min Minutes
ms Milliseconds
MSB MostSignificantByte
N Number
OUT Output
R/W Read/WriteAccess
RD Read
REL Relay
RF RadioFrequency
RSSI ReceivedSignalStrengthIndicator
RTC RealTimeClock
TAB Table
TR Transponder
TS Timeslot
UID UniqueIdentifier(readonlySerialNumber)
WO WriteOnlyAccess
WR Write
HARTING Electric GmbH &Co. KG Wilhelm-Harting-Straße 1 | D-32339 Espelkamp
Postfach / P.O. box 14 73 | D-32328 Espelkamp
Telefon / Phone: +49 5772 47-0 | Fax: +49 5772 47-124
E-Mail: [email protected] | Internet: www.HARTING.com
© 2012 HARTING Electric GmbH & Co. KGSubjects to alterations without notice
Ha-VIS RF-R500 RFID Reader System Manual Issue 1.1
Status: 2012-08 / EnglishPrinted in the Federal Republic of Germany
Ha-VIS RF-R500 RFID Reader System Manual / Issue 1.1