Thales Communications LML3013 User Manual 8
THALES Communications 8
8
_. _ “nus-b; r; momsou-csr COMMUNICATIONS ORIGINE/ ISSUED Do‘parlemsnl Cnmmunlcalions Hyparlniquencas TOULOUSE Elablissement lPlant Emeneur/ By DCH mews pm wmu a, W. Laban INTERFACE MANUAL FOR HYPERX READERS Sum"! Dec-41mm ‘ Enginerm 55mm,“ W Aumwn pav/ “mm by - P. anrEchl SeMnl Denim-m; Product Manager Siqnzlun/ Sign, Autumt an! Ammonia By. 5m.“ 1 D-w-nmml: Sign-“Ami San: Num 1 mm. : S-Mn 1 D'nnmem: Sqnilwl r Swgrx. Nam! Nun: Swell ucp-mmn syn-Wu 1 Sign: Nomi mm: SeMcel Day-"Mm: sun-mm! Sign- Dmuumm- Iain-dun: 02 Dec 1997 m. iv / 52 wan cussxFlcmoN socrErE/ CLEARANCE LEVEL Goa- hum-m r mum-a Cod- Numm / Numb-r REFERENCES nu DOCUMENT! DOCUMENT REFERENCES Indn / R-msnn mu- PwE népanam-m Communications Hypeméquences '. ‘ THOMSON“ CSF COMMUNICATIONS EVOLUTIONS SUCCESSIVES / SUCCESSIVE CHANGES L. “1:23:55qu DATE Aggifiéigfy/ OBJETI DESCRIPTION INDEX A 05 Nov 1997 W‘ Loben J Création (fllchierMANJNTDOO) B 02 Dec 1997 W. Léberl Conecfions mineures, modit MTBM §3.1.4 cusschnoN soclETE/ CLEARANCE LEVEL mnu cw. Flinn,“ l—I Numsvn / Number god. Pw/ HEFERENCES nu DOCUMENT! DGCUMENY nsssasncss PAGE V. THOMSON- CSF um... Communicaflona CO M MU NICATlONS Hyperfréquenca TABLE OF CONTENTS 1. GENERAL INFORMATION 1.1 DESCRIPTION OF THE HYPERX READERS . 1.2. BASIC OPERATION .. I 3. POWER SUPPLY. .. 2. OVERVIEW...I 1.1. CONNECTORS 2. 2. FRONT PANE 2.3 ANTENNA INDICATOR LIGHT 3. CONFIGURING THE MODULAR READER“... 3.1 1502 AND WEEGAND INTERFACES 3 2 ASYNCI-IRDNOUS SERIAL LINK...... 3.3 MESSAGE MODE . 3,4. RELAY OPERATION. 3 5. BUZZER OPERATION 3.6 CODE FILTERI'NG WITH THE DISTRIBUTOR CODE 3.7 SWITCHING MODE FOR DOUBLE READER . 3.8 ELECTRICAL INTERFACE 4. CONFIGURING THE COMPACT READER ........... 4 1. 1502 AND WIEGAND INTERFACES . 4 2. ASYNCHRONDUS SERIAL Lm 4.3. MESSAGE MODE 4.4. RELAY OPERATION 4.5 BUZZER OPERATIO 4.6 CODE FILTERING WITH THE DISTRIEUIOR CODE 4.7 ELECTRICAL INTERFACE 4.8 READING RANGE ..... 4.9. OPERATING CHANNE 5. OPEN-COLLECTOR INTERFACES 5.1. MAGNETIC STRIPE CARD INTERFACE «1802» 5.2. WIEOAND COMPATIBLE INTERFACE.....,... 6. COMMUNICATION PROTOCOL FOR ASYNCHRONOUS INTERFACE Eu;- L. «9.3... 21. 6 1 INTRODUCTION... .. 6 2. TRANSMISSION CHARACTERISTICS 6.3 READER IN POLLED MODE. 4 6.4. READER COMMANDS...“ 5.5, READER IN INTERRUPT MODE. 7. EXTERNAL CONNECTIONS 7,1. 5-PI'N CONNECTOR - LINK TO HOST... 72, 3'PIN CONNECTOR - RELAY'ED CIRCUIT . 7 3. INSTALLATION AND CONNECTION PROCEDURES FOR THE ASYNCI-IRONOUS IJ'NKS . 7.4 OUTPUT CIRCUIT FOR OPEN—COLLECTOR INTERFACE... .. 3. APPENDIX A : JUMPER SETTINGS FOR MODULAR READER OLD VERSION ...... 9. APPENDIX B : SWITCH SETTINGS FOR MODULAR READER NEW VERSION.... CLASSIFICATIONSOCIEIE/ REFERENCE 0 DOC MEN Dogwgmngsgamgs CLEARANCE LEVEL 3 U U W l ......u .M, Fawn,“ 1 mm 17-th war-gu 0 THOMSON-CSF °‘ COM MU NICATIONS Hyperlréquancss 10. APPENDIX C ; SWITCH SETTINGS FOR CONEPACT READER 11. APPENDIX D : DESCRIPTION OF TEST MODE ................. 12. APPENDIX E : ALGORITHM FOR CALCULATING THE CRC16 13. APPENDIX F : CHANNEL FREQUENCIES FOR COMPACT READER ................ CLASSIFICAHGN SOCIETE/ mamas CLEARANCE LEVEL Ncss Du DOCUMENY/ DOCUMENY nsssfismss “A. n. I mm,“ 1 mm...” I “A. an. I | 7mm | xml | anun I “a. Q THOMSON-CSF 55,3333‘“ COM MUNICATIONS Hyperfu'qupncas 1. GENERAL INFORMATION 1.1. Description of the HYPEFtX readers l-lYPEFtXTM is a multi-tag dynamic identification system using microwaves. A ‘reader’ emits microwaves up to a distance of one or more meters, depending on model. When a tag enters this zone, it modulates this radiation, thereby sending its code back to the reader, which then processes the received signal and extracts the code: There are two types of readers, modular (different modules assembled in a rack) and compact. For the modular readers, SPl is the reader module which provides the host interface. SF'l performs digital processing of the signal received from the microwave receiver module (SAM or LAM) and communication functions with a host. it plugs into a custom rack for single-Europe size boards, taking up a slot of width SE. A custom backplane provides interconnection between the modules. The compact reader is a compact version of the basic modular reader in the form of a single box, It performs basically the same functions as the modular reader. with differences In performance (see the appropriate product specifications). Basic functions performed are : . tag detection - relay 24V/1A for external circuit-switching (controlled via host), - communication interfaces: - asynchronous serial link (RS 232, RS 422 or Rs 485) using JBUSW‘ / MODBUSTM protocol (polled or interrupt) or - compatible magnetic stripe card format "ISO-7811/2” or - compatible WIEGAND tags Certain functions described in this document are only relevant to recent firmware versions. Identify the version you are equipped with and make sure the desired function is supported. 12. Basic operation Tags are encoded with a HYPERX'" programming device. They can contain a user code of up to 30 characters (digits, uppercase letters and some punctuation symbols). They also contain a 3-character distributor code. When a lag is first detected. it is stored in an internal buffer and remains present for a time Tr. After this time, the tag is removed from memory, At first detection, a message for the host interface is generated and the relay is activated. in most cases (lSOQ, Wiegand, asynch link interrupt mode) this message is immediately sent, in one case (asynch link polling mode) the message is only sent on request by the host. it a tag is detected by the reader and it is still in memory (two detections of same tag within the time Tr), a new message is not normally generated (exception is message mode 2, see chapter 3.3). The timer associated with this tag is then reset so that the tag remains present for a further time Tr. Thus, for a tag which is presented to the reader and remains there, only one message is generated after the initial detection, The tag must be removed for a time greater than Tr in order for a second message to be generated. In the case of an asynchronous link to the host, the default value for Tr is 1 second, however this value can be chanQEd via a JBUS command. In the case of an l302 or Wiegand interface, the value is determined by board jumper settings. The time Tr is hereafter referred to as the tag persistence time. CLASSlFchTfON score-re CLEARANCE LEVEL nsrznsuozs ou oocuuzm’r oocumem‘ esssnsncss cm- annu Nurture/Murmur cm- Dac/ Tom-l indies! Luv"! NON Manutau. cm Dix Volume nwmn index Liming! was PROTEGE F0057 46 322 790 104 B E 5 . no t t 0 THOMSON CSF Commggm C0 M MUNICATIONS Hypeméqumss Once a second, the status of the reader is monitored. This information is available to a host connected by a serial JBUS link. It also affects the flashing rate of the CPU led on the front panel and the colour and flashing rate of the antenna indicator lamp (see chapter 23). In the case of the modular reader, an SP1 module can accommodate up to two receivers, each with its own antenna. In this case, all modules making up the two receivers are present in the same wide bay. This is known as a Double Reader. When a tag is detected, status information in the message to the host indicates at which antenna the tag was detected. This information is only available it an asynchronous serial link connects the reader to the host. For the Double Reader, in some cases signal feed-through on lhe antenna cables can cause a tag detected by one antenna to be “seen" by both receivers. This produces two detection messages. one corresponding to each antenna. In order to counter this eflect, it it occurs. a special switching mode of operation can be used whereby only one of the two receiver's is active at a time, switching taking place every 150ms. This means however that during the 150ms, one at the antennas will not detect tags that may be present and this may reduce its reading efficiency, especially for high-speed or multi-tag applications, 1.3. Power Supply The acceptable input voltage range for both types of readers is 10VDC to 25VDC. The compact reader consumption is roughly 250 mA at 12 VDC The consumption for modular readers depends on their composition WARNING : Live insertion or withdrawal of the SPI module can cause irreversible damage ! CLASSiFICATION SOCIET‘E/ CLEAHANCE LEVEL REFERENCES ou oocuuerrrr oocumeur aesenences Cod- Fibocanll NWn/Numr NON Minuflfl, Codie , 0 THOMSON-csl: mm Communlcafions COM MUNlCATIONS Hyperfr uences 2. OVERVIEW 2,1 Connectors There are several PHOENIX - type connectors: . The s-pin connector is for the serial link to a host. - The Spin connector allows switching (using the internal relay) of an external circuit . Forthe compact reader only, a 2»pin connector is for the DC power supply (See chapter 7 for the wiring instructions) For the modular reader, the connectors are accessible on the front panel of the SPl module. For the compact reader the connectors are accessible from the back at the top 2.2, Front Panel 2.2,1. Modular reader Figure 2-1: Front Panel of module SP1, comprising 2 Cannectsurs, 4 lads and 1 Reset button CLASSIFlCAYlaN scam nessnsncss nu oocuMan oocuMENT REFERENCES CLEARANCE LEVEL cm Fauna-ml Numllwl Numb-r use MMMJIW NON 0 THOMSON ' CSF °°m COMMUNICATIONS Hypeméquences —_| 2.2.1 .1. Indicator lamps for maintenance Four Ieds indicate the state of the module and tag activity. Processor LED (CPU) This green LED can have one at two flashing rates : - slow, roughly 0.5s on 0.5s off. indicating all modules are working normally. - fast, roughly 0.055 on 0.053 off. indicating a problem with one of the modules in the rack. Any other behaviour indicates faulty processor operation. NB : It the reset button is held down, this LED should be on. Tag activity (BURST) This red LED flashes (50ms) to indicate that a tag has been detected by the reader, Sending message (TX) This red LED indicates electrical activity on the front panel connector line 01 (TX for the HS-xxx link). it is permanently on in the case of the interfaces 1502 and WIEGAND. Receiving message (RX) This red LED indicates electrical activity on the front panel connector line 04 (RX for the RS-xxx link), 2.2.1 .2, Fleset Button Pushing this button applies a hardware reset to the processor. NB : While the button is held in, the processor is in a reset state and the CPU and BURST LEDs are on. Once released. the processor restarts. CMSSIFICAHQN socrErE/ REFERENCES cu mumsw DOCUMENT REFERENCES CLEARANCE LEVEL NON cm ancant/ NumAm/Numtser ced'Dw/ Tamil indies! Langu- M-mn-a. cm ox, Ced- vam- ans-m Ind-r mun-9- use f.‘ THOMSON-CSF up“... Communlcafions COMMUNKAMONS immqmm 2.2.2. Compact reader Figure 2-2 : Frontpanel OfCampaz‘l reader A single red/green light is situated in the top-centre of the panel (see chapter 23 below), 2.3. Antenna lndicator Light The LED on the antenna (or in the case of the compact readers, on the front panel) indicates the state of the reader. It is under reader software control. It can also be controlled by the host using the JBUS protocol on an asynchronous serial link. The state diagram below shows the different possible states during power-up (or after a processor reset). State Diagram : To Events : internal hardware lault detected autotest OK module lault detected module fault disappears internal hardware lault detected internal hardware fault disappears received command "turn reader oft“ received command “turn reader on" FQ’QPPFP CuSSlFlCAflON SQClEr‘E/ CLEARANCE LEVEL aersaeuces DU DOCUMENT! oocwsm REFERENCES NON cm Flor-rant] NumflleflmF cu- ow Tm! Indire/ unvu' mos Mum-a. Cod- om. Cede anluvl- Ewtian mm Linguist Communlcaflons f.‘ THOMSON-CSF napalm". COMMUNICATIONS "yum-m, State Name Antenna LED Emission CPU LED status word ds dm 0 Test red, fixed off i on nd’ nd 1 Hardware fault see note 1 off 1 fast blink 0 nd 2 Normal green, renular blink on slow blink 1 l 3 Module fault reen. irregular blink fast blink 1 0 4 red. slow blink fast blink O x3 5‘ Reader OFF off off slow blink x x 6’ Tail derected off off 1 x Notes : 1, The LED behaviour and the timeout duration depend on the nature of the fault. In the case of a faulty configuration, the reset is immediate and the LED stays redl For a hardware fault, reset takes place after 4 seconds. nd = not defined x = don't care This state only exists for the modular readers. This state is not shown in order not too overload the diagram. It lasts for 1 second, then normal operation resumes. Quip!" cussiFicmoN SOClETEI nereeznczs nu DOCUMENT! DOCUMENT “renames CLEARANCE LEVEL NON Code F-bmm/ Numém/ Numb-l Code Doe! Tmn/ Mariam Codl Doc. cm. Volum- imfl um. Revision index Llngnbfls PAGE f.‘ THOMSON-CSF “mu-w Communications C 0 M M U N ICATI O N S Hypeméquehoa 3. CONFIGURING THE MODULAR READER There are two versions of the module currentfy available, for simplicity hereafter referred to as the old version and the new version. The old version consists of a mother board and a smaller daughter board using traditional through-hole technology. Configuring is done using jumpers. The new version consists of a single board using surface-mount technology. Configuring is done using miniature switches. In order to correctly configure the module, you must identify the version you are installing. In the following paragraphs. text in italics refers to the old version. For old Versions only - some jumpers do not change position : J1 - must be in position 2-3 JG - must be present J7 - must be absent ~ J13 - must be present in position 2-3 These four jumpers no longer exist on the new version, The different operating modes are selected using switches/jumpers which are either : 0 ON (present) or - OFF (absent) They are identified by their positions on four connectors: 0 J1 (8 positions 1 to B) /J3(1apositions 1 to 1D) - J2 (4 positions 9 to 12) /JB (2 positions 11 to 12) - J4 (8 positions 1 to 8) /J4 (Bposrfl'ons 1 to 8) - JG (8 positions 1 to 8) /J5 (epositions 9 to 16) J5 J4 JS J3 Figure 3-1 s Connector Iacan‘onsfar SP1 module 4 old board CLASSlFlCAflDN SGCIETE/ CLEARANCE LEVEL aersnsncss nu DacuMENYl nocuMENT assensncss NON cw- mmmi Numlm l Mum-r cm Haul run-i indie-l Lung-u Mama-a. Cod- Dee. can. vam- emu-t Indut Laan' rues f.‘ THOMSON-csr MM... Cammunlulllcns COMMUNICATIONS Hypeméquances J2 J1 SCI Figure 3-2 : Connector [osmium for SP1 module . new board The serial link to a host can be one of two types : - Open-Collector (1302 or Wiegand) - Asynchronous RS 232, RS 422 and HS 455. M3; Only one of these interfaces can be active at a time Certain switch / jumper combinations are forbidden. If these combinations are detected during the initialisation period (immediately following a reset), an internal reset is generated after a period of 4 seconds. The following combinations are forbidden : . Message mode 3 together with WIEGAND interface a Message mode 2 together with POLLlNG mode 3.1. i802 and WlEGAND Interfaces 3.1.1. ISO2 interface Positions 1 to 4 of J4 must be as follows : | 4 3 2 1 message iflgth i OFF OFF OFF OFF Variable i OFF OFF ON OFF fixed 3.1.2. WIEGAND Interface Positions 1 to 4 of J4 must be as follows : 4 3 2 1 OFF OFF OFF ON cussxncmcn SOClEfE/ CLEARANCE LEVEL REFERENCE DU oocumsnrrnocwzm REFERENCES mum r Numb-v cw. Ow r Turin! ma:- r um. NON . use. can i vam- Mum Inna Law was r) 11-IOMSON-CSF new Comm unicaflons COM MU NICATIONS Hyperlre’quences 3.1 .3, Tag persistence Positions 5 and 6 of J4 must be as follows : 6 5 Persistence ON ON 1 5 ON OFF 2 5 OFF ON 5 5 OFF OFF 10 S 3.1.4. Minimum Time Between Messages (MTBM) Positions 7 and s 0! J4 musi be as follows : 8 7 MTBM ON ON 1000 ms ON OFF 100 ms OFF ON 200 m5 OFF OFF 500ms 3.1.5. Tag message repelition Position 3 of JG / 71 afJ4 must be as follows : -' repetition OFF disabled ON enabled 3.2. Asynchronous serial link 3.2.1. Address The module's physical address is the logical slave address that the hos1 application software uses lo address lhe module (see 6.3). CLASSIFICATION SOClETEl CLEARANCE LEVEL assessucss nu nocumenrr mewsm nessasncss Numim/ Mam-r cm. Duc/ rum-1 NON f.‘ THOMSON'CSF ”er CO M MUNICATIONS Hyperlréquencat The four positions 1 to 4 of J4 determine the physical address: 4 3 2 1 Address ON ON ON ON reserved use ON ON ON OFF 1 ON ON OFF ON 2 ON ON OFF OFF 3 ON OFF ON ON 4 ON OFF ON OFF 5 ON OFF OFF ON 6 _] ON OFF OFF OFF 7 OFF ON ON ON 8 OFF ON ON OFF 9 OFF ON OFF ON 10 OFF ON OFF OFF 11 OFF OFF ON ON 12 OFF OFF ON OFF see 3.1.1 ISOZ OFF OFF OFF ON see 3.1.2 WIEGAND OFF OFF OFF OFF see 3.1,1 ISOZ NB : A JBUS command message which has a slave address equal to 0 corresponds to a broadcast message, which explains why a reader cannot have an address of 0 for polling applications. 3.2.2. Character Format and Baud rate " Baud rate is chosen usi ng positions 5 and 6 of J4: 6 5 Baud rate ON ON 9600 Bauds ON OFF 4800 Bauds OFF ON 1200 Bauds OFF OFF 19200 Bauds Format is chosen using positions 7 and B of J4. 5 7 Formal ON ON 7 bits data 1 bit even grit! ON OFF 7 bits data 1 bit odd grit! OFF ON 8 bits data no parity OFF OFF not used 3.2.3. Protocol : polling or interrupt The type of protocol, polled or by interrupt, is chosen with position 5 on J3 / 13 on JS : roloool 0 FF interrupt ON pa lling REFERENCES cu DOCUMENT! oocumenr REFERENCES cussincmon SOCIEFE/ CLEARANCE LEVEL NON 9 Num‘m 1 Number cog-um mm Indvll w. . mm. mm... new.“ tmflu ”35 0 THOMSON'CSF Bit’miitons COMMUNICATIONS mamas. 324. Frame format Position 5 on J3 /16 on J5 determines the frame format, test (ASCII) or JBUS (binary). frame format | OFF Test - ASCII message i ON Normal - JBUS frame The test format allows connection to a dumb terminal for easy on-site display, For a description see chapter 11, 33. Message mode The mode is chosen using positions 1 and 2 on JS /9 and 10 on J5. The mode determines in what cases the detection of a tag causes a message to be transmitted to the host Type 0 - Each time a tag is detected, a timer is armed (nominal value = is). Tag detection only causes a message to be transmitted it this timer is not active. Each tag detected has a timer associated with it. Type 1 » This mode is no longer supported At each tag detection, a message is transmitted to host. During message transmission, microwave emission is switched off. Only available for the ISOQ intertace and the asynchronous start/stop interface in the interrupt mode, Type 2 - Type 3 - When a tag “disappears” (is removed irom internal memory), an extra message is transmitted to host which includes the tags code as well as the number of times that the badge was detected.This number cannot be greater than 99. Not available for the Wiegand interface. Otherwise identical to type 0. 2 10 1 9 messa emode OFF OFF T e 3 OFF ON M39 2 ON OFF Type 1 4 no longer supported ON ON T 9 0 CUSSIF'C‘T‘GN 500551 nEFEaENcEs nu DOCUMENTI DOCuMENY REFERENCES Gimme m cm Payment! Numm/Numlar CodoDw/ Tm! lMEB/ lawn! NON | MM m. mm Wm mm“ mm, "65 Q THOMSON-CSF Dévwemem Communications COMMUNICATIONS Hypertréquencsa a,1,2 a;1 o on we a,2,3 e a w e;4 a;1,2 a;1 o 0. W b, 6 » Events Actions 3 : tag is detected 1 : arm anti reread timer b : timeout anti reread 2 : start message transmission e : message is sent 3 : turn off reader 4 : turn on reader 6 : send tag disappearance message Figure 5.3 . mm Graphs describing the thrze mexsage rmnmrission mode; 3.4. Relay operation When a tag is detected. the relay operates. The switch //'umper in position 3 on JG / 11 on J5 determines one of two modes 0! deactivation (for ISOZ and Wiegand, deactivation is automatic) : . automatic relay deactivation after 2 second delay. 0 relay deactivation controlled by host via JBUS Deactivation 0 FF automatic ON under host control 3.5. Buzzer operation The switch / jumper in position 4 on JS / 12 on J5 activates or deactivales the buzzer on tag detection. When enabled, the buzzer emits a short sound (duration 50 ms) each time a tag is read. CLASSIFiCATtQN SDCIETE/ CLEARANCE LEVEL REFERENCES DU DOCUMENT! Docwem REFERENCES cm Pam-nu Numeral Number Man-mm. cm Q THOMSON ' CSF maxi... COMMUNICATIONS Hyperfre’quancee Buzzer OFF Enabled ON Disabled When enabled, the buzzer sounds for 50ms at every tag detection. 3.6, Code filtering with the Distributor code The switch //'umper in position 6 on JS / 14 on J5 enables or disables this feature. A description is given in chapter 5.2.3. Applies only to ISOZ and Asynchronous interfaces. For the WIEGAND interface this featUre is automatically enabled. Filtering_ OFF Disabled ON Enabled 3.7, Switching mode for Double reader The switch /jumper in position 7 on JS / 15 on J5 enables or disables this feature. A description is given in chapter 1.2. This feature must be disabled for single readers. Switch mode OFF Disabled ON i Enabled 3.8. Electrical interface The following positions on Jt and J2 / J3 and JB determine the electrical interface to the host, by fixing which lines are physically routed through to the tront»pane| connector. Type Position HS-232 1. 11 HS-422 2. 4 9.10.12 RS-485 2. 4, 6, 7.12 ISOZ 3. 5. 8 WIEGAND 3, 5, 8 cusleicATloN soclErE/ CLEARANCE LEVEL REFERENCES DU DOCUMENT/DOCUMENT REFERENCES NON mm... mm: Jsirs. am.“ we f.‘ THOMSON'CSF mater... COMMUNICATIONS Hyper'réquencas 4. CONFlGURING THE COMPACT READER The different operating modes are selected using switches which are either: - ON or - OFF They are identified by their positions on four connectors: . J1 (12 positions1 to 12) - J2 (8 positions 1 to 8) 0 J3 (8 positionst to B) - J4 (8 positions 1 to 8) Figure 4-1 .» Switch Iocahonsfor Configuration quumpar.’ reader The serial link to a host can be one of two types : - Open-Collector (ISOZ or Wiegand) - Asynchronous RS 232, RS 422 and HS 485. fi Only one of these interfaces can be active at a time Certain switch combinations are forbidden. If these combinations are detected during the initialisation period (immediately following a reset), an internal reset is generated after a period of 4 seconds. The following combinations are forbidden : - Message mode 3 together with WlEGAND interface - Message mode 2 together with POLLlNG mode 4.1. I502 and WlEGAND Interfaces 4.1.1. ISOZ interface Positions 1 to 4 of J2 must be as follows : 4 3 2 1 messae Ien h OFF OFF OFF OFF variable oFF OFF ON OFF fixed CLASS‘WT'QN “may nfienencesouooc NT ME EFEHE e crsmmce LEVEL we meet; NTH NC 5 cm ram-anti Num‘ru [Number cm Doe I ram Marcel Langu- NON umn-n a”. Doc. cm Varum. awl-m Index Lanw-g- nos w THOMSON-CSF Déparlemgm Comm unlcallons COMMUNICATIONS Hypeririquances 4.1.2. WIEGANDlnterface Posifions 1 to 4 of J2 must be as follows : 4 3 2 1 OFF OFF oFF ON 4.1.3. Tag persistence Positions 5 and 6 of J2 musI be as follows : 6 5 Persistence ON ON ' 1 5 ON OFF 2 5 OFF ON 5 5 OFF OFF 10 s 4.1.4. Minimum Time Between Messages (MTBM) Positions 7 and 8 of J2 must be as follows : 8 7 MTBM ON ON 1000 ms ON OFF 100 ms " OFF ON 200 ms OFF OFF 500 ms 4.1 ,5. Tag message repeIiIion Posution 3 of JS must be as follows : repetition OFF disabled ON 4.2. Asynchronous serial link 4.2.1. Address The module's physical address is the logical slave address thal Ihe hosi application software uses Io address the module (see 6.3). CLASSlFICATIDN SDCIETE/ n: F a s CLEARANCE LEVEL I REFERENCES nu oucwENT/DocuMEN E E ENCE a PAGE NON | WWW “Wm/NW. mm, | rm, mm, W. Volume Reinstall Influx Llrlgung unanimous Domcm f.‘ THOMSON-CSF new Communications COMMUNICATIONS Hyperfréquences The four positions 1 to 4 of J2 determine the physical address: 4 3 2 1 Address ON ON ON ON MINITEL ON ON ON OFF 1 ON ON OFF ON 2 ON ON OFF OFF 3 ON OFF ON ON 4 ON OFF ON OFF 5 ON OFF OFF ON 6 ON OFF OFF OFF 7 OFF ON ON ON 8 OFF ON ON OFF 9 OFF ON OFF ON 10 OFF ON OFF OFF 11 OFF OFF ON ON 12 OFF OFF ON OFF see 3.1.1 1502 OFF on OFF ON M OFF OFF OFF OFF see3 ,1 I302 NB : A JBUS command message which has a slave address equal to 0 corresponds to a broadcast message, which explains why a reader cannot have an address of 0 for polling applications. 422. Ctaracter Format and Baud rate Baud rate is chosen using positions 5 and 6 of J2: 6 5 Baud rate ON ON 9600 Bauds ON OFF 4800 Bauds OFF ON 1200 Bauds OFF OFF 19200 Bauds Format is chosen using positions 7 and 8 of J2: 8 7 Formal ON ON 7 bits data 1 bit even My ON OFF 7 bits data 1 bit odd parity OFF ON 8 bits data no arit OFF OFF not used 42,3, Protocol : polling or interrupt The type at protocol, polled or by intermpt, is chosen with position 5 on JS: protocol 0 FF interru -t ml Nun- cussiFicATlON sociETE/ I REFERENCES DU DOCUMENT/ DOCUMENY REFERENCES CLEARANCE LEVEL code F-hnennt/ Numeral Numbfl Coda Doc! ‘l‘omg/ Indies! Lur M NON | a...” w. m, M m Mum- was. 0 THOMSON-“F "H" COM MUN ICATION S Hypeméquericas 4.2.4. Frame format Position 8 on J3 determines the frame format, test (ASCil) or JBUS (binary). frame format | OFF Test ~ ASCII messa e ON Normal - JBUS frame The test format allows connection to a dumb terminal for easy on-site display. For a description see chapter 11. 4.3, Message mode The mode is chosen using positions 1 and 2 on J3. The mode determines in what cases the detection of a tag causes a message to be transmitted to the host. Type 0 ~ Each time a tag is detected, a timer is armed (nominal value = 15). Tag detection only causes a message to be transmitted it this timer is not active. Each tag detected has a timer associated with it. Type 1 - This modeis no longer supported Type 2 - At each tag detection, a message is transmitted to host. During message transmission, microwave emission is switched off. Only available for the l302 interface and the asynchronous start/stop interface in the interrupt mode. Type 3 - When a tag “disappears” (is removed trom internal memory). an extra message is transmitted to host which includes the tag’s code as well as the number of times that the badge was detectedThis number cannot be greater than 99. Not ayailabie for the Wiegand interface. Otherwise identical to type 0. messa- 9 mode OFF OFF For a graphical representation of how the modes work. see Figure 3-3. 4.4. Flelay operation When a tag is detected, the relay operates. The switch in position 3 on J3 determines one of two modes of deactivation (for [$02 and Wiegand, deactivation is automatic) : - automatic relay deactivation after 2 second delay. - relay deactivation controlled by host via JBUS Deactivation automatic under host control cussiFch'noN socrErE/ CLEARANCE LEVEL NON assnsncss ou oocumsur/ DocuMENT REFERENCES Numilu/ Numb-1 cm Plane-ml cm om ‘ 0 moMSON'csF Départemem comm unicauons C 0 M MUNICATION S Hyperlre’quenczs 4,5. Buzzer operation The jumper in position 4 on J3 activates or deactivates the buzzer on tag detection. When enabled, the buzzer emits a short sound (duration 50 ms) each time a tag is read. l Buzzer OFF Enabled ON Disabled 4.6. Code filtering with the Distributor code The switch in position 6 on J3 enables or disables this feature. A description is given in chapter 5.2.3. Applies only to I302 and Asynchronous interfaces. For the WIEGAND intertace this feature is automatically enabled. Filterin 4.7. Electrical interface The following positions on J1 and J2 determine the electrical interface to the host, by fixing which lines are physically routed through to the connector. Type Position RS-232 LL FiS-422 2, 4, 9. 10.12 HS-485 2, 4. 6, 7,12 I802 3, 5, 8 WIEGAND 3, 5. 8 4.8, Reading Flange The reading range can be coarsely adjusted using switches G and 7 on J4. Three ranges are possible : 7 5 OFF OFF ON OFF OFF ON ON ON 4.9. Operating channel The compact reader can operate using 29 different channels. Each channel corresponds to a separate microwave frequency band. This is useful when several readers must be positioned close together. Using different channels on each reader eliminates mutual interference. Positions 1 to 5 of J4 are used. The OFF position for switches are indicated by a blank in order to make the table more readable. CLASSIFlCATiDN socrere CLEARANCE LEVEL REFERENCES ou oocwenrr DOCUMENT aeseaences cm Flbflnml Numm/ Numb-v cm Doe! Tom-l Indice/ unvrn NON Manulan. Cad- Doc. cm Val-rm. raw-an inn-i unit-so "GE . _ --- an _ A . a E 1 M r— ) THOMSON-CSF ammo” COMMUNICATIONS Hyméqmm 5 4 3 2 1 Channel ON ON ON ON 1 ON ON ON ON 2 ON ON ON 3 ON ON ON ON 4 ON ON ON 5 ON ON ON 6 ON ON 7 ON ON ON ON 8 ON ON ON 9 ON ON ON 10 ON ON 11 ON ON ON 12 ON ON 13 ON ON 14 ON 15 ON ON ON ON 16 ON ON ON 17 ON ON ON 13 “1 ON ON 19 ON ON ON 20 ON ON 21 ON ON 22 ON 23 ON ON ON 24 ON ON 25 _. ON ON 26 ON 27 ON ON 25 ON 29 Table 4-1 : Microwave Channel selection CLEARANCE LEVEL REFERENCES DU DOCUMENT! DccuMENY REFERENCES Mun-Am 1 Numb“ coda Dee! Tan. 1 0 momsou-csr Mm Communlcallons C0 M MUN ICATION 5 Hyperlréquencw 5. OPEN-COLLECTOR INTERFACES 5.1. Magnetic Stripe Card Interface «ISOZ» 5.1 ,1 l Description Using this interface allows the reader to take the place of a standard magnetic stripe card reader. This interface consists of three signals, MDATA (negative logic) for the data , STROBE (active low) indicates when data are valid, and PRES_BADGE (active low) a signal encompassing message transmission as shown below. The characters are transmitted synchronously in a frame format at a rate of roughly 1000 bits/s. STROBE MDATA STROBE . A , ouMDATA 1 ., , -,:',“ ' ' _ I I PRES_BADGE—1——'—————-——|———i_— —>l 14— |<-— 50 ms ———-l 2 ms Figure 5-2 ,- Tuning Jhowmg rhe signal "Presence Badge The STROBE and MDATA signals are open-collector outputs (circuit shown in figure 7-3), For proper operation a pull-up resistor of about 1K ohm should be used. 5t1.2. Message format A message consists of a preamble of 15 zeros (for receiver synchronisation), the data frame as descnbed below, and a postamble of 10 zeros.The data (digits 0 to 9 only) are formatted into characters of 5 bits - 4 bits for a ECD coding plus one bit for odd parity. The data is framed as shown below. 1 Character 1 Character 1 Character START data END LFlC The checksum (LRC) is the result of an exclusive-or function performed on all the preceding characters. CLASSIFiCATlDN sociErer CLEAEANCE LEVEL REFERENCES nu occumsmr DOCUMENT asFEaENcEs cm Fabrmant/ Numm r Number cw. Doc! Tum-I ind-m leun NON l Mum-a. Cm Dee, cm. Vet-m Hens-an lMH Llnouwl was f.“ THOMSON-“F “m COM MU NICATIONS Hyperfréquences ——i START character = OBH END character = 1FH. The contents of the data field depend upon the message mode chosen and the length, For a variable length frame, this field begins with a three—character distributor code, if no distributor-code filtering is enabled, followed by the usercode. For the fixed length frame, this field contains exactly 37 characters, the characters after the user-code, if there are less than 37, are all equal to ODH. In the case of message mode 3, the data also contains the number of times the tag was detected, a Mo- character field. The special separation character OCH precedes this number. The order of bit transmission for each character is LSB first. Typical examples of the data field for a user code of length n digits : message mode 0, length variable I distributor code user code length = 3 + n message mode 3, length variable I distributor code user code I OCH nb. det length = 3 + n + 3 message mode 3, length variable, distributor-code filtering user code | OCH nb. det length = n + 3 message mode 0, length fixed distributor code user code ODH ODH ODH length = 37 message mode 3, length fixed distributorcode usercode IOCH nb.det|ODH ODH ODH I Iength=37 message mode 3, length fixed, distributor-code filtering usercods OCH nodetI ODH | ODH ODH length=37 5.1.3. Tag persistence The tag persistence (the time that a tag is stored in internal memory) can be set to one of four values using the board configuration (see 3.1.3) : 1 s, 2 s, 5 s and 10 seconds. 5.1.4. Tag code transmission Two separate parameters can be set using the board configuration. CLASSlFtCA‘l’lCN SOCiEl’EI CLEARANCE LEVEL sequences ou DccuMEN‘r/ DOCUMENT REFERENCES NON Num‘to/Numhr cod-Dim Tomi ' Q THOMSON ‘CSF Défiartement Comm unlciflons COM MUN ICATIONS Hypertréquonces The first is the minimum time between consecutiVe tag code transmissions (MTBM, see 3.1.4). This can be set to one of four values, 100 ms, 200 ms, 500 ms and 1 5, allowing interconnection to readers with different reaction times. The second is the possibility of repeating the transmission of the tag code (see 3.1.5). This may be desirable in certain cases. if this option is enabled, the tag code is sent a second time aftera time MTBM. 5.2. Wiegand compatible interface 5.2.1, Description Using this interface allows the reader to take the place of a Wiegand~eftect card reader. This interface comprises two signals, DATA “0" and DATA “1". A logical 0 produces a negative pulse on the DATA_0 line and a logical one produces a negative pulse on the DATA_1 line. The timing is given in figure 5 below. The data is transmitted synchronously in a frame format at a rate of roughly 2000 bits/s NRZ DATA " l ” DATA "0" Figure 5-3 - Timing for WIEGAND Interface. The DATA_0 and DATA_1 signals are open-collector outputs (circuit shown in Figure 7-3). For proper operation a pull-up resistor of about 1K ohm should he used. 5.2.2. Message format The Wiegand message has a fixed length of 26 bits. and the following structure : bitnumber- 1 2 910 25 26 EP FC CC OP EP » Even parity bit if the number of ones in the bits 2 to 13 is odd, then this bit is equal to 1, otherwise it is equal to 0. FC - Facility Code CMSSlFlCfl‘lUN SOCIETE/ CLEARANCE LEVEL REFERENCES DU DOCUMENT! DOCUMENT REFEnEucEs Cod. mmm/ Nurture! Number cm. Duel Tem/ indm/ Lam- NON | Manama. Eud- Doc. Cod- Velumo swam lndm main;- "55 0 THOMSON—£35" 237532250"; COM MUNlCATIONS Hypoflréquencu length = 5 bits (bits 2 to 9) A number, 0 to 255. binary-coded using 8 bits, MSB is bit 2. CC - Card Code length =16 bits (bits 10 to 25) A number, 0 to 65535, binary—coded using 16 bits, MSB is bit 10. OF - Odd parity bit It the number of ones in the bits 14 to 25 is even, then this bit is equal to 1, otherwise it is equal to 0. Message transmission begins with bit 1. 5.2.3. Distributor code auto-learn mode This facility is automatically enabled it the Wiegand interface is selected, However, it can also be enabled for the other interfaces if desired. As well as the user data field. which for Wiegand corresponds to the 26 bit frame described above, the HYPERX tag contains a three character distributor code which is unique for each installation. This code is automatically added when the tag is first programmed. The distributor code contained in the first tag which is detected after a processor reset becomes the reference distributor code. It is memorized, and the distributor codes of all succeeding tags are compared to this reference it they are the same, lhe tag is allowed. if not the tag is reiected. In the former case, the message transmitted to the host does not contain this distributor code, The distributor code consists of three ASCll digits, 0 - 9, allowing 1 000 combinations. 5.2.4. Tag persistence The tag persistence (the time that a tag is stored in internal memory) can be set to one of four values using the board configuration (see 313) : 1 s, 2 s. 5 s and 10 seconds. 5.2.5. Tag code transmission Two separate parameters can be set using the board configuration. The first is the minimum time between consecutive tag code transmissions (MTBM, see 3.1.4), This can be set to one of four values, 100 ms, 200 ms, 500 ms and 1 s. allowing interconnection to readers with different reaction times. The second is the possibility of repeating the transmission of the tag code (see 3.1 .5). This may be desirable in certain cases. If this option is enabled. the lag code is sent a second time after a time MTBM. CLASEKFICAWON SOCKETE/ CLEARANCE LEVEL REFEHEMES nu DOCUMENT! oocwsnr essences code Fabmnm/ Numeral Number Cod- Doc! Tome! i indie-l man. I NON l iii-Mm. Cod. am one. Vahurn Revision rm: Lnngulql ”55 __I a THOMSON 'CSF De'partemem Communications COM MUN ICATIO NS Hyperfréquenm 6. COMMUNICATION PROTOCOL FOR ASYNCHRONOUS INTERFACE 6.1. Introduction Readers can be connected to a host using either a point-to-point configuration or a multipoint (bus) configuration. Furthermore, two types of protocol are possible : polling by host or interrupt. The interrupt protocol uses either the JBUSW frame format or the test mode format. NB : (t) The interrupt protocol can only be used on a point to point link. (2) JBUS'M is registered by APRIL , MODBUST" is registered by GOULD MODICON A multipoint or network configuration using the standards for differentlal data transmission FIS-485 (2-wire, 2- way) or HS-422 (4-wire, 2 for each way). is used it several readers are to be interconnected. ln this case the polled JBUS protocol is implemented fl HOST <————v————f—‘—— Figure 6-1 .- Nerwor'k topology using R542? If only one reader is to be connected, either oi the three standards can be used. In this case either of the two protocols, polled (see chapter 6.3) or interrupt (see chapter 6.5), are possible. res-232 RS-422 RS—485 ‘____> HOST Figure 6-3 erm-ro—pomr topology cusstncmnn SOCIErE/ CLEARANCE LEVEL nerensmss nu DOCUMENY/ DOCUMENT nerensucss NON indie-l Fist-bun tun-t cu. mmm Numeral Numb-l cw. Doe I rum-1 Mental-A. cm one. cw. Vettin- 0 THOMSON'CSF Départemenr Communlcltlons COM MUNICATIONS Hyperiréquences The table below summarizes the different combinations : Type of connection Protocol point-to-point multipoint interrupt RS-232/422/485 — Polling FlS-232/422485 RS-422 or FlS-485 6.2. Transmission characteristics All protocols are character-oriented, The character formats are : a 7 bits even parity/ 1 stop bit - 7 bits odd parity /1 stop bit . 8 bits no parity / 1 stop bit Four baud-rates are possible : 1 200 bauds 4 800 bauds 9 600 bauds. 19 200 bauds Choices are configured by user (see chapter 3.2.2). NB : in practice, the JBUS protocol requires 8 bits / no parity. The other formats are used for special situations. 6.3. Reader in F'olled Mode This is a master/slave protocol, Each exchange is initiated by the master and consists, except in one case (broadcast message). an exchange of two frames - a command issued by the master and a reply from the slave. All frames have the following structure : |Slave no. function code data control NB : A HYPER X reader is a JBUS"M slave, The commands issued by the master are either addressed to one slave (identified by its number or address) or to all slaves on the network (broadcast), The four fields have the following meanings : - Slave number (1 byte) : . Specifies the destination, from 1 to 12. If the number is 0, it is a broadcast message. in this case there is no reply, - function code (1 byte) : Command : Determines the type of action to be performed (read, write, bit, word), Flepiy : Fiesult (success or error). . data field (n bytes): Contains the parameters associated with the function : command code, number of bytes, values. CLASSlFlCAflcN sociETE/ CLEARANCE LEVEL REFERENCES nu DocuMENT/ DOCUMENT REFERENCES NON cm Fabric-m i Name” Numb“ cm Doc i mum. Eud- Dec. cw- Indie-l Rlv-nn Index Tum 1 vuuma 1. \ momson- csr= neeenenen Communications C 0 M MUNICATIONS Hyperfréquenm - control field (2 bytes): For error detection (CFlC 16) - See chapter 12. The JBUS‘M protocol defines 12 functions (second field in frame). The following four of them are implemented on the HYPEFtX readers: 0 function 3 : read n words . function 5 : write one bit - function 6 : write one word - function 16 : write n words The main difference between the reader’s reply and the host's command is the content of the data field. If the message is received with errors (CFlC incorrect), the reader does not reply. if the message is received correctly but the reader cannot process it, an error message is sent. This error message has its function code field modified. (the msb is set to 1) and the data field contains one byte, an error code with the following values : Function code unknown 2 Command unknown 3 Data incorrect 4 S stem non read 8 Execution failure Example : PC -—> reader 01 03 00 39 00 01 54 07 (incorrect command) reader —> PC 01 83 02 CO F1 The maximum time allowable between the reception of two characters is a protocol parameter which allows a slave to resynchronise to a frame—start. if transmission is interrupted. If this time is exceeded, the slave rejects the frame currently being received. For the HYPERX reader, this time is equal to 20 ms except in the case of a baud-rate of 1200 bauds for which it is 30 ms. 6.3.1. Write one bit - Command 2 bytes 1 hne 1 byte 2 b es Address reader 05 command code bit value 00 CFlC 16 - if bit = 0. bit value = OOH, - if bit = 1, bit value = FFH - Fleply 2b es 1b 3 1b 6 2b es Address reader 05 commandcode bitvalue 00 CFtC16 The‘Fteply‘ frame is identical to the ‘Command' Frame. If the address is OOH, all the readers process the command without sending a reply. cLASSiFICATtON score-rel CLEARANCE LEVEL nzraaznczs ou DOCUMENT] oocumsm REFERENCES PAGE Cane hum-nu Nut-em Numb-v Man-41m. Coon Lawn-9- 0 THOMSON-CSF 23mm“, COMMUNICATIONS Hypeméqusrmes 6.3.2. Write one word - Command 2 b es 2 b es 2 b as Address reader 53—— CRC 16 'A word consists a! (we bytes, msb first - Reply 2 b es 2b es 2b es Address reader 06 command code value' CRC 16 The'RepIy' frame is identical to the ‘Command’ Frame. if the address is OOH,‘ all the readers process the command without sending a reply. 6.3.3. Write n words - Command 2 bytes 2 bytes 1 byte n bytes 2 bytes Address reader toH commandcode nbrofwords nbrofcharactersl values' ICRC1G ' wards to be written, in order - Reply 2 bytes 2 bytes 2 bytes Address reader 1OH command code nbr of words CRC 16 If the address is OOH, all the readers process the command without sending a reply. 6.3.4 Read n words - Command 2 bytes 2 bytes Address reader 03 command code | nbr ofwords | CHC1S | - Reply 1 byte n bytes Address reader 03 nbrcharactersread1 values' CRC16 ’ bytes read, in order 1' number of characters read = 2 X number of words in Command (always even) CLASSIFchflON scorers! CLEARANCE LEVEL Coa- Fahrmam/ Numm / Number NON Mlnuhn. an. aseznsuczs nu DOCUMENT} DOCUMENT REFERENCES Q THOMSON 'CSF gfififfififilflkns COMMUNICATIONS Hyperfréqucncs 6.4. Reader commands The following commands can be sent to the reader by the host : N" Commands function command command reply code code Erameter parameter 1 Get reader status 3 0040 nb words = 1 1 word status I 2 Get modules status 3 0041 nb words = 1 1 word status_m 3 Get ta 3 0042 nb words = n n words 4; Turn reader ON / OFF 5 0043 1 word emis 1 word emls 5 Flela control 5 0044 1 bit ( 0 =enable) 1 bit ( 0 eenable) G Reset reader 5__[ 0045 1 bit ( 0 =reset) 1 bitJ0_=reset l 7 Anti-reread time 6 0046 1 word time 1 word time 8 Antenna LED control 6 0047 1 word led 1 word led 9 Fletransmit previous t_ag 3 0048 nb words = n n words 10 Get init errors 3 004F nb words = 1 1 word stalusfie 11" Get EPROM version 3 0049 nb words =1 1 word version (3 12' Get config 3 004A nb words =1 1 word config C) 131' Select channel 6 0050 1 word channel 1 word channel Table 5-1 : Header commands. l') Commands 11 and 12 are avallab/e as of EPFlOM version 400 (f) Command 13 is only available lo! the compact/eader (i) CommandA rs onlyava/lable for the modular reader in order to read a tag (in polled mode)‘ the host must first issue the command get reader status, The status word informs the host it a tag has been read, and if so, the length of the tag—code in bytes (see 6.4.3 below). In the latter case. the host then issues a second command get tag, indicating the number of words to be read. NB : ln interrupt mode. the command get tag is not used, since all tag-codes are sent immediately“ The words status_|, status_m, statuswe. led, emls, time, version, channel and contig are 16 bit words arranged as two bytes, msb first, Isb last, 641. Get reader status This is a command of type read n words, code = 0040H. lithe command parameter nb words is not equal to 1, the reader replies with the JBUS error 3 (Data incorrect) The reader returns one word statusJ (two bytes, MSby‘te first). statusJ D15 D8 D7 D0 EA 0 N5 N4 N3 N2|N1IN01UCIAM1DPLMS DM]E2| E1 RE CLASSWlCATluN SDCIEFEI REFEEENCES DU oucunsmroocumskr REFERENCES CLEARANCE LEVEL cm Fabmanll Numml Number cm Deer 1m! Ind-ml ungu- NON Manutwl Code I Doc. Code Veluml awn" rm- Llugu-qd ”BE r; momson-csr M... Comm unlcallons COM MU NlCATIONS Hyperlréquances bit name modular reader comgact reader D15 BA 0 = 1 tag has been read,1 = two or more tags_have been read D13-D8 N5 .. NO number of characters in tag 1 to 34), binarycoded in 6 bits D7 UC {User con_tig, one or more parameters have been changed via a JBUS command active 1 DE AM Fault in Power supply module D5 DP Tag memory overflow D4 MS Fault with CPU D3 DM Fault in one of the external modules D2 E2 Radio reception enabled lor Antenna 2 1 D1 E1 Radio reception enabled for Antenna 1 D0 RE Relay activated ~ NB : When not specified,jhe bits are active low. The length specified by the bits N5 NO includes one byte for the tag's status, three tor the distributor code and the rest for the user-code (see chapter 6.4.3). This number may be even or odd. However, when using the command read n words in order to read a tag-code, an even number of words must be specified and the reply always contains an even number of bytes, the last of which may not be significant, If either of the bits AM or DM are active, the host should issue the command read modules status (chapter 6.4.2) in order to determine the cause. It the bit MS is active, the host should issue the command read init errors (chapter 6410). Example : PC —> reader 01 03 00 40 (10 01 85 DE reader —> PC 01 03 02 00 7D 78 65 6.4.2. Get modules status This is a command of type read n words, code = 0041H. It the command parameter nb words is not equal to 1. the reader replies with the JBUS error 3 (Data incorrect). The reader returns one word status,m (two bytes, MSbyte first), status_m bit name modular reader compactreader D15 DCH Battery-charger fault 1 D14 DAG Mains fault 1 D13 DDC Battery backup tault 1 012 DTE External DC input voltage—fault 1 D11 PSHFZ Microwave source module Huesent 1 D10 PSHF1 Microwave source module HF1 present 0 DE PCMFi2 Module SAMZflesent 1 DE PCMFH Module SAM1 present 0 D7 unused 1 1 D6 unused 1 1 D5 ERV2 Phaselock error source HF 2 1 D4 ERV1 Phase-lock error source HF t 1 D3 ERSZ Fault in module HF 2 1 Dz ERS1 Fault in module HF 1 1 D1 PEM2 Microwave power present on SAM2 1 DO PEM1 Microwave power present on SAM1 cussmcmon SGClETE/ asFeflENces nu Documsur/ pocuuaNr assumes CLEARANCE LEVEL Cod. Fatima/ill Numefn / Number cm ow ran-1 we” 1..on NON ow. coa- Volumn Rw-wn luau Liming. ”65 4: mm 7m 1M n F 33 1) THOMSON-ESP Dévmnw Comm nnlcafinns C 0 M MUN ICATIONS Hyperfréquences - NB : All bits are active low. Example: PC—>reader 01 03 00 41 00 01 D4 1E reader—> PC 01 03 02 FA FE 7B 64 6.43. Get tag This is a command of type read n words, code = 0042H. If the number of Words to be read (see 6.4.1) is different from the number of words available (see command get reader status) , the reader replies with the JBUS error 8 (execution failure) This error is also produced if no tags are present, The data field structure of the ‘reply' frame is as follows : 1 byte 3 Mes 1 to 30 bytes statusftag | distributor_code | useLcode The length of this field can vary from a minimum of 5 to a maximum of 34. The distributor code may not be present if distributor-code filtering is enabled, Only two bits of status_tag are used : D0 : tag battery (0 = OK, 1 = low) Di : Antenna number ( 0 = antenna 1 /SAM1, 1 = antenna 2 / SAM2 ) - for modular reader only D4. D5 : 1 D6,D7 : 0 For modular readers : . Antenna 1 is connected to the receiver module SAMt (immediately to left of SP! in rack) - Antenna 2 is connected to the receiver module SAM2 (leftmost SAM in a double rack). The user-code can vary in length from 1 to 30 characters. It consists of any ASCII characters whose ASCll codes lie between 20H and 5FH. Example: PC —> reader 01 03 00 42 00 04 E4 1D reader —> PC 01 03 08 30 31 32 33 39 39 39 39 BS CS 6.4.4. Turning reader ON / OFF This command is onlv available for M modular reader. This command turns the microwave emission on or off, This is a command of type write one word, code = 0048H. One word (two bytes) must be sent‘ the most significant byte first. emis D15 D8 D7 D0 [NAixlx X Xix|x|x|x x x x x x xIVEl NA: N°. antenna ( 0 = antenna 1, 1 = antenna 2) VE : Enable emission ( 0 = enable, 1 =disable) If this command is successfully executed by the reader, then the UC bit in the status word status_l is set to 1. CLASSIHCA‘HON SOCiETEI CLEARANCE 5 EL neFEnENcss nu DOCUMENT! DOCUMENT REFERENCES Cod. Fahrmnt/ Numerc / Number Code Doc/ Tm! indict! LIVIQM l NON l men. | mm mm. W... ms Q THOMSON-SSE Dev-"mm Cummunlcfluuns C0 M MUN ICATION S Hypoméquences Example: PC——> reader 01 06 00 43 00 01 89 DE reader—>PC 01 06 00 43 00 01 59 DE 64.5. Flelay control This is a command of type write one bit, code = 0044H. It the parameter byte contains 0 the relay is energised, it it contains FFH, the relay is de-energised. If this command is successfully executed by the reader, then the UC bit in the status word status_l is set to 1. Example: PC—> reader 01- 05 00 44 00 00 8D DF (energiserelay) reader—>PC 01 05 00 44 00 00 8D DF 6.4.6. Reset reader This is a command of type write one bit, code = 0045H. It the parameter byte contains 0, an internal processor reset is generated. Any other value produces the JBUS error 3 (data incorrect). This command resets all user configurable parameters to their default values and resets the UC bit in the status word status_l to 0 : Parameter Default value Antenna light green, slow blink Anti reread time 1 second Relay de-energised Microwave emission ON' Example : PC —> reader 01 05 00 45 00 00 DC 1F (reset) reader —> PC 01 05 00 45 00 00 DC 1 F 6.4.7. Tag Persistence This is a command of type write one word, code = 0046H, One word (two bytes) must be sent, the most significant byte first. This time is expressed as a multiple of 50ms and binary-coded using 11 bits, giving a range from 50ms to 100 seconds. time D15 D8 D7 D0 Lx x x x x]T1O T9T8'I7T6T5T4T3T2- If a value of 0 is programmed, then the reader will send the tag-code at each detection. This is incompatible with several reader configurations and must be used with caution. If this command is successfully executed by the reader, then the UC bit in the status word status_l is set to 1. cLASSlFlCATlDN SOClETE/ CLEARANCE LEVEL REFERENCES DU oocumsmi occuuem neseneuces Cede Fab: Num‘m / Number c Duel mm Infllcal Lana-i Manuim, cm Dec. Cudq vam- Minn im- tug-age 0 THOMSON-“F °'°" COM MUN ICATIONS Hypertre'quances Example: PC—> reader 01 06 no 46 00 28 ea 01 (time=2s) reader—> PC 01 06 00 46 00 25 68 01 6.4.8, Antenna LED control This is a command of type write one word, code = 0047H. One word (two bytes) must be sent, the most significant byte first. led D15 D8 D7 D0 |NA FiV|CF AE T3 T2 T1|T0i xlxlxl xi xix x x NA : N" antenna ( 0 = antenna 1, 1 = antenna 2) ( =0 for compact reader) HV: 0=LED red,1 =LED green CF : 0 = blink, t = fixed AE 0 = an, 1 = off T3 .. T0 : Blink period (on or oft-time) as multiple of same binary-coded using 4 bits. Thus : 0001 : 50ms / 50 ms 0010 : 100ms/ 100 ms 0011 : 150ms/150 ms 1111 : 750ms/750 ms If this command is successfully executed by the reader, then the UC bit in the status word status_l is set to 1. Example: PC—> reader 01 06 00 47 05 00_ 3A BF (led anttblinksredZSO/Zsoms) reader—> PC 01 06 00 47 05 00 3A BF 6.4.9. Retransmit previous tag This is a command of type read n words, code = 0048H. It the number of words to be read (chapter 6.4.1) is different from the number of words available, the reader replies with the JBUS error 8 (execution failure). This error is also produced it no tags are present. This command makes the reader retransmit the previous tag code, providing no other transmission has occurred since. It is used in polling mode it the reader’s reply contains errors and the host wishes a retransmission, In such a case, repeating the command read tag is of no use, this command must be used. The number or words to be read must be the same as that used in the previous read tag command. Example : PC —> reader 01 03 00 42 00 03 A5 DF (read 3 words) reader —> PC 01 03 06 01 02 03 04 0516 QB BS (ORG incorrect) PC —> reader 01 03 00 48 00 03 85 DD (retransmit 3 words) reader —> PC 01 03 06 01 02 03 O4 05 06 SB 53 (CFtC OK) CLASSIFlCAUGN SOCIETE/ CLEARANCE LEVEL essences Du ndcuMENr/ pocuMEN‘r REFERENCES Code Films-ml Numfia / mm" cm Doc! Yen-u! more: / Luau! NON Manda“, cae- | Doc, ted. Valium swam" tnd- mum- ”BE 0 THOMSON 'CSF “9 COMMUNICATIONS Hypertréquences 6.4.10. Get lnit Errors This is a command of type read n words, code = 004FH. ll the command parameter nb words is not equal to 1, the reader replies with the JBUS error 3 (Data incorrect). The reader returns one word status_e (two bytes, MSbyte first). After a manual reset, the reader performs an internal test of its major hardware elements. it an error is detected, the MS bit in the reader status word is set (see 6,4.1) and the reader resets itself after 4 seconds and continues to do so until the fault disappears. This command, if sent after the end of the test (the buzzer sounds while the test is in progress), will determine the nature of the fault. One word statusie is to be read: Only the 5 bits D0 to D4 are used : status_e D15 D8 D7 D0 x x x x xix x xlxlxlxlsoc sce SCAIRAM ROM ROM : EPROM checksum is incorrect RAM : RAM failure SCA :SCC channel A failure SOB : SOC channel B failure SCC : 800 bus access failure The bits are active at 1. Example : PC —-> reader 01 03 00 4F 00 01 , 55 DD reader —> PC 01 03 02 00 00 BS 44 (no errors) 6.4.11. Get EPHOM version This is a command of type read n words, code = 0049H, If the command parameter nb words is not equal to 1, the reader replies with the JBUS error 3 (Data incorrect). The reader returns one word version (two bytes, MSbyte first). version identifier major index minor index miter indevt |Dtslo14|ma|ota on me D9 DB D7 oslos D4 133102 D1 DD For the modular reader, the identifier has a fixed value equal to 0. For the compact reader, this value is equal to 5. Thus, version = 0401H indicates a modular reader with EPFtOM version 4.01. Version = 5403H indicates a compact reader with EPROM version 4.03. cussmcmuu SOCIEI’E/ CLE‘WNCE LEVEL REFERENCES Du oocuMENr/ oocuuenr eEFEeENcEs cm Faernunt/ mum Number Dad- Doc! mm Indie-I ungu- NON Mount-5.6361 | Doc. Code I Vomm- flm-nn mm Language "GE f.‘ THOMSON-CSF gjfnrflgggm COMMUNICATIONS “Memes 6.4.12. Get Contig This is a command of type read 11 words, code = 004AH. it the command parameter nb words is not equal to 1, the reader replies with the JBUS errors (Data incorrect). The reader returns two bytes corresponding to the states of the two sets of switches. The first byte corresponds to the Address switches, the second to the Mode switches. Zeros correspond to switches in the ON position (see chapter 3 for description of switch positions). 6.4.13. Set channel number his command is only available on compact readers. This is a command of type write one word, code = DOSOH. One word (two bytes) must be sent, the most significant byte first. This command lets the user select one of 29 operating frequencies. For closely spaced readers using the same frequency. mutual interference can significantly degrade performance. These readers should use different frequencies. channel D15 D8D7 D0 0 o o ololo o 0 Hole c4ic3czctc0i Bits C4..C0 code the channel number. Channel 0 is not used. If this value, or a value greater than 29 is programmed, the reader replies with the JBUS error 3 (Data incorrect). Channel 04 03 C2 01 i on 0 not used 1 | o 0 o o 1 2 0 o o 1 29 1 1 1 o 1 The correspondence between channel number and microwave frequency is given in chapter 13. cussincmon sociErE/ CLWE LEVEL REFERENCES nu occuursmr nocwsnr nessnsmes cm Filament! Numero/ Number Coo. Dncl Yam-I 1114": um; NON mum-a. cans Doc. One- Vellum How-m Ind-x Lang ”55 0 THOMSON-CSF gig-3mm“! COMMUNICATIONS Hyperlréquertces 6.5. Reader in lnterrupt Mode ln this mode. as soon as a reader has a message to send to the host (is. a tag that has been detected), it sends it, rather than waiting for an invitation, as is the case in the polled mode. The host replies with an ACK or a NAK, The message sent has the following structure : 1 bfle n bytes I STX I 04 nbcharactersl values 08016 i This structure is the same as that at a ‘reply’ frame to the command read n words. The first field, the reader number, is fixed at 2 and the second field. the code function, is fixed at 4. Example : - 1 1 bytes 02 (ml OB 3041424333343536373839l CFlC16 Here, the badge status = ‘0‘, the code read is ‘ABCQ456789' The data field contains 11 bytes. See chapter 6.4.3 for details of the structure of the data field. The same message is retransmitted up to three times in case an ACK is not received. If a NAK is received the message is sent again immediately. it no reply is received the message is sent after a 100ms timeout. After three failed attempts, transmission for that message is abandoned. This protocol is enabled using reader configuration (See chapter 3.2.1). NB : . In this mode of operation, the host can send all of the normal commands using the JBUS protocol (as defined in chapter 6.4 above), except forthe one command read tag which would make no sense, The reader sends a reply iust as it it were in polled made. However, the reader cannot send a reply straight away it it has just detected a tag and has started to send this message, and vice versa. The host must decide it and when it can safely interrogate the reader. CLASSlFlCATtDN socierE/ CLEAHANCE LEVEL ca. autism, NON Mam/lid. Code REFERENCES DU DOCUMENT! DOCUMENT REFERENCES lndtcal mum rum Numeral Number f.‘ THOMSON-CSF “Mme"! Communications COM MU NlCATIONS Hyperfréquences 7. EXTERNAL CONNECTIONS 7,1. 5-pin Connector - link to Host pin Name [IO 01 01 I/O 02 O2 I/O 03 03 1/0 04 04 l 05 GND Pins 01 lo 04 are associated with differenl signals, depending on lhe type of link used (Board configuration': see chapter 3.8 ). Name RS»232 RS—422 RS-485 ISOZ WIEGANDJ 01 TX TX+ + V STROBE DATA “1" 02 — TX- - V MDATA DATA “0" 03 7 FlX+ —- PRE578ADGE — 04 FlX RX- —— — — 05 GND GND GND GND GND Signals on front panel 5-pin connector Connector reference : -» Brand : | PHOENIX WAGO l 5 in MSTB 2,5/5-ST-5,08 231-305/026-000 7.2. 3-pin Connector - relayed circuit pin Name l/O 1 Make 0 2 Common l 3 Break 0 Signals on front panel 3—pin connector This connection allows a signal to he switched using the on(space) where status badge : O = antenna 1, tag battery good 1 = antenna 1,tag battery low 2 = antenna 2‘ tag battery good 3 = antenna 2‘ tag battery low distributor code i nnn where n is a digit (0 a 9) user code : from 1 to 30 characters, see chapter 6.4.34 message antenna battery distr. code user code 0 001ABCDEF-1OO 1 good 001 ABCDEF—1OO 2 XYZHYPEFI X.007 I 2 good XYZ HYPER X.007 cassmm soctsm | REFERENCES DU DOCUMENT! DOCUMENT REFERENCES CLEARANCE LEVEL Cod- mum” NumérnlNumbev cm ow Tamil Indba r unq NON Mandi-1.1.56“ Do: 061 Vet-Am. Ramon Index La "SE "a 12. APPENDIX E : ALGORITHM FOR CALCULATING THE CRC1G It is a 16 bit fielcl The calculation is performed on all bytes preceding the field. Hex FFFF --> CRC 16 CRC 166 BYTE ~—> CRC 16 CRC 16 G poly --> CRC 16 4— n=n+l 110 n> 7 ye~ e = exclusive or n = number of bits POLY = polynorm'al for CRC 16 = z 12 213+ 2 ° For the 164m CRC 16, the 151) is transmitted first cmssmcmoN socwEra CLEARANCE LEVEL NON cm Fem-um! Numan/ Numb-l nzfinsncss nu DOCUMENT I DOCUMENT REFERENCES 13. APPENDIX F: CHANNEL FREQUENCIES FOR COMPACT READER Channel N“ Fre- uenc MHz 2448.00 2448.50 2448.75 2449.00 2449.25 2449.50 2449.75 9 2450.00 10 2450.25 11 2450.50 2450.75 13 2451.00 14 . 2451.25 15 2451.50 16 2451.75 17 2452.00 2452.25 2452.50 2452.75 21 2453 00 2453.25 2453.50 24 2445.50 25 2446.75 26 2447.00 27 2447.25 2447.50 2447.75 cmssmcmcu soclsra CLEARANCE LEVEL REFERENCES Du DDCUMENT/ mcuMEm REFERENCES cm. mem/ Numeral Number cm: om Tumor Indm/ Lulgue NON mum... we... 1 w... mm...“ L...,...,. m.
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.2 Linearized : Yes Create Date : 2001:05:22 10:04:06 Producer : Acrobat Distiller 4.0 for Windows Modify Date : 2001:05:22 10:04:07-04:00 Page Count : 52EXIF Metadata provided by EXIF.tools