hms827 manual 17-1298

56
OPERATOR’S MANUAL HMS827 Series Passive Reader/Writer Manual Revision 01, 10-01 Publication # 17-1298

Upload: kevin-rose

Post on 03-Oct-2014

351 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: HMS827 Manual 17-1298

OPERATOR’S MANUAL

HMS827 SeriesPassive

Reader/Writer

Manual Revision 01, 10-01Publication # 17-1298

Page 2: HMS827 Manual 17-1298

Escort Memory Systems Warranty

Escort Memory Systems warrants that all products of its own manufacture conform to Escort Memory Sys-tems specifications and are free from defects in material and workmanship when used under normal operat-ing conditions and within the service conditions for which they were furnished. The obligation of EscortMemory Systems hereunder shall expire one (1) year after delivery, unless otherwise specified, and is limitedto repairing, or at its option, replacing without charge, any such product which in Escort Memory System'ssole opinion proves to be defective within the scope of this Warranty. In the event Escort Memory Systems isnot able to repair or replace defective products or components within a reasonable time after receipt thereof,Buyers shall be credited for their value at the original purchase price. Escort Memory Systems must be noti-fied in writing of the defect or nonconformity within the warranty period and the affected product returned toEscort Memory Systems factory or to an authorized service center within thirty (30) days after discovery ofsuch defect or nonconformity. Shipment shall not be made without prior authorization by Escort MemorySystems.This is Escort Memory Systems' sole warranty with respect to the products delivered hereunder. No state-ment, representation, agreement or understanding oral or written, made by an agent, distributor, representa-tive, or employee of Escort Memory Systems which is not contained in this warranty, will be binding uponEscort Memory Systems, unless made in writing and executed by an authorized Escort Memory Systemsemployee. Escort Memory Systems makes no other warranty of any kind whatsoever, expressed or implied,and all implied warranties of merchantability and fitness for a particular use which exceed the aforestatedobligation are hereby disclaimed by Escort Memory Systems and excluded from this agreement. Under nocircumstances shall Escort Memory Systems be liable to Buyer, in contract or in tort, for any special, indirect,incidental, or consequential damages, expenses, losses or delay however caused.Equipment or parts which have been subject to abuse, misuse, accident, alteration, neglect, unauthorizedrepair or installation are not covered by warranty. Escort Memory Systems shall make the final determinationas to the existence and cause of any alleged defect. No liability is assumed for expendable items such aslamps and fuses. No warranty is made with respect to custom equipment or products produced to Buyer'sspecifications except as specifically stated in writing by Escort Memory Systems in the contract for such cus-tom equipment.This warranty is the only warranty made by Escort Memory Systems with respect to the goods deliveredhereunder, and may be modified or amended only by a written instrument signed by a duly authorized officerof Escort Memory Systems and accepted by the Buyer.Extended warranties of up to four years are available for purchase for most EMS products. Contact EMS oryour distributor for more information.This document contains proprietary information which is protected by copyright. All rights are reserved. Theinformation in this manual has been carefully checked and is believed to be accurate; however, no responsi-bility is assumed for possible inaccuracies or omissions. Specifications are subject to change without notice.

EMS©, Escort Memory Systems™ and the EMS © logo are registered trademarks of Escort Memory Sys-tems, a Datalogic Group Company. Other brand and product names mentioned are trademarks or registeredtrademarks of their respective holders.Escort Memory SystemsA Datalogic Group Company170 Technology CircleScotts Valley, CA 95066Telephone (831) 438-7000FAX (831) 438-5768 www.ems-rfid.comemail: [email protected]

Page 3: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer i

Chapter 1 Getting Started1.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Unpacking and Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.3 Organization of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Chapter 2 Mechanical Specifications2.1 Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32.2 RF Range and Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.3 HMS827 Antenna Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.3.1 Changing the HMS827 read head orientation . . . . . . . . . 92.3.2 Remote Antennas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

2.4 Mounting the HMS827 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122.4.1 Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

2.5 Conveyor Mounting the HMS827-04 . . . . . . . . . . . . . . . . . . . . . 132.6 Mounting HMS Tags to Metal . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Chapter 3 Power and Electrical Interface3.1 Terminal Screws. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

3.1.1 Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 163.2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.2.1 RS422/RS485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.2.2 RS232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

3.3 LED Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Chapter 4 Serial Communications

4.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.2 RS232 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.3 RS232 Serial Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.4 RS485/MUX32 Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4.1 Grounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214.4.2 Terminators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.5 DIP Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214.5.1 Switches S1-1 through S1-5 . . . . . . . . . . . . . . . . . . . . . 234.5.2 Switch S1-6 Conditional . . . . . . . . . . . . . . . . . . . . . . . . . 244.5.3 Switch S1-7- RS232 or RS485 Selection . . . . . . . . . . . . 244.5.4 Switch S1-8 - RS485 Bus Baud Rate . . . . . . . . . . . . . . 254.5.5 . . . . . . Switch S1-9 - 7 Second <Ctrl> D start up delay. 254.5.6 Switch S1-10 - Reserved for Future Use . . . . . . . . . . . . 25

Chapter 5 Configuration Menu5.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.2 Configuration Menu Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Chapter 6 RFID Interface6.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

6.1.1 Data Size Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . 316.1.2 MUX32 Command Format . . . . . . . . . . . . . . . . . . . . . . . 32

Table of Contents

Page 4: HMS827 Manual 17-1298

Table of Contents

ii HMS827 Series Passive Reader/Writer

6.1.3 Command Timeout Values . . . . . . . . . . . . . . . . . . . . . . 326.2 Basic Command Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . 33

6.2.1 Command 0 (00 Hex): Idle . . . . . . . . . . . . . . . . . . . . . . 336.2.2 Command 1 (01 Hex): Non-contiguous Read . . . . . . . . 336.2.3 Command 2 (02 Hex): Non-contiguous Write . . . . . . . . 346.2.4 Command 3 (03 Hex): Configure Non-contiguous Addresses 356.2.5 Command 4 (04 Hex): Fill Tag . . . . . . . . . . . . . . . . . . . 376.2.6 Command 5 (05 Hex): Block Read . . . . . . . . . . . . . . . . 376.2.7 Command 6 (06 Hex): Block Write . . . . . . . . . . . . . . . . 396.2.8 Command 7 (07H): Read Tag ID Number . . . . . . . . . . . 406.2.9 Command 8 (08 Hex): Tag Search . . . . . . . . . . . . . . . . 406.2.10 Command A (0A Hex): Change RS232 Baud Rate . . . . 416.2.11 Command B (0B Hex): RF Port Protected Block Write . 426.2.12 Command C (0C Hex): Initiate/Cancel Infinite Block Read 43

6.3 Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Appendix A Technical SpecificationsA.1 Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47A.2 Communication with Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47A.3 RF Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47A.4 Mechanical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47A.5 Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Appendix B Models & AccessoriesB.1 Available Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49B.2 Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

Appendix C ASCII Chart

Page 5: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer 1

1Getting Started

1.1 IntroductionEscort Memory Systems' passive read/write system is a complete family of field-proven read/write Radio Frequency Identification products. The system consists of reader/writers, antennas and controllers or bus interfaces, RF tags, and ancillary equipment. Tags can be attached to a product or its carrier and act as an electronic identifier, job sheet, portable database, or manifest. Tags are read and updated via an Escort Memory Systems Reader/Writer through any nonconductive material while moving or standing still.

The passive design of the HMS Read/Write system uses the RF field from the antenna to power the tag, eliminating the need for tag batteries. The HMS passive read/write system is designed to provide cost effective RFID data collection and control solutions to less demanding automation and material handling applications.

