Professional Documents
Culture Documents
SR-UR1: Instruction Manual
SR-UR1: Instruction Manual
SR-UR1
lines and power lines. Otherwise, electrical noise can be
NOTICE
generated that may cause a product failure or
malfunction.
• The SR-UR1 is a precision instrument. Do not drop or
Instruction Manual subject the SR-UR1 to impacts. Pay particular attention
when transporting or installing the unit.
• Do not turn off the power of the SR-UR1 while accessing
Introduction files. The internal data may be corrupted.
1 E SR-UR1-IM
Checking the Package Contents • Insert the connector straight in and not at an angle. The
connector pins could break if the connector is inserted
Main unit Instruction manual at an angle.
• Do not connect the SR-UR1 and the PC through a USB
hub or a similar device. Doing so may lead to
insufficient power being supplied to the SR-UR1, which
NOTICE may prevent it from operating normally.
• Be sure to insulate when attaching the code reader. The
SR-UR1 USB port GND and the head port SG are
shared. If the code reader is not insulated and there is a
potential difference between where it is attached and
the SG, the SR-UR1, code reader, and USB-connected
PC may be damaged.
RS-232C cable
(OP-27937)
It is necessary to supply
24 VDC power to the
Connections and Wiring Methods power terminal.
E SR-UR1-IM 2
The communication between AutoID Network Navigator and the SR-UR1
Installing the SR-UR1 will be disconnected.
When fixing the SR-UR1 in place, prepare screws whose lengths match
the thickness of the mounting sections.
3 E SR-UR1-IM
Setting Procedures Conversion
Head USB
reception data
Point • Prepare a PC with two open USB ports before setting the communication
SR-700 Series.
• For details on how to connect the SR-UR1 and various
code readers, refer to "Connections and Wiring
Methods," "Head port connections" (page 2).
• For details on how to connect code readers and AutoID
Network Navigator and on how to configure code reader Point • The SR-UR1 is equipped with a 10 KB send buffer.
settings, refer to the user's manual of the code reader. • Because a send buffer is present, the SR-UR1 can receive
up to 10 KB of characters (including the header and
terminator) from the head. A buffer overflow will occur if
SR-5000/2000/1000 Series data with a number of characters that exceeds the
maximum value is received.
1 Connect the SR-UR1 to AutoID Network Navigator, and then • After the SR-UR1 outputs all the USB communication
configure the settings as shown below. data, the SR-UR1 can receive the next data from the head.
A buffer overflow may occur if the SR-UR1 receives the
D-sub 9-pin layout 2: RD, 3: SD (default value) next data from the head while outputting the USB
communication data.
+5 V power supply Disabled (default value)
• If a buffer overflow occurs, perform one of the recovery
2 Connect the SR-5000/2000/1000 Series to AutoID Network actions as shown below.
The SR-UR1 receives the next data from the head.
Navigator, and then configure the settings as necessary. Disconnect and reconnect the USB cable.
3
Send the send buffer clear command (%BCLR; in the
Connect the SR-UR1 to the SR-5000/2000/1000 Series. case of USB-COM).
SR-700 Series
List of AutoID Network Navigator Settings
1 Connect the SR-UR1 to AutoID Network Navigator, and then
configure the settings as shown below. Head RS-232C
D-sub 9-pin layout 2: SD, 3: RD Item name Default value Setting range Details
9600bps to
+5 V power supply Enabled Baud Rate 115200bps —
115200bps
2 Disconnect the USB cable to remove power from the SR-UR1, Data Bits*1 8bit 7bit or 8bit —
Parity*1 Even None, Even, or Odd —
and then connect the SR-UR1 to the SR-700 Series. After that,
Stop Bit 1bit 1bit or 2bit —
use a USB cable to connect the SR-UR1 and a PC. When enabled and the
E SR-UR1-IM 4
Format Example 1) When the command to start reading (LON) is sent to the SR-
2000
Item name Default value Setting range Details
The characters to Command LON[CR]
Header (0 to 5 characters) be added at the Response —
start of the data
The characters to Example 2) When the command to clear the send buffer (%BCLR) is sent to
Terminator 0D (0 to 5 characters) be added at the the SR-UR1
end of the data
Command %BCLR[CR]
Append data size Disable Disable or Enable —
Append checksum Disable Disable or Enable —
Response OK,%BCLR[CR]
Operation
(1) (2) (3)
Enable Enable Enable Disable or Enable —
1 The host (PC) sends a command to the SR-UR1.
Buzzer level 16 1 1 Disable or 1 to 16
Disable, Red, Green, or
— 2 The SR-UR1 sends a response and operates according to the
Status LED color Green Red Red
Blue
— command. The first character of a control or configuration
ON time (×10 ms) 10 10 30 1 to 500 — command must be "%."
OFF time (×10 ms) 0 10 20 0 to 500 — Example) Control command "%BCLR"
Repetition count 1 2 4 1 to 10 —
(1) Command transmission
* These are the default values for (1) successful reading, (2) reading errors, and (3) main
unit errors. %BCLR[CR]
Other
Item name Default value Setting range Details
(2) Clear send buffer
Communication
USBUNIT (1 to 8 characters) —
unit name (3) Response
OK,%BCLR[CR]
5 E SR-UR1-IM
Reset Command
Default value
number Setting
Function Explanation
Command value
Function Parameter Response (1) (2) (3) (1) (2) (3)
name
0: Disable
Reset %RESET — OK,%RESET 1: Red
LED lighting 852 862 872 0 to 3 2 1
2: Green
Send buffer clear 3: Blue
ON time 853 863 873 1 to 500 Specify in units of 10 ms 10 10 30
Command
Function Parameter Response OFF time 854 864 874 0 to 500 Specify in units of 10 ms 0 10 20
name
Repetition count 855 865 875 1 to 10 Specify with count 1 2 4
Send buffer clear %BCLR — OK,%BCLR
* These are the default values for (1) successful reading, (2) reading errors, and (3) main
Saving/loading settings unit errors.
Function
Command
Parameter Response Communication configuration commands (%WN/%RN)
name
Use the following format to send communication configuration commands.
Save settings* %SAVE — OK,%SAVE
E SR-UR1-IM 6
Command Setting Default
Function
number value
Explanation
value Specifications
Data conversion
function 4
743 * General specifications
Data conversion
744 * Model SR-UR1
function 5
Power supply for the code
* Characters before and after conversion are specified in HEX. 5 VDC + 5%, − 15% (peak: 700 mA)
reader
Example) Converting "a" (0x41) to "b" (0x42):%WN,740,4142
Display LEDs 4 (status display, POWER, SD, RD)
Format settings Ambient
operating −20 to +50°C
Command Setting Default temperature
Function Explanation
number value value
Ambient storage
0: Disable −20 to +60°C
Append checksum 003 0, 1 0 temperature
1: Enable
Environmental Ambient
0: Disable
Append data size 004 0, 1 0 resistance operating 20 to 95%RH (no condensation)
1: Enable
humidity
Specify up to 5 characters (16
HEX bytes) in HEX (0x00 to Ambient storage
Header setting FF 20 to 95%RH (no condensation)
005 hhhh... 0x7F). humidity
FF: Not set Operating
No dust or corrosive gas present
Specify up to 5 characters (16 environment
HEX bytes) in HEX (0x00 to Voltage 4.5 to 5.25 V
Terminator setting 006 hhhh... 0D
0x7F). Rating Current
FF: Not set 500 mA
consumption
Main unit error message setting Dimensions 67 × 86 × 33 mm
Command Setting Default Weight Approx. 100 g
Function Explanation
number value value Windows 10 Pro or later, 32 bit/64 bit
Output main unit error 0: Disable Windows 8 Pro or later, 32 bit/64 bit (excluding Windows
020 0, 1 0 Supported OS
message 1: Enable RT)
Windows 7 Professional or later, 32 bit/64 bit
Communication specifications
Troubleshooting When an Error Occurs
Connector 1 (D-sub 9-pin connector)
1 Check the POWER LED on the SR-UR1 and the LED pattern. Communication
standard
RS-232C compliant
7 E SR-UR1-IM
9. Redistribution and use of this software or any part thereof other than as permitted
COPYRIGHT INDICATIONS under this license is void and will automatically terminate your rights under this
license.
This product contains open source software components. 10.THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND
The license terms for the open source software contained in this product are as follows. CONTRIBUTORS "AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
STM32F3xx HAL V1.0.1 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-
STM32F3xx CMSIS V2.0.1 INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS,
Copyright(c) 2014 STMicroelectronics WHICH ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN
NO EVENT SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE
Redistribution and use in source and binary forms, with or without modification, are FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
permitted provided that the following conditions are met: CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
1. Redistributions of source code must retain the above copyright notice, this list of PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
conditions and the following disclaimer. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2. Redistributions in binary form must reproduce the above copyright notice, this list of ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
conditions and the following disclaimer in the documentation and/or other materials OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
provided with the distribution. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3. Neither the name of STMicroelectronics nor the names of its contributors may be POSSIBILITY OF SUCH DAMAGE.
used to endorse or promote products derived from this software without specific prior 11. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER
written permission. RIGHTS, WHETHER EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY
PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND STMICROELECTRONICS OR ANY THIRD PARTY.
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE WARRANTIES AND DISCLAIMERS
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT (1) KEYENCE warrants the Products to be free of defects in materials and workmanship for
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR a period of one (1) year from the date of shipment. If any models or samples were
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF shown to Buyer, such models or samples were used merely to illustrate the general type
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING and quality of the Products and not to represent that the Products would necessarily
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS conform to said models or samples. Any Products found to be defective must be
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. shipped to KEYENCE with all shipping costs paid by Buyer or offered to KEYENCE for
inspection and examination. Upon examination by KEYENCE, KEYENCE, at its sole
Cortex-M CMSIS V3.20 option, will refund the purchase price of, or repair or replace at no charge any Products
Copyright(c) 2009-2013 ARM LIMITED found to be defective. This warranty does not apply to any defects resulting from any
All rights reserved. action of Buyer, including but not limited to improper installation, improper interfacing,
improper repair, unauthorized modification, misapplication and mishandling, such as
Redistribution and use in source and binary forms, with or without modification, are exposure to excessive current, heat, coldness, moisture, vibration or outdoors air.
permitted provided that the following conditions are met: Components which wear are not warranted.
- Redistributions of source code must retain the above copyright notice, this list of (2) KEYENCE is pleased to offer suggestions on the use of its various Products. They are
conditions and the following disclaimer. only suggestions, and it is Buyer's responsibility to ascertain the fitness of the Products
- Redistributions in binary form must reproduce the above copyright notice, this list of for Buyer’s intended use. KEYENCE will not be responsible for any damages that may
conditions and the following disclaimer in the documentation and/or other materials result from the use of the Products.
provided with the distribution. (3) The Products and any samples ("Products/Samples") supplied to Buyer are not to be
- Neither the name of STMicroelectronics nor the names of its contributors may be used internally in humans, for human transportation, as safety devices or fail-safe
used to endorse or promote products derived from this software without specific prior systems, unless their written specifications state otherwise. Should any Products/
written permission. Samples be used in such a manner or misused in any way, KEYENCE assumes no
responsibility, and additionally Buyer will indemnify KEYENCE and hold KEYENCE
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND harmless from any liability or damage whatsoever arising out of any misuse of the
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, Products/Samples.
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF (4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE PROVIDED
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE WITH NO OTHER WARRANTIES WHATSOEVER. ALL EXPRESS, IMPLIED, AND
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS STATUTORY WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT AND NON-INFRINGEMENT OF PROPRIETARY RIGHTS, ARE EXPRESSLY
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR DISCLAIMED.
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF IN NO EVENT SHALL KEYENCE AND ITS AFFILIATED ENTITIES BE LIABLE TO
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING ANY PERSON OR ENTITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE,
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION,
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ANY DAMAGES RESULTING FROM LOSS OF USE, BUSINESS INTERRUPTION,
LOSS OF INFORMATION, LOSS OR INACCURACY OF DATA, LOSS OF PROFITS,
STM32 USB Device Library V2.2.0 LOSS OF SAVINGS, THE COST OF PROCUREMENT OF SUBSTITUTED GOODS,
Copyright(c) 2014 STMicroelectronics SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING OUT OF OR IN
CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS, EVEN IF
SLA0044 Rev5/February 2018 KEYENCE OR ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE
THIRD PARTY’S CLAIM FOR DAMAGES OR ANY OTHER CLAIM AGAINST BUYER.
BY INSTALLING COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING In some jurisdictions, some of the foregoing warranty disclaimers or damage limitations
THIS SOFTWARE OR ANY PART THEREOF (AND THE RELATED may not apply.
DOCUMENTATION) FROM STMICROELECTRONICS INTERNATIONAL N.V, SWISS
BRANCH AND/OR ITS AFFILIATED COMPANIES (STMICROELECTRONICS), THE BUYER'S TRANSFER OBLIGATIONS:
RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON BEHALF OF ANY
ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES If the Products/Samples purchased by Buyer are to be resold or delivered to a third
TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT. party, Buyer must provide such third party with a copy of this document, all
specifications, manuals, catalogs, leaflets and written information provided to Buyer
Under STMicroelectronics’ intellectual property rights, the redistribution, reproduction pertaining to the Products/Samples.
and use in source and binary forms of the software or any part thereof, with or without
E 1101-3
modification, are permitted provided that the following conditions are met:
1. Redistribution of source code (modified or not) must retain any copyright notice, this
list of conditions and the disclaimer set forth below as items 10 and 11.
2. Redistributions in binary form, except as embedded into microcontroller or
microprocessor device manufactured by or for STMicroelectronics or a software
update for such device, must reproduce any copyright notice provided with the
binary code, this list of conditions, and the disclaimer set forth below as items 10
and 11, in documentation and/or other materials provided with the distribution.
3. Neither the name of STMicroelectronics nor the names of other contributors to this
software may be used to endorse or promote products derived from this software or
part thereof without specific written permission.
4. This software or any part thereof, including modifications and/or derivative works of
this software, must be used and execute solely and exclusively on or in combination
with a microcontroller or microprocessor device manufactured by or for
STMicroelectronics.
5. No use, reproduction or redistribution of this software partially or totally may be done in
any manner that would subject this software to any Open Source Terms. “Open Source
Terms” shall mean any open source license which requires as part of distribution of
software that the source code of such software is distributed therewith or otherwise
made available, or open source license that substantially complies with the Open
Source definition specified at www.opensource.org and any other comparable open
source license such as for example GNU General Public License (GPL), Eclipse Public
License (EPL), Apache Software License, BSD license or MIT license.
6. STMicroelectronics has no obligation to provide any maintenance, support or
updates for the software.
7. The software is and will remain the exclusive property of STMicroelectronics and its
licensors. The recipient will not take any action that jeopardizes STMicroelectronics
and its licensors' proprietary rights or acquire any rights in the software, except the
limited rights specified hereunder.
8. The recipient shall comply with all applicable laws and regulations affecting the use
of the software or any part thereof including any applicable export control law or
regulation.