background image

CHAPTER 3

1

Possible Responses

Series 2000 Reader System

ASCII Protocol

Reference Guide

11-06-21-052 May 

2000

Summary of Contents for Tiris 2000 Series

Page 1: ...CHAPTER 3 1 Possible Responses Series 2000 Reader System ASCII Protocol Reference Guide 11 06 21 052 May 2000 ...

Page 2: ... addition TI assumes no liability and is not responsible for infringement of patents and or any other intellectual or industrial property rights of third parties which may result from assistance provided by TI TI products are not designed intended authorized or warranted to be suitable for life support applications or any other life critical applications which could involve poten tial risk of deat...

Page 3: ...ca the Far East and Australia to provide direct engineering support For more information please contact your nearest TIRIS Sales and Application Center The contact addresses can be found on our home page http www tiris com WARNING A WARNING IS USED WHERE CARE MUST BE TAKEN OR A CERTAIN PROCEDURE MUST BE FOLLOWED IN ORDER TO PREVENT INJURY OR HARM TO YOUR HEALTH CAUTION This indicates information o...

Page 4: ...le Reading Responses 45 3 2 Possible Programming Responses in MPT Mode K1 46 List of Tables Page Table 1 General Commands 13 Table 2 Input Line Status 16 Table 3 Input Line Status 16 Table 4 Output Line Settings 17 Table 5 Port Specifier for H Command 19 Table 6 Logical Operation for H Command 19 Table 7 Port Value 19 Table 8 64 bit Transponder Commands 22 Table 9 Multipage Transponder Commands 30...

Page 5: ...s and how the different types of transponder used by TIRIS systems are identified Topic Page 1 1 Product Description 6 1 1 1 Microcomputer Reset 6 1 1 2 Transmit Function 6 1 2 Transponder Detection RO R W or MPT 6 1 3 Data Handling 7 1 3 1 Data Check 7 1 3 2 Data Buffer 7 1 3 3 Data Conversion 8 1 3 3 1 TIRIS Industrial Format 8 1 3 3 2 TIRIS Animal Format 8 1 4 Handshake Mode 10 ...

Page 6: ...AL LINE and GATE modes GATE mode is only possible in K0 the read function is continuously triggered by the reader or control unit The time between two readout cycles depends on the data processing time and the duty cycle pause While the RF Module is in the transmitting phase the red AC TIVE LED is activated 1 2 Transponder Detection RO R W or MPT The TIRIS readers and control modules are able to d...

Page 7: ...he serial interface only if it is different to the previously received transponder identification The comparison includes the transponder type RO R W or MPT read page if an MPT was read and the identification number For this purpose the last transponder information received is stored in an identifica tion data buffer located in the microcomputer RAM and each correctly received in formation togethe...

Page 8: ...pplication code 0000 to 4095 The least significant 52 bits of the identification number are con verted into a 16 digit decimal identification code 0000000000000000 to 4503599627370495 Indicator for an Industrial string in K0 Line mode LR 0127 4503599627370495TIRIS decimal output format ________ Identification Code _________________ Application Code _____________________ Indicator for a Industrial ...

Page 9: ...sponder ID is 1 For information about changing the output format to hexadecimal see section 2 3 2 FORMAT command Transponder num ber 2048 0274603029037288D e c O r 8000F9C0000000E 8H e x 1000 0000 0000 0000 1111 1001 1100 0000 0000 0000 0000 0000 0000 0000 0000 1110 1000 8 0 0 0 F 9 C 0 0 0 0 0 0 0 0 E 8 M SB LSB 1 00000000000000 0 111110011 00000000000000000000000000000011101000 1 Bit 14 Bits 1 B...

Page 10: ...r overflow Transmission of the ASCII character Xoff Xoff 19dec to the Reader interrupts the data flow but carries on reading until the internal transmission buffer is full at which time it disables the read function This option can be switched off during a configuration session Sending Xon Xon 17dec to the TIRIS reader terminates the Xoff state and returns the system to the function that it was in...

Page 11: ...rsion Command 14 2 3 2 FORMAT Command 14 2 3 3 CLEAR Command 15 2 3 4 READOUT BUFFER Command 15 2 3 5 I O STATUS Command 15 2 3 6 SET OUTPUTS Command 17 2 3 7 COMBINED Commands SET OUTPUT GET I O Status 18 2 3 8 SET CHARGE PERIOD Command 21 2 4 64 Bit Transponder K0 Mode 22 2 4 1 EXECUTE Command 22 2 4 2 GATE Mode 22 2 4 3 STORE Command 23 2 4 4 READ MEMORY Command 24 2 4 5 RAM FILL Command 24 2 4...