The HMS827 Series Reader/Writer uses a standard limit switch type enclosure to house the controller board. The HMS827 has an integrated antenna with vertical and horizontal read orientations. The HMS827-03 features an 18 mm tubular remote antenna at the end of a 1 meter cable. The HMS827-05 features a 30 mm tubular remote antenna at the end of a 1 meter cable. The HMS827-06 has a rectangular, 30 x 40 mm remote antenna at the end of a 1 meter cable. The HMS system uses the internationally recognized ISM frequency of 13.56 MHz to both power the tag, and to establish a radio link to transfer the information.

The HMS827 Reader/ Writer is a stand alone unit that communicates to the host over an RS232 point-to-point or RS485/MUX32 multidrop bus interface. The HMS standard program supports the well established ABx standard protocol and includes all the command functions for efficient serial and RFID communications.

The HMS-Series passive tags provide 736 bytes of re-programmable memory, and are specifically designed to work with the HMS800 Series Reader/Writers.

Page 6: HMS827 Manual 17-1298

Getting Started

2 HMS827 Series Passive Reader/Writer

1.2 Unpacking and InspectionUnpack the Reader/Writer and retain the original shipping carton and packing material in case any item has to be returned to Escort Memory Systems. Inspect each item carefully for evidence of damage. If any item appears to be damaged, notify your Escort Memory Systems representative immediately.

Check that all of the following items are present:• HMS827, HMS827-03, HMS827-04, HMS827-05 or HMS827-06

Passive Reader/Writer• Operator's Manual• Demonstration Program Diskette (DOS compatible)

1.3 Organization of this ManualThis manual presents in Chapters 2, 3, and 4 the essential information required for installing, connecting and powering the HMS827 Series. The following chapters explain the configuration and operation of the HMS827 Series Reader/Writer.

Page 7: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer 3

2Mechanical Specifications

2.1 DimensionsFigure 2-1 shows the dimensions and mounting hole locations for the HMS827 Reader/Writer.

Figure 2-1. HMS827 dimensions and mounting hole locations

Page 8: HMS827 Manual 17-1298

Mechanical Specifications

4 HMS827 Series Passive Reader/Writer

Figure 2-2 shows the overall dimensions of the HMS827-03 and HMS827-05 Reader/Writer with tubular remote antennas.

Figure 2-2. HMS827-05 and HMS827-03 dimensions

Page 9: HMS827 Manual 17-1298

Mechanical Specifications

HMS827 Series Passive Reader/Writer 5

Figure 2-3 shows the overall dimensions of the HMS827-06 Reader/Writer with remote antenna

Figure 2-3. HMS827-06 dimensions

Page 10: HMS827 Manual 17-1298

Mechanical Specifications

6 HMS827 Series Passive Reader/Writer

Figure 2-4 shows the mechanical dimensions for the HMS827-04. The Controller body dimensions and mounting holes are the same as shown for the other models.

Figure 2-4. HMS-04 antenna dimensions

Page 11: HMS827 Manual 17-1298

Mechanical Specifications

HMS827 Series Passive Reader/Writer 7

2.2 RF Range and OrientationThe following information should be considered when positioning the antenna of the reader/writer. The path of the tags through the RF field should be within the guaranteed reading/writing range unless sufficient site testing has been performed to assure consistent RF communications.

Figure 2-5. HMS827, -03, -06 reading range

Table 2-1: HMS827, -03, -06 to tag ranges

Model

Guaranteed Range(X, inches/mm)

Typical Range(Y, inches/mm)

Vert. Horiz. Vert. Horiz.

HMS108 .35/9 .31/8 .28/7 .39/10 .43/11 .39/10 .35/9 .47/12

HMS112 .55/14 .43/11 .39/10 .47/12 .67/17 .55/14 .47/12 .59/15

HMS125 .94/24 .79/20 .63/16 .87/22 1.18/30 .98/25 .79/20 1.06/27

HMS125HT .94/24 .79/20 .63/16 .87/22 1.18/30 .98/25 .79/20 1.06/27

HMS150 1.50/38 1.26/32 N/A N/A 1.89/48 1.57/40 N/A N/A

HMS150HT 1.50/38 1.26/32 N/A N/A 1.89/48 1.57/40 N/A N/A

Page 12: HMS827 Manual 17-1298

Mechanical Specifications

8 HMS827 Series Passive Reader/Writer

Table 2-2: HMS827-05 to tag ranges

Figure 2-6. HMS827-04 antenna range

Table 2-3: HMS827-04 to tag ranges

inches/mm HMS108 HMS108LT L002 HMS112 HMS125

(HT)HMS150 (HT)

Typical Range .39/10 0.35/9 0.55/14 1.06/27 1.57/40

Guaranteed Range .312/8 0.28/7.2 0.44/11.2 .848/21.6 1.416/36

inches/mm HMS125 (HT) HMS150 (HT)

Typical Range .71/18 1.57/40

Guaranteed Range .55/14 1.26/32

Field Length (Y) 11.50/292 11.50/292

Field Width (X) 3.14/80 3.14/80

Page 13: HMS827 Manual 17-1298

Mechanical Specifications

HMS827 Series Passive Reader/Writer 9

Figure 2-7 shows the preferred orientation of the tag to the reader/writer. Orientation for the HMS827-04 antenna is the same in relation to the reading surface of the -04 antenna.

Figure 2-7. HMS827 to Tag orientation

Figure 2-8 shows the dimensions and mounting holes for the HMS tags. For information on tag mounting spacers, see section 2.4 Mounting the HMS827 on page 2-12.

Figure 2-8. HMS Tag dimensions and mounting holes

2.3 HMS827 Antenna DirectionThe HMS827 Reader/Writer with integrated read head, has two possible antenna orientations; emitting from the face (horizontal) or emitting from the top (vertical). Your unit is set by the factory to be emitting from the horizontal location. To change the read head to vertical emitting you must remove the head and change a jumper position.

2.3.1 Changing the HMS827 read head orientationCAUTION:The following procedure exposes sensitive components to

inchesmm

Page 14: HMS827 Manual 17-1298

Mechanical Specifications

10 HMS827 Series Passive Reader/Writer

possible damage due to electrostatic discharge (ESD). Disconnect all power from the unit and take proper grounding precautions to eliminate potential ESD.

Begin by unfastening the four captive screws holding the read head to the controller block (see Figure 2-9).

Figure 2-9. Removing the read head

Page 15: HMS827 Manual 17-1298

Mechanical Specifications

HMS827 Series Passive Reader/Writer 11

Without disconnecting the cable, gently invert the read head to expose the jumpers on the bottom interior of the read head. Refer to Figure 2-10 for the correct jumper position for vertical operation.

Figure 2-10. Antenna orientation jumpers

NOTE: Do not disturb the trim pot settings. They are set at the factory to provide optimum performance.

After you have changed the jumper position, place the read head on the control block and fasten the four retaining screws.

Page 16: HMS827 Manual 17-1298

Mechanical Specifications

12 HMS827 Series Passive Reader/Writer

2.3.2 Remote AntennasThe remote antenna models of the HMS827 do not change orientation. However, there is a jumper in the read head that should not be removed. If the jumper is not present or has been moved, re-install the jumper as shown in Figure 2-11.

Figure 2-11. Re-installing the jumper for remote antenna models

2.4 Mounting the HMS827The range of the HMS Reader/Writers is affected by electromagnetic radiation and metal. Mount the reader/writer to minimize the impact of these factors. The RF field of the reader/writer can also cause errors when reader/writers are spaced too closely together. Do not position adjacent antennas closer than 6 inches center to center.

