TransCore
3410 Midcourt Road, Suite 102
Carrollton, Texas 75006 USA
Phone:(214) 461-4031
Fax:(214) 461-6478
Technical Support
Web:transcore.com/rfidsupport
WARNING TO USERS IN THE UNITED STATES
FEDERAL COMMUNICATIONS COMMISSION (FCC)
LOCATION AND MONITORING SERVICE STATEMENT
47 CFR §90.351
NOTE: The user is required to obtain a Part 90 site license from the FCC to operate this radio frequency
identification (RFID) device in the United States. See product label for FCC ID number. Access the FCC
Web site at www.fcc.gov/Forms/Form601/601.html or at wireless.fcc.gov/index.htm?job=online_filing to
obtain additional information concerning licensing requirements.
NOTE: Users in all countries should check with the appropriate local authorities for licensing
requirements.
FCC RADIO FREQUENCY INTERFERENCE STATEMENT
47 CFR §15.105(a)
NOTE: This equipment has been tested and found to comply with the limits for a Class A digital device
pursuant to Part 15 of the FCC rules. These limits are designed to provide reasonable protection against
harmful interference when the equipment is operated in a commercial environment. This equipment
generates, uses, and can radiate RF energy and may cause harmful interference to radio communications if
not installed and used in accordance with the instruction manual. Operating this equipment in a residential
area is likely to cause harmful interference, in which case, depending on the laws in effect, the user may be
required to correct the interference at their own expense.
NO UNAUTHORIZED MODIFICATIONS
47 CFR §15.21
CAUTION: This equipment may not be modified, altered, or changed in any way without permission
from TransCore, LP. Unauthorized modification may void the equipment authorization from the FCC and
will void the TransCore warranty.
USE OF SHIELDED CABLES IS REQUIRED
47 CFR §15.27(a)
NOTE: Shielded cables must be used with this equipment to comply with FCC regulations.
TransCore, LP
USA
Multiprotocol Rail Reader System Guide
Health Limits for Multiprotocol Rail Reader Using External Antenna (902 to 928 MHz)
Within the United S tates, environmental guidelines regulatin g safe exposure levels are
issued by the Occupational Safety and Health Administration (OSHA).
Section 1910.97 of OSHA Safety and Health Standards 2206 legislates a maximum
safe exposure limit of 10 milliwatts per square centimeter (mW/cm
minutes at 902 MHz.
Although not binding, other organizations such as the American National Standards
Institute (ANSI) have issued similar guidelines that are more restrictive than the
OSHA limits (ANSI C95.1). ANSI guidelines recommend a maximum safe power
density in mW/cm
2
of:
2
) averaged over 6
Frequency
(in MHz)
1500
Thus, the maximum permissible exposure for general population /uncontrolled exposure at 902 MHz is 0.60 mW/cm
2
. The power limit is a six-minute average.
The RF power density generated by the Multiprotocol Rail Reader (MPRR) was calculated using a maximum antenna gain of 9.5 dBd, equivalent to the antenna gain of
the external antenna.
Warning
At 2 W conducted into the antenna and a distance of 30 inches (77 cm) from the
2
antenna, the maximum power density calculated was less than 0.60 mW/cm
. Install
the antenna at least 30 inches (77 cm) from the general public. Maintenance personnel must remain at least 14 inches (35 cm) from antenna when system is operating.
The data confirms that the TransCore MPRR effectively meets OSHA requirements
and thus does not represent an operating hazard to either the general public or maintenance personnel.
Contents
Health Limits for Multiprotocol Rail Reader Using External Antenna
This chapter is the introduction to this manual and provides information
pertaining to the audience, organization, document conventions, system
description, and license information for the Multiprotocol Rail Reader
System.
This guide provides site planning and testing, installing, andoperating instructions for
TransCore’s Multiprotocol Rail Reader (MPRR) System, which reads TransCore
®
Super eGo
nization for Standardization (ISO) protocols. Before you begin installing the MPRR,
TransCore recommends that you read this entire manual.
(SeGo) and American Trucking Associations (ATA)/International Orga-
This document is intended to be used by authorized TransCore MPRR dealers, installers, and service personnel. Because the MPRR has no operator- or end-user serviceable components or features, no end-user manual or operator guide exists. Once the
system is set up and tested by the authorized installer, MPRR operation requires no
end-user intervention.
System Guide Organization
The chapters of this guide and a description of the contents are listed below.
•Chapter 1, “Introduction,” explains the purpose and describes the audience for the
guide, outlines the manual’s organization, provides a brief description of the
MPRR, and discusses Federal Communications Commission (FCC) licensing
requirements.
•Chapter 2, “Developing the Site Plan,” discusses factors to be considered when
developing the site plan and before ordering equipment and installing the MPRR.
These considerations include antenna and tag alignment, site layout and traffic
flow, and electrical and communications requirements.
•Chapter 3, “Choosing, Installing, and Removing Tags,” contains information on
compatible tag models and provides procedures for installing tags onto, and
removing tags from, railcars where the MPRR is installed.
•Chapter 4, “Installing the MPRR,” lists the materials needed and provides proce-
dures to install the MPRR. Steps include:
1-3
Multiprotocol Rail Reader System Guide
•Pre-testing
•Installing the MPRR in a railside hut or NEMA enclosure (TBD)
•Connecting power and communications
•Connecting to TransCore’s Train Recording Unit (TRU)
•Marking the read zone
•Chapter 5, “General Software Information,” and Chapter 6, “Communications
Protocols,” provide reference information on various software-related topics and
communications protocols.
•Chapter 7, “Commands,” discusses the host-transmitted commands that are used
to control MPRR configuration and operation.
•Chapter 8, “Configuring the MPRR,” provides procedures for configuring and
fine-tuning the MPRR after installing it at the site.
•Chapter 9, “Troubleshooting and Maintenance,” answers the most commonly
asked questions about installing and maintaining the MPRR.
•Chapter 10, "Interfacing with Train Recording Unit," describes the interoperabil-
ity between the MPRR and TRU.
•Chapter 11, "Assembling and Connecting AT5720 Check Tags to the MPRR,"
explains how to connect one or two check tags to the MPRR.
•Appendix A, “Glossary,” contains frequently used terms.
•Appendix B, “Technical Specifications,” provides the MPRR specifications.
•Appendix C, “Wiring Tables,” shows the wiring connections for the communica-
tions interfaces, electrical cable connections, and the external interface signal wiring.
figuration settings and provides host software commands in numerical and alphabetical order.
•Appendix E, “Compatible Tag Information,” provides helpful information about
tags that are compatible with the MPRR.
•Index provides an alphabetical listing of guide topics. (To be provided in the final
version of the guide)
1-4
Typographical Conventions
The conventions listed in Table 1-1 are used in this manual:
Table 1-1 Typographical Conventions
ConventionIndication
Concerns about a procedure.
Introduction
Code
Dialog Box Title
Menu Item
Note
NULZero-value ASCII character or a zero-value byte.
NULLZero-value pointers. Null-terminated string refers to strings
Licensing Requirements
Code, including keywords and variables within text and as
separate paragraphs, and user-defined program elements
within text appear in courier typeface.
Title of a dialog box as it appears on screen .
Appears on a menu. Capitalization follows the interface.
Auxiliary information that further clar ifies the current
discussion. These important points require the user’s
attention. The paragraph is in italics and the word Note is
bold.
of printable ASCII characters with a zero-value byte placed
in memory directly after the last printable character of the
string.
This procedure might cause harm to the equipment and/or
the user.
An FCC license provides the user with the legal authorization to operate the MPRR on
the licensed frequencies at the site specified in the license. Only an authorized installer
or service technician can set the RF frequency of the MPRR to the frequency specified
in the FCC site license. No end-user-operated controls exist on the MPRR.
The FCC license may provide the user with protection and authorization to maintain
the system should any other RFID product be used in the licensed area after the
MPRR equipment is installed.
Users of the MPRR in the United States must obtain a license from the FCC. In the
United States, the authorized modulated frequency band for this product is 911.75 to
1-5
Multiprotocol Rail Reader System Guide
919.75 MHz and the authorized continuous wave frequency band is 902.25 to 903.75
MHz and 910.00 to 921.50 MHz.
The user is responsible for filing the FCC license according to FCC regulations, but
the TransCore dealer will provide assistance and support as necessary to complete
these forms. Forms are available online at the FCC internet site http://wire-
less.fcc.gov/uls. For further information on obtaining the license contact TransCore.
Technical Support
Authorized dealers and distributors are responsible for the direct support of all
customers. Authorized dealers and distributors needing technical support can contact:
Technical Support
Web:transcore.com/rfidsupport
or
TransCore
3410 Midcourt Road, Suite 102
Carrollton, Texas 75006 USA
Phone: (214) 461-4031
Fax:(214) 461-6478
Please be prepared to answer a series of questions that are designed to direct you to the
best support resource available.
1-6
2
Developing the Site Plan
This chapter provides a brief description of the Multiprotocol Rail
Reader (MPRR) and discusses site plan development for installing the
MPRR System.
System Description
The MPRR is a reader that supports the low-cost, high-performance SeGo radio frequency identification (RFID) technology. The MPRR also supports TransCore ATA/
ISO tag types.
The MPRR is a high-power unit that can read both half- and full-frame tags. The
reader output power can be adjusted using reader commands.
Reader
The MPRR consists of an input/output (I/O) module, a power supply, a reader logic
board (also called a tag decoder), and a radio frequency (RF) transmitter/receiver
(called the RF module) in a compact enclosure. These MPRR components are contained in a highly reliable, compact, and easy-to-install package. Figure 2-1 shows the
end views of an MPRR.
Chapter 2
Developing the Site Plan
Figure 2-1 MPRR End Views
Tags
The MPRR has the capability to read TransCore SeGo protocol tags and TransCore
ATA/AAR protocol read-only full- and half-frame tags.
How It Works
The MPRR directs the RF module to generate an RF signal, which is broadcast
through the external antenna mounted railside. Entering the MPRR’s reading range, a
TransCore RFID tag installed on a railcar or other asset to be tracked adds its pro-
2-3
Multiprotocol Rail Reader System Guide
grammed identification information to the signal and reflects the signal back to the
MPRR. The MPRR receives this modified, or modulated signal, and decodes the tag
data carried by the reflected signal and transmits this data to a local host computer for
processing.
Overview of Site Planning
Developing a site plan provides the foundation for the site’s system design and establishes the following system configuration parameters:
•Number and general location of primary components
•Number of different radio frequencies required
Gathering relevant site information is crucial before applying for Federal Communications Commission (FCC) approval and ordering and installing MPRR(s) and tags.
Also, consider the following factors when developing a site plan:
•Type of tags used
•Antenna and tag alignment
•Site layout and rail traffic flow
•MPRR and/or antenna mounting requirements
•MPRR electrical requirements
•MPRR communications requirements
These factors provide relevant information regarding each site’s physical and electromagnetic environment and the conditions under which the system must perform.
Reading of Mixed Population Tags
The MPRR reads TransCore’s Super eGo® (SeGo) protocol tags and the American
Trucking Association (ATA) and International Organization for Standardization (ISO)
read-only tags, whether powered by battery or beam, application-specific integrated
circuit (ASIC)-based tags with Intellitag technology.
The factors that influence the readability include, but are not limited to physical orientation and configuration, type of read-only tag, ratio of backscatter cross-section of the
tags, and whether the tag is battery- or beam-powered.
Antenna and Tag Alignment
The position of the antenna and placement of the tag on the vehicle must be compatible.
Two primary criteria must be satisfied to achieve the highest read reliability:
2-4
Developing the Site Plan
•Polarization of the tag and the antenna must be aligned in the same direction —
both horizontal.
•The installed tag must be in a direct, unobstructed line of sight to the antenna.
Caution
A tag may not be reliably read unless the preceding criteria are met.
Polarization
The polarization of the tag must be aligned in the same direction as the antenna, as
shown in Figure 2-1.
Note: Matching the tag and antenna polarization is critical to obtain optimal system
performance.
Figure 2-1 Tag and Antenna Orientation
Unobstructed Line of Sight
For optimum readability , install the MPRR and antenna(s) and the railcar’s tag so that
when the railcar approaches the antenna(s), the tag is directly facing the antenna and
the line of sight is clear between the antenna and the tag. If there is a physical obstruction between the tag and the antenna(s), the MPRR cannot reliably read the tags. Fig-
ure 2-2 illustrates possible installation locations of an antenna in relation to a tag’s
mounting location on a railcar. If the tags are not in the recommended location, reliable optimum operation requires lower train speeds.
2-5
Multiprotocol Rail Reader System Guide
Figure 2-2 Antenna Location Relative to Tag Position
Antenna Selection
This section contains guidelines that assist in antenna selection for an MPRR installation that uses an external antenna. The following antennas are compatible with the
MPRR installation.
AA3100 Yagi (without radome)
Appropriate for installations with the following requirements and conditions:
•902 to 928 MHz operation
•Non-icing environments
•Relatively symmetrical reading range
•Antenna profile not a major consideration
AA3101 Yagi (with radome)
Appropriate for installations with the following requirements and conditions:
•902 to 928 MHz operation
•Exposure to harsh environments
2-6
•Relatively symmetrical reading range
•Antenna profile not a major consideration
Developing the Site Plan
AA3110 Parapanel
Appropriate for installations with the following requirements and conditions:
•902 to 928 MHz operation
•Exposure to harsh environments
•Broad radiation pattern in one dimension, narrow in the other
•Low antenna profile
•Horizontal polarization
AA3140 PCB Log Periodic
Appropriate for installations with the following requirements and conditions:
•845 to 950 MHz operation
•Exposure to harsh environments
•Maximum coverage at close range (<20 ft [6.1 m])
•Vertical or horizontal polarization
Site Layout and Traffic Flow
The following site layout and traffic flow considerations are critical when determining
MPRR installation locations:
•The MPRR read zone
•Other MPRR units and antennas in the area
•Reflection, refraction, and diffraction of RF signals
•Existing signal interference at the site
The MPRR Read Zone
The MPRR must be able to read the tag data properly within a specified area, called
the read zone, without reading other nearby tags or interfering with other MPRRs at
the site. The following are some of the factors that affect the size and shape of the read
zone:
•Mounting method used for the antenna
•Mounting location of the antenna
•Height from the ground and mounting angle of the antenna
2-7
Multiprotocol Rail Reader System Guide
•RF output attenuation
•Range discrimination setting
•Other sources of interference and reflection
The railside antenna must be positioned so that the RF signal travels to and return
from the tags within the designated range and must be placed in an area where it is not
likely to be bumped out of alignment. If the antenna becomes misaligned or some
nearby structure is added or removed, system operation can be seriously affected.
For instructions on setting the read zone, see “Fine-Tuning and Verifying the Read
Zone” on page 8-18.
Other MPRRs in the Area
Sites with more than one MPRR in proximity should have them configured with a frequency separation of at least 2 MHz from adjacent readers. If more than one MPRR is
in a side-by-side or multiple track application, the frequencies should be staggered.
MPRR antennas can face each other across a rail track as long as they are multiplexed
and controlled by the same MPRR. Table 2-2 shows examples of staggered reader frequencies in a site with up to 5 readers.
Table 2-1 Examples of Staggered Reader Frequencies
Rail NumberReader FrequencyRail NumberReader Frequency
1911.752913.75
3915.754917.75
5919.75
Reflection, Refraction, and Diffraction of RF
Signals
RF signals can be reflected, refracted, or diffracted by metal objects, walls, and even
wet pavement or ice. Any of these factors can alter or degrade system performance.
When designing your site plan, you must consider permanent structures and transient
factors in the vicinity that may affect RF signals being generated by the MPRR. Permanent structures include buildings, chain link fences, guard shacks, and gates. Transient factors include passing traffic and local weather conditions, such as rain or snow .
Symptoms of reflection, refraction, and diffraction include reading tags that are out of
the desired read zone or tags being read from another track.
The most common RF reflectors are metallic surfaces. RF signals may also be partially reflected by nonconducting materials such as dirt, wood, ice, asphalt, and concrete. When nonconducting materials in the system environment become wet, they
increase reflection of RF signals.
2-8
Developing the Site Plan
The antenna mounting location, aiming, and range control adjustme nt, and use of
presence detectors can reduce interference from RF reflections. When these actions
cannot adequately control reflections, other techniques such as shielding, absorbing,
range sensitivity adjustment, or barriers can also be used. See Chapter 9, “Trouble-
shooting and Maintenance” for more information.
Existing Interference
Interference from RF and electrical sources can degrade system performance and mu st
also be considered in the site design. Fluorescent lights, neon signs, nearby radio stations, or power lines can interfere with the optimal operation of the system. The magnetic impulse noise from relays that control gate opening and closing can also disrupt
the RF signal.
Interference may degrade both reader and tag performance. Existing interference at
the site may be shielded, removed, or positioned further from the antenna. In some
cases, changing the operating frequency of the MPRR may provide a simple solution.
Readers in proximity should have at least a 2 MHz frequency separation. See “Other
MPRRs in the Area” on page 2-8. Strong RF sources of any frequency, in proximity to
the tag, can preclude the tag receiving the reader interrogation.See Chapter 9, “Trou-
bleshooting and Maintenance.”
Electrical and Communications Requirements
All construction work at the site must be completed before installing the MPRR. Electrical and communications cables should be installed according to all applicable local
and federal building code requirements. Specific instructions for positioning and
installing the MPRR are discussed in Chapter 4, “Installing the MPRR.”
Junction Box
Use a watertight junction box that meets applicable local and national building codes
for connecting power and communications wiring. The junction box houses the terminal strip for power and communications connections. TransCore recommends a
NEMA Type-4 junction box with a back mounting panel.
Power and Communications Cables
Cable length for power and communications depends on the physical characteristics
of the MPRR installation site. Ta ble 2-2 lists accessory kits available for cabling
options based on your site’s requirements.
2-9
Multiprotocol Rail Reader System Guide
Table 2-2 Connector Cabling Accessory Kits
Part NumberDescription
58-7001-001MPRR-to-TRU six-foot cable assembly
58-7001-002MPRR-to-TRU 20-foot cable assembly
58-7001-003MPRR cable assembly, no TRU
Electrical Power
A dedicated electrical power supply must be present at the site and available to the
MPRR at all times. The power must be 16-20V AC or 16-28V DC. A step-down transformer is available (North America only) to convert a 120V AC duplex wall outlet
with ground to 18V AC, as is a step-up transformer to convert a low-voltage 12V AC
outlet to 18V AC. Consult your local and national electrical codes for installation and
safety requirements.
Note: MPRRs installed outside North America requir e a locally supp lied transformer.
If 18V AC or 18V DC power is available, the transformer option is unnecessary.
TransCore offers a Class C transformer accessory kit (part number 76-1620-005) for
sites where 110V AC is available. It is the installer’s responsibility to supply conversion equipment and wiring for other voltages. T able 2-3 contains p ower supply current
requirements.
Table 2-3 Power Supply Current Requirements
(RF On)
Supply
16 to 20V AC1.7 A at 18V AC1 A at 18V AC
16 to 28V DC1.7 A at 18V DC1 A at 18V DC
Worst Case
Maximum Current at
68°F (20°C)
(RF Off)
Standby Operating
Current at 68°F
(20°C)
Power circuits are protected internally against power surges.
Host Communications
Your site design must include communications between the MPRR and a host device.
The MPRR communicates with the host device through an asynchronous serial line.
This serial line is an RS
port and Figure 2-4 shows the connector pin designations.
–232 interface. Figure 2-3 shows the MPRR communications
2-10
Developing the Site Plan
Figure 2-3 Location of Communications/Power Port on MPRR
Figure 2-4 Pin Assignments for Communications Connectors
The standard RS–232 connection maximum distance depends on the baud rate, cable
type, and the RS
–232 device at the other end.
Input/Output Circuits
The MPRR’s two RF sense input circuits are designed to connect to dry contact closures. The MPRR’s tag lock output circuit is a single-pole, double-throw relay providing a dry contact closure. These contacts are rated at 42.2V AC peak (30V
DC, at 1 A maximum with noninductive load.
) or 60V
rms
2-11
Multiprotocol Rail Reader System Guide
Output circuit is not intended for the direct control of electromechanical devices such
as motorized barrier arms. For such applications, the MPRR output circuit should be
used to drive a secondary, appropriately rated high-power relay.
Antenna Interface
The site design must include interface cable(s) between the MPRR and the compatible
antenna(s) chosen for the site. The antenna interface is RF coaxial cable with male
Type N sockets on each end.
Table 2-4 is a summary of coaxial cable performance. Figures indicate maximum
lengths of cable in feet.
Table 2-4 Reader to Antenna Cable Performance
Cable Type
RG–2230.216 6 18
RG
–2140.425 12 37
FHJ1
–500.250 16 48
FSJ1
–500.250 15 45
LDF2
–500.375 28 85
FSJ4
–50B0.500 27 83
LDF4
–50A0.500 42128
LDF5
–50A0.875 76229
LDF6
–501.125103310
LDF7
–50A1.625122366
a. Suffixes 50, 50A, and 50B indicate 50-ohm cables available from the Andrew
Corporation.
b. These cab le lengths ensure optimal system performance (1 dB loss).
c. These cable lengths ensure adequate, but not optimal, system performance (3 dB
loss).
a
Overall
Diameter (in.)
915MHz
Low Medium
Loss
b
Loss
c
2-12
3
Choosing, Installing, and Removing
Tags
Choosing, Installing, and Removing Tags
This chapter describes the various tag types compatible with the
Multiprotocol Rail Reader (MPRR) and the procedures for installing and
removing compatible internal and external tags.
Compatible Tag Types
The MPRR provides the capability to read the various TransCore tags employing
Super eGo (SeGo) protocol. Depending on options ordered, the MPRR can r ead SeGo
protocol, ATA-protocol, and ISO-compliant tags.
See Appendix E for information about the numerous tag models.
Reader and Tag Model Interoperability
Table 3-1 lists the tags that are read by the MPRR. See www.transcore.com/pdf/TagReader-Matrix.pdf for most current information concerning readers and supported tag
protocols.
Chapter 3
Table 3-1 Tags Read by the MPRR
ReaderBeam TagsBattery Tags
MPRRAT5110; AT5112; AT5113;
AT5118; AT5125; AT5133;
Recommended Mounting Locations
Each piece of rail equipment has a specific area or window for optimum tag placement. T ag positioning in the tag placement window is based on the center of the tag
reference to window physical specifications.
Required Materials
•Torque wrench (in/lb. range)
•Bolts and nuts (#10-24 NC threaded studs and nuts)
•Aluminum pop rivets
•Pop rivet gun
AT5114; AT5510; AT5541; AT5549
in
3-3
Multiprotocol Rail Reader System Guide
Mounting Surface
The mounting surface must be metal, vertical, and smooth within the area of the tag. If
the mounting area does not meet this requirement, you must use a metal mounting
bracket.
If the mounting surface is irregular or non-metal (e.g., fiberglass), the tag must be
attached to a metal bracket to provide an electrical reflector for the tag. Use a 1/8-inch
(0.32-cm) or thicker smooth metal bracket whose dimensions are at least equal to
those of the tag. Mounting brackets are preferred for application of the tag such that
the tag and the bracket are in intimate contact to avoid interference with transmission
of radio waves.
Tag Positioning
Each piece of equipment has a specific area or tag placement window for optimum tag
placement. Tag positioning in the tag placement window is based on the center of the
tag in reference to window physical parameters.
The tag placement window is on opposite ends and opposite sides of the equipment.
The front and rear ends of the equipment are referred to as the “A” end and “B” end.
The “B” end represents the hand brake end and the “A” end represents the opposite
end looking forward. To determine left and right sides, stand at the “B” end and look
toward the front end of the equipment.
Refer to the appropriate section for tag placement window location rail cars and
locomotive devices. Where possible, tags should be mounted in locations to minimize
the likelihood of damage from equipment such as forklifts, cranes, and other hazards.
Mount the tag on a plane perpendicular to the rail (back of the tag against the
equipment) with the long edge of the tag horizontal to the rail.
There is a clear zone surrounding the tag and toward the wayside that allows for
unobstructed transmission of data. This zone must not be obstructed by any metallic
objects or protrusions.
3-4
Choosing, Installing, and Removing Tags
As Figure 3-1 illustrates, there should be no obstructions in the area extending 45º
from the center line of the tag to one inch outside either narrow side of the tag. The
side view depicts the tag as viewed from the top of the equipment.
Figure 3-1 . Clear Zone - Side View
Figure 3-2 illustrates that there should be no obstructions in the area extending 60º
from the center line of the tag to 1 inch outside either long side of the tag. The end
view depicts the tag as viewed from the end of the equipment.
Figure 3-2 . Clear Zone - End View
Figure 3-3 shows examples of acceptable and unacceptable mounting locations based
on the clear zone. Any obstructions in the clear zone may introduce reading problems
3-5
Multiprotocol Rail Reader System Guide
with the tag. Refer to the mounting specifications chapters for each type of equipment
for tag placement window locations.
Figure 3-3 . Mounting Location Examples
Surface Installation Techniques
Backing plates are preferred for attaching tags to equipment, but tags may be mounted
directly to the car at the owner’s discretion. Aluminum material is permitted a s a
substitute for the mounting plate material specified, when required for compatibility
with the car surface.
When painting the backing plates, protect the studs from paint.
Two approved methods for mounting tags and backing plates on locomotives and
railcars are rivet and bolt mounting.
Note: Weld the backing plate to the freight car side sheet, but be certain the backing
plate is kept flat. If the car side sheet is deformed, spacing of welds may vary to
accommodate waviness of the freight car side.
Note: Allow the backing plate to cool after welding before applying the tag.
Rivet/Bolt Mounting Guidelines
Select a means for mounting the tag that secures the tag but does not compromise the
tag case.
3-6
Aluminum pop rivets are permissible, but TransCore advises against using highpressure rivets for mounting the tag.
If using bolts and nuts to mount the tag, avoid using excessive torque, which may
crack or break the tag case. Tighten the nut until snug, then tighten an additional 1/2
turn only.
Locomotive Mounting Guidelines
Install two tags on each locomotive on opposite ends and opposite sides of the
equipment. Install one on the right front (engineer’s side) and another on the left rear
(fireman’s side).
Tag Placement Window Location
Horizontally, the tag placement window extends from the center line of the truck to
2to feet from the center line of the inside axle (measure toward the center of the
vehicle). Vertically, the tag placement window begins two feet above the top of the rail
and extends to a maximum of five feet above the top of the rail.
Choosing, Installing, and Removing Tags
Figure 3-4 illustrates the tag placement window on the right front portion (engineer’s
side) of the locomotive.
Figure 3-4 . Tag Placement Window for Locomotives -- Right Front
3-7
Multiprotocol Rail Reader System Guide
Figure 3-5 illustrates the tag placement window on the left rear portion (brakeman’s
side) of the locomotive.
Figure 3-5 . Tag Placement Window Location for Locomotives -- Left Rear
Tag Placement
Optimal tag placement centers the tag on the left boundary line of the tag placement
window (Figure 3-6). Alternately, the center of the tag may be mounted anywhere
within the tag placement window, provided there are no obstructions to the tag’s clear
zone.
3-8
Figure 3-6 . Optimal Tag Placement for Locomotives
Rail Car Mounting Guidelines
Install two tags on each rail car on opposite ends and opposite sides of the eq uipment.
Install one on the right front (“A” end) and another on the left rear (“B” end).
Tag Placement Window Location
Horizontally, the tag placement window extends from the center line of the truck to
two feet from the center line of the inside axle (measure toward the center of the
vehicle). Vertically, the tag placement window begins at two feet above the top of the
rail end and extends to a maximum of five feet above the top of the rail. The tag
should not cover car stenciling.
Figure 3-7 illustrates the tag placement window on the right front portion (“A” end) of
the rail car.
Choosing, Installing, and Removing Tags
Figure 3-7 . Tag Placement Window Location for Rail Cars -- “A” Right Side
3-9
Multiprotocol Rail Reader System Guide
Figure 3-8 illustrates the tag placement window on the left rear portion (“B” end) of
the rail car.
Figure 3-8 . Tag Placement Window Location for Rail Cars -- “B” Left Side
Tag Placement
Optimal tag placement centers the tag on the left boundary line of the tag placement
window (Figure 3-9). Alternately, the tag may be mounted so that the center of the tag
falls anywhere within the tag placement window, provided there are no obstructions of
the tag’s clear zone.
3-10
Figure 3-9 . Optimal Tag Placement for Rail Cars
Tank Car Mounting Guidelines
Tank car mounting is essentially the same as that for rail cars, except that the tag
placement window area has been expanded 18 inches to the right of the center of the
truck.
Tag Placement Window Location
Horizontally, the tag placement window extends from 18 inches to the right of the
center line of the truck to two feet from the center line of the inside axle (measured
toward the center of the vehicle). Vertically, the tag placement window begins at two
feet above the top of the rail and extends to a maximum of five feet above the top of
the rail. The tag should not cover car stenciling.
Figure 3-10 illustrates the tag placement window on the left rear portion (“B” end) of
the tank car.
Choosing, Installing, and Removing Tags
Figure 3-10 . Tag Placement Window Location for Tank Cars -- “B” Left Side
Tag Placement
Optimal tag placement positions the tag on the center line of the truck on the body
bolster (Figure 3-11). Alternately, the tag may be mounted so that the center of the tag
3-11
Multiprotocol Rail Reader System Guide
falls anywhere within the tag placement window, provided there are no obstructions of
the tag’s clear zone.
Figure 3-11 . Optimal Tag Placement for Tank Cars
3-12
4
Installing the Multiprotocol Rail Reader
Installing the Multiprotocol Rail Reader
This chapter lists the materials needed and presents the procedures to
pre-test and install the Multiprotocol Rail Reader (MPRR).
Installation Process
After you have developed the site plan and identified the location to install the MPRR
and antennas
the following tasks:
•Pre-installation testing of MPRR power and tag read capability
•Mounting the MPRR in a railside shack
•Mounting the railside antenna(s)
•Connecting the antenna(s)
Chapter 4
1
, if required, you are ready to install the equipment. Installation involves
•Connecting the MPRR power
•Marking the read zone
•Connecting the MPRR host and sense input/sense output and communications
Materials Supplied by TransCore
You need the following materials to pre-test and install the MPRR. TransCore supplies
some of the materials; other materials must be obtained from other sources.
Contents of Shipping Carton
Ensure that you have received all parts before beginning your pre-installation MPRR
tests. Your MPRR is packaged with the following materials:
•One MPRR
•One MPRR Quick Start Guide
•Any accessories ordered as options as shown in Table 4-1
Required accessories are a power/communications cable harness and a 110V AC-to18V AC wall transformer, a 12 to 18V AC step-up transformer, or a 16 to 28V DC
power source. You also require at least one MPRR-compatible antenna and an antenna
RF cable. These may be ordered as accessories from TransCore or obtained from other
sources.
1.The MPRR is designed with RF cable connectors for use with N-type RF cables.
58-7001-001MPRR-to-Train Recording Unit (TRU) six-foot cable assembly
58-7001-002MPRR-to-TRU 20-foot cable assembly
58-7001-003MPRR cable assembly, no TRU
20-7001-001MPRR check tag accessory kit
Additional Materials Needed for Testing
You need these additional materials to perform the pre-tests on the MPRR:
•Test tags, supplied by the TransCore dealer or distributor
•Suitable 16 to 20V AC or 16 to 28V DC power wiring for the MPRR
•Audible circuit tester and 9V DC battery for circuit tester power
•Wire stripper
•At least one MPRR-compatible antenna
•Suitable RF interface coaxial cable
Pre-installation Testing of the MPRR
Before installing the MPRR permanently at the site, you should use an audible circuit
tester to confirm that the MPRR has power and can read a tag presented in the tag read
zone.
Testing the MPRR Using an Audible Circuit Tester
An audible circuit tester is also called a buzz box. These boxes are available at some
electronic parts supply stores, or you can make a buzz box, as shown in Figure 4-1.
The buzz box is powered by a 9V DC battery and is equipped with two alligator-clip
leads. When you touch the leads together, the box makes an audible sound.
4-4
Installing the Multiprotocol Rail Reader
Figure 4-1 Wiring for Audible Circuit Tester
T o test the MPRR, connect the antenna and po wer supply as described in the appropriate section below.
Connecting the Antenna
This section explains the connection between the MPRR and antenna(s).
Caution
To avoid damage to the MPRR
•During shipping and installation, an external antenna can build up a very high
voltage charge. The voltage needs to be discharged before connecting the
antenna to the reader.
•Connect the MPRR to ground before powering up the reader or connecting the
antennas.
•Connect the antenna(s) before applying power to the reader.
4-5
Multiprotocol Rail Reader System Guide
Figure 4-2 MPRR Showing Antenna Ports
To connect the reader and antenna
1.Ensure the reader is turned off and unplugged.
2.Connect one end of the RF interface cable to the antenna.
3.Connect the other end of the RF interface cable to the appropriate antenna port on
the side of the MPRR. See Figure 4-2.
4.For consistent performance, terminate unused antenna ports using a 50-Ohm, Ntype terminator.
Connecting the MPRR to a Power Supply
Caution
To avoid damage to the MPRR
•Connect the MPRR to ground before powering up the reader or connecting the
antennas.
•Connect the antenna before applying power to the reader.
To connect the MPRR to a power supply
1.Connect the MPRR to a power supply using the interface cable (P/N TBD).
4-6
The pin assignments for the signals on the reader DB15 connector (Figure 4-3) is
shown in Figure 4-4. If the MPRR is connected directly to a TransCore Train Recording Unit (TRU), all power supply connections are made through the MPRR-to-TRU
cable assembly.
Installing the Multiprotocol Rail Reader
Figure 4-3 Location of Communications/Power Port on MPRR
Figure 4-4 Pin Assignments fo r Signal to Host Connectors
Mounting the MPRR
This section lists procedures and materials required for mounting the MPRR on a wall
or other flat surface based on the site’s requirements.
In permanent installations the MPRR should be positioned as close as possible to the
antenna. Long cable runs increase system sensitivity to noise. See Table 2-4 on page
2-12 for maximum RF cable lengths.
4-7
Multiprotocol Rail Reader System Guide
Mounting to an Enclosure Wall or Flat Surface
Required Materials
You need the following materials to install the MPRR on an enclosure wall or flat surface. Ensure the use of high-quality, corrosion-resistant anchor hardware.
•Anchor hardware suitable for the surface on which you mount the MPRR
The MPRR weighs 5.1 lbs (2.31 kg) so choose mounting hardware that is adeq uate
to secure the unit to a wall.
Caution
Connect the reader bracket to earth ground using a ground cable and stake.
TransCore recommends that you follow the National Electric Code or equivalent
code for lightning protection for the locale where you are installing the MPRR.
After mounting the MPRR, you must connect it to a dedicated 16 to 20V AC or 16 to
28V DC power supply.
Caution
To avoid damage to the MPRR
•Connect the MPRR to ground before powering up the reader or connecting the
antenna(s).
•Connect the antenna(s) before applying power to the reader.
Mounting the Antenna Rail-Side
The antenna should be positioned as close as possible to the MPRR. Long cable runs
increase system sensitivity to noise. See Table 2 - 4 on page 2-12 for maximum RF
cable lengths (TBD). This section provides guidelines for mounting antennas.
After mounting the antenna, you must connect it to the MPRR. Follow the procedures
described previously in the section “Connecting the Antenna” on page 4-5.
Note: Adjust the antenna(s) to provide the most direct line of sight to the tags.
Connecting the Power Supply
After mounting the MPRR and antenna, connect the reader to a dedicated 16 to 20V
AC or 16 to 28V DC power supply. If the MPRR is connected directly to a TRU, all
power supply connections are made through the MPRR-to-TRU cable assembly.
4-8
Caution
To avoid damage to the MPRR
•During shipping and installation, an external antenna can build up a very high
voltage charge. The voltage needs to be discharged before connecting the
antenna to the reader.
•Connect the MPRR to ground before powering up the reader or connecting the
antenna(s).
•Connect the antenna(s) before applying power to the reader.
Connecting Communications
The MPRR communicates through RS–232 protocol.
Required Materials
You need the following materials to connect the communications cable to the host
device:
•Host device
•Any terminal emulation program such as Procomm Plus™ or Hyper Terminal™
running on a PC
Installing the Multiprotocol Rail Reader
•If the MPRR is connected directly to a TRU, all communications connections are
made through the MPRR-to-TRU cable assembly.
Connecting the MPRR to the Host
MPRR communications and customer interface signals are supplied from the MPRR
to the host through a multiwire cable. The connector for this cable is located on the
end of the MPRR.
Plug one end of the MPRR communications/power interface connector into the DB15
connector at the MPRR and the other end, using the customer-supplied wiring, into the
host device.
Connecting Sense Input and Sense Output Circuits
The MPRR has two sense input circuits and a tag lock output circuit available. Sense0
is used to enable RF on antenna ports 0 and 1 if enabled, and Sense1 is used to enable
RF on antenna ports 2 and 3. The sense input circuits can be used to notify the
MPRR of train presence and are designed to be connected to a free-of-voltage dry
contact. The tag lock output circuit is a single-pole, double-throw relay that provides a
normally closed and normally open dry contact. The relay contact is rated at 42.2V
AC peak (30 Vrms) or 60V DC at 1 A maximum. If controlling an external gate or
device requiring high current, an isolation transformer is required.
Sense Input Circuits
The MPRR supports two sense inputs – sense input0 and sense input1 – which require
two sense input lines (SENSEx and GND) for each loop sense or a total of four sense
input connections. Sense input0 is the presence detection and is used to control RF
4-9
Multiprotocol Rail Reader System Guide
power. As shown in Figure 4-4, the sense inputs are wired through the reader DB15
connector. The MPRR expects the sense input0 circuit to close when a railcar is
present (on the track with antennas connected to ports 0 and 1). Sense1 must be closed
when a railcar is present on the track connected to antenna ports 2 and 3. The minimum presence true period is fixed at 0 ms, which indicates that no delay occurs in
closing the circuit when a railcar is present.
Sense Output Circuit
The sense output is dedicated for testing and set up of the reader. It is defined as
the TAG_LOCK signal, which indicates a valid tag is in the read field.
This sense output is a dry contact that provides a normally open and normally closed
sense output. The relay contacts are rated at 42.2V AC peak (30 V
1 A maximum. If controlling an external gate or device requiring high current, an isolation transformer is required.
Marking the Read Zone
) or 60V DC at
rms
Caution
Be sure to follow all applicable rail safety regulations when marking the read zone.
The area where the MPRR reads tags at the current RF range is called the read zone.
The antenna pattern, or read zone, of the MPRR would look roughly like a pearshaped balloon if you were able to see it. When installing the MPRR, you should first
mark the unit’ s read zone using the RF range set at the fact ory-default maxi mum. You
can later adjust the read zone using the techniques discussed in “Fine-Tuning and Ver-
ifying the Read Zone” on page 8-18.
If two MPRRs are installed near each other, TransCore recommends that you fine-tune
each reader for the ideal read zone before connecting it permanently to sense input/
sense output and communications cables. A minimum of 2 MHz frequency separation
and 40 feet (12.2 m) of antenna separation between the two adjacent readers is
required for correct operation.
Required Materials
You need the following materials to mark the read zone:
•Test tags, supplied by the TransCore dealer or distributor
To mark the read zone
1.Confirm that you have correctly connected the power supply/communications
cable as described in this chapter.
4-10
2.Start the terminal emulation application Microsoft HyperTerminal by selecting
Programs>Accessories>Communications>HyperTerminal and press
ENTER.
Installing the Multiprotocol Rail Reader
3.In the HyperTerminal dialog boxes choose the com port to which the
communications interface is attached and set the properties as:
•Bits per second: 9600 baud
•Data bits: 8
•Parity: none
•Stop bits: 1
•Flow control: none
4.Cycle the power on the MPRR and ensure that the sign-on message displays.
5.Input the commands listed in Table 4-2.
Table 4-2 Commands for Testing
EntryReader ResponseNotes
#01 <CR>#Done <CR/LF>Switches MPRR to command mode
#647XXX#Done <CR/LF >Sets frequency
#6401#Done <CR/LF>Turns on RF
#00 <CR> #Done <CR/LF>Returns MPRR to data
You can now connect the outer marks to draw the outer boundary of the read zone.
Figure 4-5 is a view of a sample read zone. The outer X marks show the outside
edges of the read zone.
4-11
Multiprotocol Rail Reader System Guide
4-12
Figure 4-5 Sample Read Zone Marking Pattern
6.Place the MPRR in single-antenna operation using the antenna of interest.
Standing at the edge of the rail sleepers closest to the antenna walk the test tag
along the track to determine the farthest read point in both directions (see D in
Figure 4-5). Record the distance.
7.In a multiple track installation, walk the tag toward the adjacent track in a line
with the antenna (see Figure 4-5) to determine whether the MPRR reads tags
from the adjacent track. Record that distance (Y). If the MPRR reads tags on the
adjacent track, reduce the range control value, or increase RF attenuation until
the MPRR cannot read tags on the adjacent track.
5
General Software Inform ation
General Software Inform ation
This chapter provides software-related information for the Multiprotocol
Rail
Reader (MPRR) System.
This chapter presents various software-related topics arranged in alphabetical order by
subject. In addition to this chapter, see Chapter 6, “Communications Protocols,” and
Chapter 7, “Commands,” for more information.
Command Entry Conventions
All MPRR commands are preceded by the start-of-message character (#). The end-ofmessage sequence expected from the host is a carriage return (CR). The MPRR terminates messages with a return and a line-feed (CR/LF). For example, the command
#01 Switch To Command Mode is typed as follows:
#01<ENTER>
where <ENTER> is the Enter or Return key.
Chapter 5
Some command characters may be represented by the letter N. This letter indicates
you are to supply a value. Maximum valid entries are the numbers 0 through 9 and the
uppercase letters A through F. These letters allow for as many as 16 available user
responses and are based on the hexadecimal numbering system.
Commands have at least two characters following the # character. Table 5-1 shows the
basic structure of a four-character command.
Table 5-1 Four-Character Command Structure
#1005 Set Baud Rate To 9600 Baud
#All commands are preceded by the # character.
1Indicates the command group. This command is in Group 1-
Communications Port Control.
0Indicates the command subgroup. In this example, all commands with
a second digit of 0 apply to the main port.
0The command digit. In this exa mple, the 0 indicates t hat this command
affects the baud rate.
5Indicates the setting. Normally this is a variable and is usually a
hexadecimal value from 0 through F. In this example, 5 sets the baud
rate to 9600, the factory setting. In some commands, this digit may be
a four-place hexadecimal string or a character string.
5-3
Multiprotocol Rail Reader System Guide
Command Response Conventions
Like the MPRR commands, responses are preceded by the # character. Many MPRR
commands respond with #Done or #Error indicating the command was or was not
recognized and completed. Other commands respond with a four-character identifier
followed by one or more values.
Table 5-2 shows an example of a command/reply sequence. This example assumes
that an MPRR with serial number SN97001P running version X.XX software is connected to a PC running a terminal emulation software package such as Windows
Hyper Terminal or Procomm Plus. The command sequence verifies that communications are working correctly.
Table 5-2 Sample Command Sequence
EntryMPRR ResponseNotes
#01 <CR>#Done <CR/LF>
#505 <CR> #Model E4 Series Ver X.XX
SN08001P <CR/LF>
#00 <CR>#Done <CR/LF>
In command discussions, MPRR response characters may be shown in brackets < >.
The use of brackets indicates that the response is a value in the range of characters.
The brackets are not part of the response. For example, the response to command
#520 Display Power Fail Bit is either a 0 or a 1. In the command discussion, the
response is shown as:
#PWRB <0-1>
with actual MPRR response being one of the following:
#PWRB 0
#PWRB 1
In this example, PWRB is the four-character identifier for power fail bit, and the 0 or 1
is the value. All spaces shown in the response are actual spaces sent from the MPRR.
In this example, one space is between the letter B and the number.
Switches MPRR to
command mode.
Reports the software
version and serial number.
Returns MPRR to data
mode.
Operating Parameters
The MPRRs maintain their operating parameters in non-volatile memory (NVRAM)
so that the parameters are preserved after a power-down sequence.
5-4
Power Fail
The system maintains a power fail flag. The host transmits command #520 Display
Power Fail Bit to determine if a power down has occurred. This flag is cleared by both
command #63 Reset Reader and command #65 Reset Power Fail Bit.
Program Download
Program download stores the MPRR applications software into the reader’s flash
memory. Program download is used to install program upgrades, add features, and to
recover from corrupted program data.
Note: Program download is a host ed pr ocess. Exercise caution so that you don’t inadvertently enter download mode.
Download Considerations
You should consider the following factors when performing program download:
General Software Information
Startup
•The MPRR does not process tags while in download mode.
•The MPRR does not accept any program data unless a successful erase of flash
memory has been performed before transmitting the data. Erasing the flash memory typically takes two seconds.
•Exiting from download mode re-executes startup. If the new software has been
loaded without errors, the MPRR comes up in data mode. If a flash checksum
error is detected, the MPRR reenters download mode and transmits a sign-on message with a boot version of 0.00x and without a serial number.
Note: The MPRR uses default communications parameters when operating in download mode
not echo commands.
– 38400 baud, 8 data bits, 1 stop bit, no parity, basic protocol – and does
Download Procedures
If TransCore releases a new version of the MPRR software or if the MPRR seems not
to be working properly, you may need to download the software to the MPRR. Contact technical support or your TransCore MPRR sales representative.
Upon startup, MPRR transmits a sign-on message or a boot ROM failure message.
5-5
Multiprotocol Rail Reader System Guide
Sign-On Message
If startup is successful, the sign-on message appears as follows:
Model E4 Series [software version] SNYYYYYY
[Copyright notice]
where YYYYYY is the serial number assigned to the MPRR unit being used.
Serial number 000000 is the default setting and is not a valid number. If this number
appears in the sign-on message, the serial number has never been stored into reader
memory. The serial number must be assigned by factory-authorized personnel using
command #695S...S Set Serial Number. Because only six digits are allowed in
the software, when setting the serial number skip the fourth (middle) digit of the
seven-digit number shown on the reader label.
If the flash memory checksum does not indicate verification, the sign-on message
appears as follows:
Model [E4] Ver 0.00x
[Copyright notice]
Boot Failure Message
The software performs a checksum function on itself. The function returns a specific
value for the particular version of software. If the value returned is not correct, the
boot ROM checksum assumes that locations have been corrupted and a failure condition exists. If the boot ROM checksum is not correct, a boot failure message is transmitted. If the failure message does not transmit, a communications error has occurred
or the boot failed to the extent that it cannot transmit the failure message.
If the failure message version number equals 0.00 and no serial number exists, the
flash memory checksum has failed, and the MPRR is operating out of boot ROM. In
this case, the MPRR automatically enters download mode and waits for a new program to be loaded into the flash memory. Follow the instructions in “Program Down-
load” on page 5-5 to download a new program.
Tag/Message Buffer
In basic communication protocol, the MPRR does not provide tag memory storage
beyond the quantity required for uniqueness checking. This feature allows adequate
buffering of tag data under normal operating conditions. The MPRR cannot operate as
a stand-alone component. When the buffer fills, subsequent tag IDs will be lost.
In error correcting protocol (ECP), a buffer of up to three additional tag reads will be
held in case a host system is unable to acknowledge tag reads in real time.
5-6
6
Communications Protocols
Introduction
Chapter 6
Communications Protocols
This chapter describes the communications protocols for the
Multiprotocol Rail Reader (MPRR).
The MPRR supports the following communications protocols:
•Basic
•Error correcting protocol (ECP)
The following protocol information provides reference information relevant to developing host software.
Communications are performed using the 7-bit ASCII code with optional parity, thus
providing easy setup, testing, and diagnostics with standard ASCII terminals and
serial printers. Parity must be enabled to achieve the specified undetected error rate.
Each message is framed within the start-of-message (som) and end-of-message (eom)
characters so that the host computer can detect the beginning and end of each message. This convention is most important under marginal communications conditions
during which the host may receive extraneous noise-induced characters between
reader transmissions. In such instances, the host is capable of ignoring any messages
that do not conform to the som...eom frame sequence.
Both data mode and command mode require a two-way message interchange is when
using ECP. This interchange is completed by the message recipient returning a message acknowledgement to the message sender.
With ECP, all transmissions require a message. If a message is not received, the sender
will time out with the same effect as if it had received a negative acknowledgment
(from the host) or an Error message from the MPRR.
Software (XON/XOFF) flow control is optionally supported. Be careful in the use of
XON/XOFF since noise-induced characters may be interpreted by the MPRR as the
XOFF character , which would suspend re ader output without information reaching the
host computer. For more information see “Software Flow Control” on page 8-18.
Note: TransCore recommends that XON/XOFF flow control be disabled while using
ECP.
6-3
Multiprotocol Rail Reader System Guide
Basic Protocol
With basic protocol, messages sent to and from the MPRR and the host are transmitted
without error checking. For each host transmission, the MPRR returns a Done
Error
When the host computer is physically close to the MPRR and no sources of interference exist, the basic protocol provides reliable communications.
The host must be ready to receive reader-transmitted messages because in basic protocol the MPRR does not wait for the host to acknowledge a message before transmitting the next message. If necessary, the host may halt reader transmissions by using
software or hardware flow control. Refer to Chapter 8 for flow control information.
message to the host.
Error Correcting Protocol
When the quality of data communications is imperative or may be suspect, you can
invoke ECP to ensure the integrity of data transmitted between the MPRR and the
host.
or
Note: TransCo r e r ecommends that basic pr otocol (n ot ECP) be used when commands
are entered manually at the keyboard.
Error correction is accomplished with the use of a cyclic redundancy check (CRC)
value that is based on the message data. The originator (reader or host) calculates the
CRC value of a message and includes it in the transmitted message.
The recipient (reader or host) also calculates a CRC value for the received message. If
the transmitted message data is correct, the CRC value calculated by the recipient will
agree with the CRC value calculated by the originator. If the CRC values do not agree,
the recipient rejects the message.
Message sequence numbers are also included when using ECP. These sequence numbers are checked to determine if the message received has the correct sequence number; if not, the recipient rejects the message.
Since the seven-bit ASCII code is used and there are eight data bits per character, the
eighth bit can optionally be used to support parity. Where parity is selected, the CRC
value calculation includes the parity of each character in the calculation of the CRC
value.
Parity is required to achieve the most reliable communications. If parity is enabled,
both the MPRR and the host must issue a message if any received character has a parity error. However, the message must not be transmitted before receipt of the eom
character. In this case, the MPRR will issue an Error message, and the host computer will issue a negative acknowledgment message.
6-4
Basic Protocol and ECP Format
Note: In the following text, the symbols < and > are used to represent required variable message data, and the symbols [and] are used to represent optional data. These
symbols are not part of the message syntax.
Reader Transmissions
The basic protocol format and the data inquiry protocol format are as follows:
<som><data><eom>
The ECP format is as follows:
<som><seq><data><crc><eom>
where
<som>Start-of-message (ASCII # character)
Communications Protocols
<seq>Sequence number (ASCII hex) that represents an even number in
the range 0–9, A–F (0, 2, 4, 6, 8, A, C, E). The MPRR maintains
the number. The host must acknowledge reader transmissions by
sending an ACK message with the same sequence number
received from the MPRR. The MPRR updates its sequence
number upon receipt of a valid host ACK. If an ACK is not
received, the MPRR retransmits the message. A reader
transmission sequence is not considered complete until the
MPRR receives an ACK and updates its sequence number.
<data>An ASCII string up to 72 characters long. This string may contain
tag data, a presence without tag report; an input status change
report; an Error06, Error07, Error08,
message; or a sign-on message. Auxiliary data may also be
included.
<crc>Field containing four ASCII digits that represent the 16-bit CRC
value calculated on the message. The CRC value is calculated on
bytes between the som character and the first <crc> byte.
When the host receives a properly framed message, it can
calculate a 16-bit CRC value. The calculation is applied to the
character string that immediately follows the <som> and that
ends with the character immediately preceding the first <crc>
character.
orError11
The transmitted CRC value can then be compared with the binary
equivalent of the received <crc> characters. If the transmitted
and received CRC values do not match, the recipient assumes the
6-5
Multiprotocol Rail Reader System Guide
<eom>End-of-message characters (ASCII CR and LF). The system
ECP Host ACK/NAK Response
With ECP, the host computer responds to all data message transmissions from the
MPRR using the following acknowledgment or negative acknowledgment response
format.
<som><seq><ack/nak><crc><eom>
where
message was received in error, and transmits a NAK message
response.
includes both a carriage return (CR) and line feed (LF) to
facilitate the use of terminals and printers.
If the host receives a <som> character in the middle of a data
message, the message in progress is aborted. The assumption is
that an <eom> was lost and the MPRR is in the process of
retransmitting the previous message.
<som>Start-of-message (ASCII # character)
<seq>An echo of the sequence number received from the MPRR. The
sequence number should correspond to the data message that is
being positively or negatively acknowledged by the host. If the
MPRR receives an ACK message with the incorrect sequence
number, the data message is retransmitted.
The host computer resets the anticipated data message sequence
number to that of the MPRR before communications can resume
without error.
<ack/nak>ASCII @ character for ACK response; ASCII ? character for NAK
response
<crc>CRC value for the message
<eom>End-of-message character (ASCII CR)
The MPRR sets a user-programmable timeout delay at the time each message is transmitted based on command #612NN Set Error Correcting Protocol Timeout, where NN
= timeout delay. To disable the timeout delay for diagnostic purposes, issue the command #612FF Disable Error Correcting Protocol Timeout.
If the timeout delay expires before the MPRR receives an ACK
the host, a logical NAK condition will be declared. If the MPRR receives a NAK or
timeout, the reader retransmits the data message.
or NAK message from
6-6
When the MPRR receives an ACK message, the system software treats the message as
having been properly received by the host. The software increments the sequence
Communications Protocols
number, and advances pointers to the next message in the MPRR’s message queue to
prepare for sending the next message.
Switch to Command Mode Request
The host computer may issue command #01 Switch to Command Mode while in data
mode.
The basic protocol format is as follows:
<som><cmd><eom>
The ECP format is as follows:
<som><seq><cmd><crc><eom>
where
<som>Start-of-message (ASCII # character)
<seq>Sequence number generated by the host computer separately
from that appearing in data messages transmitted by the MPRR
<cmd>Switch to command mode (ASCII characters 01)
<crc>CRC value for the message
<eom>End-of-message character (ASCII CR)
Host Transmission
The host computer initiates synchronous communications between the MPRR and the
host. The host begins a sequence by issuing a command; the MPRR responds accordingly.
The basic protocol format is as follows:
<som><cmd>[<data>]<eom>
The ECP format is as follows:
<som><seq><cmd>[<data>]<crc><eom>
where
<som>Start-of-message (ASCII # character)
<seq>Sequence number (ASCII hex digit) that represents an odd
number in the range 0–9, A–F (1, 3, 5, 7, 9, B, D, F). The host
should use odd sequence numbers in its command since the
MPRR uses even sequence numbers in its transmissions. This
method eliminates the possibility of a synchronous host
command and an asynchronous reader transmission having the
same sequence number.
6-7
Multiprotocol Rail Reader System Guide
<cmd>Command code, a string that contains from two to four ASCII
[<data>]Optional data field, an ASCII string of as many as 20 characters
<crc>CRC value for the message
Upon receiving a host command, the MPRR echoes the
command’s sequence number in its response. Therefore, the host
computer updates its sequence number upon receipt of a valid
reader message. If the sequence number is not updated before
transmission of the next command, the MPRR will not service the
new command; it will retransmit its previous message. A
command/message sequence is not complete until the host
updates its sequence number.
hex characters
in length. For example, the store hardware co nfiguration string
command is #696S...S or command #696 Store Hardware Configuration String followed by the data string S...S.
<eom>End-of-message character (ASCII CR)
Reader Command Response
The basic protocol format is
<som><resp><eom>
The ECP format is
<som><seq><resp><crc><eom>
where
<som>Start-of-message (ASCII # character)
<seq>Echo of sequence number received in host command message
<resp>Response string. The MPRR returns
ASCII string depending on the host transmission. This string can
be up to 72 characters long.
<crc>CRC value for the message
<eom>End-of-message character (ASCII CR and LF)
Done, Error, or another
6-8
Sample Messages
This section contains examples of typical messages transmitted between the MPRR
and the host computer.
Reader Transmissions
Basic protocol reader transmission
#KING 1302<eom>
Host response
No host response for non-ECP
ECP reader transmission
#4KING 1302 <crc><eom>
where
#Start-of-message character
4Message sequence number
KING 1302 Message data: Tag ID is shown.
Other sample message data could be as follows:
IOST C0 O2 I0 D24 (display I/O status)
Error06 (frequency not set)
Communications Protocols
<crc>CRC value for the message
<eom>End-of-message character
Host response
#4@<crc><eom>
where
#Start-of-message character
4Message sequence number
@ACK (acknowledgment character)
(? returned for a negative acknowledgment)
<crc>CRC value for the message
<eom>End-of-message character
Host Command Transmissions
Basic protocol host transmission
#647XXX<eom>
Reader response
#Done<eom> or #Error<eom>
#Error<eom> is returned if the host transmission is not a legal command with legal
data.
6-9
Multiprotocol Rail Reader System Guide
ECP host transmission
#7647XXX<crc><eom>
where
#Start-of-message character
7Message sequence number
647XXXSelect RF Operating Frequency command where
647XXX is the command and XXX is a hexadecimal value from
000 to 118. In this example, XXX sets the RF frequency to 903
MHz.
<crc>CRC
value for the message
<eom>End-of-message character
DoneCommand has been invoked by the MPRR
Reader response
#7Done<crc><eom> or #7Error<eom>
For some commands, the MPRR responds with data that relates to the command, such
as T0F 0, to indicate (TBD) mode enabled for a #XXX Display (TBD) Mode Status
command.
#7Error<eom> will be returned if host transmission is not a legal command with
legal data.
Timing and Synchronization
The ECP is largely independent of baud rate. The timeout delays previously described
are a function of baud rate.
The MPRR supports an ECP timeout, which applies equally to both transmit and
receive.
6-10
The receiver’s minimum timeout delay equals the time to transmit/receive the longest
anticipated message at the current baud rate setting. Additional margin should be
included for idle periods between characters; for example, processing overhead, if
any. The timeout delay period can be expressed as follows:
rec (ms) = L x [Τchar + Τidle]
Τ
where
Τ
char (ms) 1000 x [ B
cBits per character, typically 10
B
/ Rb ]
c
Communications Protocols
bBaud rate, 1200–38.4 K
R
LLength of message in characters
idleMaximum idle period between characters (ms)
Τ
Note: The MPRR supports baud rates between 1200 and 38.4 K.
Likewise, the sender must set a timeout delay equal to the delay of nine characters at
the current baud rate setting. For example, the time required to shift out the <eom>
character plus the time to shift in the ACK or NAK message to be received plus a processing allowance for the receiver to process the message and check for error conditions.
Thus, the sending timeout delay can be expressed as follows:
send (ms) = 9 * Τchar + Τerrchk
Τ
where
errckh (ms)Processing period to perform error checking by receiver
Τ
The host computer can remotely set the MPRR’s communications parameters whi le in
the command mode, but TransCore does not recommend this action if communications conditions are marginal.
After the MPRR receives new communications parameters, the MPRR issues the
Done message and switches to the new configuration immediately. The host computer
switches its communications parameters immediately after the transaction is complete.
As noted, the message
initiator , such as the MPRR in da ta mode and the host computer
in command mode, starts a timeout counter at the time a message is transmitted. If the
timeout expires before receiving an acknowledgement message, a logical NAK condition is declared, and the initiator assumes the message was received in error. In this
instance, the message is retransmitted until an acknowledgement message is received.
The message recipient, such as the host computer in data mode and the MPRR in command mode, starts a timeout counter when a <som> character is received. If the timeout expires without the receipt of an <eom>, the message acquisition is aborted
(reset), and the receiver waits for the next <som> character.
If the message recipient receives a second <som> character before an <eom> character, the message acquisition is aborted (reset), and retransmission of the previous message is assumed to be underway.
These strategies allow for recovery during periods when communications are marginal
or completely lost.
Note: It is important that the host computer limit the period during which the MPRR
remains in command mode to avoid losing tag IDs. RF is off in command mode and no
tags can be read.
6-11
Multiprotocol Rail Reader System Guide
Reader-Addressed Failure Conditions
The MPRR addresses the following failure conditions.
Illegal Sequence Number (not in the range 0–9, A–F)
If the MPRR detects an illegal sequence number in a host command message, it discards the received message and sends no response. If it receives an illegal sequence
number in an ACK
the data.
Wrong Sequence Number
If the MPRR receives the wrong sequence number in an ACK message, it responds as
NAK had been received, and it retransmits the data.
if a
Incorrect CRC
If the MPRR detects an incorrect CRC value in a host command message, it discards
the received message. No response is sent. If it receives an incorrect CRC value in an
ACK message, it responds as if a NAK had been received, and it retransmits the data.
message, it responds as if a NAKhad been received and retrans mits
Illegal Command
If the MPRR receives an illegal command, it returns its standard Error message.
Transmission Timeout
If the MPRR transmits an asynchronous message and the host does not send an ACK
before the ECP timeout occurs, the MPRR retransmits the message.
Receive Timeout
If the MPRR receives a <som> but does not receive a matching <eom> before the
ECP timeout occurs, it discards the incomplete message and resets its receiver.
Asynchronous Message/Command Message Collision
If the MPRR transmits asynchronous data at the same time that the host sends a command, the MPRR gives priority to receiving the command. It processes the command
and sends a message before it retransmits the asynchronous data.
Host-Addressed Failure Conditions
The host computer addresses the following failure conditions.
Illegal or Wrong Sequence Number
If the host detects an illegal or wrong sequence number in a reader response, it retransmits the command with the same sequence number. If the host detects an illegal
sequence number in an asynchronous reader transmission, it sends a NAK
message.
6-12
Communications Protocols
Incorrect CRC
If the host detects an incorrect CRC value in a reader message, it retransmits the command with the same sequence number. If the host detects an incorrect CRC value in an
asynchronous reader transmission, it transmits a NAK
message.
Transmission Timeout
If the MPRR does not respond to a host command within a specified interval, the host
software retransmits the command with the same sequence number.
Receive Timeout
If the host receives a <som> but does not receive a matching <eom> within a specified
timeout interval, it discards the incomplete message and resets its receiver.
Asynchronous Message/Command Message Collision
If the host receives an asynchronous reader transmission at the same time it transmits
a command, it ignores the asynchronous message and waits for the MPRR’s response.
The MPRR retransmits asynchronous data after it transmits the command message.
ECP Reliability
An undetected error is defined as a message having incorrect data or status but no parity or CRC errors. An error transaction is defined as a message having either a parity
or CRC error. Laboratory testing indicates an undetected error rate of less than one
undetected error per 1,000,000 error transactions with parity enabled.
To ensure this error rate is not exceeded, the host must enable parity and adhere
closely to the timing specifications discussed previously in this chapter in the “Timing
and Synchronization” section.
CRC Calculation
The CRC used by the ECP is based on a 16-bit algorithm. The algorithm, as implemented, operates on eight-bit characters, for example, seven-bit ASCII character plus
one optional parity bit. The 16-bit result is converted to four ASCII hex characters and
is appended to messages transmitted by the MPRR.
The MPRR accepts four ASCII < ` > characters (60 hex) as a wild card CRC value in
lieu of a valid four-character CRC value to facilitate testing and diagnostic checkout.
The MPRR implements the algorithm with a 512-byte lookup table to reduce the processing overhead requirements.
To simplify the implementation of the CRC algorithm by host software developers,
several examples of the calculation are provided in C source code on the following
pages. The calculation may be performed with or without a lookup table, depending
on the trade-off between code memory and processing overhead.
6-13
Multiprotocol Rail Reader System Guide
Example 1 presents an example of a function (CALCCRC) that calculates the CRC
value through a call to a separate function (UPDCRC).
Example 2 shows an example of UPDCRC that does not require a lookup table.
unsigned short calccrc(char *message)
{
unsigned short crc = 0;
for ( ; *message != (char)0;message++)
crc = updcrc(*message & 0xff, crc);
return (crc)
}
#define BITS_PER_CHAR 8
unsigned short updcrc (unsigned short ch, unsigned short
crc)
{
Under certain conditions, communications between the host and MPRR may be lost
temporarily and maintenance may be required. The reader or host is sending out a
message and waiting for an acknowledgment. When the acknowledgment is not
received, the message is sent again. Additional messages are also buffered. Often the
first indication that the MPRR software is in an ECP “loop” is when the user/technician sees a recurring display of the same message repeated over and over again on the
monitor. The procedure described in the following paragraphs enables the maintenance technician to change configuration or test tag reading manually.
Assuming that the ECP timeout is at the factory default of 12.7 seconds (o r other value
that allows enough time for the co mmands to be manually entered) the following command sequence may be used to break out of an ECP loop. This command sequence
uses four ASCII < ` > characters (60 hex) as wild card CRC values.
Note: The ASCII <`> character (60 hex) is commonly located on the ~ key.
You must acknowledge existing messages by issuing commands with the generic format:
#x@‘‘‘‘<eom>
where
#Start-of-message character
6-16
xMessage sequence number. This must be the same as the
sequence number of the message being acknowledged
@ACK (acknowledgment character)
<‘‘‘‘>Wild card CRCvalue for the message
<eom>End-of-message character
Communications Protocols
The following is a typical sequence after power-on limiting buffered messages.
Note: Ensure that no tags are in the field when you are performing this troubleshooting procedure.
Caution
To avoid damage to the MPRR, ensure that you have connected the antenna or a
dummy load to the reader before applying power to the reader.
Manually enter:#101‘‘‘‘<eom>this puts reader into command mo de
Reader response: #1Done<crc><eom>
Manually enter:#3610‘‘‘‘<eom> this puts reader into basic protocol,
disabling ECP
reader response: Done
Enter any other desired diagnostic or directive commands in basic protocol. After
maintenance is complete enter the command:
#00to return the reader to data mode
or
#611to return to error correcting protocol,
and then either cycle power or issue
#100````<eom> command to return
reader to data mode
6-17
Multiprotocol Rail Reader System Guide
6-18
7
Commands
This chapter discusses the host-transmitted commands that are used to
control the Multiprotocol Rail Reader (MPRR) configuration and
operation.
Introduction
The MPRR is delivered from the factory with specified default settings that determine
how the reader operates. Commands transmitted by the host computer can change the
default settings and control additional features. The commands can be transmitted by
manually entering the commands at the host keyboard if the host is in terminal emulation mode. The MPRR can also communicate with ASCII terminals.
Operating Modes
The MPRR has three modes of operation: data mode, command mode, and download
mode. The software for the MPRR contains two separate programs — boot and application. The boot program has control of the MPRR on startup and when operating in
download mode. The application program has control of the MPRR during data mode
and command mode operation and holds the application code. Together, they control
the MPRR in the three modes of operation.
Chapter 7
Commands
Data Mode
The MPRR is in the data mode upon power-up. While in the data mode, the MPRR
sends all communications as data messages, such as tag IDs and reports, to the host
computer. Reports provide information on input status changes (input0 and input1), a
presence without tag report, and buffer overflow information. The host computer can
send only two commands to the MPRR while in data mode:
•Command #01 Switch To Command Mode changes the MPRR from the data
mode to the command mode. See “01 Switch to Command Mode” on page 7-5.
Note: The MPRR transmits ID codes to the host computer when the MPRR is in data
mode. If the MPRR remains in the command mode with tags passing through the read
zone, all tag IDs are not reported.
Command Mode
While the MPRR is in the command mode, the host computer sends commands to the
MPRR that can be used to control the operation and configuration of the reader. After
the MPRR receives a command, it transmits a command response message. Typically,
7-3
Encompass 4 Reader System Guide
the command message contains Error, Done, or data relating specifically to the
command request. These messages may be of variable length since some commands
require information as part of the message; for example, Display ATA Mode St atus.
Communications can be lost if the host computer attempts to send certain commands
under marginal communications conditions. For example, if the host computer transmits the command request to change the baud rate and the MPRR properly receives
the request and transmits the
occur:
•If the host computer receives the Done message, then both the host and the
MPRR switch to the new baud rate, and communications are maintained.
Note: In many applications, the host must be set to the new baud rate as it will not
change automatically.
Note: The MPRR changes the baud rate immediately after issuing the Done message.
•However, if the host does not receive the Done message transmitted by the
MPRR, the host assumes that the command was not properly sent and does not
switch to the new baud rate, causing a loss of communications.
Done message, one of the two following conditions may
Caution
The host computer should not attempt to change communications parameters or
protocols during marginal communications conditions; otherwise, a loss of communications can result.
Download Mode
In download mode, the MPRR allows the host to download new software.
While in download mode, the reader communications port parameters are fixed at the
following factory-default settings: 38400 baud, 8 data bits, 1 stop bit, no parity, software flow control (XON/XOFF), basic protocol.
While in download mode, the MPRR turns RF off, does not process tags, and does not
echo host commands.
Command List
Reader commands are divided into groups based on primary fun ction. The following
sections provide information about each command in command number order. Refer
to Appendix D for listings of commands in numerical and alphabetical order.
In the following text, the symbols < and > represent variable message data. These
symbols are not part of the message syntax.
7-4
Hex digits (0–9, A–F) in either uppercase or lowercase characters may be used in data
strings and for hex digits A–F.
Commands
Reader Mode Control — Command Group 0
Group 0 commands control reader mode. The mode determines whether the reader is
transmitting data to or receiving data from a host computer or terminal.
00 Switch to Data Mode (Factory Default)
Command #00 switches the reader to data mode, which allows the reader to transmit
tag data (ID codes) to the host. The reader enters data mode on power up.
While operating in data mode, the reader accepts the following commands:
•Command #01 Switch to Command Mode
Reader response:
Done
01 Switch to Command Mode
Command #01 switches the reader to command mode, which allows the reader to
accept commands from a host or terminal. While in command mode, the reader turns
RF off and does not acquire tags.
Reader response:
Done
Communications Port Control — Command
Group 1
Group 1 commands configure the parameters used by the MPRR to communicate with
a host computer or terminal. These commands set baud rate, stop bits, parity, and endof-line delay.
100N Select Baud Rate
Command #100N selects the reader baud rate. The factory-default setting is 9600
baud. The N variable specifies the baud rate shown in Table 7-1.
Table 7-1 Select Baud Rate Commands
CommandBaud Rate Selected
10021200
10032400
10044800
10059600 (factory default)
100619.2 K
100738.4 K
7-5
Encompass 4 Reader System Guide
Caution
If ECP is enabled, ensure that the ECP timeout is sufficient for the new baud rate.
Reader response:
Done
101N Select Stop Bits
Command #101N selects the number of stop bits for reader character transmission.
The factory default setting is 1 stop bit. The N variable specifies the number of stop
bits as indicated in Table 7-2.
Table 7-2 Select Stop Bits Commands
10101 (factory default)
10112
CommandStop Bits Selected
Reader response:
Done
102N Select Parity
Command #102N selects the reader parity setting. The factory-default setting is parity disabled. The
Table 7-3 Select Parity Commands
CommandData BitsParity Selected
10208Disable parity (factory default)
10217Select even parity
10227Select odd parity
Nvariable specifies parity as shown in Table 7-3.
Reader response:
Done
Command Group 2
Group 2 commands control the real-time clock which maintains the MPRR internal
time and date. This time and date can be appended to IDs, error messages, and sensor
input reports. An internal battery supports the clock, so time and date are preserved if
main power is lost.
7-6
20 Set Time
Command #20 sets the time. Enter the time in the proper format: two-digit decimal
entries with no spaces between characters and using colons as delimiters.
Commands
The entry format is as follows:
20HH:MM:SS or 20HH:MM:SS:hh
where
HHrepresents hours (00 to 23).
MMrepresents minutes (00 to 59).
SSrepresents seconds (00 to 59).
hhrepresents hundredths of a second (00 to 99).
:is the time delimiter.
If hundredths of a second is not specified, the reader sets the hundredths register to 00.
Reader response:
Done
21 Set Date
Command #21 sets the date. Enter the date in the proper format: two-digit decimal
entries with no spaces between characters and using forward slashes “/” as delimiters.
The entry format is as follows:
21MM/DD/YY
where
MMrepresents the month (01 to 12).
DDrepresents the day (01 to 31).
YYrepresents the last two digits of the year (00 to 99).
/is the date delimiter.
Reader response:
Done
22 Display Time and Date
Command #22 displays the reader’s current time and date. One space separates the
time and the date output.
Reader response:
HH:MM:SS.hh MM/DD/YY
where
HHrepresents hours.
MMrepresents minutes.
SSrepresents seconds.
hhrepresents hundredths of seconds.
7-7
Encompass 4 Reader System Guide
:is the time delimiter.
MMrepresents the month.
DDrepresents the day.
YYrepresents the last two digits of the year.
/is the date delimiter.
Append Information — Command Group 3
Group 3 commands append useful information to reader transmissions, such as IDs,
error messages, and sensor input reports. Auxiliary information such as reader number, antenna number (or manual entry code), number of times the previous tag was
read, and sensor input status can be appended to the ID using the Group 3 commands.
30N Append Time and Date Selection
Command #30N selects the option of appending the time and date to transmitted IDs,
error messages, presence without tag reports, and input status change reports. The
factory default setting is time and date appended (command #302).
The reader returns an
Error message if its tag buffer contains data. The reset reader
command #63 may be transmitted to clear the buffer; however, tag ID data will not be
reported. If this is unacceptable, allow the buffer to empty before re-issuing append
time and date command #30N. Append Time and Date commands are shown in Table
7-4
Table 7-4 Append Time and Date Commands
CommandAppend Option
300No time and date append ed
302Time and date appended (fac tory default)
The reader transmits messages with time and date appended as follows. One space
separates the time from the date.
<string>&<HH:MM:SS.hh MM/DD/YY>
where
string is a tag ID, error message, or report.
& separates <string> from the time and date.
HH:MM:SSis the time delimiter.
7-8
MM/DD/YYis the date delimiter.
Reader response:
Done
Commands
31N Append Auxiliary Information Selection
Command #31N selects the option of appending auxiliary information to transmitted
IDs, presence-without-tag reports, and input status change reports. Auxiliary information is not appended to error messages. The factory-default setting is no auxiliary
information appended. The N variable specifies whether or not auxiliary information
is to be appended. Append Auxiliary Information commands are sh own in Table 7-5.
Table 7-5 Append Auxiliary Information Commands
CommandAppend Option
310No auxiliary information appended (factory default)
311Auxiliary information appended
The reader transmits messages with auxiliary information appended as:
<message data>%<xx-y-zz-q>
where
%separates the auxiliary information and signals the host
computer that auxiliary information is appended.
xxreader ID. Value can be set with command #60NN.
-auxiliary information delimiter
yantenna number. Value fixed at 0.
zznumber of reads (00 to FF hexadecimal) of the previous tag
qcurrent status of input0 and input1 (0 to 3). Not applicable to the
MPRR.
Reader response:
Done
ID Filtering — Command Group 4
Group 4 commands set criteria for filtering (buffering or discarding) ID codes. These
commands are useful for eliminating duplicate ID codes and selecting the type of tags
read by the MPRR.
40 Transmit All ID Codes
Command #40 instructs the reader to transmit all IDs without regard for uniqueness.
This command can be useful when tuning the read zone and mapping the footprint or
performing diagnostics.
After diagnostics are complete, you may want to reinstate the uniqueness check using
command #410N Select Unique ID Code Criteria.
7-9
Encompass 4 Reader System Guide
Reader response:
Done
410N Select Unique ID Code Criteria (Anti-passback Feature)
Command #410N instructs the reader to buffer and transmit ID codes according to
the following test: an ID is read if previously decoded IDs have changed value at
least N+1 times since the new ID was last received. IDs that do not pass the test are not
read. The factory-default setting is command #4100, which selects a separation of
one ID. Variable N specifies ID separation as shown in Table 7-6.
Table 7-6 Unique ID Code Criteria
CommandUniqueness Criteria
4100Separation of 1 ID (factory default)
4101Separation of 2 IDs
4102Separation of 3 IDs
4103Separation of 4 IDs
Each time the reader receives a tag ID, it compares the ID with the contents of a comparison register. This register contains the following two items:
Item 1Most recently acquired ID (
different from It em 2)
Item 2Second-most recently acquired ID (different from Item 3)
Item 3Third-most recently acquired ID (
different from Item 4)
Item 4Fourth-most recently acquired ID
When the uniqueness filter is set to separation of one ID, the newly acquired ID is
transmitted only if it is different from the first item. Separation of two IDs allows
transmission if the new ID is different from Items 1 and 2 in the comparison register.
Separation of three and four IDs transmit the new ID only if it is different from the
first three and the first four items, respectively.
Note: A new ID can fail the filter test and not be transmitted; however, it remains
stored in the comparison register.
The uniqueness test has a two-minute time limit. If an ID is buffered, it will not be
accepted again unless it arrives at the reader more than two minutes from the previous
arrival or until the receipt of one or more other IDs reset the uniqueness.
7-10
Reader response:
Done
420N Select Valid ID Code C riteria
Command #420N directs the reader to validate an ID received only after it has been
Commands
obtained a specified number of times in sequence. Values for N are 0 through 3 (Table
7-7). The factory setting is one acquisition (N = 0).
Table 7-7 Select Valid Code Commands and Frames
CommandValid Code Frames
42001 (factory default)
42012
42023
42034
The validation procedure is executed before the unique ID test (Select Unique ID
Code Criteria [#410N] commands). IDs that do not pass the validation test are not
reported.
For example, command #4203 specifies that the same ID must be obtained from the
antenna/RF module 4 times in succession before it is considered for the uniqueness
test. This feature is useful in installations where RF reflections may cause a single tag
to be read multiple times or where an occasional ID might be read from fringe areas
43 Buffer All ID Codes
Command #43 buffers all acquired ID codes. It effectively cancels any uniqueness
criteria previously set by select unique ID code criteria command 410N.
Note: Command #43 is for diagnostic purposes only.
After diagnostics are complete, reset the select unique ID code criteria using
command 410N.
Reader response:
Done
440 Reset Uniqueness
Command 440 causes the ID filtering process set by Select Unique ID Code Criteria
(#410N) to restart. It is used in conjunction with the Variable Timeout #44N) com-
mands. This command provides a one-time reset at which point the previously set
time-out interval resumes. This command can be sent in data or command mode.
44N Set Uniqueness Timeout
Places a time limit on the uniqueness criterion set by Select Unique ID Code Criteria
(#410N). The parameter N sets the number of minutes on the time-out clock. The factory setting is two minutes (N = 1).
Command Time-Out Clock
#4412 minutes (factory setting)
7-11
Encompass 4 Reader System Guide
#442
#44330 seconds
Entering these commands effectively expires the time-out clock, which erases all current IDs in the comparison register. In effect, the first ID that is acquired after the
clock expires always appears to be new and is stored. Newly acquired IDs are only
tested against IDs that are registered after the clock resets.
The time-out clock is continually reset (does not expire) as long as the reader receives
the same tag ID. For example, assume that the time-out clock is set for 2 minutes and
there is a railcar parked on a siding in front of the reader. W ithout this reset feature, the
railcar’s ID would be reported every 2 minutes (each time the time-out clock expired).
15 seconds
452 Disable Tag Translation Mode (Factory Default)
Command #452 disables tag translation mode. Incoming full-frame tags will be
directly converted to ASCII. They will not be translated from Association of
American Railroads (AAR) and American Trucking Associations (ATA) format to
ASCII.
Reader response:
Done
453 Enable Tag Translation Mode
Command #453 enables the translation of tags in AAR and ATA formats. Specific
data fields, such as owner ID and car number, will be extracted from these tags,
translated according to AAR or ATA standards, and converted to ASCII. Tags that are
not programmed in AAR or ATA format will be directly converted to ASCII. The
reader will not attempt to translate data from half-frame or dual-frame tags.
Reader response:
Done
454 Disable Multi-tag Sort (Factory Default)
Command #454 is a default set in the factory to disable the multi-tag sort function.
Reader response:
Done
455 Enable Multi-tag Sort
Command #455 enables the multi-tag sort function that allows the reader to identify
unique tags within a group of Intellitag-based tags. Multi-tag sort allows full operation
of the tags and reader to be carried out with any number of tags in the presence of the
reader.
Reader response:
Done
Note: Enabling the multi-tag sort function adversely affects the vehicle speed at
which tags may be read. If there is only one Intellitag-based tag in the vehicles of the
target population, multi-tag sort should be disabled.
7-12
Commands
456 Enable SeGo Protocol Tag Initialization During Multi-tag
Sort (Factory Default)
Command #456 enables the reader to send the SeGo protocol tag initialize command
as part of the multi-tag sort function. When the reader sends the SeGo protocol tag initialize command, all tags in the RF field reenter the sort process.
Reader response:
Done
457 Disable SeGo Protocol Tag Initialization During Multi-tag
Sort
Command #457 disables the reader from sending the SeGo protocol tag initialize
command as part of the multi-tag sort function. Any SeGo protocol tags already identified by the reader during the sort process will not be re-identified as long as they
remain powered in the RF field. The reader will only identify new tags that come into
the RF field or tags that do not remain powered in the RF field.
Reader response:
Done
480 Disable ATA
Command #480 disables the reader from reading ATA protocol tags.
481 Enable ATA
Command #481 enables the reader to read ATA protocol data from tags if the reader
is programmed to read this tag protocol.
484 Disable SeGo
Command #484 disables the reader from reading SeGo protocol data from tags.
485 Enable SeGo
Command #485 enables the reader to read Se Go protocol data from tags if the reader
is programmed to read this tag protocol.
488 Disable eATA
Command #488 disables the reader from reading factory-programmed eATA data
from tags.
489 Enable eATA
Command #489 enables the reader to read factory-programmed eATA data from
SeGo protocol tags.
496 Disable Alternate Group Select (Factory Default)
Command #496 disables the alternate group select function that allows the reader to
distinguish tags meeting specific criteria pre-programmed into the tags.
Reader response:
7-13
Encompass 4 Reader System Guide
Done
497 Enable Alternate Group Select
Command #497 enables the alternate group select function that allows the reader to
distinguish tags meeting specific criteria pre-programmed into the tags.
Reader response:
Done
Reader Status — Command Group 5
Group 5 commands provide status reports on the parameters and operation of the
reader.
505 Display Software Version
Command #505 displays the reader model number , software version information, and
assigned serial number.
Reader response:
Model E4 Series Ver X.XX SNYYYYYY
where
X.XXVersion number
YYYYYYSerial number of the unit, skipping the fourth character printed on
the reader product label
506 Display Hardware Configuration Information
Command #506 displays hardware configuration information stored in the reader
memory by the user. Hardware configuration information is empty by default until
you set the information to any 20 character ASCII string desired using command
#696S...S.
7-14
Reader response:
An ASCII string from 1 to 20 characters in length
510 Display RF Transceiver FPGA Version
Command #510 displays RF FPGA VER = XX.XX
511 Display RF Transceiver I Filter Chip Version
Command #511 displays FIL IC I VER = XX.XX
512 Display RF Transceiver Q Filter Chip Version
Command #512 displays FIL IC Q VER = XX.XX
513 Display DSP Board Actel Version
Command #513 displays DSP FPGA VER = XX.XX
Commands
520 Display Power Fail Bit
Command #520 displays the value of the reader power fail bit. The power fail bit
changes from 0 to 1 when power to the reader is interrupted. To reset the bit, use command #63 Reset Reader or command #65 Reset Power Fail Bit. On initial power-up,
the host should transmit one of these two commands to clear the power fail bit.
Reader response:
PWRB P<0 to 1>R0
where
P0No power failure detected
P1Power failure detected
R0Not applicable to the MPRR
521 Display Reader ID Number
Command #521 displays the reader ID that is sent in the auxiliary data field.
Reader response:
RDID xx
where xx = 01 to FF (hexadecimal)
522 Display Communications Port Parameters
Command #522 displays the selected communications port parameters, including the
baud rate (#100N), the number of stop bits (#101N), the parity scheme (#102N), and
the end-of-line delay .
One space is required between each value. For example, if factory default settings are
assigned, the reader message is
MAIN B5 S0 P0 D0
indicating 9600 baud, one stop bit, no parity, and 0 ms end-of-line delay.
Note: The information transmitted in response to command #522 applies to data and
command mode operation only. While operating in download mode, default communications parameters are always used.
524 Display Appended Information Status
Command #524 displays the information being appended to the reader transmissions.
Command #31N appends information.
Reader response:
IDAP T<0 to 1> D<0 to 1> X<0 to 1>
where
T0Time not appended
T1Time appended
D0Date not appended
D1Date appended
X0Auxiliary information not appended (factory default)
X1Auxiliary information appended
One space is required between each value. For example, if factory-default settings are
assigned, the reader response is
IDAP T1 D1 X0
indicating time and date appended, and auxiliary information not appended.
Note: Time and date may be appended to ID codes, error messages, pr esence without
tag reports, and input status change reports. Auxiliary information may only be
appended to ID codes, presence without tag reports, and input change reports.
7-16
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.