Texas Instruments Tiris 2000 Series Reference Manual
Texas Instruments Tiris 2000 Series Reference Manual

Texas Instruments Tiris 2000 Series Reference Manual

Ascii protocol
Hide thumbs Also See for Tiris 2000 Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Summary of Contents for Texas Instruments Tiris 2000 Series

  • Page 1 CHAPTER 3 Possible Responses Series 2000 Reader System ASCII Protocol Reference Guide 11-06-21-052 May 2000...
  • Page 2 TIRIS Series 2000 Readers (RI-STU-MBxA, RI-STU-251B), and the Series 2000 Control Module (RI-CTL-MBxA). Texas Instruments (TI) reserves the right to make changes to its products or services or to discontinue any product or service at any time without notice. TI provides cus- tomer assistance in various technical areas, but does not have full access to data concerning the use and applications of customer's products.
  • Page 3: Read This First

    PREFACE Read This First About This Guide This manual describes the ASCII protocol that can be used for communication be- tween the TIRIS Series 2000 readers (RI-STU-MBxA, RI-STU-251B) and Series 2000 control module (RI-CTL-MBxA) with RFM (we will refer to this as the reader from this point on) and a host system (we will refer to this as a PC from this point on).
  • Page 4: Table Of Contents

    ASCII Protocol - Reference Guide May ’00 Document Overview Page Chapter 1: Introduction ..........5 Product Description ................
  • Page 5 CHAPTER 1 Introduction Chapter 1: Introduction This chapter will introduce you to the ASCII protocol. It explains the environment in which the protocol is used, system modes, functions, and how the different types of transponder used by TIRIS systems are identified. Topic Page Product Description...................
  • Page 6: Product Description

    ASCII Protocol - Reference Guide May ’00 Product Description This is a simple protocol that you can use to send ASCII character commands to the reader. It is possible to use a standard terminal emulator program to send ASCII commands. The ASCII protocol can only be used with RS232 or RS422. 1.1.1 Microcomputer Reset TIRIS readers and control modules are equipped with a reset circuit which resets...
  • Page 7: Data Handling

    May ’00 Chapter 1. Introduction Data Handling 1.3.1 Data Check A data check is always performed on the data signal received from the transponder. Three different reading status are possible when attempting to read a transponder: - Identification correctly received - Invalid Identification - No Identification detected (no read) After addressing MPTs, however, the TIRIS reader sends out different protocols as...
  • Page 8: Tiris Industrial Format

    ASCII Protocol - Reference Guide May ’00 1.3.3 Data Conversion TIRIS Read Only transponders can be split into two groups with regard to their num- bering system. These two groups are Animal Code numbers (according to ISO 11784/11785) described in section 1.3.3.2 and Industrial (non-Animal) numbers de- scribed in section 1.3.3.1.
  • Page 9 May ’00 Chapter 1. Introduction 8 0 0 0 F 9 C 0 0 0 0 0 0 0 E 8 Tra n sp o n d er nu m b er: 2 0 4 8 0 2 7 4 6 0 3 0 2 9 0 3 7 2 8 8 H e x D e c F 9 C 0...
  • Page 10: Handshake Mode

    ASCII Protocol - Reference Guide May ’00 Handshake Mode Data transmission from the TIRIS reader can be influenced by an external device (computer or printer) using the X handshake mode to prevent a communication buffer overflow. Transmission of the ASCII character X = 19 ) to the Reader interrupts the data flow, but carries on reading until the internal transmission buffer...
  • Page 11: Chapter 2: Commands

    CHAPTER 2 Commands Chapter 2: Commands This chapter describes the commands that can be sent to the reader or control mod- ule from the controlling computer and the modes that the reader or control module can work in. Topic Page Introduction ....................
  • Page 12 ASCII Protocol - Reference Guide May ’00 Topic Page Multipage Transponder - K1 Mode ............30 2.5.1 EXECUTE Command................31 2.5.1.1 Execute Command..............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......
  • Page 13: Reader Mode Commands

    May ’00 Chapter 2. Commands Introduction If a PC is connected to the interface, the transmitted application and identification codes can be stored, converted to other formats, displayed on the PC monitor or transferred to other equipment. In addition the PC can control the operation of the TIRIS reader by sending special command characters to it.
  • Page 14: Version Command

    ASCII Protocol - Reference Guide May ’00 2.3.1 Version Command The ASCII character V induces the TIRIS reader to transmit the version number of the software followed by carriage return and line feed. Example: PC --> Reader: Reader --> PC: S2500 - REV 1.1x<CR><LF>...
  • Page 15: Clear Command

    May ’00 Chapter 2. Commands 2.3.3 CLEAR Command Regardless of the current transponder mode, the ASCII character C erases the iden- tification buffer used in NORMAL mode and sets the ID counter used in GATE mode to zero. When this task has been performed, the TIRIS reader sends back the ASCII character C, carriage return and line feed.
  • Page 16: Table 2: Input Line Status

    ASCII Protocol - Reference Guide May ’00 Table 2: Input Line Status Returned Status of Status of Status of Status of Character I/O 3 I/O 2 I/O 1 I/O 0 1 = Logical high, 0= Logical low The second character after J represents the status of the I/O lines 4 to 7. Table 3 shows the relationship between the character and the status of the lines: Table 3: Input Line Status Returned...
  • Page 17: Table 4: Output Line Settings

    May ’00 Chapter 2. Commands Example: Comment PC --> Reader: Command character Reader --> PC: Input lines: I/O 0 = 0 J2A<CR><LF> I/O 1 = 1 I/O 2 = 0 I/O 3 = 0 Output lines: I/O 4 = 0 I/O 5 = 1 I/O 6 = 0 I/O 7 = 1...
  • Page 18: Combined Commands - Set Output & Get I/O Status

    ASCII Protocol - Reference Guide May ’00 Table 4: Output Line Settings ASCII Status of Status of Status of Status of Character I/O 7 I/O 6 I/O 5 I/O 4 1 = Logical high, 0= Logical low Once the TIRIS reader has received the command character Y it echoes it to the PC in order to indicate that the TIRIS reader is ready to receive a parameter (range: 0 to F) specifying the logic output level.
  • Page 19: Table 5: Port Specifier For H Command

    May ’00 Chapter 2. Commands The following parameter (ASCII character) can either be: to specify get the status of input ports, followed by: port specifier in the range of 0...4 (Table 4 lists the ports specified) to specify that outputs are to be set, followed by port specifier in the range of 0...3 (Table 4 lists the ports specified) logical operation in the range of 0...4 (Table 5 describes the logical operations)
  • Page 20 ASCII Protocol - Reference Guide May ’00 Example 1 Comment PC --> Reader: Reader --> PC: PC --> Reader: Get Input status of port lines 0...3 Reader --> PC: Return Port status 0...3; in this example 03<CR><LF> I/O lines 0&1 of the I/O port 0...3 are set to 1 I/O lines 2&3 of the I/O port 0...3 are set to 0 Example 2 Comment...
  • Page 21: Set Charge Period Command

    May ’00 Chapter 2. Commands Reader --> PC: <CR><LF> Note: The result of the logical operation depends on the configuration of the I/O 0...7. The TIRIS reader is preconfigured to: I/O 0...3 INPUT I/O 4...7 OUTPUT all set to 1 This configuration can be changed, using the TIRIS Reader Manager.
  • Page 22: 64-Bit Transponder - K0 Mode

    ASCII Protocol - Reference Guide May ’00 64-Bit Transponder - K0 Mode The commands that can be used in the K0 mode for use with 64-bit transponders are described in this section (2.4.1 to 2.4.9) these commands are listed in Table 8. Table 8: 64-bit Transponder Commands Character Command...
  • Page 23: Store Command

    May ’00 Chapter 2. Commands When the identification is stored in location 909, the warning * MEMORY FULL, car- riage return and line feed are also transmitted to the PC. After the warning the GATE mode is still active but no more identifications are transmitted to the PC. When GATE mode is selected the K command is disabled as it is not possible to have GATE mode in Multipage transponder mode.
  • Page 24: Read Memory Command

    ASCII Protocol - Reference Guide May ’00 2.4.4 READ MEMORY Command The ASCII character ? causes the TIRIS reader to confirm the character ?. Entering the memory location (three characters are necessary) then causes the TIRIS reader to transmit space, the memory location, space, the 16 digit identification code, the transponder type information (the last two digits), carriage return and line feed.
  • Page 25: Number Command

    May ’00 Chapter 2. Commands Example: Comment PC --> Reader: (pattern = 01011010BIN = 5A RAM FILL command Reader --> PC: RAM FILL command confirmed PC --> Reader: First HEX character of 5A = 01011010 Reader --> PC: First HEX character confirmed PC -->...
  • Page 26: Normal Mode/Escape

    ASCII Protocol - Reference Guide May ’00 Example: PC --> Reader: Reader --> PC: LR 4095 4503599627370495<CR><LF> RO type correctly read LR 4095 4503599627370495<CR><LF> RO type correctly read Invalid identification LI<CR><LF> Invalid identification LI<CR><LF> LW 2095 3453577809046784<CR><LF> R/W type correctly read 2.4.8 NORMAL Mode/ESCAPE The NORMAL readout function provides a continuous readout of transponders at...
  • Page 27 May ’00 Chapter 2. Commands to the PC. The meaning of the status characters is: The transponder has been correctly programmed. The identification received from the transponder is different to the identification transmitted. The TIRIS reader did not receive any identification from the transponder for comparison.
  • Page 28: 10Antenna Commands

    ASCII Protocol - Reference Guide May ’00 2.4.10 ANTENNA Commands The ASCII character U and a subsequent character 0 to 2 enable you to address a specific receive only antenna to be used Note: This command is only applicable to the S2000 reader with RFM-104B. The following modes can be specified: 1 = ANTENNA 1 2 = ANTENNA 2...
  • Page 29: 2.4.10.3 Toggle Mode

    May ’00 Chapter 2. Commands 2.4.10.3 TOGGLE Mode The ASCII character U and the character 0 switch the reader into a special antenna toggle mode. In this mode, both receive antennas (antenna 1 and antenna 2) are used consecutively. Thus, two reading cycles are carried out compared to the AN- TENNA 1 mode or ANTENNA 2 mode.
  • Page 30: Multipage Transponder - K1 Mode

    ASCII Protocol - Reference Guide May ’00 Multipage Transponder - K1 Mode The commands that can be used in the K1 mode for use with MPTs are described in sections 2.5.1 to 2.5.5 these commands are: Table 9: Multipage Transponder Commands Character Command Section...
  • Page 31: Execute Command

    May ’00 Chapter 2. Commands PC --> Reader: Reader --> PC: Command acknowledgment 1 <CR><LF> When the command is acknowledged the TIRIS reader has been switched into the Multipage Transponder mode and is now ready to accept further command charac- ters as described in sections 2.5.1 to 2.5.5.
  • Page 32: Execute Command With Tx/Rx Multiplexer Support

    ASCII Protocol - Reference Guide May ’00 Example: Comment PC --> Reader: Initiates Execute - command Reader --> PC: PC --> Reader: Page information in hexadecimal format Reader --> PC: Only one of the following responses is possible: 10M 01 4095 4503599627370495<CR><LF> Correct MPT identification in decimal format 10M 01 FFFFFFFFFFFFFFFF<CR><LF>...
  • Page 33 May ’00 Chapter 2. Commands Examples: 1. The command sequence 'X01' reads page 1 of a Multipage Transponder without switching the TX/RX control outputs. 2. The command sequence 'XM4201' reads page 1 of a Multipage Transponder, switching the control output lines for a 4 Channel Transmit Multiplexer and a 2 Channel Receive Multiplexer.
  • Page 34: Table 10: Multiplexer I/O Lines 6 & 7 Configuration

    ASCII Protocol - Reference Guide May ’00 Table 10: Multiplexer I/O Lines 6 & 7 Configuration External RX Mux. RX_Ant I/O 6 I/O 7 The TX Multiplexer Channel is controlled with I/O line 4 and 5 according to the table below.
  • Page 35: Line Function

    May ’00 Chapter 2. Commands 2.5.2 LINE Function If the command L is immediately followed by a page number (in the range 01 to 11) the system continuously reads the specified page as described in section 2.5.2.1. If the command L is immediately followed by the letter M the system is switched into Multiplexer mode as described in section 2.5.2.2.
  • Page 36: Line Function With Tx/Rx Multiplexer Support

    ASCII Protocol - Reference Guide May ’00 Invalid identification L1I<CR><LF> Correct RO identification L1R 4095 4503599627370495<CR><LF> Correct RO identification L1R 4095 4503599627370495<CR><LF> No read L1<CR><LF> Invalid identification L1I<CR><LF> Invalid identification L1I<CR><LF> Correct R/W identification L1W 2095 2394293797780071<CR><LF> For further descriptions of possible command response formats see Chapter 3: "Pos- sible Reading Responses".
  • Page 37: Table 12: Multiplexer I/O Lines 6 & 7 Configuration

    May ’00 Chapter 2. Commands Table 12: Multiplexer I/O Lines 6 & 7 Configuration External RX Mux. RX_Ant I/O 6 I/O 7 The TX Multiplexer Channel is controlled with I/O line 4 and 5 according to the table below. Table 13: Multiplexer I/O Lines4 & 5 Configuration External RX Mux.
  • Page 38: Normal Mode

    ASCII Protocol - Reference Guide May ’00 2.5.3 NORMAL Mode The NORMAL readout function provides a continuous readout of a certain transpon- der page at high speed. The transmission of a page including its identification via the serial interface will only be carried out if it is not equal to the last received transponder type (RO, R/W and MPT), transponder page and identification.
  • Page 39: Program Command

    May ’00 Chapter 2. Commands 2.5.4 PROGRAM Command In order to program an MPT, the ASCII character P, two characters page information (01 to 11 ), and an additional 16 hexadecimal characters specifying the identifi- cation number to be programmed (written) into the specified page must be sent to the TIRIS reader.
  • Page 40: Lock Page Command

    ASCII Protocol - Reference Guide May ’00 2.5.5 LOCK PAGE Command The LOCK Page command enables you to make a certain page of an MPT inacces- sible to programming. ASCII character O initiates the LOCK page procedure. The TI- RIS reader echoes the character as an acknowledgment and is now ready to accept the page to be locked (01 to 11 ).
  • Page 41: Antenna Commands

    May ’00 Chapter 2. Commands 2.5.6 ANTENNA Commands The ASCII character U and a subsequent character 0 to 2 enable you to address a specific receive only antenna to be used. The following modes can be specified: Note: This command is only applicable to the S2000 reader with RFM-104B. 1 = ANTENNA 1 2 = ANTENNA 2 0 = TOGGLE MODE...
  • Page 42: Antenna 2 Mode

    ASCII Protocol - Reference Guide May ’00 Reader --> PC: PC --> Reader: read page 5 of an MPT Immediately after the ASCII command character L the antenna specifier, followed by the transponder type character (read status information if an MPT was read), is transferred to the PC.
  • Page 43 May ’00 Chapter 2. Commands Reader --> PC: PC --> Reader: select antenna toggle mode Reader --> PC: 0<CR><LF> When the command is acknowledged the reader has been switched into the ANTEN- NA TOGGLE mode and is now ready to accept a further command character. The following example shows the reader operating in the Toggle mode: Reader -->...
  • Page 44: Chapter 3: Possible Responses

    CHAPTER 3 Possible Responses Chapter 3: Possible Responses This chapter describes 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 Possible Reading Responses ..............
  • Page 45: Possible Reading Responses

    May ’00 Chapter 3. Possible Responses Possible Reading Responses This section illustrates the response formats sent out by transponders after an at- tempt to read a RO or R/W or to access a certain page of an MPT by a command represented by one of the characters X, L, Esc or O.
  • Page 46: Possible Programming Responses In Mpt Mode (K1)

    ASCII Protocol - Reference Guide May ’00 Possible Programming Responses in MPT Mode (K1) This section illustrates the response formats sent out by MPTs after an attempt is made to program it. a. A complete transponder protocol could be detected by the TIRIS reader Reader -->...

Table of Contents