The remote antennas for the HMS827-03, HMS827-04, HMS827-05, and HMS827-06 have a cable length of 1 meter. The tubular antenna should be mounted through non-ferrous materials. Surrounding the antenna with metal will greatly reduce the reading range of the antenna. If mounted in metal, ensure that the face of the antenna extends at least 1 inch (25 mm) beyond any metal surface.

2.4.1 Guidelines• Isolate the reader/writer and antenna from electromagnetic

radiation.• Avoid surrounding reader/writer and remote antenna with metal.• Maintain at least 6 inches minimum spacing between adjacent

reader/writers or antennas.• Stay within the guaranteed range for the tag to be used.• Conform with EIA RS232 and RS485 standards. • Use a non-ferrous spacer when mounting tags to metal.

Page 17: HMS827 Manual 17-1298

Mechanical Specifications

HMS827 Series Passive Reader/Writer 13

2.5 Conveyor Mounting the HMS827-04Figure 2-12 shows important details for mounting the remote -04 antenna.

Figure 2-12. HMS827-04 conveyor mounting

Page 18: HMS827 Manual 17-1298

Mechanical Specifications

14 HMS827 Series Passive Reader/Writer

2.6 Mounting HMS Tags to MetalMounting HMS tags to metal can greatly impact the effective range of the tags. To maintain the best possible range, the tags should be mounted away from the metal surface using a non-ferrous spacer. Mounting kits are available from Escort Memory System as shown in Figure 2-13 and Table 2-4 below.

Figure 2-13. Mounting HMS tags with a spacer

Table 2-4: Tag spacer kits

Tag X Thickness Material QTY Screw Torque Part Number

HMS125 10mm 8mm Nylon 20 M3 Flat head 5 in.lbf 00-1116

HMS150 15mm 10mm Nylon 20 M3 Flat head 6 in. lbf 00-1117

HMS125HT 10mm 8mm Teflon 10 M3 Flat head 5 in.lbf 00-1118

HMS150HT 15mm 10mm Teflon 10 M3 Flat head 6 in. lbf 00-1119

Page 19: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer 15

3Power and Electrical Interface

3.1 Terminal ScrewsPower and serial communications connections for the HMS827 are made at terminals screws located on the interface block of the HMS827 enclosure. Your cable should be wired to these terminals according to the pinouts given in Table 3-1 and shown in Figure 3-1

.

Figure 3-1. HMS827 terminal screws

Table 3-1: HMS827 terminal connections

HMS827 Terminal Description RS232

Host, DE9RS232 Host, DB25

MUX32 Master

1 RS485+ N/C N/C RS485+

2 RS485-/RS232 RX DE9 pin 3 DB25 pin 2 RS485-

3 18-30 VDC N/C N/C V+

4 RS232 TX DE9 pin 2 DB25 pin 3 N/C

5 Signal Ground, V- DE9 pin 5 DB25 pin 7 Signal Ground, V-

NOTES: Signal names referenced to host com port.Use shielded cable only. Connect shield drain at one end only, preferably at the host or power supply end.Recommended cable for RS485 is belden 3107A or 3108A or compatible.Recommended cable for RS232 is belden 9939 or 9941 or compatible.RS485 requires 120 ohm termination resistors (refer to page 20).

Page 20: HMS827 Manual 17-1298

Power and Electrical Interface

16 HMS827 Series Passive Reader/Writer

NOTE: To fully comply with FCC regulations Part 2, you should attach a ferrite clamp (such a Fair-Rite P/N 0443167251) around the power and communication cables as close to the cord grip as possible

CAUTION:Do not bundle communications wiring with high current power lines. This will cause communications errors.

3.1.1 Power RequirementsThe reader/writer operates at 18~30 VDC. A suitable power supply should deliver a minimum of 160 mA of current @ 24VDC (3.84W) to each unit.

3.2 WiringTo connect your cable to the HMS827 Interface Block:1. Remove the head with attached antenna by loosening the four

captive screws. 2. Loosen the two captive screws in the interface block and separate

the two parts as shown in Figure 3-2.3. Loosen the cord grip, feed the cable through the cord grip and

attach the wires to the terminal screws shown in Figure 3-1. Tighten the cord grip to seal the cable. Note that you must use a cable of sufficient diameter to properly seal with the cord grip. The recommended minimum O.D. is .125 inches (3.2 mm). A dual cable grip is also supplied for linking unit in a multidrop application.

Page 21: HMS827 Manual 17-1298

Power and Electrical Interface

HMS827 Series Passive Reader/Writer 17

4. Re-assemble the enclosure and secure the screws.

Figure 3-2. HMS827 disassembly

3.2.1 RS422/RS485Recommended cable for RS485 and RS422 is Belden 3082A (thick) or 3084A (thin). Information on Belden cables can be found at their Web site: www.belden.com.

3.2.2 RS232Recommended cable for RS232 is Belden 9941.

Page 22: HMS827 Manual 17-1298

Power and Electrical Interface

18 HMS827 Series Passive Reader/Writer

3.3 LED IndicatorThe HMS827 has one bi-color LED indicating power on and activity on the serial port. Table 3-2 shows the LED activity and meaning.

Table 3-2: HMS827 LED indicator

LED Action HMS81x state Description

Slow RED flash Power-up or reset The LED will flash RED slowly for four seconds following power-up or reset during which the user may send a <control D> to enter configuration mode.

Fast RED flash Configuration mode If the HMS827 receives a <control D> during the four second period, the LED will flash at a faster rate until configuration mode has been exited by sending a "G" or resetting the unit.

Steady GREEN Idle A steady GREEN LED indicates that the four second period has elapsed without entering the configuration mode or that configuration has been completed and the unit is ready for operation.

Short RED flash Executing Command While the reader/writer is occupied with a command the LED will switch to RED. The LED indicator will alternate between GREEN and RED during normal operation.

RED and GREEN Executing Infinite Block Read

Both LEDs will be on until the reader/writer can either complete a Block Read or until it receives a cancel command.

Page 23: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer 19

4Serial Communications

4.1 OverviewThe HMS827 offers either RS232 or RS485 communications. Normally, the RS232 interface is used to program and test the device but can also be used as a point-to-point serial connection. The RS485 option provides the potential for a MUX32 network of up to 32 reader/writers linked through a bus master such as the MM80 MicroMux. Network parameters, such as bus addresses and baud rate, are set by DIP switches located inside the reader/writer or by the configuration program accessed over the RS232 port.

CAUTION:Do not bundle communications wiring with high current power lines. This will cause communications errors.

4.2 RS232 InterfaceThe HMS827 is set by the factory to initially communicate via RS485 however, during the first four seconds after power-on the device will respond to commands from the RS232 lines. This allows you to enter the configuration program by entering a <control D> after power-on. If no commands are received by the reader/writer during the four seconds, the reader/writer will continue according to the position of DIP switch 7 on S1. For more information on the Configuration Menu refer to Chapter 5.

To communicate with the device via RS232, set the serial communications parameters of the host as follows:

Baud rate 9600Parity noneData bits 8Stop bit 1

NOTE: The reader/writer automatically resets to 9600, N, 8,1 for seven seconds whenever the power is cycled, after which it will apply the setting made in the configuration menu.

4.3 RS232 Serial ConnectionsThe connections for the RS232 interface are RS232 TX (data from the HMS827), RS232 RX (data to the HMS827), and Ground.

Page 24: HMS827 Manual 17-1298

Serial Communications

20 HMS827 Series Passive Reader/Writer

The signals and electrical loads from the RS232 TX and RS232 RX pins should conform to the electrical specifications of EIA Standard RS232. The maximum cable length specified under this standard is 50 feet. High quality shielded cable should be used for these connections.

