All rights reserved. The information contained herein is proprietary and is provided solely for the purpose
of allowing customers to operate and/or service Microscan manufactured equipment and is not to be
released, reproduced, or used for any other purpose without written permission of Microscan.
Throughout this manual, trademarked names might be used. Rather than place a trademark (™) symbol
at every occurrence of a trademarked name, we state herein that we are using the names only in an editorial
fashion, and to the benefit of the trademark owner, with no intention of infringement.
Disclaimer
The information and specifications described in this manual are subject to change without notice.
Latest Manual Version
For the latest version of this manual, see the Download Center on our web site at:
www.microscan.com.
Technical Support
For technical support, e-mail: helpdesk@microscan.com.
Warranty and Terms of Sale
For Standard Warranty information, see: www.microscan.com/warranty.
Appendix A General Specifications .........................................................A-2
Appendix B Electrical Specifications .......................................................A-6
Appendix C Ground and Shield Considerations......................................A-8
Appendix D Flying Lead Cordset Pinouts..............................................A-10
Appendix E Serial Commands ..............................................................A-11
Appendix F Protocol Commands...........................................................A-77
Appendix G ASCII Table .......................................................................A-86
Appendix H Configuring Ethernet TCP/IP .............................................A-87
Appendix I Using EtherNet/IP................................................................A-90
Appendix J Operating EtherNet/IP Serial Gateway Data Fields............A-97
Appendix K Interface Standards............................................................A-99
Appendix L Glossary of Terms ............................................................A-100
ivQX-870 Industrial Raster Scanner User’s Manual
Page 5
Introduction
About the QX-870 Industrial Raster Scanner
The key features of the QX-870 Industrial Raster Scanner are:
• Quick and easy configuration with Ultra-Lock™ cables and connectors
• X-Mode™ symbol reconstruction and aggressive decode algorithm
• Embedded Ethernet TCP/IP and EtherNet/IP™
• Ultra-high-performance processing
• Real-time decoding
• A green flash (visible from all angles) to signal a successful read
• LED array for performance, communication, and I/O user feedback
• EZ Button for setup and testing
• Compact size for easy integration into a wide variety of applications
• True IP65 sealing
Scanner Communication
There are three ways to configure and test the QX-870:
• Microscan’s Windows-based ESP Software (Easy Setup Program), which offers
point-and-click ease of use and visual responses to user adjustments.
• Serial commands, such as <K100,1>, that can be sent from ESP’s Term inal or another
terminal program.
•The EZ Button on the side of the scanner.
“Ultra-Lock” is a trademark of Woodhead (Molex).
“EtherNet/IP” is a trademark of the Open DeviceNet Vendors Association.
QX-870 Industrial Raster Scanner User’s Manualv
Page 6
Warning and Caution Summary
Warning and Caution Summary
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 in a residential installation. This equipment generates,
uses, and can radiate radio frequency energy, and, if not installed and used in accordance
with the instructions, may cause harmful interference to radio communication. However,
there is no guarantee that interference will not occur in a particular installation. If this
equipment does cause harmful interference to radio or television reception, which can be
determined by turning the equipment off and on, the user is encouraged to try to correct
the interference by one or more of the following measures:
• Reorient or relocate the receiving antenna;
• Increase the separation between the equipment and receiver;
• Connect the equipment into an outlet on a circuit different from that to which the receiver
is connected;
• Consult the dealer or an experienced radio/TV technician for help.
For connection to a UL-listed direct plug-in power unit marked Class II and rated 10 to 28
VDC at 5 watts or greater.
European models must use a similarly rated Class I or Class II power supply that is certified
to comply with standard for safety EN 60950.
Use of controls, adjustments, or performance of procedures other than those specified
herein may result in hazardous laser light radiation exposure.
There are no user-serviceable parts in the scanner. Opening the scanner voids the Microscan
Systems, Inc. warranty and could expose the user to laser diode power of up to 7mW.
The laser beam can be harmful to eyesight. Avoid eye contact with the laser beam. Never
point the beam at other people, or in a direction where people may be passing.
viQX-870 Industrial Raster Scanner User’s Manual
Page 7
Warning and Caution Summary (cont.)
Laser Aperture
• Wavelength: 655 nm
• Beam Divergence: 0.4˚ (typ.)
• Pulse Duration: 40~186µs
• Maximum Power: 1.75mW
• Location of the QX-870’s laser aperture:
Introduction
CAUTION: Use of controls or adjustments or performance of procedures other than those
specified herein may result in hazardous radiation exposure.
IMPORTANT: The QX-870 is intended for connection to a UL-listed direct plug-in power
unit marked Class 2 and rated 5 VDC at 3.5 Watts, or greater if using electrical accessories.
European models must use a similarly rated Class 1 or Class 2 power supply that is certified
to comply with standard for safety EN 60950.
QX-870 Industrial Raster Scanner User’s Manualvii
Page 8
Warning and Caution Summary
On Bottom
On Side
Warning and Caution Summary (cont.)
Warning Label Placement
This label is located on the QX-870 Compact Industrial Scanner:
The QX-870 has been tested for compliance with FCC (Federal Communications
regulations and has been found to conform to all applicable FCC Rules and Regulations.
To comply with FCC RF exposure compliance requirements, this device must not be co-located
or operate in conjunction with any other antenna or transmitter.
Changes or modifications not expressly approved by the party responsible for compliance
could void the user’s authority to operate the equipment.
The QX-870 has been tested for compliance with CE (Conformité Européenne) standards
and guidelines, and has been found to conform to applicable CE standards, specifically
the following requirements:
Heavy Industrial: EN 61000-6-2:2005
Radiated Emissions: EN 55022:2006 Class A 30-1000 MHz
Conducted Emissions: EN 55022:2006 Class A .15-30 MHz
The QX-870 has been tested by an independent electromagnetic compatibility laboratory
in accordance with the applicable specifications and instructions.
Commission)
QX-870 Industrial Raster Scanner User’s Manualix
Page 10
Statement of RoHS Compliance
Statement of RoHS Compliance
All Microscan readers with a ‘G’ suffix in the FIS number are RoHS-Compliant. All compliant
readers were converted prior to March 1, 2007. All standard accessories in the Microscan
Product Pricing Catalog are RoHS-Compliant except 20-500013-01 and 98-000039-02.
These products meet all the requirements of the European Parliament and the Council of
the European Union for RoHS compliance. In accordance with the latest requirements, our
RoHS-compliant products and packaging do not contain intentionally added Deca-BDE,
Perfluorooctanes (PFOS) or Perfluorooctanoic Acid (PFOA) compounds above the maximum
trace levels. To view the documents stating these requirements, please visit:
Please contact your sales manager for a complete list of Microscan’s RoHS-Compliant products.
This declaration is based upon information obtained from sources which Microscan believes to be reliable, and
from random sample testing; however, the information is provided without any representation of warranty,
expressed or implied, regarding accuracy or correctness. Microscan does not specifically run any analysis on our
raw materials or end product to measure for these substances.
The information provided in this certification notice is correct to the best of Microscan’s knowledge at the date of
publication. This notice is not to be considered a warranty or quality specification. Users are responsible for
determining the applicability of any RoHS legislation or regulations based on their individual use of the product.
Step 7 Test Read Rate .............................................................................................................. 1-10
Step 8 Configure the Scanner.................................................................................................... 1-11
Step 9 Save Changes in ESP.................................................................................................... 1-12
1 Quick Start
This section explains how to set up and test the QX-870 quickly using
Detailed setup information for installing the scanner into an application can be found in
subsequent sections.
QX-870 Industrial Raster Scanner User’s Manual1-1
ESP
(Easy Setup Program).
Page 12
Check Hardware
Hardware Required
Caution: Be sure that all connections are secure BEFORE applying power to
the system. Always power down BEFORE disconnecting any cables.
QX Cordset, Common, M12 12-pin Plug to M12 12-pin Socket, 1 m
3
4QX Cordset, Host, Serial, M12 12-pin Plug to DB9, 1 m61-000152-01
5QX Cordset, Host, Serial, M12 12-pin Socket to DB9, 1 m61-000153-01
6QX Power Supply, M12 12-pin Socket, 1.3 m97-000003-01
7QX Cordset, Host, Ethernet, M12 8-pin Plug to RJ45, 1 m61-000160-01
8QX Photo Sensor, M12 4-pin Plug, NPN, Dark On, 2 m99-000020-02
Note:
Additional cordsets and accessories are available in the Microscan Product Pricing Catalog.
Important: This product is intended to be supplied by a Listed power supply marked
“Class 2” or “LPS” and rated from 10 to 28 VDC, 9.0 Watts.
Note: The QX-870 does not require an Ethernet crossover cordset, because the scanner
itself performs automatic internal crossover (transmit-to-receive switching). Microscan
offers a standard straight-through (un-crossed) Ethernet cordset (61-000160-01).
Important: Do not attempt to power more than four scanners with a single power supply
in a daisy chain configuration. Add a QX-1 and one power supply for every four additional
scanners in the daisy chain.
61-000162-01
1-2QX-870 Industrial Raster Scanner User’s Manual
Page 13
Quick Start
Standalone (with QX-1)Standalone (without QX-1)
Step 2 — Connect the System
Important: When connecting Ultra-Lock cordsets to the QX-870 and QX-1, align the pins
first and then push the connector into place. Do not twist
the pins.
Important: Do not attempt to power more than four scanners with a single power supply in
a daisy chain configuration. Add a QX-1 and one power supply for every four additional
scanners in the daisy chain.
RS-232
• Connect the Serial Communication Cable from “A” on the QX-870 to “2” on the QX-1.
• Connect the host cable from “1” on the QX-1 to the host computer.
• Connect the photo sensor to “T” on the QX-1.
• Connect the power supply to “3” on the QX-1.
• Plug in the power supply.
Ethernet
Note: The QX-870 does not require an Ethernet crossover cordset, because the scanner
itself performs automatic internal crossover (transmit-to-receive switching). Microscan
offers a standard straight-through (un-crossed) Ethernet cordset (61-000160-01).
• Connect the Ethernet Cable from “B” on the QX-870 to the network.
• Connect the photo sensor to “T” on the QX-1.
• Connect the power supply to “A” on the QX-870.
• Plug in the power supply.
the connectors, as this will bend
QX-870 Industrial Raster Scanner User’s Manual1-3
Page 14
Position Scanner and Symbol
Pitchaxis
Barcodelabel
Tiltaxis
axis
Scanline
Scanner
Pitch
Tilt
Skew
Symbol
Scanner
Maximum
skew, tilt,
and pitch:
±30°
Step 3 — Position Scanner and Symbol
• Place a test symbol in a location with as little ambient light as possible.
• Position the scanner at the focal distance used in the application.
• Align the test symbol with the scanner’s field of view.
• Tip the scanner relative to the test symbol to avoid glare from specular reflection.
1-4QX-870 Industrial Raster Scanner User’s Manual
Page 15
Quick Start
Step 4 — Install ESP
ESP Software can be found on the Microscan Tools CD that is packaged with the QX-870.
1. Follow the prompts to install ESP from the CD.
2. Click on the ESP icon to run the program.
Note: ESP can also be installed from the Download Center at www.microscan.com.
Minimum System Requirements
• 166 MHz Pentium processor (Pentium II processor recommended)
• Windows Vista, XP, or 2000 operating system
• Internet Explorer 5.0 or higher
• 64 MB minimum RAM (128+ MB RAM recommended)
• 80 MB hard drive space
• 800 x 600 minimum 256 color display (1024 x 768 32-bit color recommended)
QX-870 Industrial Raster Scanner User’s Manual1-5
Page 16
Select Model
Step 5 — Select Model
When ESP is opened, the following menu will appear:
1. Click the button showing the QX-870.
2. Click OK.
Note:
The QX-870 can also be selected by double-clicking the button showing the QX-870.
3. Click Yes when this dialog appears:
Note: To select another model later, click the Switch Model button near the top of the
screen or use Model > New Model in the menu toolbar.
1-6QX-870 Industrial Raster Scanner User’s Manual
Page 17
Quick Start
RS-232 Connection Wizard
Ethernet Connection Wizard
Step 6 — Connect
Connection Wizard
To connect using the Connection Wizard:
• Click Connect on the menu toolbar, and then select Connection Wizard.
•Select RS-232 or Ethernet to activate the appropriate display.
• Configure RS-232 or Ethernet settings as required by the application, and click Connect.
• When a connection is established, the green indicator in the status bar at the bottom
right of the screen will be visible:
Important: The scanner is in Continuous Read Mode by default. For best connection
results, be sure that no decodable symbols are within the scanner’s field of view while
attempting to connect.
QX-870 Industrial Raster Scanner User’s Manual1-7
Page 18
Connect (cont.)
Step 6 — Connect (cont.)
Ethernet TCP/IP
Once the QX-870 is connected, incoming symbol data can be displayed in the Terminal, as
shown below.
1-8QX-870 Industrial Raster Scanner User’s Manual
Page 19
Quick Start
Step 7 — Test Read Rate
Read Rate indicates the number or percentage of successful decodes per second achieved
by the scanner.
1. Click the Test button in ESP’s EZ Mode to start the Read Rate test.
Symbol data and read rate percentage information should appear in the Symbol
Information table in the bottom portion of the view. The Read Rate LEDs on the
side of the QX-870 will indicate the percentage of successful decodes per second.
2. Click Stop to end the Read Rate test.
Note: Read Rate can also be tested using the Read Rate interface in Utilities.
QX-870 Industrial Raster Scanner User’s Manual1-9
Page 20
Configure the Scanner
Step 8 — Configure the Scanner
Click the App Mode button to make configuration changes to the scanner.
The following modes are accessible by clicking the buttons at the top of the screen:
• Click the EZ Mode button to return to EZ Mode.
• Click the Autoconnect button to establish communication.
• Click the Send/Recv button to send or receive commands.
• Click the Switch Model button to open the model menu, or to return to a previous model.
• Click the Parameters button to show the tabbed tree control views.
• Click the Setup button to show the tabbed interface views.
• Click the Terminal button to display decoded symbol data and to send serial commands.
• Click the Utilities button to access Read Rate, Counters, Device Control, Differences
from Default, Master Database, Digital Bar Code, and Firmware.
For further details, see Microscan ESPHelp in the dropdown Help menu.
This section explains the basic structure and elements of ESP (Easy Setup Program).
When ESP is opened, unless otherwise specified in ESP Preferences, the EZ Mode view
will appear. App Mode contains several configuration menus (Communication, Read Cycle, Symbologies, I/O Parameters, Matchcode, and Diagnostics), a Setup interface,
a Terminal interface, and a Utilities interface.
ESP can be used to configure the QX-870 in three differen t ways:
• Graphic User Interfaces: Scanner settings can be configured using such point-and-click
tools as buttons, spin boxes, check boxes, and drag-and-drop functions.
• Tree Cont rols: Each configuration menu cont ains a list of a ll option settings that pert ain
to that specific area of scanner operation. For example, the Read Cycle menu shows a
Laser Setup command, and then a list of the para meters Laser On/Off, Laser Framing
Status, Laser On Position, Laser Off Position, and Laser Power. Each parameter
can be configured using dropdown menus or fields where characters can be entered.
•
T erminal: ESP
directly to the scanner by typing them in the provided field.
Information about using specific commands in ESP is provided in subsequent sections.
For ESP system requirements, see Minimum System Requirements in Chapter 1, Quick
Start.
’s
Terminal
allows the user to send serial configuration and utility commands
QX-870 Industrial Raster Scanner User’s Manual2-1
Page 24
EZ Mode
Click the App Mode button
to access configuration trees
and other setup features.
Starts Read Rate test.
Click Calibrate to begin the calibrati on
routine. Calibration is explained at the
left of the EZ Mode screen, and also
in Quick Start.
EZ Mode
EZ Mode allows the user to test read rate and calibrate the scanner. After connecting to
the scanner, the EZ Mode view will appear. On-screen instructions assist the user with
positioning, testing, and calibration.
Test
Click the Test button to start the read rate test for a quick indication of the scanner’s read
capabilities and the limits of the application. When Decodes per Second is unchecked,
the test will count the percentage of decodes relative to the number of actual scans. Click
Stop to end the test.
Calibrate
The calibration routine that will optimize the scanner by comparing Read Rates at various
camera and image processing settings.
2-2QX-870 Industrial Raster Scanner User’s Manual
Page 25
Using ESP
Click here to open
the Terminal view.
Menu toolbar
Click this icon to
return to EZ Mode.
Read Rate,
Counters, Device
Control, Differences
from Default, Master
Database, Digital Bar
Code, Firmware
Tabbed tree
controls
Calibration, Configuration Database,
Ordered Output, Output Format
Autoconnect to the
scanner, Send and
Receive
command settings,
and Switch Model
App Mode
From EZ Mode, click on the App Mode button to access the tabbed tree controls in
Parameters, the intuitive user interfaces in Setup, the Terminal interface, and the Utilities
interface.
Note: The App Mode and EZ Mode buttons appear in the same position to allow easy
switching between these primary modes.
QX-870 Industrial Raster Scanner User’s Manual2-3
Page 26
Menu Toolbar
(Save to Scanner)
(Receive Scanner
Settings)
Menu Toolbar
File
New
Whenever New is selected, the default configuration of ESP is
loaded.
Open/Save
When Save or Save As is selected, the ESP configuration is
saved to the host computer’s hard drive and available whenever
the same file is selected under Open.
Important: When configuration changes are saved to the hard
drive, these changes are not automatically saved to the scanner.
The illustration below shows how settings can be saved and
received between ESP and the scanner, and ESP and the host
hard drive.
Import/Export
Import converts the ASCII settings from a text file to ESP configuration settings.
Export converts the active ESP configuration settings to an ASCII text file.
2-4QX-870 Industrial Raster Scanner User’s Manual
Page 27
Using ESP
Model
The Model dro pdown menu shows a list of recent scanners that have been used with E SP.
When a different model is chosen, the connection to the present model is terminated.
To connect to another model, select New Model, choose a new model from the pop-up
menu that appears, and click OK.
Note: When an ESP file is saved, the settings of all the models defined in that file are saved.
QX-870 Industrial Raster Scanner User’s Manual2-5
Page 28
Menu Toolbar
The Toolbar Style
options allow the user
to determine how ESP
will display the mode
options in the two rows
at the top of the screen.
Options
The Options menu allows the user to save memos and set up
ESP Preferences.
Note: Preferences will be saved and loaded into ESP whenever
ESP is opened next, whether or not the ESP file is saved.
Preferences > General Ta b
Reload Last File
At startup, reloads the last file saved to the host computer’s hard drive.
Show Model Prompt
At startup, shows the model menu displaying all supported scanners.
Show Connect Prompt
At startup, displays the Would you like to connect to the QX-870? prompt.
Receive After Connect
At startup, loads the scanner’s settings into ESP. (This is not recommended if ESP settings
are needed for future use.)
Skip EZ Mode
At startup, skips EZ Mode and opens directly in App Mode.
Enable ‘Send and Save as Customer Defaults’
At startup, enables the Send and Save as Customer Defaults option in the Send/Recv
command.
2-6QX-870 Industrial Raster Scanner User’s Manual
Page 29
Using ESP
Preferences > Terminal Tab
Show Non-Printable Characters
When Show Non-Printable Characters is enabled, characters such as “CRLF” will be
displayed in the Term i nal wind ow. When Enhanced Format is checked, the characters
are displayed with more detailed formatting.
Change Keyboard Macros
Clicking the Change Keyboard Macros button brings
up the Function Keys dialog. In this dialog, select the
desired function key and then enter the macro keystrokes
in the associated key map. For example, to make
the keystroke to send a trigger character, select F2, then
in the Ctrl row, enter <trigger character> and click OK.
Then whenever the Ctrl-F2 keystroke is pressed, the
trigger character will start the read cycle.
Note: The F1 key is reserved for opening ESP Help
and the F3 key is reserved for the Find Next function.
Ctrl-F2
Change Font
Allows the user to modify the font used for decode dat a received from the s canner on the Terminal.
Change Echo Font
Allows the user to modify the font used for command characters typed into the Terminal.
Enable Echo
Allows the user to enter command characters in Terminal.
Display Incoming Data Even When Not in Focus
When Display Incoming Data Even When Not in Focus is enabled, data from the
scanner will continue to appear in the Terminal even when ESP is not the top window.
QX-870 Industrial Raster Scanner User’s Manual2-7
Page 30
Menu Toolbar
Preferences > Bar Code Options Tab
Sizing Information
Sets the bar height (in inches) and bar width (in
symbols.
Example: A bar width of 13 mils is 0.013 inches.
mils
, or thousandths of an inch) of user-created
Caption
Allows the user to define a caption for the symbol, and to determine the alignment of the
caption in relation to the symbol.
2-8QX-870 Industrial Raster Scanner User’s Manual
Page 31
Preferences > Advanced Ta b
Using ESP
The Auto Sync options at the top of the Advanced tab allow the user to determine
whether Auto Sync will be enabled automatically in sections of ESP where it is used, or if it
will ask before it enables Auto Sync functions.
Always Ask Before Auto Sync Occurs
If this option box is checked, specific Auto Sync functions can be enabled.
from the Reader will automatically send the scanner’s settings to ESP when Auto Sync is
enabled.
settings chosen in ESP to the scanner. Do Not Send or Receive Settings creates a
condition in which Auto Sync will not automatically send scanner settings to ESP, or send
ESP settings to the scanner.
Send ESP Settings to the Reader
will automatically send all scanner configuration
Receive Settings
Send XON with Autoconnect
Sends an XON (Begin Transmission) command to the scanner before starting the
Autoconnect routine.
QX-870 Industrial Raster Scanner User’s Manual2-9
Page 32
Menu Toolbar
Preferences > Advanced Ta b (cont.)
Ask to Save ESP File when Quitting
When enabled, prompts the user to save a .esp file when ending a session.
The .esp file will be saved in the location specified by the user.
Connect to Readers via TCP/IP
When enabled, shows the TCP/IP Connection Wizard by default.
Use Default Storage Location
When enabled, automatically stores data in ESP’s Application Data folder.
The information entered in the Document Memo field will appear in a context-sensitive text
box whenever the cursor hovers over the Document Memo item on the Options menu.
Model Memo
Similar to Document Memo, the information entered in the Model Memo field will appear in
a context-sensitive text box whenever the cursor hovers over the Model Memo item on the
Options menu. Memos created i n Model Memo are specific to the model enabled when
the message was created.
Note: Memos must be saved in a .esp file to make them available in the next session. If
the current session is not saved, any memos that have been entered during the session
will be discarded, and will be unavailable in the next session.
Click the Search
button to locate
scanners on the
network.
Connect
The Connect dropdown men u allows th e u s er to access th e Conn ection W i zard, as well
as the Autoconnect and Configure Multidrop dialogs. Connect and Disconnect can
also be performed directly from the dropdow n me n u with ou t op en in g a dia log .
Connection Wizard
To connect using the Connection Wizard:
• Click Connect on ESP’s menu toolbar, and then select Connection Wizard.
• Select RS-232 or Ethernet to activate the appropriate di splay.
• Configure RS-232 or Ethernet settings as required by the application, and click Connect.
• When a connection is established, the green indicator in the status bar at the bottom
right of the screen will be visible:
Drag specific configuration
values from the control tree
directly into this field to
encode new symbols.
Choose a spatial
orientation for the
new symbol.
Create a caption
for the symbol
that matches or
describes the
encoded data.
The symbol will be
displayed in the field
at the bottom of the
Bar Code Dialog.
View
The View menu allows the user to move quickly between the
Setup, Terminal, and Utilities interfaces without using the icon
buttons on the App Mode toolbar . It also allows the user to
access the Bar Code Dialog, shown below.
Bar Code Dialog
Symbols can be created in the Bar Code Dialog by typing the
text to be encoded. This is a useful tool for creating configuration
symbols, allowing the user to configure the scanner by reading
the user-created symbols.
2. Double-click the desired
parameter and single-click
in the selection box to view
options.
3. Place the cursor in the
selection box, scroll down
to the desired setting, and
single-click the setting.
4. Left-click again on the open screen to complete the
selection.
5. Right-clickon the open screen and select Save to Reader to implement the command in the scanner.
The command can be sent without saving, or sent
and saved simultaneously.
The X
indicates
that the
setting is
default.
Navigating in ESP
To change scanner settings, or to access the Setup, Terminal, or Utilities view s, clic k the
App Mode button.
To return to EZ Mode, click the EZ Modebutton.
To make changes to configuration settings in the tree controls:
To access Receive, Save, and Default options, click the Send/Recv button. These
options can also be reached by right-clicking in any of the configuration views.
Receiving
From the Send/Recv menu, select Receive Reader Settings.
Caution: Selecting this option will upload the scanner’s settings. If the ESP file has a
number of custom settings that must be maintained and downloaded into the scanner,
these settings will be lost.
This function is useful for receiving (uploading) the scanner’s settings and saving the m a s
a file for future use. For example, if the scanner has settings that must not change,
Receive Reader Settings would load those settings to ESP and save them in an ESP file
for later retrieval.
Receiving the scanner’s settings will also assure that any unwanted subsequent changes
in ESP will not be saved.
Saving
Send, No Save (<A>)
Saves ESP settings to current
memory.
Send and Save (<Z>)
Activates all changes in current
memory and saves to the scanner
for power-on.
Send and Save as Customer Defaults (<Zc>)
Saves default settings for quick retrieval.
This option will be visible only if Enable ‘Send and Save as Customer Defaults’ is
When Default Current Menu Sett ingsor Default all ESP Settings are selected, only the
ESP settings are defaulted.
Advanced Options
Send Current View
This is the same as
>
Send No Save
commands in the current configuration
tree are sent.
Send Current Command
This is the same as
View
, except that it saves only the
command that is currently selected.
Add/Remove Exception
After a Receive Reader Settingscommand is performed1 and the Add Exception option
is selected, a list of serial commands may appear. These are commands that may be in
the scanner’s firmware, but are not included in, or are different from, the current version of
These commands can be edited by double-clicking them and changing them as needed.
It is important to note that these commands will be saved to the scanner whenever a Save
to Reader command is sent, or when an <A> or a <Z> command is sent.
Also, if there is a corresponding ESP menu item, the ESP Value column for that item will
be blank following a Receive Reader Settings command.
Save to Reader
except that only the
Send Current
ESP
.
1. From the Send/Recv button or by right-clicking in any bl a nk sect ion o f a tree co ntrol view.
This section introduces the details of QX-870 hardware, and explains how that hardware
can be integrated in an application.
QX-870 Industrial Raster Scanner User’s Manual3-1
Page 42
Connectors
Ultra-Lock Connector
Traditional Threaded Connectors
Connectors
Industrial cabling and connectivity schemes must be able to withstand environmental
extremes of heat, cold, and moisture, and be secure enough not to be disconnected or
damaged inadvertently in the course of day-to-day operation.
The current industry standard for connectivity is a sealed, circular connector such as the
M12. The International Electrotechnical Commission (IEC) standard for M12 connectors
describes them as fixed
available off-the-shelf from manufacturers
Molex, or Binder.
The QX-870 uses sealed, circular connectors with Ultra-Lock™ technology. Ultra-Lock
connectors are more resistant to harsh industrial conditions, and are easy to connect.
Ultra-Lock Connectors
Microscan has adopted Ultra-Lock connectivity because of speed, ease-of-use, and
ingress protection considerations. The main advantage of the Ultra-Lock system is that
only two steps are required at every connection point:
1. Align the connector and receptacle keys;
2. Push the connector into place. (Do not twist the connector, as this can bend the pins.)
Ultra-Lock connectors are “operator-independent”. This means that they are not subject to
under-tightening or over-tightening, both of which are common problems with screw-down
connectors, and both of which undermine the moisture-resistant seal.
and free screw-locking connectors. This type of connector is widely
such as Turck, Lumberg, Phoenix Contact,
Another advantage of the QX-870’s Ultra-Lock connectivity scheme is that the Ultra-Lock
receptacles on the scanners and the QX-1 Interface Device also accept screw-down
connectors, giving users the flexibility to use either Ultra-Lock or screw-down connectors.
“Ultra-Lock” is a trademark of Woodhead (Molex).
3-2QX-870 Industrial Raster Scanner User’s Manual
Page 43
Hardware Installation
M12 Ultra-Lock to RJ45 (Ethernet) Cordset
M12 Ultra-Lock to M12 Ultra-Lock Cordset
M12 Ultra-Lock to Photo Sensor Cordset
Cable with flying leads
Cordsets
The terms “cordset” and “cable” are both applicable to industrial connectivity, but they are
not synonymous. Cordsets enable communications and power between scanners and
interface devices. Cordsets have an M12 Ultra-Lock connector at one or both ends.
Examples of cordsets are shown below.
Cables do not have M12 Ultra-Lock connectors at either end. An example of a cable is
shown below.
QX-870 Industrial Raster Scanner User’s Manual3-3
Page 44
QX-870 and QX-1 Connectors and Pinouts
Ground
Output 3
Output 1
Output 2
New Master
Default
Power
Input Common
Output Common
RS-232 RxD
Trigger
RS-232
TxD
QX-870 (Base View)
Input
Common
RS-422/485 RxD (–)
RS-232 TxD/
RS-232 RTS
Trigger
RS-232 RxD/
RS-232 CTS
Power
Ground
RS-422/485
RxD (+)
RS-422/485
TxD (+)
RS-422/485 TxD (–)
Input 1
Te rm i na t ed
A (Serial) M12 12-pin Plug
B (Serial) M12 12-pin Socket
A is a serial M12 12-pin plug.
B is a serial M12 12-pin socket or an
Ethernet M12 8-pin socket.
P/M is a serial M12 12-pin plug.
T is a 4-pin Micro-Change socket
(identical to the QX-1 trigger connector).
TX (+)
RX (–)
RX (+)
TX (–)
Terminated
Terminated
B (Ethernet) M12 8-pin Socket
Terminated
Ter m in a te d
A
B
P/M
T
N/C
RS-422/485 RxD (–)
N/C
N/C
N/C
Power
Ground
RS-422/485
RxD (+)
RS-422/485
TxD (+)
RS-422/485 TxD (–)
N/C
N/C
P/M (Serial) M12 12-pin Plug
QX-870 and QX-1 Connectors and Pinouts
When deploying a network of scanners and interface devices in an industrial setting, it is
important to use components whose pin assignments are arranged in a way that avoids
communication errors and equipment damage. This can be achieved with components
that are designed in a logical, consistent, and easy-to-implement way.
The QX-870 has a very simple pin assignment methodology. The clearly identified connectors
at the back of the unit can be used to receive and bus power, and also to send and receive
data and commands.
See Appendix C – Ground and Shield Considerations for information about grounding
the scanner correctly.
3-4QX-870 Industrial Raster Scanner User’s Manual
Page 45
Hardware Installation
An earth ground is provided through the cable shields and chassis of the scanner.
Grounding the QX-870
Proper grounding is necessary for operator safety, noise reduction, and the protection of
equipment from voltage transients. Buildings, including any steelwork, all circuits, and all
junction boxes must be grounded directly to an earth ground in compliance with local and
national electrical codes.
Ground Loops
Ground loops (signal degradation due to different ground potentials in communicating
devices) can be eliminated or minimized by ensuring that both the host, scanner, and their
power supplies are connected to a common earth ground.
QX-870 Industrial Raster Scanner User’s Manual3-5
Page 46
QX-870 and QX-1 Connectors and Pinouts
Expected Power and Ground Connections for Proper Operation
Notes:
• Ensure that mounting bracket “Earth” is at the same potential as power source “Earth”.
• Supply “Return” and “Earth” ground must be stable, low-impedance reference points.
• “2-Terminal Power Supply” must still provide an “Earth” connection to the scanner.
• “Signal Ground” can be used for communications and/or discrete signal ground reference.
It must not be used as Power Ground or Earth Ground.
3-6QX-870 Industrial Raster Scanner User’s Manual
Page 47
Hardware Installation
Connectors 1 and 3 are 12-pin plugs, and Connector 2 is a 12-pin socket.
All three connectors can be assigned to bus power and data as required by
the application.
The two switches at the center of the device allow the user to route signals
as needed.
PinAssignment
1+ 10-28V
2
Trig/NM/Input 1
Common
3Ground
4Trigger
QX-1 Interface Device
QX-1 Trigger Connector 4-pin Socket
PWR
TRIG
1, 3,
T
1, 2,
3, T
1, 2,
3
1, 3
This simple diagram (shown on the base of the QX-1) illustrates how
power, communications, I/O, and trigger signal can be routed through
the QX-1 device depending on the needs of the application. The
switches greatly increase signal routing flexibility.
QX-1 Communications - I/O -
Power - Trigger
QX-1 Interface Device
The QX-1 Interface Device’s receptacles are physically the same as those on the QX-870,
but they do not have explicit pin assignments. The QX-1 allows users to bus power and
communications as required by the application.
QX-870 Industrial Raster Scanner User’s Manual3-7
Page 48
Power and Trigger Switching
PWR
TRIG
1, 3,
T
1, 2,
3, T
1, 2,
3
1, 3
Power can be bussed between scanners and interface
devices. At each location on a network where a new power
supply is added, the Power switch on the QX-1 can be
used to break power between Connector 2 and Connectors
1, 3, and T.
The Trigge r signal between Connector 2 and Connectors
1, 3, and T can be broken using the Trigger switch. This
isolates trigger signals as required by the application.
Power and Trigger Switching
3-8QX-870 Industrial Raster Scanner User’s Manual
Page 49
Hardware Installation
RS-232 A, RS-232 B, and RS-422 are
serial. RS-232 A is always enabled. RS-232
B and RS-422 can be enabled or disabled to
match the physical requirements of the
application. Ethernet can also be enabled
or disabled as required.
RS-232 A, RS-232 B, and RS-422 can be
configured for Baud Rate, Parity, Stop Bits,
Data Bits, Symbol Data Output, Extra Symbol
Information (Decodes Before Output, Symbol
Position Output, etc.), Diagnostics Output,
and External Source Processing Mode
(Command or Data).
Ethernet can be configured for IP Address,
Subnet Mask, Gateway, IP Address Mode
(Primary or Secondary TCP Port), Symbol
Data Output, Extra Symbol Information,
Diagnostics Output, and External Source
Processing Mode.
Port Routing
The physical advantages created by flexible signal routing and switching are enhanced
further by Port Routing, which can be configured in ESP. Port Routing eliminates the
need for dedicated “Host” and “Aux” ports in a traditional sense. With Port Routing, any
port can be defined as a Host or Aux port. Port Routing also allows users to define the
data types that are accessible from specific ports.
The primary benefit of Port Routing is that any type of data can be routed to any port, and
can be sent through multiple ports simultaneously. Multiple types of data can also be
appended to the symbol data that is output from the scanner to the host. Command data,
symbol data, extra symbol information, and diagnostic data are enabled by default in the QX-870.
The table below lists different types of data, with examples for each data type.
Data TypeExample
Command DataSerial commands; scanner responses to serial commands.
Symbol DataAny string of data encoded in a symbol.
Extra Symbol InformationDecodes per trigger, decode direction, configuration database index number.
Diagnostic DataLaser status, temperature, service message.
The screen capture below (from ESP) shows the QX-870’s four communications ports and
the parameters for each.
QX-870 Industrial Raster Scanner User’s Manual3-9
Page 50
Application Examples
Application Examples
The following examples demonstrate how the components described in previous pages
can be deployed in industrial applications.
Daisy Chain
Daisy chain configurations are used in applications such as product packaging, where
single items have multiple symbols. For example, a box with one symbol on the top and
symbols on either side requires at least three scanners to ensure that all symbols will be
decoded.
The highlighted areas below demonstrate how a daisy chain can be arranged. One scanner
is placed above the conveyor line and one scanner is placed on each side of the line. The
three scanners essentially function as a single scanner, and data is sent from the primary
scanner to the host or PLC.
Important: Do not attempt to power more than four scanners with a single power supply in
a daisy chain configuration. Add a QX-1 and one power supply for every four additional
scanners in the daisy chain.
Multidrop networks are used in applications where it is necessary to decode symbols at
multiple locations within an industrial process. Scanners are placed at stations located
between manufacturing steps, and data from those scanners is directed to a multidrop
concentrator before being sent to a host. An example of this type of application is food
packaging, in which part number data is collected and tracked throughout the packaging
process.
The highlighted areas below demonstrate how a multidrop network can be arranged.
Ethernet TCP/IP is the standard Ethernet interface used to connect multiple locations in a
network, such as computers in an office network. It can also be used to network other
communications devices, such as scanners and PLCs on a factory floor.
EtherNet/IP™ is a protocol developed and governed by ODVA (Open DeviceNet Vendors
Association). It is based on the Common Industrial Protocol (CIP™). The CIP layer is an
additional layer within the standard Ethernet interface (Ethernet TCP/IP). EtherNet/IP is
common in control systems and PLCs, especially in the United States.
The highlighted areas below demonstrate how an Ethernet daisy chain can be arranged.
Ethernet-enabled scanners can also be set up in standalone configurations, or multiple
Ethernet-enabled scanners along a production or packaging line can be connected to Ethernet.
“EtherNet/IP” and “CIP” are trademarks of the Open DeviceNet Vendors Association.
This section describes ESP’s four Setup interfaces: Calibration, Configuration Dat abase,
Ordered Output, and Output Format. Each interface allo ws the user to ma ke changes to
scanner configuration quickly and easily.
QX-870 Industrial Raster Scanner User’s Manual4-1
Page 54
Calibration
Click the Setup button and then the Calibration tab
to display the Calibration view.
Scan Speed, Gain,
Tracking, Laser
Power, and Raster
Options can also
be configured in the
Reader Setup
command.
Click Save to save calibration
settings, or Stop to cancel the
calibration process.
Top Offset, Bottom Offset, Sweep and other raster functions
can be set using the fields below, and top and bottom offset
can also be set by clicking and dragging the edges of the laser
arc in the picture.
The Test and Calibrate features
are also available in EZ Mode.
Calibration
The settings in the Calibration interface can also be configur ed using the <@> and
<@CAL> serial commands, and the Calibration Options command.
4-2QX-870 Industrial Raster Scanner User’s Manual
Page 55
Scanner Setup
Laser Off Position
Laser On Position
Laser Off Position
Percentage of the full scan arc that the scan beam moves through before the laser turns off.
The combined values of Laser On Position and Laser Off Position cannot exceed 100
percent, the total arc of one scan.
Laser Off Position must always exceed the value of Laser On Position for a scan to
take place.
Laser On Position
Percentage of the full scan arc that the scan beam moves through before the laser turns
on. For example, if set to 30, the laser will be off during the first 30 percent of the scan.
When Laser Framing is disabled, the laser is on for 100 percent of the full scan.
QX-870 Industrial Raster Scanner User’s Manual4-3
Page 56
Configuration Database
Click the Setup button and then the Config uration Dat abase tab
to display the Configuration Database view.
Double-clicking on an
Index will bring up the
Configuration Database
Settings dialog.
Use the Number of Active
Indexes field to determine how
many database indexes will be used.
Use the Number of Database
Cycles to determine how many
times the active indexes will be
repeated.
Use the Switch Timing field to
determine the amount of time
between active indexes.
Configuration Database
Configuration Database settings can also be configured by using the Configuration
Database serial commands.
4-4QX-870 Industrial Raster Scanner User’s Manual
Page 57
Scanner Setup
The settings shown above can be
configured differently for every active
index. Once all active database
indexes are configured, the index can
be concatenated and cycled for the
number of times specified in Number of Database Cycles.
Configuration Database Settings
Double-clicking an Index will bring up the Configuration Database Settings dialog for
that database index.
QX-870 Industrial Raster Scanner User’s Manual4-5
Page 58
Ordered Output
Click the Setup button and then the Ordered Output tab
to display the Ordered Output view.
Number of Filters refers to the number of active output
filters. 0 disables all output filters. Any non-zero numeral
will enable output filtering to be performed using the filter
indexes covered by this value.
For example, if the number of filters is 5, then filter
indexes 1, 2, 3, 4, and 5 will be applied.
Filter Number, Symbology Type, Length, Wildcard, Placeholder, and Matching Data are
all displayed in the table below. Double-clicking on any row of the table will display the Ordered
Output Filter Settings dialog, where settings can be changed.
Receive settings from the scanner, Send settings to the scanner, or Send and Save settings.
Ordered Output
Output filtering is a method of providing a set of good read qualifiers and also providing
ordered output. There is a filter for up to the first 10 positions in a multisymbol output. The
first filter corresponds to the first symbol output at
settings for the following six parameters: Filter Number, Symbology Type, Len gth, Wildcard, Placeholder, Matching Data, Decode Direction, and Database Number.
the end of the read cycle. Each filter has
4-6QX-870 Industrial Raster Scanner User’s Manual
Page 59
Scanner Setup
Filter Number
This is the filter index number that represents the position of the symbol in th e dat a output
at the end of the read cycle. This index number should be entered al ong with the fo llowing
filter settings for the predetermined symbol position.
Symbology Type
Specifies the symbology type allowed to occupy this location in multisymbol output.
Note: To filter or order a symbol, the symbol must meet all the requirements of the
selected filter index.
Length
Specifies the length of the decoded symbol allowed to occupy this location in multisymbol
output.
Note: To filter or order a symbol, the symbol must meet all req uirem ents of the selected
filter index.
Wildcard
This is the character to be used in the data output field when performing a data filter
comparison. The wildcard character represents the end of matching, and allows for variable
lengths of symbol output.
Placeholder
The placeholder character requires a character to be present, but does not compare the
data value.
Matching Data
This is the data string to be used when comparing symbol data for output filtering and
ordering. This data string may also contain wildcard and placeholder characters to facilitate
matching. Remember that in order to filter or order symbol data, it must meet all the
requirements of the selected filter index.
Examples:
• Filter data = “123*”. This will match data strings of “123”, “123456”, and “123ABC”, but
not “12”.
• Filter data = “123*AB?C”. This will be interpreted as “123*”.
• Filter data = “123?”. This will match “1234” and “123A”, but not “123”, “12345”, or
“1234C”.
• Filter data = “123?A”. This will match “1234A” and “123BA”, but not “123”, “1234C”, or
“1234ABCD”.
• Filter data = “123?A?”. This will match “1234AB” and “123BAT”, but not “1234A” or
“123BATS”.
• Filter data = “12??*”. This will match “1234”, “123456”, and “123ABC”, but not “12” or
“123”.
• Filter data = “123?A*”. This will match “1234A”, “123BA”, and “123BA TS”, but not “1234”
or “1234C”.
QX-870 Industrial Raster Scanner User’s Manual4-7
Page 60
Ordered Output
Double-clicking on a row in the
Ordered Output table brings up the
Ordered Output Filter Settings
dialog.
Use these settings to determine
Symbology Type, Length of the
symbol, a user-defined Matching
String, ASCII Lookup, Wildcard
Character, Placeholder Character,
Database Number, and Decode
Direction. Click Apply to save the
settings to the corresponding filter.
Ordered Output Filter Settings
4-8QX-870 Industrial Raster Scanner User’s Manual
Page 61
Scanner Setup
Rules for Output Filter Configuration
Output Filter Configuration Rule # 1
Each symbol that is decoded must match one of the filters before it can be saved to a read
cycle record. There is an exception to this rule, however, when the number of symbols
required for a read cycle exceeds the number of active filters. In such a case, unfiltered
symbols can be placed into unfiltered output positions.
For example, if the number of symbols required is 6 but there are only 5 active filters, the
last position can be filled by any (unfiltered) qualified symbol.
Output Filter Configuration Rule # 2
The same filter setup can be used multiple times.
For example, filters 1, 2, and 3 can be set up to filter Code 39 symbols, and the output will
occur in the order the symbols are decoded.
Output Filter Configuration Rule # 3
All qualified symbols will be sorted and output in the matching filter position. If a symbol
matches filter 3, it will be output as the third symbol. If a filter does not have a matching
qualified symbol, a No Read message will be output in place of the symbol (assuming the
No Read message is enabled).
For example, if there is not a symbol that meets filter 3’s requirements, then a No Read
message will be output in the third output position.
QX-870 Industrial Raster Scanner User’s Manual4-9
Page 62
Output Format
Click the Setup button and then the Output Format tab
to display the Output Format view.
On the Output Format tab, check the Enable Output Format box.
Output Format
Enable Output Format
This is a global enable/disable parameter. Use Set Number of Symbols an d Output
Phrase to assign symbols for formatting, and Symbol Parse to determine the specific
Multiple character sequences can be extracted and inserted using Symbol Parse. In this example,
the selected extraction range is characters 2-4. The “Sample Symbol” example on the Symbol
Parse
dialog shows the selected character positions extracted and output as desired. Simultaneously ,
the data string from the selected symbol is displayed at the bottom left of the Parse Table, followed
by the user-defined extracted output.
The Extract Range
function corresponds to
the Start Location and
Length parameters in
the Format Extract
serial command.
Symbol Parse
Extract
Output Index
Output Index
output is built by extracting data from a symbol’s original data output and/or inserting
user-defined characters.
It may be helpful to think of individual indexes as positions in the final formatted output.
refers to the database entry to be modified with this command.
A formatted
Starting with index # 1, enter either an extract or insert command to begin building the
desired output string. Then, with the next index number, enter either an extract or insert
command to continue building the output string. Continue this process until the string is
built.
Start Location
Defines the location within the symbol data where the character extraction will begin. The
first character extracted will also be the first character in the sequence displayed in user-defined
output.
Length
Defines the length (in consecutive characters) that will be extracted and placed in user-defined
output.
This section explains the function and purpose of the Parameters commands in ESP’s
tabbed tree controls.
Important: Unless otherwise specified, command settings shown in this section are the
default settings.
QX-870 Industrial Raster Scanner User’s Manual5-1
Page 68
Communication
Click the App Mode button and then the Parameters button to display the
tree control tabs.
Then click the Communication tab to display the Communication tree control.
To open nested options,
single-click the +.
T o change a setting, double-click the
setting and use the cursor to scroll
through the options.
The * indicates
that the setting
is the default.
Communication
Note: Communication settings can also be sent to the scanner from ESP’s Terminal using
Microscan’s K command format. Refer to the Communication section of Appendix D.
5-2QX-870 Industrial Raster Scanner User’s Manual
Page 69
Scanner Parameters
Port Routing
The QX-870 features a communication system based on Port Routing instead of traditional,
dedicated serial ports. Decisions can be made about the direction and content of communication
between ports based on different Data Types. Any available port can be used in any
combination.
The fundamental concept of Port Routing is that communication design can be based
upon Data Types rather than ports. The advantage of this is the ability to map different
data types to different ports—the user is no longer limited to a “Host Port” and “Aux Port”
for specific types of input and output. Since each port is independent instead of fixed for a
particular purpose, the scanner behaves more like a data switch.
Port Routing Advantages
• Data can be routed in on one port and out on the same port or a different port like a
switch or router. Transparent Mode, Half Duplex Mode, Full Duplex Mode, and
Custom Mode.
• External Data Routing still follows the “To/From Host/Aux” paradigm. The new capability
allows the customer to define the data direction—which port behaves as the “Host Port”
and which port behaves as the “Aux Port”.
• Only one daisy chain setup required per system.
• Minimal configuration required for each port, with similar items grouped together.
QX-870 Industrial Raster Scanner User’s Manual5-3
Page 70
Communication
RS-232 A
The following settings define the basic transmission speeds and digital standards that
ensure common RS-232 formatting.
Baud Rate
Can be used to transfer data faster or to match host port settings.
The rate at which the scanner and host transfer data back and forth.
Parity
Only changed if necessary to match host setting.
An error detection routine in which one data bit per character is set to 1 or 0 so that the
total number of bits in the data field is either even or odd.
Stop Bits
Only changed if necessary to match host setting.
One or two bits added to the end of each character to indicate the end of the character.
5-4QX-870 Industrial Raster Scanner User’s Manual
Page 71
Scanner Parameters
Data Bits
Only changed if necessary to match host setting.
One or two bits added to the end of each character to indicate the end of the character.
Symbol Data Output
Enables or disables decoded symbol data output from the scanner.
Extra Symbol Information
Enables or disables extra symbol information output from the scanner.
Diagnostics Output
Enables or disables diagnostics output from the scanner.
QX-870 Industrial Raster Scanner User’s Manual5-5
Page 72
Communication
External Source Processing Mode
Enables or disables processing of commands or data from sources external to the scanner.
Command
Command enables command processing in the scanner.
Note: Command processing is always enabled for RS-232 A.
Data
Data enables RS-232 A as a data source port.
Note: The data path between in the source port and out the source port is always two-way .
Data is copied from source data por ts a nd all those so urce port s’ dat a is tra nsmitted to the
destination port, and from the destination port to the source port.
5-6QX-870 Industrial Raster Scanner User’s Manual
Page 73
Scanner Parameters
RS-232 B
The following settings define the basic transmission speeds and digital standards that
ensure common RS-232 formatting.
Baud Rate
Can be used to transfer data faster or to match host port settings.
The rate at which the scanner and host transfer data back and forth.
Parity
Only changed if necessary to match host setting.
An error detection routine in which one data bit per character is set to 1 or 0 so that the
total number of bits in the data field is either even or odd.
Stop Bits
Only changed if necessary to match host setting.
One or two bits added to the end of each character to indicate the end of the character.
QX-870 Industrial Raster Scanner User’s Manual5-7
Page 74
Communication
Data Bits
Only changed if necessary to match host setting.
One or two bits added to the end of each character to indicate the end of the character.
Symbol Data Output
Enables or disables decoded symbol data output from the scanner.
Extra Symbol Information
Enables or disables extra symbol information output from the scanner.
Diagnostics Output
Enables or disables diagnostics output from the scanner.
5-8QX-870 Industrial Raster Scanner User’s Manual
Page 75
Scanner Parameters
External Source Processing Mode
Enables or disables processing of commands or data from sources external to the scanner.
Command
Command enables command processing in the scanner.
Data
Data enables RS-232 B as a data source port.
Note: The data path between in the source port and out the source port is always two-way .
Data is copied from source data por ts a nd all those so urce port s’ dat a is tra nsmitted to the
destination port, and from the destination port to the source port.
QX-870 Industrial Raster Scanner User’s Manual5-9
Page 76
Communication
RS-422
The following settings define the basic transmission speeds and digital standards that
ensure common RS-422 formatting.
Baud Rate
Can be used to transfer data faster or to match host port settings.
The rate at which the scanner and host transfer data back and forth.
Parity
Only changed if necessary to match host setting.
An error detection routine in which one data bit per character is set to 1 or 0 so that the
total number of bits in the data field is either even or odd.
Stop Bits
Only changed if necessary to match host setting.
One or two bits added to the end of each character to indicate the end of the character.
Enables or disables processing of commands or data from sources external to the scanner.
Command
Command enables command processing in the scanner.
Data
Data enables RS-422 as a data so urce port.
Note: The data path between in the source port and out the source port is always two-way .
Data is copied from source data por ts a nd all those so urce port s’ dat a is tra nsmitted to the
destination port, and from the destination port to the source port.
One of two TCP ports for Ethernet communication with the scanner. The default setting is
2001
.
Symbol Data Output
Enables or disables decoded symbol data output from the scanner.
Extra Symbol Information
Enables or disables extra symbol information output from the scanner.
Diagnostics Output
Enables or disables diagnostics output from the scanner.
External Source Processing Mode
Enables or disables processing of commands or data from sources external to the scanner.
Command
Command enables command processing in the scanner.
Data
Data enables Ethernet TCP Port 1 as a data source port.
Note: The data path between in the source port and out the source port is always two-way .
Data is copied from source data por ts a nd all those so urce port s’ dat a is tra nsmitted to the
destination port, and from the destination port to the source port.
One of two TCP ports for Ethernet communication with the scanner. The default setting is
2003
.
Symbol Data Output
Enables or disables decoded symbol data output from the scanner.
Extra Symbol Information
Enables or disables extra symbol information output from the scanner.
Diagnostics Output
Enables or disables diagnostics output from the scanner.
External Source Processing Mode
Enables or disables processing of commands or data from sources external to the scanner.
Command
Command enables command processing in the scanner.
Data
Data enables Ethernet TCP Port 2 as a data source port.
Note: The data path between in the source port and out the source port is always two-way .
Data is copied from source data por ts a nd all those so urce port s’ dat a is tra nsmitted to the
destination port, and from the destination port to the source port.
Enables or disables EtherNet/IP operation in the scanner.
Important:
EtherNet/IP in an application.
See Appendix H,
Using EtherNet/IP
, for detailed information about implementing
Symbol Data Output
Enables or disables decoded symbol data output from the scanner.
Extra Symbol Information
Enables or disables extra symbol information output from the scanner.
Diagnostics Output
Enables or disables diagnostics output from the scanner.
External Source Processing Mode
Enables or disables processing of commands or data from sources external to the scanner.
Command
Command enables command processing in the scanner.
Data
Data enables EtherNet/IP as a data source port.
Note: The data path between in the source port and out the source port is always two-way .
Data is copied from source data por ts a nd all those so urce port s’ dat a is tra nsmitted to the
destination port, and from the destination port to the source port.
In general, the point-to-point protocols will work well in most applications. They require no
address and must use RS-232 or RS-422 communication standards.
Protocols define the sequence and format in which information is transferred between the
scanner and the host, or in the case of
Note: In all protocol modes, the Preamble and Postamble character strings can be used
to frame the decoded data, and both are included in calculating the LRC (Longitudinal
Redundancy Check).
Used only with RS-232 or RS-422.
Standard Point-to-Point requires no address and sends the data to the host wh en ev er it
is available, without a request or handshake from the host.
Point-to-Point with RTS/CTS
A scanner initiates a data transfer with an RTS (request-to-send) transmission. The host,
when ready, responds with a CTS (clear-to-send) and the data is transmitted. RTS and
CTS signals are transmitted over two dedicated wires as defined in the RS-232 standard.
Used only with RS-232.
Point-to-Point with RTS/CTS (request-to-send/clear-to-send) is a simple hardware
handshake protocol that allows a scanner to initiate dat a transfers to the host.
Point-to-Point with XON/XOFF
If an XOFF has been received from the host, data will not be sent to the host until the host
sends an XON. During the XOFF phase, the host is free to carry on other chores and accept
data from other devices. Used only with RS-232.
This option enables the host to send the XON and XOFF command as a single byte
transmission command of start (^Q) or stop (^S).
Point-to-Point with RTS/CTS and XON/XOFF
Used only with RS-232.
This option is a combination of Point-to-Point with RTS/CTS and Point-to-Point with
These parameters take effect for ACK/NAK on the main RS-232 or RS-422 ports (not on
the Auxiliary Port), and are completely independent of the Polling Mode Options.
The scanner always follows the protocol in both directions (to and from the host). There is
no option to disable it from either direction.
The following are general outlines of the ACK/NAK protocol. Items that are framed by
brackets ( [ ] ) can either be disabled or enabled. LRC does not include STX, but it does
include preamble, postamble, and ETX.
Symbol Data Output
TX to host: [STX] [preamble] SYMBOL DATA [postamble] [ETX] [LRC]
Response from host: ACK/NAK. Sent when LRC, ETX, postamble, or timeout (waiting
for more data) are detected (if REQ is disabled) depending on what is enabled.
Commands from Host to Scanner
TX to Scanner: [STX] <command> [ETX] [LRC]
Response from Scanner: ACK/NAK. Sent when LRC, ETX, or command-ending angle
bracket ‘>’ are received, depending on what is enabled.
Command Response from Scanner to Host
TX to host: [STX] [preamble] COMMAND RESPONSE DATA [postamble] [ETX] [LRC]
Response from host: ACK/NAK. Sent when LRC, ETX, postamble, command-ending
angle bracket ‘>’, or timeout (waiting for more data) are detected, depending on what is
enabled.
As with Polling Mode<K140,5>, the scanner can optionally perform the REQ and RES
event sequences in ACK/NAK mode. If the sender does not receive an ACK or NAK, it will
send REQ to request such a response (if enabled). When the sender receives an ACK, too
many NAKs, or times out (if already enabled), it will send a RES (if enabled) to terminate the
transaction.
These parameters only take effect for Polling Mode<K140,5> on the main RS-232 or
RS-422 ports (not on the Auxiliary Port), and are completely independent of the ACK/NAK Options<K147>.
The values of protocol characters can be changed, but the protocol events cannot be
disabled . The polling mode address is configured in the <K140> command.
To enable true multidrop protocol, the RS422/485 port must be enabled, <K102,1>, in
order to turn the transmitter on and off. If RS-232 is enabled instead of RS422/485,
<K102,0>, then Polling Mode will operate as a Point-to-Point polling protocol. This is
because the RS-232 transmitter is always left on when enabled.
Note: See ACK/NAK Data Flow Examples in Appendix E for sample Polling Mode
Only used when a response is required from the host. While in Multidrop, if the scanner
does not receive an ACK or NAK from the host after sending polled data, it will act on a
fault. The scanner can be set to wait indefinitely by setting Response Timeout to zero.
The time that the scanner will wait before timing out if ACK, NAK, and ETX are enabled,
and a host response is expected.
Used when extra data integrity is required.
An error-checking routine that verifies the ac curacy of transmissions. It is the exclusive OR
of all characters following the STX (start of text) up to and including the ETX (end of text).
What this means is that the binary representation of all the characters in a transmission
are cumulatively added in a column and each resulting odd integer is assigned a 1 and
each even integer a 0 (two 1s = 0, two 0s = 0, a 1 and a 0 = 1). The extra LRC chara cter is
then appended to the transmission, and the rece iver (u sually the h ost) perfor ms the same
addition and compares the results.
When Transparent Mode is enabled, the following conditions apply:
Symbol Data to Source = Fixed to Enabled
Ambles to Source = Fixed to Disabled
Echo to Source = Fixed to Enabled
Output at End of Read Cycle = Fixed to Enabled
Output at ETX = Fixed to Enabled with user-defined characters. Default character will be
used if this setting is set to Disabled.
Output at Timeout = Fixed to Enabled with user-defined timeout. Default time will be
used if this setting is set to Disabled.
Mode of Operation
• Source Port data will echo back to itself.
• Source Port data will always pass through even when the Destination Port is in Polling
Mode with the host.
• Whenever ETX is received on the Source Port or symbol data is generated, the data will
be send to the Destination Port with its data appearing between the Preamble and
symbol data.
• Source Port data will always be sent to the Destination Port with a Preamble and Postamble.
•
Symbol data will be sent to the Source Port on a good read without Preamble or Postamble
in Point-to-Point protocol even if the Destination Port is in Polling Mode with the host.
• Destination Port data always echoes to the Source Port even if the Destination Port is in
Polling Mode.
When Half Duplex Mode is enabled, the following conditions apply:
Symbol Data to Source = Fixed to Enabled
Ambles to Source = Fixed to Enabled
Echo to Source = Fixed to Disabled
Output at End of Read Cycle = Fixed to Disabled
Output at ETX = Fixed to Disabled with user-defined characters. Default character will be
used if this setting is set to Disabled.
Output at Timeout = Fixed to Disabled with user-defined timeout. Default time will be
used if this setting is set to Disabled.
Mode of Operation
• Source Port data is not echoed back to itself.
• Source Port data is ignored when the Destination Port is in Polling Mode.
• Source Port data or symbol data is sent to the Destination Port whenever it is received.
• Source Port data is sent to the Destination Port without a Preamble or Postamble.
• Symbol data is sent to the Source Port and the Destination Port at the same time, and
conforms to the communicatio n paramete rs.
• Destination Port data is echoed to the Source Port in an un-polled mode.
When Full Duplex Mode is enabled, the following conditions apply:
Symbol Data to Source = Fixed to Disabled
Ambles to Source = Fixed to Disabled
Echo to Source = Fixed to Disabled
Output at End of Read Cycle = Fixed to Disabled
Output at ETX = Fixed to Disabled with user-defined characters. Default character will be
used if this setting is set to Disabled.
Output at Timeout = Fixed to Disabled with user-defined timeout. Default time will be
used if this setting is set to Disabled.
Mode of Operation
• Source Port data is not echoed back to itself.
• Source Port data is ignored when the Destination Port is in Polling Mode.
• Source Port data or symbol data is sent to the Destination Port whenever it is received.
• Source Port data is always sent to the Destination Port without a Preamble or Postamble.
• Symbol data is not sent to the Source Port.
• Destination port data is echoed to the source port in an un-polled mode.
Custom Mode
Custom allows for user-defined communication (Ambles to Source, Echo to Source, Output
at End of Read Cycle, Output at ETX, Output at Timeout).