Page 12: ... 31 2 5 1 2 Execute Command with TX RX Multiplexer Support 32 2 5 2 LINE Function 35 2 5 2 1 Line Function 35 2 5 2 2 Line Function with TX RX Multiplexer Support 36 2 5 3 NORMAL Mode 38 2 5 4 PROGRAM Command 39 2 5 5 LOCK PAGE Command 40 2 5 6 ANTENNA Commands 41 2 5 6 1 ANTENNA 1 Mode 41 2 5 6 2 ANTENNA 2 Mode 42 2 5 6 3 TOGGLE Mode 42 ...

Page 13: ...s and R Ws Since both of these transponder groups need different protocols the TIRIS reader must be able to oper ate in two different modes 2 2 1 64 bit Transponder Mode or K0 Mode The commands and responses that can be used with 64 bit transponders in the K0 mode are described in section 2 4 2 2 2 Multipage Transponder Mode or K1 Mode The commands and their responses that can be used with multipa...

Page 14: ...ification following this command is done in hexadecimal format until the ESCAPE command is received It is now possible to set the hexadecimal format as the default format using the TIRIS Reader Manager The FORMAT command can be used in the same way for both TIRIS reader modes K0 and K1 Example Comment PC Reader F Initiates Format command Reader PC F CR LF All further identifications are transmitte...

Page 15: ...mment PC Reader B Initiates Readout Buffer command Reader PC B10M 01 0000 0000000000000001 CR LF Example no ID is buffered PC Reader B Reader PC B CR LF 2 3 5 I O STATUS Command The ASCII character J causes the TIRIS reader to transmit the current status of the four lower I O and the four higher I O lines The result of this function depends on the configuration of the I O port lines During the man...

Page 16: ...I O 3 Status of I O 2 Status of I O 1 Status of I O 0 0 0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 0 0 5 0 1 0 1 6 0 1 1 0 7 0 1 1 1 8 1 0 0 0 9 1 0 0 1 A 1 0 1 0 B 1 0 1 1 C 1 1 0 0 D 1 1 0 1 E 1 1 1 0 F 1 1 1 1 Table 3 Input Line Status Returned Character Status of I O 3 Status of I O 2 Status of I O 1 Status of I O 0 0 0 0 0 0 1 0 0 0 1 2 0 0 1 0 3 0 0 1 1 4 0 1 0 0 5 0 1 0 1 6 0 1 1 1 7 0 1 1...

Page 17: ...onfiguration In order for this command to function correctly a configuration that sets one of the I O groups to output is required This command reads the configuration information and sets the output level 0 or 1 of the I Os which are configured to outputs If both groups of I O lines are configured to output only I O lines 4 to 7 are set by the SET OUTPUTS command When both groups of I O lines are...

Page 18: ...der PC CR LF 2 3 7 COMBINED Commands SET OUTPUT GET I O Status This command combines and extends the I O STATUS command 2 3 5 and SET OUTPUTS command 2 3 6 Once the TIRIS reader has received the command character H it echoes it to the PC in order to indicate that the TIRIS reader is ready to receive further parameters specifying the operation to the I O ports 8 1 0 0 0 9 1 0 0 1 A 1 0 1 0 B 1 0 1 ...

Page 19: ...ogical operations to write to an output The port value is either written directly to the output or the port status is read and a logical operation is performed with the port value the result of this operation is written back to the port Table 7 shows the value or status of the specified port Table 5 Port Specifier for H Command Port Specifier ASCII Character Description 0 Open Collector Outputs 1 ...

Page 20: ...ming Open Collector outputs were previously set to OC0 0 and OC1 1 Reader PC H PC Reader O0400 Invert current output settings of the Open Col lector outputs They are now set to OC0 1 and OC1 0 Reader PC CR LF Example 3 Comment PC Reader H Assuming I O port lines 0 7 are configured to Output and previously set to A5 Reader PC H PC Reader O133F Set outputs 0 7 Logical operation XOR Prior output stat...

Page 21: ...set using the configuration utility software but the charge period can still be mod ified using this command If you try to set the charge period at less than 15 ms the current charge period will not be changed Example Comment PC Reader Z Reader PC Z PC Reader 20 Set charge period to 32 ms 20hex 32dec Reader PC CR LF Note The result of the logical operation depends on the configuration of the I O 0...

Page 22: ...095 4503599627370495 CR LF RO type correctly read XW 2095 3453577809046784 CR LF R W type correctly read X CR LF No read XI CR LF Invalid identification 2 4 2 GATE Mode In the GATE mode each correct identification number is compared with the identifi cations stored in the identification memory If the identification number is new it is then stored in the identification memory The ASCII character G ...