Table 4-1 gives the connections required to establish RS232 communications between the reader/writer and an RS232 host.

4.4 RS485/MUX32 Serial InterfaceWhen using the RS485 bus and an Escort Memory Systems' MUX32 host or master, up to 32 HMS827s can be connected on a single bus. The RS485 bus uses the MUX32 protocol found in most Escort Memory Systems equipment. The bus can operate at two speeds determined by a DIP switch setting as described in Section 4.5. The bus address for each reader/writer is also set using DIP switch positions.

To use a MicroMux master with your HMS827, you must download the "HMS.HEX" program located on the disk supplied with the MicoMux into the MicroMux memory. Follow the instructions in your MicroMux Operator's Manual to configure and use the MicroMux master.

Escort Memory Systems interfaces with built-in MUX32 protocol have special HMS commands. Please refer to the interface documentation for more information.

The signals and electrical loads on the RS485 pins, as well as the characteristics of the shielded twisted pair cable must conform to the electrical specification of EIA Standard RS485. The maximum recommended length of the RS485 connection is 4,000 feet. The length of drops from the bus must not exceed six feet. Use quality cable with adequate gauge for these connections.

Table 4-1: Serial/power connector pinouts

Terminal Function

1 RS485+

2 RS485-/RS232 RX

3 24 VDC+/- 10%

4 RS232 TX

5 Power and Signal Ground

Page 25: HMS827 Manual 17-1298

Serial Communications

HMS827 Series Passive Reader/Writer 21

4.4.1 GroundingTo avoid damage and loss of communications to devices due to voltage fluctuations between grounding points, make sure that there is only one grounding point per RS485 network.

4.4.2 TerminatorsThe RS485 bus must be terminated with resistors that match the characteristic impedance of the cable. If for example, the bus cable has a nominal impedance of 120 ohm, then a 120 ohm resistor should be used at each end of the bus between the RS485+ and RS485- lines. The resistors will eliminate positive and negative overshoot caused by reflections at the end of the bus.

Polling and data sent over the network will also be output on the RS232 lines since the transmit lines for the RS232 and RS485 are tied together.

4.5 DIP SwitchesThere are ten DIP switches inside the HMS827 enclosure. They control the bus address of the device, the speed of the bus communications, whether RS232 or RS485 communications are active and if the HMS827 should wait 7 seconds for <Ctrl> D or begin running immediately at power up. To manually set these parameters you must open the reader/writer to expose the DIP switches.

Page 26: HMS827 Manual 17-1298

Serial Communications

22 HMS827 Series Passive Reader/Writer

To expose the DIP switches, disconnect the reader/writer from power and remove the two captive screws holding the cover to connector backplate. The DIP switches are located at the bottom of the device as shown in Figure 4-1.

Figure 4-1. DIP Switch location

All DIP switches are set to the ON position at the factory.

While all switches are in the ON position, changes made through the configuration program will be effective. Changing any of the switches to the OFF position will override settings made through the configuration program for those variables. RS232 variables not set by the DIP switches can still be modified by the configuration program. See Chapter 5, page 26, for more information on the configuration program and serial variables.

Figure 4-2 shows the DIP switches and the OFF/ON positions. The HMS827 is shipped with all the switches set to the ON position.

Figure 4-2. DIP switch positions

Page 27: HMS827 Manual 17-1298

Serial Communications

HMS827 Series Passive Reader/Writer 23

Table 4-2 describes the function of each switch.

4.5.1 Switches S1-1 through S1-5MUX32 Bus Address Selection

Each slave on the multidrop bus must have a unique address. These switches determine the address of the device according to the binary value for the desired address 0-31.Table 4-3: MUX32 DIP switch Settings

Table 4-2: DIP switch functions

Switch Number Description

1 Multidrop Address, bit 0

2 Multidrop Address, bit 1

3 Multidrop Address, bit 2

4 Multidrop Address, bit 3

5 Multidrop Address, bit 4

6 Conditional - See switch description

7 Select serial communicationsON — RS485/MUX32 communicationsOFF — RS232 Communications

8 Select MUX32 bus speed ON — High (19200 or 346K)OFF — Low (9600)

9 ON - Wait 7 seconds for <Ctrl> D when reset or at power up.OFF- Do not wait for <Ctrl> D, pwr up straight into operation

10 Resevered for future use. Must be in ON position

All switches ON = Options configured through the configuration menu.Any switch OFF = Options set by switch settings.

MUX32 Address Switch Setting

SW1 SW2 SW3 SW4 SW5

ON ON ON ON ON MUX32 Addr.0

ON ON ON ON MUX32 Addr.1

ON ON ON ON MUX32 Addr.2

ON ON ON MUX32 Addr.3

ON ON ON ON MUX32 Addr.4

ON ON ON MUX32 Addr.5

ON ON ON MUX32 Addr.6

Page 28: HMS827 Manual 17-1298

Serial Communications

24 HMS827 Series Passive Reader/Writer

4.5.2 Switch S1-6 ConditionalWhen the HMS827 configuration is set by the software configuration menu, S1-6 must be set to the ON position. When the HMS827 is set for high speed MUX32 mode AND is set to slave address 0, S1-6 must be set in the OFF position.

All other configurations do not use S1-6 and it does not matter which position S1-6 is set to

4.5.3 Switch S1-7- RS232 or RS485 SelectionThe setting of this switch will determine the serial interface used after the 4 second period of RS232 interface that follows power-on.

ON ON MUX32 Addr.7

ON ON ON ON MUX32 Addr.8

ON ON ON MUX32 Addr.9

ON ON ON MUX32 Addr.10

ON ON MUX32 Addr.11

ON ON ON MUX32 Addr.12

ON ON MUX32 Addr.13

ON ON MUX32 Addr.14

ON MUX32 Addr.15

ON ON ON ON MUX32 Addr.16

ON ON ON MUX32 Addr.17

ON ON ON MUX32 Addr.18

ON ON MUX32 Addr.19

ON ON ON MUX32 Addr.20

ON ON MUX32 Addr.21

ON ON MUX32 Addr.22

ON MUX32 Addr.23

ON ON ON MUX32 Addr.24

ON ON MUX32 Addr.25

ON ON MUX32 Addr.26

ON MUX32 Addr.27

ON ON MUX32 Addr.28

ON MUX32 Addr.29

ON MUX32 Addr.30

MUX32 Addr.31

MUX32 Address Switch Setting

SW1 SW2 SW3 SW4 SW5

Page 29: HMS827 Manual 17-1298

Serial Communications

HMS827 Series Passive Reader/Writer 25

4.5.4 Switch S1-8 - RS485 Bus Baud RateThe bus can operate at either low rate of 9600, or one of two high rates, 19200 or 346K baud. The HMS827 and MicroMuxes support the high baud rates. If a Datalogic bar code MUX32 device is to be included in the bus, the baud rate must be set at the slower speed.

4.5.5 Switch S1-9 - 7 Second <Ctrl> D start up delay.Switch 9 is examined during reset. If switch 9 is in the default ON position, then the HMS827 waits 7 seconds for a <Ctrl> D. If switch 9 is in the OFF position, then the configuration menu is not displayed and the HMS827 goes immediately into operating mode.

4.5.6 Switch S1-10 - Reserved for Future UseThis switch is reserved for future use and must be in the ON position for the HMS827 to function properly.

Switch Settings Examples

The following are some example DIP switch settings and their effect. Remember that switch 1 is the LSB and switch 5 is the MSB in regards to the MUX32 address setting

Switch Settings Description

The reader/writer is set to communicate in RS232 mode. RS232 serial parameters are then set via the configuration program.

The reader/writer is set to communicate over the RS485/MUX32 bus at the higher baud rate. It has been set to be recognized as slave number 26.

The reader/writer is set to communicate over the RS485/MUX32 bus at the lower baud rate. It has been set to be recognized as slave number 27.

Page 30: HMS827 Manual 17-1298

Serial Communications

26 HMS827 Series Passive Reader/Writer

Page 31: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer 27

5Configuration Menu

5.1 IntroductionThe HMS827 contains a configuration program in EEPROM memory for defining the RS485 bus parameters and RS232 data format and protocol. After the reader/writer has been powered, it pauses for seven seconds in RS232 mode waiting for the command to enter the configuration program. The RS232 communications parameters during this seven second period will always be:

9600 baud 8 data bitsNo Parity 1 stop bit

Using a terminal emulation program to send a <control D> within this four second period will initialize the Configuration Menu. If no <control D> is received, the HMS827 will go "online" with the previously user defined settings and/or those defined by the switch settings.

The Configuration Menu will display the current state of the operating parameters. To change a parameter, type the character in the associated word that is capitalized. For example to change the baud rate, type "b" to scroll through the possible values. Typing <control F> will reset the reader/writer and restore the default values. Typing a <control G> will launch the HMS827 program with the new user defined settings. If RS232 parameters have been changed in the configuration menu, the terminal emulation will need to match the new settings of the HMS827.

NOTE: Switches 1 through 8 must be set in the ON position. If any of the DIP switches are set to the OFF position, changes made in the software configuration menu will not be recognized.

Using the EC Program

The terminal emulation program, EC.EXE, is provided for communication to the HMS827. Unlike many other terminal emulation programs, EC.EXE provides for binary data transfer in hex-based format which is required if commands are to be sent to the HMS827 via the terminal emulation program.

Table 5-1 shows the Configuration Menu format and indicates the default values when appropriate.

Table 5-1: Configuration menu

HMS827 Default Available Parameters (* = defaults)

nOde 0 0* -31

Page 32: HMS827 Manual 17-1298

Configuration Menu

28 HMS827 Series Passive Reader/Writer

5.2 Configuration Menu OptionsnOde

Typing "O" will scroll through the possible multidrop addresses, 0-31. Dip switches must be set to the ON position for the Configurations Program settings to take effect.

Interface

Typing "I" will toggle the serial interface between RS232 and RS485.

bus Rate

Typing "R" will toggle between the two bus speeds, 9600 and 346K.

Baudrate*

Typing "B" will scroll through the available baud rate values for the RS232 interface. The default is 9600.

Parity*

Typing "P" will scroll the parity choice for the RS232 interface of Even, Odd or None.

Interface RS232 RS232* or RS485

bus Rate 9600 9600* or 346K

Baudrate 9600 1200,2400, 4800, 9600*, 19200, 38400, 57600, 115200

Parity N Even, Odd or None*

Stop bit 1 1* or 2

floW control none none* or XON/XOFF

bAnner N Display the power on message, Yes or No*

End protected none none* or length of protected field in number of bytes

Disable protected Type D to remove protected field. This option will appear only if you have previously defined a protected field.

deFaults Restore default values

Go online Start application program

^D for menu Type a <control D> to get a “-” prompt for entering parameters.

Table 5-1: Configuration menu

HMS827 Default Available Parameters (* = defaults)

Page 33: HMS827 Manual 17-1298

Configuration Menu

HMS827 Series Passive Reader/Writer 29

Stop bits*

Typing "S" will toggle the stop bits between 1 and 2.

floW control*

Typing "W" will toggle the flow control between none and XON/XOFF.

Banner

Typing "B" will toggle the display of the power-on message on or off. The default setting is to NOT display the power-on message. If the power on message is turned off the reader/writer may seem to be not functioning.

End protected

This option allows you to define a range of tag addresses, starting at byte 0, that can only be written to using the "Protected Block Write" command. To define a protected field, enter "E" for each byte of the protected region. The menu will update its display with the new ending address after each "E."

Disable protected

If you have previously defined a protected tag field this option will appear in the configuration menu. By typing "D" you will disable the protected field.

deFaults

Typing "F will restore the default settings

Go online

Typing "G" will start the resident program with the current parameter settings.

*These parameters are not affected by any DIP switch settings and can only be modified through the configuration program.

Page 34: HMS827 Manual 17-1298

Configuration Menu

30 HMS827 Series Passive Reader/Writer

Page 35: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer 31

6RFID Interface

6.1 IntroductionThe HMS827 features a standard program to perform the reading/writing transfer of data between the tag and the host. The standard program is based on the established ABx protocol. Table 6-1 lists the commands available in the standard program.

The Reader/Writer stores incoming bytes in a buffer which it scans for a start character (AA Hex). When a start character is found, it will check for the terminating character (FFFF Hex). Having identified a potentially valid command string, the standard program will check the format of the data and either perform the requested function or generate an error message.

6.1.1 Data Size LimitationsThe amount of data you can transfer with a single command is limited to 100 bytes. Since the HMS tag has 736 bytes of memory, you may need to issue several commands to complete a desired read or write.

Due to communications overhead in the MUX32 protocol, the data size for reads is reduced from 100 bytes to no more than 60 bytes, and block writes are limited to no more than 55 bytes.

Table 6-1: Command set listing

Command Hex Equivalent Command Name

00 Hex Idle (do nothing)

01 Hex Non-contiguous Read

02 Hex Non-contiguous Write

03 Hex Configure Non-contiguous addresses

04 Hex Fill Tag

05 Hex Block Read

06 Hex Block Write

08 Hex Tag Search

0A Hex Change Baud Rate

0B Hex RF Port Protected Block write

0C Hex Initiate/Cancel Infinite Block Read

Page 36: HMS827 Manual 17-1298

RFID Interface

32 HMS827 Series Passive Reader/Writer

6.1.2 MUX32 Command FormatThe commands given in the following sections are shown as they would be formatted over RS232 communications. Commands sent over a MUX32 bus may have additional bytes containing the MUX32 command header (AA) and a MUX32 slave address. Please refer to your MUX32 master or host documentation for additional information on HMS commands.

6.1.3 Command Timeout ValuesMost commands sent to the HMS Reader/Writer contain a timeout value field. This is the maximum number of milliseconds that a command will be attempted. If a command is not successfully completed within this time interval, a tag search error (08) will be returned. When a command is successfully completed, the appropriate command response will be returned to the host. This will happen in less time than the timeout period. Specifying a long timeout will not necessarily affect the time required to complete a command, but merely instructs the HMS827 how long to attempt the command before aborting. The timeout is executed only if the command can not be successfully executed. For example, when the tag is not currently within the RF field.

Using a zero timeout value instructs the HMS827 not to timeout. Using a zero timeout value will put the HMS827 into a state that cannot be exited from unless the command is completed successfully. If the command can not be successfully completed, the unit must reset by cycling power.

CAUTION:During write commands, the tag must remain in the field until either the command completes successfully, or the timeout period has expired. If a write command is initiated with a tag in the antenna's active field and then the tag leaves the field before the command has completed or times out, data may be lost or corrupted. Use the longest timeout value permitted by the application.

For applications where the tag positioning may not be controlled and the tag movement cannot be limited to the antenna field, longer timeouts and retries should be utilized in the application program. This will ensure the highest success rates.

If an application demands the tag to travel at high speeds and retries can not be utilized, it may be required to synchronize the tag travel speed with the command timeouts. Use of a presence sensors or other means may be required to ensure that the Reader/Writer cannot timeout while the tag is passing by the Reader/Writer.

Page 37: HMS827 Manual 17-1298

RFID Interface

HMS827 Series Passive Reader/Writer 33

Read applications requiring a tag travel rate of 500 feet per second have been successfully implemented; however, many factors need to be considered for high speed applications such as; address range, command type, tag and antenna models, and the installation environment. Please contact Escort Memory Systems' application support team for help with your application.

6.2 Basic Command Descriptions6.2.1 Command 0 (00 Hex): Idle

DESCRIPTION

Sets the command byte in the buffer to 0.

DISCUSSION

When a data transfer has been completed or when RF operations are not needed, the command byte may be set to zero, but this is not required. Alternatively, the new command can overwrite the old command values. Unlike other commands, the reader/writer will not respond to the idle command.

EXAMPLE

Sets the command byte in the buffer to 0.

6.2.2 Command 1 (01 Hex): Non-contiguous ReadDESCRIPTION

Directs the reader/writer to perform a Read of non-contiguous data addresses in an RFID tag.

DISCUSSION

This command is designed to perform non-contiguous address reads from an RFID tag. The data collected from the tag is sent to the Host. If the reader/writer fails to establish communications with a tag an error will be returned. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH. Before a non-contiguous read command can be performed, the addresses must be preconfigured through the use of the configuration command (Command 3). The

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 00H Perform Command 0 No response

FFH FFH Message Terminator

Page 38: HMS827 Manual 17-1298

RFID Interface

34 HMS827 Series Passive Reader/Writer

data will be read in the same sequence as the addresses are originally stored. The data read from the tag is returned in the LSB of the register and the MSB is always 00H.

EXAMPLE

The following example illustrates a non-contiguous read command issued after the addresses are preconfigured using the example presented with the configuration command (Command 3). It directs the antenna to read and return the data at addresses 0005H, 0100H, 0101H, 0150H, and 02ABH of the tag memory. A timeout of 2 seconds (070DH = 2000 x 1ms increments) is set for the completion of the read.

6.2.3 Command 2 (02 Hex): Non-contiguous WriteDESCRIPTION

Directs the reader/writer to perform a Write to non-contiguous data addresses in an RFID tag.

DISCUSSION

This command is designed to perform non-contiguous address writes to an RFID tag. If the reader/writer fails to establish communications with a tag an error will be returned. Before a non-contiguous write command can be performed, the addresses must be pre-configured using the configuration command (Command 3).

This command has the same control structure as the non-contiguous read command, except the command number is followed by the data to be written into the preconfigured addresses on the RFID tag. Since all data is stored in 8-bit data format, the MSB of each data word are set to 00H. Data to be stored is always placed in the LSB of the data word.

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 01H Perform Command 1 AAH 01H Command Echo

07H D0H Timeout value 00H 10H Data read at Address 0005H

FFH FFH Message Terminator 00H 11H Data read at Address 0100H

00H AAH Data read at Address 0101H

00H BAH Data read at Address 0150H

00H 32H Data read at Address 02ABH

FFH FFH Message Terminator

Page 39: HMS827 Manual 17-1298

RFID Interface

HMS827 Series Passive Reader/Writer 35

The data must be written in the same sequence as when configured using the configure command. If the amount of data written by this command does not match the amount of data previously configured, an error response will be received.

The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH. If the operation is not completed within the time permitted by the timeout value, the command will return an error. When the timeout is 00H, the Reader/Writer will attempt to complete the command indefinitely.

EXAMPLE

The following example illustrates a non-contiguous write command issued after the addresses are preconfigured using the example presented with the configuration command (Command 3). It directs the antenna to write 44H to address 002AH and 67H to address 0102H.A timeout of 2 seconds (70D0H) is set for the completion of the write.

6.2.4 Command 3 (03 Hex): Configure Non-contiguous AddressesDESCRIPTION

Sets up all non-contiguous Read/Write data addresses in the RFID tag. Must be performed before Commands 1 or 2, or an error will occur.

DISCUSSION

This command configures the addresses to be accessed on the RFID tag when either a Non-contiguous Read (Command 1) or Non-contiguous Write (Command 2) is directed from the host. No tag or antenna communications are initiated by using this command. A Read Address Terminator, FFF0H, and a Write Address Terminator, FFF1H, are always required, regardless of whether or not both reads and writes are being configured. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH.

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 02H Perform Command 2 AAH 02H Command Echo

07H D0H Timeout value FFH FFH Message Terminator

00H 44H Write 44H to Address 002AH

00H 67H Write 67H to Address 0102H

FFH FFH Message Terminator

Page 40: HMS827 Manual 17-1298

RFID Interface

36 HMS827 Series Passive Reader/Writer

After the configure command is executed, any sequence of non-contiguous read or write commands can subsequently be executed. When using the Non-contiguous Write command, data must be presented in the same sequence as configured. Likewise, the read command returns data in the same sequence as configured.

The Configure Non-Contiguous R/W Addresses Command is limited to 16 read and 16 write block definitions, for a total of 32 definitions.

No other commands can be processed between a configure command and a read or a write command.

Multiple reads and writes can follow a configuration command and multiple configuration commands (followed by read/write commands), can be used to complete the desired operation.

Note: A tag address (start address + length) above 735 will wrap to an address starting at 0. Reading or writing to address 740 will read or write to address 4. Tag address 736 is address 0.

EXAMPLE

Configures the Non-contiguous Read command for the antenna to read at addresses 0005H, 0100H, 0101H, 0150H and 02ABH, and the Non-contiguous Write command to write at addresses 002AH and 0102H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the configuration.

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 03H Perform Command 3 AAH 03H Command Echo

07H D0H Timeout value FFH FFH Message Terminator

00H 05H Read Address 1 = 0005H

01H 00H Read Address 2 = 0100H

01H 01H Read Address 2 = 0101H

01H 50H Read Address 2 = 0150H

02H ABH Read Address 2 = 02ABH

FFH F0H Read Address Terminator

00H 2AH Write Address 1 = 002AH

01H 02H Read Address 2 = 0102H

FFH F1H Write Address Terminator

FFH FFH Message Terminator

Page 41: HMS827 Manual 17-1298

RFID Interface

HMS827 Series Passive Reader/Writer 37

6.2.5 Command 4 (04 Hex): Fill TagDESCRIPTION

Fill an RFID tag with a one-byte value over multiple contiguous addresses.

DISCUSSION

This command is commonly used to clear an RFID tag's memory. It writes a one-byte value repetitively across a specified range of tag addresses.

The fill function requires one data value byte, a starting address, and a fill length. It will then proceed to fill the tag with the data value byte, starting at the specified start address for the specified number of consecutive bytes. When Fill Length is set to 0, the reader/writer will write fill data from the start address to the end of the tags memory. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH.

Note: A tag address (start address + length) above 735 will wrap to an address starting at 0. Reading or writing to address 740 will read or write to address 4. Tag address 736 is address 0.

EXAMPLE

Writes 'A' (41H) to the tag starting at address 0005H for the following next consecutive 100 bytes. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the configuration.

6.2.6 Command 5 (05 Hex): Block ReadDESCRIPTION

Read a block of data from an RFID tag.

DISCUSSION

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 04H Perform Command 4 AAH 04H Command Echo

00H 05H Start Address = 0005H FFH FFH Message Terminator

00H 64H Fill Length= 100 bytes (0064H)

07H D0H Timeout value

00H 41H Data Value Byte = 41H

FFH FFH Message Terminator

Page 42: HMS827 Manual 17-1298

RFID Interface

38 HMS827 Series Passive Reader/Writer

The RF Port Block Read command is used to read segments of data from contiguous areas of tag memory. It is capable of handling up to 100 bytes of data transferred to the host with one command, with an additional two bytes used to transmit the command echo. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH.

CAUTION:Setting the timeout to 0 for this command will cause the HMS827 to remain in read mode indefinitely or until the HMS827 is reset. To initiate a block read with an infinite timeout, use Command C, Initiate/Cancel Infinite Block Read as described on page 43.

Unlike the non-contiguous reads and writes, the block read does not need a configuration command to precede it. The block read consists of a start address and quantity, followed by the message terminator, FFFFH, as shown below.

The data read from the tag is returned in the LSB of the register, and the MSB is always 00H.

Note: A tag address (start address + length) above 735 will wrap to an address starting at 0. Reading or writing to address 740 will read or write to address 4. Tag address 736 is address 0.

EXAMPLE

Reads 8 bytes of data from the tag starting at address 0101H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Block Read.

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 05H Perform Command 5 AAH 05H Command Echo

01H 01H Start Address = 00101HH 00H 52H Read Data 1 = 52H

00H 08H Read Block Length = 8 bytes (0008H)

00H 46H Read Data 2 = 46H

07H D0H Timeout value 00H 49H Read Data 3 = 49H

FFH FFH Message Terminator 00H 44H Read Data 4 = 44H

00H 20H Read Data 5 = 20H

00H 54H Read Data 6 = 54H

00H 61H Read Data 7 = 61H

Page 43: HMS827 Manual 17-1298

RFID Interface

HMS827 Series Passive Reader/Writer 39

6.2.7 Command 6 (06 Hex): Block WriteDESCRIPTION

Write a block of data to an RFID tag.

DISCUSSION

The RF Port Block Write command is used to write segments of data to contiguous areas of tag memory. It is capable of transferring up to 100 bytes of data transferred from the Host with one command, with an additional two bytes used to transmit the command. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH.

Unlike the non-contiguous reads and writes, the Block Write does not need a configuration command to precede it. The Block Write consists of a start address followed by the data stream to be written to the RFID tag.

The data to be written to the tag is contained in the LSB of the register, and the MSB is always 00H.

Note: A tag address (start address + length) above 735 will wrap to an address starting at 0. Reading or writing to address 740 will read or write to address 4. Tag address 736 is address 0.

EXAMPLE

Writes 8 bytes of data to the tag starting at address 0064H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Block Write.

00H 67H Read Data 8 = 67H

FFH FFH Message Terminator

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 06H Perform Command 6 AAH 06H Command Echo

00H 64H Start Address = 0064HH FFH FFH Message Terminator

00H 04H Write Length= 4 bytes (0004H)

07H D0H Timeout value

00H 52H Write Data 1 = 52H

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

Page 44: HMS827 Manual 17-1298

RFID Interface

40 HMS827 Series Passive Reader/Writer

6.2.8 Command 7 (07H): Read Tag ID NumberDESCRIPTION

This command retrieves the four-byte tag identification number.

DISCUSSION

Each HMS tag has an unique (232 possible numbers) identification number. This number can not be changed and is not part of the 736 available data bytes. Tag ID will be return in the LSB only with the MSB as 00H. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH.

EXAMPLE

This example will wait until a tag is in range and then reads the 4-byte identification number. In this example the ID is 510541010 in decimal or 1E6E3DC2 in hexadecimal. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Read Tag ID Number.

6.2.9 Command 8 (08 Hex): Tag SearchDESCRIPTION

Check to see if there is an RFID tag in the reader/writer field.

00H 46H Write Data 2 = 46H

00H 49H Write Data 3 = 49H

00H 44H Write Data 4 = 44H

FFH FFH Message Terminator

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 07H Perform Command 7 AAH 07H Command Echo

07H D0H Timeout value 00H 1EH Tag ID byte 1

FFH FFH Message Terminator 00H 6EH Tag ID byte 2

00H 3DH Tag ID byte 3

00H C2H Tag ID byte 4

FFH FFH Message Terminator

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

Page 45: HMS827 Manual 17-1298

RFID Interface

HMS827 Series Passive Reader/Writer 41

DISCUSSION

This command will activate the reader/write to "look" for a tag in the RF field. If the reader/writer finds a tag it will return a command echo to the host. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH. If no tag is present it will return an error message. See Section 6.3 for information on the error messages.

EXAMPLE

Checks for an RFID tag in the RF field. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Tag Search.

6.2.10 Command A (0A Hex): Change RS232 Baud RateDESCRIPTION

Reset the RS232 baud rate of the Reader/Writer.

DISCUSSION

This command can be used to change the baud rate from the default of 9600. Once this command has been initiated, communications with the Reader/Writer will stop until the Host has re-established communications at the new rate.

The following baud rates can be set using the corresponding hex value in the command.

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 08H Perform Command 8 AAH 08H Command Echo

07H D0H Timeout value FFH FFH Message Terminator

FFH FFH Message Terminator

Change Baud Rate Variables

MSB LSB Remarks

00H 0CH 1200

00H 18H 2400

00H 30H 4800

00H 60H 9600

Page 46: HMS827 Manual 17-1298

RFID Interface

42 HMS827 Series Passive Reader/Writer

EXAMPLE Changes the baud rate to 19200.

6.2.11 Command B (0B Hex): RF Port Protected Block WriteDESCRIPTION

Write a block of data to the protected addresses of an RFID tag.

DISCUSSION

The RF Port Protected Block Write command is used to write data to the protected area of tag memory. It is capable of transferring up to 100 bytes of data transferred from the Host with one command. The timeout value is given in 1 msec increments and can have a value of 00H to FFFEH.

The Protected Block Write consists of a start address followed by the data stream to be written to the RFID tag.

The data to be written to the tag is contained in the LSB of the register, and the MSB is always 00H.

Note: A tag address (start address + length) above 735 will wrap to an address starting at 0. Reading or writing to address 740 will read or write to address 4. Tag address 736 is address 0.

EXAMPLE

00H C0H 19200

01H 80H 38400

02H 40H 57600

04H 80H 115200

Command from the Host

MSB LSB Remarks

AAH 0AH Perform Command A

00H C0H Change rate to 19200

FFH FFH Message Terminator

Change Baud Rate Variables

MSB LSB Remarks

Page 47: HMS827 Manual 17-1298

RFID Interface

HMS827 Series Passive Reader/Writer 43

Writes 4 bytes of data to the tag starting at address 0004H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Block Write.

6.2.12 Command C (0C Hex): Initiate/Cancel Infinite Block ReadDESCRIPTION

This command instructs the reader/writer to perform a single block read to the next available tag.

DISCUSSION

Sending this command to the Reader/Writer will put it into a read standby mode while it waits for a tag to come into range. Defining a Read Length is required to initiate the command. Setting the Read Length to 0 will cancel the Infinite Block Read. There is no timeout value with this command. The reader/writer will wait indefinitely until it is either able to read a tag or until it receives a new Command C with the Read Length set to zero. Since sending other commands will not cancel the Infinite Block Read, you should not send additional commands until the Infinite Block Read has been completed or canceled.

If there is not a tag in front of the HMS827 when it receives the command, the HMS827 will acknowledge the command with a command echo and send the read data later.

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 0BH Perform Command B AAH 0BH Command Echo

00H 32H Start Address = 0032H FFH FFH Message Terminator

00H 04H Write Length= 4 bytes (0004H)

07H D0H Timeout value

00H 52H Write Data 1 = 52H

00H 46H Write Data 2 = 46H

00H 49H Write Data 3 = 49H

00H 44H Write Data 4 = 44H

FFH FFH Message Terminator

Page 48: HMS827 Manual 17-1298

RFID Interface

44 HMS827 Series Passive Reader/Writer

The HMS827 will indicate it is in Infinite Block Read condition by lighting both the red and the green LEDs simultaneously.

The data read from the tag is returned in the LSB of the register, and the MSB is always 00H.

Note: A tag address (start address + length) above 735 will wrap to an address starting at 0. Reading or writing to address 740 will read or write to address 4. Tag address 736 is address 0.

Length Limitation

The HMS827 is limited to 100 byte transactions over RS232 communications and 55 bytes over MUX32. If you specify a read length greater than these limits, the HMS827 will stop responding until it receives a new Command C with a read length of 0.• If you are using the HMS827 over a MUX32 bus, limit the read

length to 55 bytes (37H).• If you are using the HMS827 over RS232, limit the read length to

100 bytes (64H).

EXAMPLE

This example will wait until a tag is in range and then reads 10 bytes of data from the tag starting at address 012CH.

When a tag comes into range of the HMS827, it will perform the read and return the data as follows.

Command from the Host Response from the HMS827

MSB LSB Remarks MSB LSB Remarks

AAH 0CH Perform Command C AAH 0CH Command Echo

01H 2CH Start Address = 012CH FFH FFH Message Terminator

00H 0AH Read Length = 10 bytes

FFH FFH Message Terminator

Response from the HMS827

MSB LSB Remarks

AAH 0CH Command Echo

00H 52H Read Data 1 = 52H

00H 46H Read Data 2 = 46H

00H 49H Read Data 3 = 49H

00H 44H Read Data 4 = 44H

Page 49: HMS827 Manual 17-1298

RFID Interface

HMS827 Series Passive Reader/Writer 45

6.3 Error CodesThe Standard Program will return an error if it encounters a fault during operation. Error codes are returned in the LSB of the second register passed to the PLC. Table 6-2 lists these hex error codes and their meanings.

00H 50H Read Data 5 = 50H

00H 51H Read Data 6 = 51H

00H 53H Read Data 7 = 53H

00H 54H Read Data 8 = 54H

00H 55H Read Data 9 = 55H

00H 56H Read Data 10 = 56H

FFH FFH Message Terminator

Table 6-2: Error codes

Error Code Description

01H Non-contiguous Read has failed

02H Non-contiguous Write has failed

03H Non-contiguous Read/Write Configuration has failed

04H Fill Operation has failed

05H Block Read has failed

06H Block Write has failed

08H Search Tag Operation failed

19H Protected Address violation

20H Non-contiguous Read/Write attempted without Pre-Configuration

21H Input Command does not match pre-defined format

Response from the HMS827

MSB LSB Remarks

Page 50: HMS827 Manual 17-1298

RFID Interface

46 HMS827 Series Passive Reader/Writer

The format of the error response is shown below.

Error Response from the HMS827

MSB LSB

AAH FFH

00H Error Code

FFH FFH

Page 51: HMS827 Manual 17-1298

HMS827 Series Passive Reader/Writer 47

Appendix ATechnical Specifications

A.1 ElectricalSupply Voltage: 18-30 VDC

Current: 180 mA at 24 VDC (5 Watts)

A.2 Communication with HostInterface: RS232 and RS485/MUX32 serial communications

Baud Rate: 1200, 2400, 4800, 9600 (default), 19200, 38400, 57600 and 115200

Parity: None

Data Bits: 8

Stop Bit: 1

A.3 RF InterfaceData Transfer Rate: 1,000 bytes per second

Error Detection: CRC and parity check

A.4 Mechanical SpecificationsDimensions (W x H x D): 4.68 x 1.79 x 1.57 in. (119 x 45.4 x 40 mm)

LED Indicator: Power/Communications

A.5 EnvironmentOperating Temperature: -4 to +120° F (-20 to +49° C)

Storage Temperature: - 40 to +185° F (-40 to +85° C)

Humidity: 0 to 95% non-condensing

Protection Class: NEMA 4 (IP65)

Page 52: HMS827 Manual 17-1298

Technical Specifications

48 HMS827 Series Passive Reader/Writer

Page 53: HMS827 Manual 17-1298

HMS827 Series Reader/Writer 49

Appendix BModels & Accessories

B.1 Available Models

B.2 Accessories

Model Description

HMS827 Passive Reader/Writer, RS232/RS485 communications, integrated antenna.

HMS827-03 Passive Reader/Writer, RS232/RS485 communications, 18mm tubular remote antenna.

HMS827-04 Passive Reader/Writer, RS232/RS485 communications, conveyor-mount remote antenna.

HMS827-05 Passive Reader/Writer, RS232/RS485 communications, 30mm tubular remote antenna.

HMS827-06 Passive Reader/Writer, RS232/RS485 communications, 40 x 30 x 12mm rectangular remote antenna.

Model Description

HMS108 Passive read/write tag, 8 mm diameter, 736 bytes memory.

HMS112 Passive read/write tag, 12 mm diameter, 736 bytes memory.

HMS125 Passive read/write tag, 25 mm diameter, 736 bytes memory.

HMS150 Passive read/write tag, 50 mm diameter, 736 bytes memory.

HMS125HT Passive read/write tag, 25 mm diameter, survives 240oC, 736 bytes memory

HMS150HT Passive read/write tag, 50 mm diameter, survives 240oC, 736 bytes memory

Page 54: HMS827 Manual 17-1298

Models & Accessories

50 HMS827 Series Reader/Writer

Page 55: HMS827 Manual 17-1298

HMS827 Series Reader/Writer 51

Appendix CASCII Chart

Decimal Hex Character Decimal Hex Character000 00 NUL 031 1F US

001 01 SOH 032 20 (SPACE)

002 02 STX 033 21 !

003 03 ETX 034 22 "

004 04 EOT 035 23 #

005 05 ENQ 036 24 $

006 06 ACK 037 25 %

007 07 BEL 038 26 &

008 08 BS 039 27 ’

009 09 HT 040 28 (

010 0A LF 041 29 )

011 0B VT 042 2A *

012 0C FF 043 2B +

013 0D CR 044 2C ,

014 0E SO 045 2D -

015 0F SI 046 2E .

016 10 DLE 047 2F /

017 11 DC1 048 30 0

018 12 DC2 049 31 1

019 13 DC3 050 32 2

020 14 DC4 051 33 3

021 15 NAK 052 34 4

022 16 SYN 053 35 5

023 17 ETB 054 36 6

024 18 CAN 055 37 7

025 19 EM 056 38 8

026 1A SUB 057 39 9

027 1B ESC 058 3A :

028 1C FS 059 3B ;

029 1D GS 060 3C <

030 1E RS 061 3D =

Page 56: HMS827 Manual 17-1298

52 HMS827 Series Reader/Writer

062 3E > 095 5F _

063 3F ? 096 60 ‘

064 40 @ 097 61 a

065 41 A 098 62 b

066 42 B 099 63 c

067 43 C 100 64 d

068 44 D 101 65 e

069 45 E 102 66 f

070 46 F 103 67 g

071 47 G 104 68 h

072 48 H 105 69 i

073 49 I 106 6A j

074 4A J 107 6B k

075 4B K 108 6C l

076 4C L 109 6D m

077 4D M 110 6E n

078 4E N 111 6F o

079 4F O 112 70 p

080 50 P 113 71 q

081 51 Q 114 72 r

082 52 R 115 73 s

083 53 S 116 74 t

084 54 T 117 75 u

085 55 U 118 76 v

086 56 V 119 77 w

087 57 W 120 78 x

088 58 X 121 79 y

089 59 Y 122 7A z

090 5A Z 123 7B {

091 5B [ 124 7C |

092 5C \ 125 7D }

093 5D ] 126 7E ~

094 5E ^ 127 7F DEL

Decimal Hex Character Decimal Hex Character