Page 23: ...s transmission of all stored identification numbers from the memory to the PC together with the memory location where the identification number is stored Each transmitted line consists of the transponder type character space the memory location space application code space identification code carriage return and line feed For hexadecimal format refer to the description of the FORMAT command earlie...

Page 24: ...0010 MPT 2 4 5 RAM FILL Command The PC can check the memory by filling it with a pattern and then reading the mem ory to see if this pattern is in each of the memory locations The ASCII character R and two ASCII characters in the range 0 to 9 and A to F which specify an 8 bit test pattern in hexadecimal format causes the identification memory locations to be loaded with this pattern All three char...

Page 25: ...the ASCII character N space the number of identifications stored in the memory in hexa decimal format carriage return and line feed via the interface Example PC Reader N Reader PC 909dec 38Dhex identifications stored N 38D CR LF 2 4 7 LINE Function The ASCII character L switches the TIRIS reader into a special continuous readout mode In this mode each correct identification causes the direct trans...

Page 26: ... E carriage return and line feed are returned by the TIRIS reader The NORMAL mode can be terminated by the commands EXECUTE LINE or GATE These commands are all described in this section Example Comment PC Reader Esc Esc 27dec Reader PC E CR LF R 4095 4503599627370495 CR LF RO type correctly read 2 4 9 PROGRAM Command In order to program a Read Write transponder the PC must first send the character...

Page 27: ...the higher power consumption of the transponder s IC during programming If the transponder is not sufficiently charged up the program ming will not take place Example Comment PC Reader P Reader PC P PC Reader FEDCBA9876543210 The hexadecimal number that must be pro grammed into the transponder Reader PC 0 CR LF Successful programming or 1 CR LF Received identification is different to transmit ted ...

Page 28: ...A 1 Mode The ASCII character U and the character 1 cause receive antenna 1 to be connected In this mode each correct identification read by antenna 1 is directly transferred to the PC Example Comment PC Reader U initiates Antenna mode command Reader PC U PC Reader 1 switch to antenna 1 Reader PC 1 CR LF 2 4 10 2 ANTENNA 2 Mode Switching to antenna 2 requires the command U2 instead of U1 Apart from...

Page 29: ...ding cycles are carried out compared to the AN TENNA 1 mode or ANTENNA 2 mode The protocol sent out by the reader corre sponds to the ANTENNA 1 mode 2 4 10 1 and ANTENNA 2 mode 2 4 10 2 Example Comment PC Reader U initiates Antenna mode command Reader PC U PC Reader 0 select antenna toggle mode Reader PC 0 CR LF Note When the reader is operating in the TOGGLE mode the response to the Programming c...

Page 30: ... followed by a character other than 1 MPT mode or 0 64 bit Transponder mode the TIRIS reader will ignore the entire command Both command characters will be separately echoed by the TIRIS reader The command acknowledgment is completed with the transmission of carriage re turn and line feed Example switching from 64 bit transponder functions to MPT functions PC Reader K Initiates Change mode command...

Page 31: ...E com mand If no valid identification number could be received the TIRIS reader transmits the an tenna number an optional 11 invalid carriage return with line feed If an MPT transponder was read the MULTIPAGE TRANSPONDER PROTOCOL that is antenna number status information the transponder type character M space transponder page read space application code space identification code carriage return an...

Page 32: ...sponses 2 5 1 2 Execute Command with TX RX Multiplexer Support If the character immediately following X is M the system is switched into the Trans mit Receive Multiplexer mode Following the M character four further parameters characters are required They specify in the order they are transmitted to the read er the number of Transmit Multiplex Antennas TX_Ant the number of Receive Multiplex Antenna...

Page 33: ...is selected then in series the RX antennas 1 2 3 or 4 then the next TX antenna is selected followed once again by the RX antennas Then the next TX antenna and so on Example Comment XM2407 Read page 7 of a multipage transponder us ing 2 TX and 4 RX antennas Sequence TX Antenna 1 Read page 7 RX Antenna 1 Page 7 ID RX Antenna 2 Page 7 ID RX Antenna 3 Page 7 ID RX Antenna 4 Page 7 ID TX Antenna 2 Read...

Page 34: ...onfiguration RX_Ant External RX Mux I O 6 I O 7 1 0 0 2 1 0 3 0 1 4 1 1 Table 11 Multiplexer I O Lines4 5 Configuration TX_Ant External RX Mux I O 4 I O 5 1 0 0 2 1 0 3 0 1 4 1 1 Read Status K1 Mode Current Protocol Protocol for TX RX Mux RO R W Trp Xrx iiii iiiiiiiiiiiiiiii Xtrx iiii iiiiiiiiiiiiiiii MPT Xrsx pp iiii iiiiiiiiiiiiiiii Xtrsx pp iiii iiiiiiiiiiiiiiii incomplete ID XrI XtrI no read X...

Page 35: ...directly to the interface without any buffer comparison In addition the ASCII character L the antenna num ber read status information only for MPT and the transponder type are trans mitted in front of each identification number If no identification is received or if the identification is not valid the ASCII character L together with the number of the con nected antenna and an optional I carriage r...

Page 36: ...x Antennas RX_Ant the page information to read a Multipage Transponder two digits most significant digit of the page first The range for TX_Ant and RX_Ant is 1 to 4 If the Multiplexer parameter are out of range the Line mode is executed with the default one Transmit Antenna and one Re ceive Antenna Examples 1 The command sequence L01 reads page 1 of a Multipage Transponder continuously without swi...

Page 37: ...uration RX_Ant External RX Mux I O 6 I O 7 1 0 0 2 1 0 3 0 1 4 1 1 Table 13 Multiplexer I O Lines4 5 Configuration TX_Ant External RX Mux I O 4 I O 5 1 0 0 2 1 0 3 0 1 4 1 1 Read Status K1 Mode Current Protocol Protocol for TX RX Mux RO R W Trp Lrx iiii iiiiiiiiiiiiiiii Ltrx iiii iiiiiiiiiiiiiiii MPT Lrsx pp iiii iiiiiiiiiiiiiiii Ltrsx pp iiii iiiiiiiiiiiiiiii incomplete ID LrI LtrI no read Lr Ltr...

Page 38: ...nto the NORMAL mode The ASCII character E carriage return and line feed are returned by the TIRIS reader in order to acknowl edge the PC command Each received identification that is different to the identification stored in the buffer will be transmitted to the PC If an MPT was read antenna number read status transponder type character M space page space application code space identification code ...

Page 39: ...eturn and line feed if no transponder protocol could be detected Programming distance is less than the reading distance this is because of the higher energy required by the transponder for programming This requires a better coupling between reader unit and transponder If the transponder is not charged sufficiently programming will not be carried out Example Comment PC Reader P Initiates Program co...

Page 40: ...d transpond er response could be detected by the TIRIS reader Status 1 read locked page in the Multipage transponder protocol provides you with information about a successful locking of the page Example Comment PC Reader O initiates Lock command Reader PC O PC Reader 05 page to be locked in hexadeci mal format Reader PC 11M 05 1074 4497462691794938 CR LF successful locking of page 05 displayed in ...

Page 41: ...it is assumed that the LINE mode section 2 5 2 is used 2 5 6 1 ANTENNA 1 Mode The ASCII character U and the character 1 cause receive antenna 1 to be connected In this mode each correct identification read by antenna 1 is directly transferred to the PC Example Comment PC Reader U initiates Antenna mode command Reader PC U PC Reader 1 switch to antenna 1 Reader PC 1 CR LF When the command is acknow...

Page 42: ...370495 L1I invalid read L1W 0000 0101010101010101 valid R W response 2 5 6 2 ANTENNA 2 Mode Switching to antenna 2 requires the command U2 instead of U1 Apart from the an tenna specifier antenna specifier 2 for antenna 2 the response format of the reader is exactly the same as described in 2 5 6 1 2 5 6 3 TOGGLE Mode The ASCII character U and the character 0 switch the reader into a special antenn...

Page 43: ...example shows the reader operating in the Toggle mode Reader PC L1W 4095 4503599627370495 valid R W response at antenna 1 L20M 05 1045 4000003215766690 valid MPT response at antenna 2 L1I invalid read at antenna 1 L20M 05 1045 4000003215766690 L1W 4095 4503599627370495 L2 no read at antenna 2 L1W 4095 4503599627370495 L20M 05 1045 4000003215766690 L1W 4095 4503599627370495 L20M 05 1045 40000032157...

Page 44: ...ribes the response format from the reader to the PC It consists of transponder type the requested transponder information as also a status information to the execution of the command Topic Page 3 1 Possible Reading Responses 45 3 2 Possible Programming Responses in MPT Mode K1 46 ...

Page 45: ... was correctly executed 1 reading of a locked page was correctly executed 2 the requested page and the received page were not equal 3 locking not reliable 4 locking not correctly executed 5 special data c transponder type M MPT R RO W R W d MPT only specifies the transponder page that was received after an attempt to read a certain page 01 to 17dec respectively 01 to 11hex e application number tha...

Page 46: ...ison between read and written data was O K 1 programming was executed but the comparison between read and written data was not equal 2 see 3 2 b 3 programming was disabled because the programming voltage was too low 4 programming was not executed because there was an attempt to program a locked page 5 page to be programmed is not available 6 programming not reliable 7 special data c transponder ty...

Reviews: