Thank you for purchasing the OMRON V500-R521B2/C2.
This manual describes the functions, performance, and application
methods of the V500-R521B2/C2.
This manual is intended for personnel with knowledge of electrical
systems. Be sure to read and understand this manual thoroughly before
using the product, and keep this manual in an easily accessible location
for quick reference when required.
READ AND UNDERSTAND THIS DOCUMENT (Be sure to read this.)
Product Overview
Wiring and Installation
Function Explanation
Setting Method
Example of System Configuration
Section 6
Appendix
Bar Code Reader
User’s Manual
V500-R521B2
V500-R521C2
Page 4
Introduction
Introduction
READ AND UNDERSTAND THIS DOCUMENT
Please read and understand this document before using the products. Please consult your OMRON
representative if you have any questions or comments.
WARRANTY
OMRON’s exclusive warranty is that the products are free from defects in materials and workmanship for
a period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE
PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS
DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR
INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL
DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE
PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR
STRICT LIABILITY.
In no event shall responsibility of OMRON for any act exceed the individual price of the product on which
liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS
REGARDING THE PRODUCTS UNLESS OMRON’S ANALYSIS CONFIRMS THAT THE PRODUCTS
WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO
CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
SUITABILITY FOR USE
THE PRODUCTS CONTAINED IN THIS DOCUMENT ARE NOT SAFETY RATED. THEY ARE NOT
DESIGNED OR RATED FOR ENSURING SAFETY OF PERSONS, AND SHOULD NOT BE RELIED
UPON AS A SAFETY COMPONENT OR PROTECTIVE DEVICE FOR SUCH PURPOSES. Please refer
to separate catalogs for OMRON's safety rated products.
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to
the combination of products in the customer’s application or use of the product.
At the customer’s request, OMRON will provide applicable third party certification documents identifying
ratings and limitations of use that apply to the products. This information by itself is not sufficient for a
complete determination of the suitability of the products in combination with the end product, machine,
system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not
intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the
uses listed may be suitable for the products:
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or
uses not described in this document.
V500-R521B2/C2
2
User’s Manual
Page 5
Introduction
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical
equipment, amusement machines, vehicles, safety equipment, and installations subject to separate
industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCT IS PROPERLY RATED AND INSTALLED
FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PERFORMANCE DATA
Performance data given in this document is provided as a guide for the user in determining suitability and
does not constitute a warranty. It may represent the result of OMRON’s test conditions, and the users
must correlate it to actual application requirements. Actual performance is subject to the OMRON
Warranty and Limitations of Liability.
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other
reasons.
Introduction
It is our practice to change model numbers when published ratings or features are changed, or when
significant construction changes are made. However, some specifications of the product may be
changed without any notice. When in doubt, special model numbers may be assigned to fix or establish
key specifications for your application on your request. Please consult with your OMRON representative
at any time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when
tolerances are shown.
ERRORS AND OMISSIONS
The information in this document has been carefully checked and is believed to be accurate; however, no
responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user’s programming of a programmable product, or any
consequence thereof.
COPYRIGHT AND COPY PERMISSION
This document shall not be copied for sales or promotions without permission.
This document is protected by copyright and is intended solely for use in conjunction with the product.
Please notify us before copying or reproducing this document in any manner, for any other purpose. If
copying or transmitting this document to another, please copy or transmit it in its entirety.
V500-R521B2/C2
User’s Manual
3
Page 6
Introduction
Introduction
Meanings of Signal Words
In this manual, precautions are indicated using the following symbols and signal words to ensure safe
use of the V500-R521B2/C2. The precautions indicated by these symbols and signal words are
important for safety and must be observed.
Indicates a potentially hazardous situation which, if not avoided, will result in
WARNING
minor or moderate injury, or may result in serious injury or death. Additionally
there may be significant property damage.
Indicates a potentially hazardous situation which, if not avoided, may result in
minor or moderate injury or in property damage.
Meanings of Alert Symbols
Indicates the possibility of laser radiation.
Indicates prohibition when there is a risk of minor injury from electrical shock or other
source if the product is disassembled.
Indicates instruction for the user to always connect the ground wire.
V500-R521B2/C2
4
User’s Manual
Page 7
For the Safety Use of Laser Products
•Warning display
WARNING
Avoid eye exposure to direct or scattered radiation reflected by a mirror
surface.
Laser beam emitted from a laser has high power density and may become
blind when the beam is directed into eyes.
Do not disassemble this bar code reader.
Laser beam may be scattered around when it is disassembled.
This Bar Code Reader uses a laser as the light source.
Lasers are classified on IEC standard (IEC 60825-1).
V500-R521B2/R521C2
Wavelength650 nm
Peak power1 mW max.
Classification2
Introduction
Introduction
Labeling on Laser Use
The Bar Code Reader has the following WARNING Label on the bottom.
A different set of regulations, European, IEC 60825 applies when exporting this product to Europe.
Replace the warning label with the corresponding English label (supplied with this product.)
When using devices in which a Bar Code Reader is installed in the U.S., the product is subjected to the
U.S. FDA (Food and Drug Administration) laser regulations. Replace the warning label with the
corresponding English label (supplied with this product.)
Usage
• Use laser enclosure device to prevent specular object from reflecting laser beam.
When used without an enclosure, be sure to avoid a laser path from eye level.
• Although the safety distance (NOHD) is approximately 1 m; it is advisable, however, to terminate the laser on its path
if possible. Nonreflective, flatting material is recommendable for termination.
• Wear protective glassed to protect against laser light during set up and adjustment.
V500-R521B2/C2
User’s Manual
5
Page 8
Introduction
Introduction
Outline of IEC 60825-1 Standard
The following are the safety measures to be taken by the user for each type of laser equipment.
Classification
Required items
Remote interlockNot requiredConnect to room or door circuits.
Key controlNot requiredRemove key when not in use.
Beam attenuatorNot requiredWhen in use prevents inadvertent
Emission indicator
device
Warning signsNot requiredFollow precautions on warning
Beam pathNot requiredTerminate beam at end of useful length.
Eye protectionNot requiredRequired if engineering and
Protective clothingNot requiredSometimes
TrainingNot requiredRequired for all operator and maintenance personnel.
∗ With respect to the requirements of remote interlock connector, key control, beam attenuator, emission indicator
device, and eye protection, Class 3B laser products not exceeding five times the AEL of Class 2 in the wavelength
range of 400 nm to 700 nm are to be treated as Class 3A laser products.
Class 1Class 2Class 3AClass 3B*Class 4
exposure.
Not requiredIndicates laser is energized.
signs.
administrative procedures not
practicable and MPE exceeded.
Specific
required.
requirements.
Precautions for Safe Use
Observe the following precautions to ensure safe use of the product.
■ Installation Environment Precautions
• Do not use the product in environments with flammable or explosive gases.
• Do not install the product close to high-voltage devices and power devices in order to
secure the safety of operation and maintenance.
• During installation, make sure that screws are tightened firmly.
■ Power Supply and Wiring Precautions
• Use the product with the power supply voltages specified in this manual.
• Use a DC power supply with countermeasures against high-voltage spikes (safe
extra low-voltage circuits on the secondary side).
p.30
■ Other Precautions
• If the product becomes extremely hot, or abnormal odors or smoke occurs, stop using
the product immediately, turn OFF the power, and consult with your OMRON
representative.
• Dispose of the product as industrial waste.
• Do not apply pressure or deform the product when disposing of it.
V500-R521B2/C2
6
User’s Manual
Page 9
Introduction
Precautions for Correct Use
Always observe the following precautions to prevent operation failures, malfunctions, and adverse effects
on performance and equipment.
1. Installation of the bar code reader
The bar code should be mounted in a place:
• where is not subject to direct sunlight (indoor use),
• without any corrosive gas, dust, metallic powder or salt content,
• where operation temperature does not exceed the specified range,
• where temperature change is not rapid, without dew condensation (within the
specified value),
• where humidity change is not rapid, without dew condensation (within the specified value),
• where vibration or shock does not reach to the bar code reader directly (within the
specified value),
• and without any droplet of water, oil or chemical agent.
Introduction
2. Power supply
• Apply voltage to be +5 VDC ±10 % at the connector of the bar code reader side.
• Used cable should be 0.3 mm
or resistance is too huge, voltage may be decreased due to fluctuation of
consumption current of the bar code reader.
• Be careful so that noise or switching surge of relay is not applied on +5 V power
voltage supplied to the bar code reader.
• To suppress influence such as noise, use direct current of insulation transformer, not
auto transformer.
Auto transformer
Commercial
power source
Insulation transformer
Commercial
power source
2
or equivalent, within 5 m. When the wiring is too long
㧗
㧙
㧗
㧙
V500-R521
series
V500-R521
series
• When high frequency wave such as ultrasonic welding machine is used, insulate it
using auxiliary insulation plate to avoid malfunction due to induction current.
• S82K-00705 (made by OMRON Corporation) is recommended for the driving power
supply of the bar code reader.
V500-R521B2/C2
User’s Manual
7
Page 10
Introduction
Introduction
3. Wiring
• Extension length of the RS-232C line (SD, RD, SG) should be up to 15 m.
• For trigger and power line, use a cable with 0.3 mm
2
or more and extension length
should be up to 5 m.
• Wiring should avoid approaching to a high-power heavy electric current wire.
• Check the polarity of terminals and be careful of faulty wiring.
• Avoid reverse connection of power supply or connection to alternating current.
• Turn off the power switch before connecting or disconnecting a connector.
• Use a wrist strap etc. to avoid electrostatic charge when you touch terminals and
signal lines, to avoid damage due to static electricity.
4. Installation
• When using the bar code reader, fix it to the associated mounting bracket.
• When inductive noise is generated at the mounting bracket, attach an associated
insulation board. Use the associated screw to mount the insulation board.
• Incline the bar code reader about 15 ° to read the target bar code.
• Do not apply stress on the cable when mounting and using.
• Distance and angle allowed to read differs according the bar code. Check if the used
bar code can be read actually, before mounting.
5. Timing input with photo-electronic sensor
When taking timing with the photo-electronic sensor, mount the bar code reader so that
the footlight beam of the photo-electronic sensor does not spot directly on the reading
window of the bar code reader or on the bar code.
Bar code
Photo-electronic sensor
Footlight beam of the photo-electronic sensor spots
on the reading window of the bar code reader.
Footlight beam of the photoelectronic sensor spots on the
bar code.
6. Influence of reflective objects
When there is any reflective object such as metal or mirror surface on the bar code
beam-scanning surface, reading character may be deteriorate. Cover the reflective
object with something or change the bar code position to avoid influence.
V500-R521B2/C2
8
User’s Manual
Page 11
Introduction
7. Mutual interference
When mounting the bar code readers side-by-side, laser beams may interfere reading
each other. The bar code readers should be placed far enough not to affect reading.
Bar code
Introduction
8. Bar code label
• The height of the bar code should be more than the luster scan width (max. 10 mm)
and use a label considering attaching error.
• When reading bar code, margin is necessary on the both sides of the bar code. Set
the label so that margin parts do not hide. A space of one character or more and 2.5
mm or more is necessary of both right and left side of the label. (Rough standard: 12
or 13 times or more of the narrow bar width)
Bar code
Margin
Width
Label
(Paper which a bar code is printed on)
Narrow bar
(Slim lines)
Margin
Height
9. To improve reading reliability
• When the digit is determined, designate the digit to use the bar code.
• Use the modulus check (addition of check digit).
• Bar codes other than the reading object should be set to reading prohibition.
p.61
10. Maintenance and check
• Check for any dust or dirt on the reading window regularly. When it is dirty, wipe with
a dry, soft and clean cloth. Do not use solutions such as thinner.
• Handle with care, not to apply strong shock such as dropping.
V500-R521B2/C2
User’s Manual
9
Page 12
Introduction
Introduction
How to Use This Manual
How to Use This Manual
In this manual, each part of the bar code is described as follows.
Bar code
Label
(Paper which a bar code is printed on)
Narrow bar
(Slim lines)
Margin
Margin
Height
Width
For a page format
Section 4
System Settings
Creating Setting Files Using the 2DCR Configear
Creates the data setting file for loading set data to the Handheld 2D Code Reader.
Make the settings for the communications conditions, functions, and display conversion.
Se lect Setting Reader - Create Data... from the menu.
The following window for creating the setting data file will be displayed.
Section 4
System Settings
Section 4 Creating Setting Files Using the 2DCR Configear
Section title
Outline
Move to the setting screen.
Screen display
■ Open
Opens the previously created data setting file for editing.
The [Receive (R
Reader and edit it.
■ Save
Saves the created data setting file.
)] function can be used to open the data file downloaded from the Code
To save data to the Memory Card, create a folder with the name SETTINGS, and save. If the data is
saved to a folder other than “SETTINGS”, it cannot be uploaded.
Communication Settings
The settings shown in the following table are set in the Communica tion Settings Tab
Page in the Create Setting Data Window.
Setting itemSettings
Baud Rate
Parity
Data Length
Stop Bit
Header/Footer Prefix
The default settings are indicated with an asterisk.
*
, 19,200, or 38,400
9,600
*
None
, odd, or even
8 bits
77 bits or
*
or 2 bits
1sbit
None*, 02 <STX>, or 1B <ESC>
Suffix
ETX, 0A LF,
FCS
ON or
OFF
0D CR
*
*
*
, or 0D0A CR+LF
V500-R521B2/C2
User’s Manual
65
V500-R521B2/C2
User’s Manual
Procedure and additional explanations
Information useful during the operation and reference
pages are provided here with special marks to indicate
the kind of information being provided.
Section 4 Uploading from the Memory Card
Index label
Provides the section number
and subject matter. Can be
used to immediately open the
desired page.
Describes the settings.
69
V500-R521B2/C2
10
User’s Manual
*This page does not actually exist in this manual.
Page 13
Visual Aids
Introduction
Introduction
Indicates points that are important in using product functions or in application procedures.
Indicates page numbers providing related information.
Indicates helpful information when a problem occurs and explanations of technical terms.
Visual Aids
V500-R521B2/C2
User’s Manual
11
Page 14
Introduction Contents
Introduction
Contents
Introduction
Meanings of Signal Words 4
Meanings of Alert Symbols 4
For the Safety Use of Laser Products 5
Precautions for Safe Use 6
Precautions for Correct Use 7
How to Use This Manual10
Visual Aids11
Section 1Product Overview15
Features16
Product Composition18
Part Names19
Rating/Performance20
Usage Flow Chart24
Section 2Wiring and Installation27
Wiring28
Installation32
Section 3Function Explanation35
Explanation of Reading System36
Operation Flow Chart38
Communication Data Format46
Test Reading Function49
V500-R521B2/C2
12
User’s Manual
Page 15
Introduction
Section 4Setting Method51
How to Use Menu Sheet/Command52
Menu Sheet/Command List56
Section 5Example of System Configuration87
Example of Connection with a PC88
Example of Connection with Programmable Controller (CS1)89
Example of Multi-drop Connection92
How to Use Command Link Unit V700-L1296
Introduction Contents
Section 6Appendix113
External Dimension114
Troubleshooting120
ASCII Code Table121
Explanation of Terms122
Corresponding Bar Code List127
Revision History132
V500-R521B2/C2
User’s Manual
13
Page 16
Section 1
Product Overview
This section explains about features and rating/performance of this bar code
reader.
Features16
Product Composition18
Part Names19
Rating/Performance20
Usage Flow Chart24
Section 1Product Overview
V500-R521B2/C2
User’s Manual
15
Page 17
Section 1
Product Overview
Features
Section 1 Features
A bar code reader is a device to read a bar code attached on a product and transfer the
information to upper equipment.
Various types of information can be managed efficiently by using it combining with PC and
programmable controllers.
Problems on siteBar code solution!
Work data are recorded on papers.
> Reading and writing mistakes and
distribution of workers exist.
> Formats are difficult to learn because various
kinds are produced in small numbers.
Cost should be as cheap as possible as
the product price is low.
Register product numbers and setting on PC
and programmable controllers beforehand and
import a product number only by reading a bar
code. Input mistake or distribution of workers
are eliminated.
Cost is very low by only attaching a printed bar
code label.
Ultra-compact design
Optimum for the assembly to each device
Easy installation
Easy to read by pressing the TEST button and know the reading rate with LED
illumination and buzzer sound in real time.
As reading position is easy to check at site before connecting with upper equipment,
installation work and maintenance work hour can be greatly reduced.
p.49
Simple function setting
You can either set the function by reading a menu sheet or by inputting a command on
the upper equipment. You can select the setting method according to the condition.
p.52
V500-R521B2/C2
16
User’s Manual
Page 18
Section 1
Product Overview
Perfect reading performance
High speed reading with 500 scan/sec. realized high reliability and wide reading
distance of 60 mm to 270 mm (in case of narrow bar width 1.0 mm).
p.21
Easy multi-drop
Connect communication link unit V700-L12 to collect read data from plural bar code
readers (max. 31) for one set of upper equipment.
p.92
Communication link
unit
V700-L12
Communication
Upper
equipment
converter
K3SC
Bar code reader
V500-R521
Section 1Features
Max. 31 sets
V500-R521B2/C2
User’s Manual
17
Page 19
Section 1
Product Overview
Product Composition
Section 1 Product Composition
The bar code reader is used by connecting with upper equipment such as PC and
programmable controllers.
The upper equipment receives information which the bar code reader reads and refers with
the registered information and records.
There are two types in V500-R521 differing in connector shape as follows. Select according to
connecting upper equipment.
V500-R521B2 (Cable output type)
Tip of the cable is loose end.
Bar code reader
V500-R521B2
PC (PC/AT compatible)
p.88
Programmable controller
p.89
Power supply (5 VDC)
Recommended:
S8VS-01505
V500-R521C2 (Connecter output type)
Tip of the cable is a connector. Use an appropriate connecting cable according to the
upper equipment.
PC (PC/AT compatible)
Bar code reader
V500-R521C2
Cable for connecting with PC/AT compatible
V509-W011D
p.88
Power supply (5 VDC)
Recommended:
S8VS-01505
Programmable controller
V500-R521B2/C2
18
User’s Manual
Programmable controller made by OMRON
Connecting cable
V509-W011
Generally, a tilt angle is not specified, because it differs according to the bar code
height.
Scan all the bar code with the laser.
Section 1
Section 1Rating/Performance
Curvature
In case of the following conditions, the bar code of 8-digit EAN, curvature range 15 mm
or more and 13-digit EAN, curvature range 20 mm or more can be read.
• Bar code:Resolution = 0.26 mm, EAN, MRD 63 % (PCS = 0.9)
Examination of the bar code beforehand, installation, and introduction flow chart is as shown below.
Examination
beforehand
Check the type, width, height and numbers of digit of bar codes.
p.20 Rating/Performance
p.127 Corresponding Bar Code List
Wiring.
Connection
p.28 Wiring
Connect peripheral equipment.
p.87 Example of System Configuration
Turn on the power switch.
Check that the bar code in subject can be read.
p.49 Test Reading Function
Preparation
Investigate the reading timing and moving speed.
p.38 Operation Flow Chart
Set the reading condition corresponding to the purpose.
p.56 Menu Sheet/Command List
V500-R521B2/C2
24
User’s Manual
Page 26
Install.
Section 1
Product Overview
Section 1Usage Flow Chart
Execution of reading
of using
p.32 Installation
Installation -
Test in the actual usage environment.
p.49 Test Reading Function
Execute reading.
Applied way
Read only the registered bar code.
p.83 Setting related to sorting read
In case of trouble:
A bar code cannot be read correctly.
p.120 Troubleshooting
I can't understand the operation flow.
p.38 Operation Flow Chart
I don't know the communication specification.
p.46 Communication Data Format
V500-R521B2/C2
User’s Manual
25
Page 27
Section 2
Wiring and Installation
This section explains about the wiring method and installation method of the
bar code reader.
Wiring28
Installation32
Section 2Wiring and Installation
V500-R521B2/C2
User’s Manual
27
Page 28
Section 2
Wiring and Installation
Wiring
Section 2Wiring
• Extension length of the RS-232C line (SD, RD, and SG) should be up to 15 m.
• For trigger and power line, use a cable with 0.3 mm
• Wiring should avoid approaching to a high-power heavy electric current wire.
• Check the polarity of terminals and be careful of faulty wiring.
• Avoid reverse connection of power supply or connection to alternating current.
• Do not use exceeding rating voltage.
• Turn off the power switch before connecting or disconnecting a connector.
• Use a wrist strap etc. to avoid electrostatic charge when you touch terminals and signal lines, to avoid
damage due to static electricity.
2
or more and extension length should be up to 5 m.
Wiring diagram
V500-R521B2 (Cable output type)
Wiring color
BrownTRIGExternal trigger signal
YellowOKREAD OK signal
OrangeNGREAD NG signal
BlueCSTransmission allowed
GrayRSTransmission request
WhiteRDReceived data
GreenSDTransmission data
RedVCCPower supply
BlackS.GND0 V (Signal ground)
Shield (FG)F.GNDFG (Frame ground)
Signal
name
Function
Connection with upper equipment p.88, p.89
Signal direction
Bar code reader Upper equipment
External
External
V500-R521B2/C2
28
User’s Manual
Page 29
Logic of external trigger signal can be selected.
Section 2
Wiring and Installation
Positive logic
(HIGH active)
Negative logic
(LOW active)
You can select the output logic of READ OK and READ NG signal.
SystemDescription
Trigger signal
synchronous system
One-shot systemREAD OK/NG signal is turned on during the preset time (one-shot time). One-shot
Maintains ON condition until the next trigger is input. You can select positive logic/
negative logic.
time can be set from 10 to 100 ms (in 10 ms interval). You can select positive logic/
negative logic.
Trigger ON
Trigger ON
Setting method p.57
Setting method p.75
Section 2Wiring
V500-R521B2/C2
User’s Manual
29
Page 30
Section 2Wiring
Section 2
Wiring and Installation
V500-R521C2 (Connector output type)
(Pin alignment)
Connector part (DIN: 8P plug)
Made by Hosiden Corporation
TCP1394-715267 (TypeA)
Pin No.
1SDTransmission data
2RDReceived data
3RSTransmission request
4CSTransmission allowed
5TRIGExternal trigger signal
6NCNot connected
7S.GND0 V
8VCCPower supply
Signal
name
Function
Bar code reader Upper equipment
Signal direction
External
Connection with upper equipment p.88, p.89
When you make a connection cable, use the following connectors.
Recommended parts for the connector
UsageManufacturerModel
For cable relayHosiden CorporationTCS8587-0170477
For panel installation 2 Hosiden CorporationTCS1080-0120177
External
Logic of external trigger signal can be selected.
Positive logic
(HIGH active)
Negative logic
(LOW active)
You can select the output logic of READ OK and READ NG signal.
Power supply
Recommended parts for the power supply
ManufacturerModel
OMRON CorporationS8VS-01505
V500-R521B2/C2
30
User’s Manual
Trigger ON
Trigger ON
Setting method p.57
Page 31
Section 2
Wiring and Installation
Input/output circuit
Input circuit for the external trigger signal (Common to V500-
R521B2/V500-R521C2)
Vcc
Internal
circuit
Maximum
value
External trigger signal
Item
Terminal voltage Von when a
transistor is turned on
Terminal voltage Voff when a
transistor is turned off
Vcc
TRIG
Von/off
SG
Minimum
value
0 V1.3 V
2.5 VVcc
Output circuit of the READ OK/NG signal (Only V500-R521B2)
OK/NG
Internal
SG
circuit
Section 2Wiring
ItemSpecification
Output systemNPN open collector
Rated load24 VDC 30 mA
Leak current at OFF0.5 mA or less
Residual voltage at ON1.0 V or less
Cable specification
• Shape: Straight cable
• Diameter: φ3.8 ± 0.5 mm
• Length: 2000 ± 50 mm
• Number of core: 9
V500-R521B2/C2
User’s Manual
31
Page 32
Section 2Installation
Section 2
Wiring and Installation
Installation
To avoid regular reflection of laser, incline approx. 15 ° against the bar code subject to read
when installing the bar code reader. Use this mounting bracket as the mounting surface of an
associated mounting bracket is inclined 15 °. (Tightening torque 0.54 N/m)
V500-R521
V500-R521
1. Attach the mounting bracket on the bar code reader.
2. Install.
When you attach this line of the bracket
horizontally, the bar code reader inclines 15 °.
• When inductive noise is generated at the mounting bracket, attach an associated insulation board.
Use the associated screw to install the insulation board.
• Do not apply stress on the cable when installing or using.
• Distance and angle allowed to read differs according the bar code. Check if the used bar code can
be read actually, before installing.
When you attach this line of the bracket vertically,
the bar code reader inclines 15 °.
Vertical
Horizontal
V500-R521B2/C2
32
User’s Manual
Page 33
External dimension
Mounting bracket (accessory)
Material: SUS304
Section 2
Wiring and Installation
(Unit: mm)
Small screw, +Flat head 2-M3X 6
Light axis
Mounting
bracket
Dimension of mounting hole
Section 2Installation
Insulation board (accessory)
Material: Fabric bake
2-M5 holes
When the associated mounting bracket and insulation board are not used, install it by referring to the
outline dimension figure.
p.114
Bar code label
Laser beam
(Unit: mm)
V500-R521B2/C2
User’s Manual
33
Page 34
Section 3
Function Explanation
This section explains about representative functions of the bar code reader.
Explanation of Reading System36
Operation Flow Chart38
Communication Data Format46
Test Reading Function49
Section 3 Function Explanation
V500-R521B2/C2
User’s Manual
35
Page 35
Section 3 Explanation of Reading System
Section 3
Function Explanation
Explanation of Reading System
There are following reading systems for this bar code reader.
Setting method p.67
Reading systemTrigger readingFull-time reading
Trigger
Input method
Reading
operation
(*2)
External
trigger
signal
RS-232C
command
TEST
button
(Back side)
Single
reading
Plural
reading
Continuous
reading
Reading starts by applying reading trigger
from outside.
This system is mainly used when operation.
When the external trigger signal is turned
on, laser radiates and starts reading. The
"Trigger controlled system" reads during
the trigger is ON, and the "Effective
duration designation system" reads only the
effective duration (*1) which is set
beforehand after the trigger is ON.
The upper equipment sends the
communication command and the laser
beam radiates to start reading. After
receiving the command, it reads only for the
effective duration (*1) which is set
beforehand.
Press the TEST button once to read once.
Handy to use to check if the reading
condition setting is appropriate.
When the reading succeeds, the data is
output and ends reading automatically.
Reads bar codes continuously during the
trigger is ON or effective duration (*1).
When the first reading is completed, data is
once output and while reading the same
bar codes continuously, no output is made.
Outputs newly only when the data differ
from the adjacent bar code.
Reads bar codes continuously during the
trigger is ON or effective duration (*1).
Outputs data continuously even for the
same bar code.
During the power is turned on, laser is
radiated all the time, to be able to read
any time. This system is mainly used at
installation and system testing.
–
(Ignored even when input.)
–
(Ignored even when input.)
–
(Ignored even when pressed.)
Reads continuously and outputs the data
continuously.
The bar code reading continues in series.
While reading the same bar code, output
is not newly made. Outputs newly only
when the data differ from the adjacent bar
code.
Reads continuously and outputs the data
continuously.
*1Effective duration of reading
When the trigger input method is external trigger signal effective duration designation system or RS-232C
command, effective duration setting is required beforehand. Effective duration is set by combining "effective
duration" from 0 to 10 sec. and "minor setting" from 0 to 750 ms.
E.g. 1: When you want to set the effective duration to 2.5 sec., set the effective duration to 2 sec. and the
minor setting to 500 ms.
E.g. 2: When you want to set the effective duration to 0.7 sec., set the effective duration to 0 sec. and the
minor setting to 700 ms.
E.g. 3: When you want to set the effective duration to 10.0 sec., set the effective duration to 10 sec. and the
minor setting to 0 ms.
Effective duration setting method p.70
V500-R521B2/C2
36
User’s Manual
Page 36
Function Explanation
*2Reading operation
Presence of the READ OK/NG signal output differs according to the reading operation setting.
(READ OK/NG signal output is only for V500-R521B1)
In case of single reading and plural reading:
When reading succeeded: OK signal is output.
When reading failed:NG signal is output.
In case of continuous reading:
OK or NG signal after reading is not output.
READ OK/NG signal output p.28
Section 3
Section 3 Explanation of Reading System
V500-R521B2/C2
User’s Manual
37
Page 37
Section 3
Function Explanation
Operation Flow Chart
Basic operation flow chart
This clause explains steps of "Power on > Reading > Data output" in case of trigger
reading.
In case of single reading
Power on
Section 3 Operation Flow Chart
Wait for the
reading trigger
Laser radiation
Repeat
Reading process execution
Is reading
succeeded?
Laser beam goes out
READ OK LED illuminates
Is reading trigger end?
Laser beam goes out
READ NG LED illuminates
(*1)
Has reading
effective duration
passed?
(*2)
Repeat
Process when reading succeeded
*1When the trigger by a command is used, ignore this clause.
*2In case of trigger controlled system (reads while the trigger is ON), consider that the reading effective duration
is set to 0.
V500-R521B2/C2
38
User’s Manual
Reading data output
Process when reading failed
Repeat
Process when reading failed
Page 38
In case of plural reading
Power on
Wait for the
eading trigger
Section 3
Function Explanation
Laser radiation
Reading process execution
Is reading
succeeded?
Is the data
differ from the previous
reading?
READ OK LED illuminates
Reading data output
Process when reading succeeded
Repeat
Repeat
Is reading trigger end?
(*1)
Has reading effective
duration passed?
(*2)
Laser beam goes out
Is reading
succeeded even just
once?
Section 3 Operation Flow Chart
*1When the trigger by a command is used, ignore this clause.
*2In case of trigger controlled system (reads while the trigger is ON), consider that the reading effective duration
is set to 0.
Repeat
READ NG LED illuminates
Process when reading failed
Process when reading failed
V500-R521B2/C2
User’s Manual
39
Page 39
Section 3
Function Explanation
In case of continuous reading
Power on
Wait for the
reading trigger
Laser radiation
Repeat
Section 3 Operation Flow Chart
Reading process execution
Is reading
succeeded?
Is reading trigger
end? (*1)
READ OK LED illuminates
Reading data output
Process when reading
succeeded
Has reading
effective duration
passed?
(*2)
Laser beam goes out
*1When the trigger by a command is used, ignore this clause.
*2In case of trigger controlled system (reads while the trigger is ON), consider that the reading effective duration
is set to 0.
V500-R521B2/C2
40
User’s Manual
Repeat
Repeat
Is reading
succeeded even
just once?
READ NG LED illuminates
Process when reading failed
Process when reading failed
Page 40
Function Explanation
Communication protocol
There are following two types of system to transmit the data read by the bar code
reader to the upper equipment.
Nonprocedural system (no protocol system)
The bar code reader transmits the data to the upper equipment and ends.
Bar code reader
V500-R521
Data
Upper equipment
End
Section 3
Section 3 Operation Flow Chart
ACK/NAK system
This bar code reader waits for the upper equipment response after transmitting the data.
When ACK (06H) 1 byte is received from the upper equipment, buzzer sounds
indicating the normal finishing and ends data transmission.
Bar code reader
V500-R521
Data
Upper equipment
When NAK (15H) 1 byte is received from the upper equipment data is transmitted
again. When the time-up time comes which is set beforehand, the time-up buzzer
sounds and the data transmission ends.
Bar code reader
V500-R521
End
Data
Upper equipment
Data
Data
V500-R521B2/C2
User’s Manual
41
Page 41
Section 3
Function Explanation
Communication timing chart
This section explains the indication timing of the buzzer and LED indication.
In case when reading OK (single reading)
Trigger
input (*1)
Laser
radiation
Section 3 Operation Flow Chart
Reading
operation
Buzzer,
LED
Communi-
cation
*1 You can change the setting for the trigger input logic.
p.53
TimeDescription
T0Trigger ON time. (When effective duration is designated, consider it as effective duration.)
T1Chattering prevention time. (5 ms)
T2Buzzer and indication LED illumination time. (Initial value: 200 ms, changing allowed)
T3Trigger signal minimum OFF time. Be sure to set 30 ms or more.
T4Communication time. Differs according to communication condition.
Reading
• In case of continuous reading and plural reading, laser is always radiating during trigger input is ON
(or during reading effective duration). Concept of T0 to T4 other than this is the same as the case of
single reading.
• A rough guide of reading time
As this bar code reader is approx. 500 decode/sec., decode process time for once is 2 ms. In case
of plural time conformance, "2 ms x (conformance time + 1)". However, it differs according to the
reading bar code condition (dirt or thin spot, etc.)
• Concept of communication time
Communication
time (ms) =
(Data length) + (1: In case when parity exists) + (Number of stop bit)
V500-R521B2/C2
42
User’s Manual
(Communication speed)
(Number of digit of transmission data +
x
Number of header characters +
Number of footer characters) x 10
3
Page 42
In case when reading NG (single reading)
Trigger
input (*1)
Laser
radiation
Section 3
Function Explanation
Reading
operation
Buzzer,
LED
Communi-
cation
*1 You can change the setting for the trigger input logic.
Reading
p.57
TimeDescription
T0Trigger ON time. (When effective duration is designated, consider it as effective duration.)
T1Chattering prevention time (5 ms)
T2Buzzer and indication LED illumination time. (Initial value: 200 ms, changing allowed)
T3Trigger signal minimum OFF time. Be sure to set 30 ms or more.
T4Communication time. Differs according to communication condition.
Section 3 Operation Flow Chart
• In case of continuous reading and plural reading, laser is always radiating during trigger input is ON
(or during reading effective duration). Concept of T0 to T4 other than this is the same as the case of
single reading.
• Concept of communication time
Communication
time (ms) =
(Data length) + (1: In case when parity exists) +
(Number of stop bit)
(Communication speed)
(Number of digit of transmission data +
x
Number of header characters +
Number of footer characters) x 10
V500-R521B2/C2
User’s Manual
3
43
Page 43
Section 3
Function Explanation
Concept of moving direction/line speed
When reading a moving bar code, fully investigate from the following viewpoint.
Confirmation of the timing chart
Duration from the reading trigger and outputting the data of actual reading differs
according to condition.
Operation Flow Chart p.38
Confirmation of trigger input timing
Section 3 Operation Flow Chart
trigger signal is important. Input the external trigger signal allowing enough timing
considering the moving speed (moving distance) of the bar code.
When constructing the system to read the moving bar code, input timing of the external
When the timing is too slow...
The bar code is already
passed and cannot read.
Photoelectronic
sensor
Checking the tack timing
In case when bar codes come continuously, calculate how close the bar codes may
come, considering above two points.
V500-R521B2/C2
44
User’s Manual
Page 44
Section 3
Function Explanation
Moving direction of a bar code
Stability of reading differs according to the moving direction against the scanning
direction.
As the appropriate direction differs according to the size of a label, investigate when
installing.
Scanning direction
Section 3 Operation Flow Chart
Bar code moving directionScanning range
Whole height of a bar code
is scanned.
In case of tall size label, this
direction is stable.
A part of the height
of a bar code is
scanned.
In case of short
size label, this
direction is stable.
V500-R521B2/C2
User’s Manual
45
Page 45
Section 3
Function Explanation
Communication Data Format
This section explains about communication data format of the bar code reader and the upper
equipment.
Section 3 Communication Data Format
Upper equipment
Reading data output
Input command
Reading trigger input by RS-232C command
Reading trigger command format is as shown below.
or
.Set command input
Reading condition set command can be transmitted from the upper equipment. Format
is as follows.
Bar code reader
V500-R521
Command
(In case of one character, m1 only)
For details of command, refer to Section 4.
p.56
V500-R521B2/C2
46
User’s Manual
Page 46
Section 3
Function Explanation
Data output format when reading succeeded
When bar code reading is succeeded, following data is transmitted to the upper
equipment.
Header
Number
Output itemDescriptionInitial setting
Header
Number of
digit
Footer
Letter strings to add at the head of transmitted data.
Max 4 arbitrary characters can be set.
Number of digit of the read data is output in two-digit ASCII code.
Whether or not to output the number of digit is selectable.
Letter strings to add at the end of transmitted data.
Max 4 arbitrary characters can be set.
Data of read bar code
Footer
No header
No number of digit
output
CR (0DH)
Setting methods of whether to output header, number of digit and footer p.79
Process when reading failed
Output format differs according to what is set to "reading failed process".
Selection of output format when reading failedRemarks
No processNothing is transmitted
BR [CR] is transferred–
[STX]?[ETX], [STX]>[ETX] is transferred?:When it is judged as no bar code
?[CR], >[CR] are transferred
[CAN] [CR] are transferred–
[STX] [CAN] [ETX] are transferred–
>: In cases other than above
Section 3 Communication Data Format
Setting method p.68
V500-R521B2/C2
User’s Manual
47
Page 47
Section 3 Communication Data Format
Section 3
Function Explanation
Data transfer contents of each reading code type
Reading codeDescription
UPC-AYou can select whether or not to transfer the head character "0" for
transfer digit number adjustment and check digit C/D. ("0" is the
additional character combining with C/D to adjust the number of digit to
be in accordance with EAN-13.)
0 S X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 C/D
S: Number system character (Automatically decided according to the
combination of each character of X1 to X10.)
UPC-EYou can select whether or not to transfer the head character "0" for
transfer digit number adjustment and check digit C/D. ("0" is the
additional character combining with C/D to adjust the number of digit to
be in accordance with EAN-13.)
0 S X1 X2 X3 X4 X5 X6 C/D
S: Number system character (Automatically decided according to the
combination of each character of X1 to X10.)
EANReading data (8-digit or 13-digit) is transferred as it is.
ITF, STF (2 of 5 bar)Transfers in the order from the next character of the start code to the
character before the stop code. (Start code and stop code are not
transferred.)
NW-7, CODE39You can select whether or not to transfer the start code and stop code.
When the start code and stop code is permitted to transfer, you can
select whether the transferred start/stop code of NW-7 is in lower-case
"a/b/c/d" or in upper-case "A/B/C/D".
Transfer start/stop code of CODE39 is "*".
EAN128Add a control character "C1" (ASCII code 5D, 43, 31) which indicates
EAN 128, at the head of the transfer data. Also, FNC1 character, as a
separating character, is replaced to GS (ASCII code 1DH) character
and transferred.
Setting method p.63
V500-R521B2/C2
48
User’s Manual
Page 48
Function Explanation
Test Reading Function
You can check how stably the subject bar code can be read.
Read a bar code at resting state for one sec. and calculate the reading rate.
To enter reading measurement mode using a command
1. Install the bar code at a reading position.
Section 3
2. Enter command "7U".
Mode enters to reading rate measurement mode.
Reading rate of every one sec. is measured.
3. To finish the reading rate measurement mode, enter reset command "Z1" or re-start the
bar code reader.
Return to the normal measurement mode.
Do not execute write command "Z2" to nonvolatile memory.
A sample setting condition is overwritten and stored, which erases the already set reading condition.
To enter reading measurement mode using a TEST button on the
back side
1. Install the bar code at a reading position.
2. Keep pressing the TEST button until the buzzer (tones repeating "Sol" and "Do")
sounds.
Section 3 Test Reading Function
3. Press the TEST button once.
Press the TEST button within 10 sec. after the buzzer sounds.
After 10 sec. or more have passed, it returns to the original state.
Mode entered to reading rate measurement mode.
(Reading rate of every one sec. is measured according to the reading condition of factory default.)
4. To finish the reading rate measurement mode, enter reset command "Z1" or re-start the
bar code reader.
Return to the normal measurement mode.
V500-R521B2/C2
User’s Manual
49
Page 49
Section 3
Function Explanation
Output format
Reading rate of every one sec. is output to the upper equipment, while in reading rate
measurement mode.
Number of decoded time in one sec.
Of those, correct reading data (*) detected rate = Reading rate
Correct reading data (*)
Data, which detected most during measurement mode, is “correct reading data”.
Section 3 Test Reading Function
Communication data format
A rough guide of reading rate
The LED illumination patter on the back side changes according to the result of reading
rate.
Reading rateREAD NG LEDREAD OK LEDDescription
76~100 %
51~75 %
26~50 %
0~25 %
Reading is possible without problem.
When the bar code is at still state when read,
reading is possible without problem.
However, when the target bar code is moving,
reading may be failed according to speed.
There is a possibility to fail even reading at still
state. Check if the installation location and angle of
the bar code reader is appropriate once more.
Reading is not stable. Check if there is no dirt or
lack on the bar code.
Check if the installation location and angle of the
bar code reader is appropriate once more.
LED indication
: Lights out: Blink: Illuminate
V500-R521B2/C2
50
User’s Manual
Page 50
Section 4
Setting Method
This section explains about setting methods using a menu sheet and entering
command from the upper equipment.
How to Use Menu Sheet/Command52
Menu Sheet/Command List56
Section 4 Setting Method
V500-R521B2/C2
User’s Manual
51
Page 51
Section 4
Setting Method
How to Use Menu Sheet/Command
There are following two setting methods for the bar code reader. Select either method
according to the condition.
Read the menu sheet.This method reads the menu sheet of the function you want to set.
Input a command from the upper
equipment.
Read the menu sheet
Section 4 How to Use Menu Sheet/Command
The menu sheet is a special bar code used to set this bar code function.
Setting can be changed by reading this menu sheet.
Setting method Description
It is convenient for the initial setting and when testing.
This method inputs a command from the upper equipment.
It is convenient when changing setup according to the type of the bar
code.
1. Read "Z7" of the menu sheet that means setting start/end.
Buzzer sounds continuously.
The bar code reader entered setting mode.
2. Read "UA" on the menu sheet that means to return to factory default setting.
3. Read the item on the menu sheet you want to change setting.
Menu Sheet/Command List p.56
4. To finish setting, read "Z7" on the menu sheet for setting start/end, again.
Buzzer sound stops and returns to normal mode.
V500-R521B2/C2
52
User’s Manual
Page 52
Section 4
Setting Method
How to create menu sheet
The used menu sheet is a code system of CODE39. However, the code is special,
using start code and stop code for a space mark. (Normally "*")
You can create a menu sheet using bar code creation software available in the market,
as shown below.
E.g.: When creating a menu sheet "A3"
Create "* A3 *" and cut the parts of "*" with scissors to create the menu sheet "A3".
Cutting off section
Cutting off section
Section 4 How to Use Menu Sheet/Command
V500-R521B2/C2
User’s Manual
53
Page 53
Section 4
Setting Method
Input command from the upper equipment
1. Transmit the command character strings of the function you want to set.
Section 4 How to Use Menu Sheet/Command
Upper equipment
Transmit command character strings.
Command
(In case of one character, m1 only)
Menu Sheet/Command List p.56
During the bar code reader is processing command, it notifies externally that it is in processing
mode turning off the RS signal line.
When the RS signal line is not connected, interval between inputting commands should be taken
sufficiently.
Bar code reader
V500-R521
2. Transmits "Z2", in order to write the set data on the nonvolatile memory in the bar code
reader.
Be sure to write when a condition is set by inputting command from the upper equipment. When you
turn off the power without writing the setting in the memory, the set content may be deleted.
V500-R521B2/C2
54
User’s Manual
Page 54
Section 4
Setting Method
Transmission method of the command by designating values and characters is
explained as follows.
E.g. 1: Set "AB [CR]" on header. (When designating codes directly)
Transmit a header setting command.
Transmit a character "A".
Transmit a character "B".
Transmit CR code.
E.g. 2: Set "AB [CR]" on header. (When designating hexadecimal number directly)
Transmit a header setting command.
Transmit 41 "A" in hexadecimal number.
Transmit 42 "B" in hexadecimal number.
Transmit CR code.
"00H" (zero) cannot be designated as header or footer. It is regarded as end character.
Characters until just before 00H are valid.
E.g. 3: Reading number of digit is set to "8-digit" and "12-digit".
Section 4 How to Use Menu Sheet/Command
Transmit the number of digit command "A".
Transmit "8-digit". (Input in decimal number.
Numbers are fix to 2-digit.)
Transmit the number of digit command "B".
Transmit "12-digit". (Input in decimal number.
Numbers are fix to 2-digit.)
V500-R521B2/C2
User’s Manual
55
Page 55
Section 4
Setting Method
Menu Sheet/Command List
Groups are classified as follows. Please refer to the corresponding pages.
Setting start/end according to menu sheetsp.57
Write setting contents on the nonvolatile memoryp.57
Resetp.57
Setting related to external trigger signalp.57
Return to factory default settingp.58
Collective settingp.59
Setting of reading permission and prohibitionp.61
Detail setting for reading codep.63
Setting for reading conformancep.66
Section 4 Menu Sheet/Command List
Setting for reading systemp.67
Setting for failed readingp.68
Setting for number of reading digitp.69
Setting for reading effective durationp.70
Setting related to LEDp.72
Settings related to duration of buzzer sound and volumep.73
Setting related to READ OK/NG signal output (Only when V500R521B2 is used)
Setting related to communication conditionp.77
Setting related to communication protocolp.78
Setting for header, footer and number of reading digitp.79
Setting related to test readingp.79
Direct code designationp.80
Setting related to sorting readp.83
Setting itemReference
p.75
V500-R521B2/C2
56
User’s Manual
Page 56
Section 4
Setting Method
Setting start/end according to menu sheets
When setting using menu sheets, read this menu sheet with the bar code to start and
end the setting.
Menu sheetCommand
Setting start/end according to menu sheetsNone
Write setting contents on the nonvolatile memory
Be sure to write when a condition is set by inputting command from the upper equipment. When
you turn off the power without writing the setting in the memory, the set content may be deleted.
Menu sheetCommand
Write the contents set with a command in the
nonvolatile memory.
(No menu sheet)
Z2
Section 4 Menu Sheet/Command List
Reset
Return to the setting, which is already written in the nonvolatile memory.
Menu sheetCommand
ResetZ1
Setting related to external trigger signal
Select positive logic/negative logic of the external trigger signal.
Menu sheetCommand
External trigger signal Positive logic (H active)8A
External trigger signal Negative logic (L active)
8B
(Factory default setting)
V500-R521B2/C2
User’s Manual
57
Page 57
Section 4
Setting Method
Section 4 Menu Sheet/Command List
Return to factory default setting
Menu sheetCommand
Factory default settingUA
Initial setting
ItemSetting content
Types of code, which is possible to read EAN/UPC, CODE39, NW-7, STF, ITFJ1+R4+B2+B3
Number of reading digitsNo designated number of digits H0
Detail condition CODE39 detail setting Invalid C/D of CODE39C0
Transfer C/D of CODE39C2
Transfer ST/SP of CODE39D1
NW-7 detail settingInvalid C/D of NW-7F7
Transfer C/D of NW-7F5
Transfer ST/SP of NW-7 (abcd/abcd)F4
ITF/STF detail settingInvalid C/D of ITF/STF G0
Transfer C/D of ITF/STF G2
Reading
condition
Communication
condition
LED illuminationLED illumination time after decoding is 200 ms.T5
Buzzer soundBuzzer sound duration after decoding is 200 ms. W5
Buzzer sound volumeMax. T0
Buzzer frequency3 kHz, 2 kHzW2
External trigger signalNegative logic (L active) 8B
READ OK/NG signal outputOutput8Q
READ OK/NG signal output systemTrigger synchronous system, positive logic
Reading systemTrigger readingS8
Reading operationSingle readingS0
Reading valid timeTrigger + 2 sec.Y2
Number of reading
coincidence
Communication speed 9600 bpsK6
Data length8-bitL1
ParityNoneL2
Stop bit length1-bitL5
HeaderNone1Y
FooterCR1Z+1C
Transfer number of
digits
RS/CS controlNoneP0
CS waiting timeInfinityI0
Communication
protocol
Process when reading
is NG
Twice (Verification: once)X1
Not transferred2Z
No protocol systemP5
No process (Nothing is transferred)5E
(H active)
Corresponding
command
+R7+R8
8C
V500-R521B2/C2
58
User’s Manual
Page 58
Section 4
Setting Method
Collective setting
Collective setting of conditions appropriate for connection of programmable controller
(UB) and for connection of multi-drop using link unit (UC) is allowed.
Menu sheetCommand
Setting of programmable controller connectionUB
Hatching parts are the changed point from the factory default setting.
Collective setting
ItemSetting content
Types of code, which is possible to read EAN/UPC, CODE39, NW-7, STF, ITFJ1+R4+B2+B3
Number of reading digitsNo designated number of digits H0
Detail condition CODE39 detail setting Invalid C/D of CODE39C0
Transfer C/D of CODE39C2
Transfer ST/SP of CODE39D1
NW-7 detail settingInvalid C/D of NW-7F7
Transfer C/D of NW-7F5
Transfer ST/SP of NW-7 (abcd/abcd)F4
ITF/STF detail settingInvalid C/D of ITF/STFG0
Transfer C/D of ITF/STFG2
Reading
condition
Communication
condition
LED illuminationLED illumination time after decoding is 200 ms.T5
Buzzer soundBuzzer sound duration after decoding is 200 ms. W5
Buzzer sound volumeMax. T0
Buzzer frequency3 kHz, 2 kHzW2
External trigger signalNegative logic (L active) 8B
READ OK/NG signal outputOutput8Q
READ OK/NG signal output systemTrigger synchronous system, positive logic
Reading systemTrigger readingS8
Reading operationSingle readingS0
Reading valid timeTrigger + 2 sec.Y2
Number of reading
coincidence
Communication speed 9600 bpsK6
Data length
Parity
Stop bit length
HeaderNone1Y
FooterCR1Z+1C
Transfer number of digits
RS/CS controlNoneP0
CS waiting timeInfinityI0
Communication
protocol
Process when reading is NG
Twice (Verification: once)X1
7-bitL0
Even numberL6
2-bitL6
Not transferred2Z
No protocol systemP5
Transfer ? (CR), > (CR)5H
(H active)
Corresponding
command
+R7+R8
8C
Section 4 Menu Sheet/Command List
V500-R521B2/C2
User’s Manual
59
Page 59
Section 4
Setting Method
Section 4 Menu Sheet/Command List
Menu sheetCommand
Setting for connecting link unit (V700-L12)UC
Hatching parts are the changed point from the factory default setting.
Collective setting
ItemSetting content
Types of code, which is possible to read EAN/UPC, CODE39, NW-7, STF, ITFJ1+R4+B2+B3
Number of reading digitsNo designated number of digits H0
Detail condition CODE39 detail setting Invalid C/Dof CODE39C0
Transfer C/D of CODE39C2
Transfer ST/SP of CODE39D1
NW-7 detail settingInvalid C/D of NW-7F7
Transfer C/D of NW-7F5
Transfer ST/SP of NW-7 (abcd/abcd)F4
ITF/STF detail settingInvalid C/D of ITF/STF G0
Transfer C/D of ITF/STFG2
Reading
condition
Communication
condition
LED illuminationLED illumination time after decoding is 200 ms.T5
Buzzer soundBuzzer sound duration after decoding is 200 ms. W5
Buzzer sound volumeMax. T0
Buzzer frequency3 kHz, 2 kHzW2
External trigger signalNegative logic (L active) 8B
READ OK/NG signal outputOutput8Q
READ OK/NG signal output systemTrigger synchronous system, positive logic
Reading systemTrigger readingS8
Reading operationSingle readingS0
Reading valid timeTrigger + 2 sec.Y2
Number of reading
coincidence
Communication speed 9600 bpsK6
Data length8-bitL1
Parity
Stop bit length1-bitL5
HeaderNone1Y
FooterCR1Z+1C
Transfer number of
digits
RS/CS controlNoneP0
CS waiting timeInfinityI0
Communication
protocol
Process when reading
is NG
Twice (Verification: once)X1
Even numberL3
Not transferred2Z
No protocol systemP5
Transfer ? (CR), > (CR)5H
(H active)
Corresponding
command
+R7+R8
8C
V500-R521B2/C2
60
User’s Manual
Page 60
Section 4
Setting Method
Setting of reading permission and prohibition
Select bar code types of which subject to read.
Prohibit bar codes, which is not subject to read, from reading in order to increase
reading reliability.
Menu sheet
Reading permission only for UPC-A/E
(Factory default setting)
Reading permission only for EAN13/8J4Reading permission for EAN13/8
Reading permission only for CODE39A2Reading permission for CODE39
Command
J1Reading permission for UPC-A/E R1
(Factory default setting)
Menu sheet
Command
R4
B2
Section 4 Menu Sheet/Command List
(Factory default setting)
Reading permission only for NW-7A3Reading permission for NW-7
(Factory default setting)
Reading permission only for ITFJ8Reading permission for ITF
(Factory default setting)
Reading permission only for STFJ7Reading permission for STF
(Factory default setting)
Reading permission only for CODE93A5Reading permission for CODE93 B5
B3
R8
R7
V500-R521B2/C2
User’s Manual
61
Page 61
Section 4
Setting Method
Section 4 Menu Sheet/Command List
Menu sheet
Reading permission only for CODE128 A6Reading permission for CODE128B6
Reading prohibition for EAN/UPC4A
Reading prohibition for CODE394H
Reading prohibition for NW-74I
Reading prohibition for STF4K
Command
Menu sheet
Command
Reading prohibition for ITF4L
Reading prohibition for CODE93
(Factory default setting)
Reading prohibition for CODE128
(Factory default setting)
Reading prohibition for all types4Z
4M
4N
V500-R521B2/C2
62
User’s Manual
Page 62
Section 4
Setting Method
Detail setting for reading code
Conditions of detail reading code such as whether check digit (C/D) is used or start
code/stop code (ST/SP) is transmitted are set.
UPC-A
Menu sheet
Output UPC-A in 13-digit
(Factory default setting)
Output UPC-A in 12-digit (without 0 in
the beginning)
Command
E2Output UPC-A in 12-digit (without C/D) E4
E3Output UPC-A in 11-digit (without 0 in
the beginning or C/D)
Menu sheet
Command
E5
Section 4 Menu Sheet/Command List
UPC-E
Menu sheet
Output UPC-E in 8-digitE6Output UPC-E in 7-digit (without C/D)
Output UPC-E in 7-digit (without 0 in
the beginning)
Command
(Factory default setting)
E7Output UPC-E in 6-digit (without 0 in
the beginning or C/D)
Menu sheet
CODE39
Menu sheet
Invalid C/D of CODE39
Command
C0Not transfer ST/SP of CODE39 D0
Menu sheet
Command
E8
E9
Command
(Factory default setting)
Valid C/D of CODE39 C1Transfer ST/SP of CODE39
(Factory default setting)
D1
V500-R521B2/C2
User’s Manual
63
Page 63
Section 4
Setting Method
Section 4 Menu Sheet/Command List
Menu sheet
Transfer C/D of CODE39
(Factory default setting)
Not transfer C/D of CODE39C3CODE39 1-digit reading prohibition
Command
C2CODE39 1-digit reading permission7C
(Factory default setting)
Menu sheet
NW-7
Menu sheet
Invalid C/D of NW-7
(Factory default setting)
Valid C/D of NW-7 (modulus 16)F9Transfer ST/SP of NW-7 (abcd/abcd)
Command
F7Transfer ST/SP of NW-7 (ABCD/
ABCD)
Menu sheet
Command
7D
Command
F3
F4
(Factory default setting)
Transfer C/D of NW-7
(Factory default setting)
Not transfer C/D of NW-7 F6NW-7 1-digit reading prohibition
Not transfer ST/SP of NW-7F0
F5NW-7 1-digit reading permission7K
(Factory default setting)
7L
V500-R521B2/C2
64
User’s Manual
Page 64
Section 4
Setting Method
ITF/STF
Menu sheet
Invalid C/D of ITF/STF
(Factory default setting)
Valid C/D of ITF/STF G1ITF/STF 2-digit reading permission7M
Command
G0Not transfer C/D of ITF/STF G3
Menu sheet
Command
Transfer C/D of ITF/STF
(Factory default setting)
G2ITF/STF 2-digit reading prohibition
(Factory default setting)
7N
CODE128
After executing CODE128 reading permission command (B6), execute commands as shown below.
Menu sheet
All reading permission including
EAN128
(Factory default setting)
EAN128 (Reading specification) p.126
Command
G5Reading permission only for EAN128 in
CODE128
Menu sheet
Command
G6
Section 4 Menu Sheet/Command List
V500-R521B2/C2
User’s Manual
65
Page 65
Section 4
Setting Method
Setting for reading conformance
When decoded results coincide for the set number of conformance, the read results are
output to RS-232C interface.
Verification system is AND verification (Continuous conformance system). (Change
prohibition)
Section 4 Menu Sheet/Command List
Menu sheet
Reading conformance twice
(Verification: once)
(Factory default setting)
Reading conformance 3 times
(Verification: 2 times)
Reading conformance 4 times
(Verification: 3 times)
Command
X1Reading conformance 5 times
(Verification: 4 times)
X2Reading conformance 6 times
(Verification: 5 times)
X3
Menu sheet
Command
7R
7S
V500-R521B2/C2
66
User’s Manual
Page 66
Setting for reading system
Set the reading system.
Explanation of Reading System p.36
Reading system
Menu sheet
Full-time readingS7Trigger reading
Command
(Factory default setting)
Menu sheet
Section 4
Setting Method
Command
S8
Reading operation
Menu sheet
Single reading
(Factory default setting)
Plural readingS1
Command
S0Continuous readingS2
Menu sheet
Command
Section 4 Menu Sheet/Command List
V500-R521B2/C2
User’s Manual
67
Page 67
Section 4
Setting Method
Setting for failed reading
Process for failed reading is set.
Section 4 Menu Sheet/Command List
Menu sheet
When reading failed: no process
(Factory default setting)
When reading failed: Transfer BR [CR] 5FWhen reading failed: Transfer [CAN]
When reading failed: Transfer
[STX]?[ETX], [STX]>[ETX] (*)
* When it is judged as no bar code:?
In cases other than above:>
Command
5EWhen reading failed: Transfer ? [CR],
>[CR] (*)
[CR]
5GWhen reading failed: Transfer [STX]
[CAN] [ETX]
Menu sheet
Command
5H
5I
5J
V500-R521B2/C2
68
User’s Manual
Page 68
Section 4
Setting Method
Setting for number of reading digit
When the number of digit is fixed, designate the number of digit to improve reliability.
For number of digit, two types (A and B) can be set.
In case of the bar code including C/D, count the C/D as one digit.
Menu sheet
Number of digit is not designated.
(Factory default setting)
Designation of number of digit A (Bar
code reading system) *1
Designation of number of digit B (Bar
code reading system) *1
*1 After reading this menu sheet, read the bar code of the number of digit you want to register twice,
continuously. When the number of digit is one type, set A and B to the same setting.
*2 After transmitting this command, transmit the character string of the bar code you want to register,
continuously.
Command
NoneDesignation of number of digit A *2
NoneDesignation of number of digit B *2
None
Menu sheet
(No menu sheet)
(No menu sheet)
Command
7V
7W
p.54
Section 4 Menu Sheet/Command List
V500-R521B2/C2
User’s Manual
69
Page 69
Section 4
Setting Method
Section 4 Menu Sheet/Command List
Setting for reading effective duration
After inputting a trigger, set the time for the continuous reading. Effective duration is set
by combining "effective duration" from 0 to 10 sec. and "minor setting" from 0 to 750 ms.
This is set only in case when the reading system, which is required to set the effective
duration, is selected.
Explanation of Reading System p.36
Menu sheet
Coupled with trigger (trigger + 0 sec.)Y0Trigger +0 ms (minor setting)
Trigger + 1 sec.Y1Trigger + 5.0 ms (minor setting)YB
Command
Menu sheet
(Factory default setting)
Command
YA
Trigger + 2 sec.
(Factory default setting)
Trigger + 3 sec.Y3Trigger + 150 ms (minor setting)YD
Trigger + 4 sec.Y4Trigger + 200 ms (minor setting)YE
Trigger + 6 sec.Y5Trigger + 250 ms (minor setting)YF
Trigger + 8 sec.Y6Trigger + 300 ms (minor setting)YG
Y2Trigger + 100 ms (minor setting)YC
V500-R521B2/C2
70
User’s Manual
Page 70
Section 4
Setting Method
Menu sheet
Trigger + 10 sec.Y7Trigger + 350 ms (minor setting)YH
Trigger + 400 ms (minor setting)YITrigger + 600 ms (minor setting)YM
Trigger + 450 ms (minor setting)YJTrigger + 650 ms (minor setting)YN
Trigger + 500 ms (minor setting)YKTrigger + 700 ms (minor setting)YO
Command
Menu sheet
Command
Section 4 Menu Sheet/Command List
Trigger + 550 ms (minor setting)YLTrigger + 750 ms (minor setting)YP
V500-R521B2/C2
User’s Manual
71
Page 71
Section 4
Setting Method
Setting related to LED
When reading succeeded, READ OK LED illuminates and when reading failed, READ
NG LED illuminates. Duration of illumination is allowed to set.
Section 4 Menu Sheet/Command List
Menu sheet
LED does not illuminate after decode.T4The LED illuminates for 400 ms after
The LED illuminates for 100 ms after
decoding.
The LED illuminates for 200 ms after
decoding.
(Factory default setting)
Command
decoding.
T8The LED illuminates for 800 ms after
decoding.
T5
Menu sheet
Command
T6
T7
V500-R521B2/C2
72
User’s Manual
Page 72
Section 4
Setting Method
Settings related to duration of buzzer sound and volume
When reading succeeded, buzzer sounds. Sound volume, frequency and duration of
the buzzer are allowed to set.
(When sorting read function is used, buzzer sounds when reading result is disagree
with the registered data.)
Buzzer sound volume Duration of buzzer
Menu sheet
Buzzer sound volume; max.
(Factory default setting)
Buzzer sound volume; middle or above T1Buzzer sound duration after decoding;
Command
T0Buzzer sound duration after decoding;
10 ms
50 ms
Menu sheet
Command
W8
W7
Section 4 Menu Sheet/Command List
Buzzer sound volume; middle or below T2Buzzer sound duration after decoding;
100 ms
Buzzer sound volume; min.T3Buzzer sound duration after decoding;
200 ms
(Factory default setting)
No buzzer sound after decodingW0Buzzer sound duration after decoding;
400 ms
W4
W5
W6
V500-R521B2/C2
User’s Manual
73
Page 73
Section 4
Setting Method
Buzzer frequency
Buzzer sound frequency after
decoding; 3 kHz
Menu sheet
Command
W1Buzzer sound frequency after
decoding; 2 kHz, 3 kHz
Menu sheet
Command
W3
Section 4 Menu Sheet/Command List
Buzzer sound frequency after
decoding; 3 kHz, 2 kHz
(Factory default setting)
W2
V500-R521B2/C2
74
User’s Manual
Page 74
Section 4
Setting Method
Setting related to READ OK/NG signal output
(Only when V500-R521B2 is used)
When you want to output reading succeeded/failed to READ OK/NG signal, set the
conditions of output system and duration, then execute "signal output (8Q)".
Output system p.28
Menu sheet
Signal output
(Factory default setting)
No signal output8RSignal output one-shot duration; 40 ms 8J
Command
8QSignal output one-shot duration; 30 ms 8I
Menu sheet
Command
Section 4 Menu Sheet/Command List
Signal output trigger signal
synchronous system (positive logic)
(Factory default setting)
Signal output trigger signal
synchronous system (negative logic)
Signal output one-shot system
(positive logic)
Signal output one-shot system
(negative logic)
8CSignal output one-shot duration; 50 ms 8K
8DSignal output one-shot duration; 60 ms 8L
8ESignal output one-shot duration; 70 ms 8M
8FSignal output one-shot duration; 80 ms 8N
Signal output one-shot duration; 10 ms 8GSignal output one-shot duration; 90 ms 8O
Setting for header, footer and number of reading digit
Format when outputting the reading result is set.
Data output format when reading succeeded p.47
Menu sheet
Collective setting of header (Applied to
all codes)
Collective setting of footer (Applied to
all codes)
Command
1YNumber of reading digit is not
transferred (Applied to all codes)
(Factory default setting)
1ZNumber of reading digit is transferred
(Applied to all codes)
Setting related to test reading
Test reading function p.49
Menu sheet
Mode enters to reading rate
measurement mode.
Command
7U
Menu sheet
Command
2Z
3Z
Section 4 Menu Sheet/Command List
(No menu sheet)
V500-R521B2/C2
User’s Manual
79
Page 79
Section 4
Setting Method
Direct code designation
Use to set character strings and values directly such as designation of header and
footer or number of reading digit.
Menu sheet
"A" is set.0A"I" is set.0I
"B" is set.0B"J" is set.0J
Command
Menu sheet
Command
Section 4 Menu Sheet/Command List
"C" is set.0C"K" is set.0K
"D" is set.0D"L" is set.0L
"E" is set.0E"M" is set.0M
"F" is set.0F"N" is set.0N
"G" is set.0G"O" is set.0O
"H" is set.0H"P" is set.0P
V500-R521B2/C2
80
User’s Manual
Page 80
Section 4
Setting Method
Menu sheet
"Q" is set.0Q"Z" is set.0Z
"R" is set.0R"0" is set.Q0
'"S" is set.0S"1" is set.Q1
"T" is set.0T"2" is set.Q2
Command
Menu sheet
Command
Section 4 Menu Sheet/Command List
"U" is set.0U"3" is set.Q3
"V" is set.0V"5" is set.Q5
"W" is set.0W"6" is set.Q6
"Y" is set.0Y"7" is set.Q7
V500-R521B2/C2
User’s Manual
81
Page 81
Section 4
Setting Method
Section 4 Menu Sheet/Command List
Menu sheet
"8" is set.Q8ETX (03H) is set.1B
"9" is set.Q9CR (ODH) is set.1C
STX (02H) is set1ALF (0AH) is set.1D
Command
Menu sheet
Command
V500-R521B2/C2
82
User’s Manual
Page 82
Section 4
Setting Method
Setting related to sorting read
Bar code data to read are registered in this bar code reader beforehand and only the
registered bar codes are read using this function. When the read bar code does not
coincide with the registered data, buzzer sounds.
Up to 5 types of bar codes can be registered.
Menu sheet
Register one character each using
command. (*1)
Register with regular expression. (*1)
Command
7Y
Sorting read operation starts.UE
*1 Execute the command "UE" to start sorting read operation.
When you enter the command "UE", reading system and communication specification are set as
follows. When sorting read function is used, do not change the setting basically.
To change a part of communication condition, etc, change it after you input command "UE" and
sorting read operation starts.
ItemSetting content
Types of code, which is possible to readReading permission for all types
Number of reading digitsNo designated number of digits
Reading system Reading triggerValid (Not full-time reading but trigger is used)
Reading operationSingle reading
Reading valid timeTrigger + 2 sec.
Communication
condition
Number of reading
coincidence
Communication speed 9600 bps
Data length8-bit
ParityNone
Stop bit length1-bit
HeaderNone
FooterCR
Transfer number of digitsNot transferred
RS/CS controlNone
CS waiting timeInfinity
Communication protocol No protocol system
Process when reading is NGNo process (Nothing is transferred)
Twice (Verification: once)
Section 4 Menu Sheet/Command List
V500-R521B2/C2
User’s Manual
83
Page 83
Section 4
Setting Method
Section 4 Menu Sheet/Command List
How to register one character each using command
Register the bar code one character each using the command "7Y".
After registration, execute the command "UE" to start sorting read operation.
E.g.: When registering two bar codes, "a123a" and "* ABC *".
Transmit following characters in sequence.
Transmitted character stringsDescription
[ESC] 7 Y [CR]Label registration command
# 6 1 CRDesignation of character string "a (61H)"
[ESC] Q 1 CRDesignation of character string "1 (direct code)"
[ESC] Q 2 CRDesignation of character string "2 (direct code)"
[ESC] Q 3 CRDesignation of character string "3 (direct code)"
# 6 1 CRDesignation of character string "a (61H)"
# 0 0 CRSeparation
# 2 A CRDesignation of character string "* (2AH)"
[ESC] 0 A CRDesignation of character string" A (direct code)"
[ESC] 0 B CRDesignation of character string "B (direct code)"
[ESC] 0 C CRDesignation of character string "C (direct code)"
# 2 A CRDesignation of character string "* (2AH)"
# 0 0 CRSeparation
# 0 0 CREnd of command
How to register data using regular expression
Width of registration data may extend by using regular expression. To use regular
expression, use a setting command or "7Y" of the menu sheet.
Max. 5 data can be registered. Number of byte of definition character is up to 200.
Usable regular expression
[A|F]?QRA or F + one arbitrary character + QRABQRCoincideReading
succeeded
F9QRCoincideReading
succeeded
F9QFInconsistencyReading failed
C9QRInconsistency Reading failed
V?[^X-Z]!V + one arbitrary character + one
character other than X, Y, Z +
arbitrary
E.g.: [A|F] ? When registering "Q R" and "V ?[^X - Z ] !" bar code, transmit following character strings in
sequence.
Transmitted character stringsDescription
ESC 7 Y CRLabel registration command
# 5 B CRDesignation of character string "(5BH)"
ESC 0 A CRDesignation of character string "A (direct code)"
# 7 C CRDesignation of character string "| (7CH)"
ESC 0 F CRDesignation of character string "F (direct code)"
# 5 D CRDesignation of character string "] (5DH)"
# 3 F CRDesignation of character string "? (3FH)"
ESC 0 Q CRDesignation of character string "Q (direct code)"
ESC 0 R CRDesignation of character string "R (direct code)"
# 0 0 CRSeparation
ESC 0 V CRDesignation of character string "V (direct code)"
# 3 F CRDesignation of character string "? (3FH)"
# 5 B CRDesignation of character string "(5BH)"
# 5 E CRDesignation of character string "^ (5EH)"
ESC 0 X CRDesignation of character string "X (direct code)"
# 2 D CRDesignation of character string "- (2DH)"
ESC 0 Z CRDesignation of character string "Z (direct code)"
# 5 D CRDesignation of character string "] (5DH)"
# 2 1 CRDesignation of character string "[ ! (21H)"
# 0 0 CRCharacter string separation
# 0 0 CREnd of command
VA3ABCCoincideReading
succeeded
VA3CoincideReading
succeeded
VAZ123Inconsistency Reading failed
Section 4 Menu Sheet/Command List
V500-R521B2/C2
User’s Manual
85
Page 85
Section 5
Example of System Configuration
This section explains about connection method with upper equipment.
Example of Connection with a PC88
Example of Connection with Programmable Controller (CS1)
Example of Multi-drop Connection92
How to Use Command Link Unit V700-L1296
89
Section 5 Example of System Configuration
V500-R521B2/C2
User’s Manual
87
Page 86
Section 5
Example of System Configuration
Example of Connection with a PC
Example of connection with PC/AT compatible PC is explained.
Bar code reader
V500-R521C2
PC/AT compatible PC
Special cable
V509-W011D
Power supply for bar code
S8VS-01505
AC 100 V
Section 5 Example of Connection with a PC
Wire (When V500-R521B2 is used)
Bar code reader side
Wiring
color
BrownTRIG
YellowO K
OrangeNG
BlueCS
GrayRS
WhiteRD
GreenSD
RedVCC
BlackS.GND
ShieldF.GND
Signal
name
Shield
Example of BASIC program
100 CLS
110 CLOSE #1
120 OPEN "COM:N81NN" AS #1
130 BCDATA$=""
140 AA$=INPUT$(1,#1)
150 IF AA$=CHR$(&H03) GOTO 170
160 BCDATA$=BCDATA$+AA$:GOTO 140
170 PRINT "READ DATA=" ; BCDATA$
180 GOTO 130
Upper equipment side
(Example of PC/AT compatible PC)
5VDC (Supplied from outside)
0V
Signal
name
-1
RD2
SD3
ER4
SG5
DR6
CS7
RS8
-9
ShieldCover
Pin No.
V500-R521B2/C2
88
User’s Manual
Page 87
Section 5
Example of System Configuration
Example of Connection with Programmable
Controller (CS1)
Connection with programmable controller CS1 (Made by OMRON) is explained.
Input unit
C200H-ID212
Trigger
Switch
Special cable
CS1W-CN224
Programming
console
C200H-PRO27
Bar code reader
V500-R521C2
Power supply unit
C200HW-PA204S
Special cable
V509-W011
CPU unit
CS1H-CPU64-V1
100 VAC
Power supply for bar code
S8VS-01505
Connect the connection cable of this bar code reader to RS-232C port of the CPU unit.
Wire (When V500-R521B2 is used)
Bar code reader side
Wiring
color
BrownTRIG
YellowOK
OrangeNG
BlueCS
GrayRS
WhiteRD
GreenSD
RedVCC
BlackS.GND
ShieldF.GND
Signal
name
Shield
5VDC (Supplied from outside)
0V
CS1
RS-232C port
Signal
name
FG1
SD2
RD3
RS4
CS5
-6
-7
-8
SG9
Section 5 Example of Connection with Programmable Controller (CS1)
Pin No.
V500-R521B2/C2
User’s Manual
89
Page 88
Section 5
Example of System Configuration
Setting at bar code side
Set as follows, using UB command (collective setting for programmable controller
connection).
p.59
Setting itemSetting contentCommand
Communication speed 9600 bps(Same as initial setting)
Data length7-bitL0
ParityEven numberL3
Stop bit2-bitL6
HeaderNone(Same as initial setting)
FooterCR(Same as initial setting)
Reading valid timeTrigger + 2 sec.Y2
Process when reading failed?[CR] or > [CR] is transferred5H
Section 5 Example of Connection with Programmable Controller (CS1)
Setting of CS1 side
For detail setting method, refer to the operation manual of your programmable controller.
Setting itemSetting content
Dip switch of CPU unitOFF
PC system setting160[8300]
161[0000]
164[000D]
165[0100]
DM settingSet [1B5A] to DM00100.
(Memorize "Z" of ASCII code)
V500-R521B2/C2
90
User’s Manual
Page 89
Section 5
Example of System Configuration
Example of program
When the trigger switch is turned on, the bar code reader starts reading operation and stores the
read data to DM (data memory) of CS1. The content is displayed on the programming console.
When the bar code cannot read within the duration which is set beforehand (2 sec. in this
example), "?" or ">" is transmitted.
To check the read data with the programming console, press "Clear > FUN > Monitor" in this
order.
00000
00002
00006
00000
00101
A3920
A3920
DIFU (13) 00101
TXD (236)
DM00100
#0000
#0002
BSET (71)
#0000
DM00200
DM00220
RXD(235)
DM00200
#0000
A393
MSG (46)
&0
DM0200
When the contact point 00000 is turned on,
reading start command (Z) is transmitted to the
bar code reader.
Section 5 Example of Connection with Programmable Controller (CS1)
When data is received from the bar code reader,
the data is stored starting from the address
DM00200 and displays the content on the
programming console.
For the program command, refer to the operation manual of your programming console. (Items
related to communication method by RS-232C nonprocedural system.)
V500-R521B2/C2
User’s Manual
91
Page 90
Section 5 Example of Multi-drop Connection
Section 5
Example of System Configuration
Example of Multi-drop Connection
When communication link unit V700-L12 (sold separately) is used, you can connect max. 31
sets of the bar code reader to one upper equipment. This is called multi-drop connection.
Connection configuration differs according to the interface (RS-485 or RS-232C) of the upper
equipment side.
Example of connecting communication link unit (hereinafter referred to as "link unit") and the
upper equipment using RS-485 is described in this section.
You can supply 5 V power to the bar code reader from V700-L12.
Upper equipment
PC/AT compatible PC
Communication converter
K3SC
RS-232C
Communication link unit
V700-L12
Special cable
V509-W019
Bar code reader
V500-R521C2
RS-485
Machine
No. 01
Power supply
24 VDC
S8VS-03024
RS-485
External trigger
Input terminal
Machine
No. 02
RS-485
Machine
No. 03
V500-R521B2/C2
92
User’s Manual
Page 91
Section 5
Example of System Configuration
Setting at bar code reader side
Set as follows, using UC command (collective setting for link unit connection).
p.60
Setting itemSetting contentCommand
Communication speed 9600 bps(Same as initial setting)
Data length8-bit(Same as initial setting)
ParityEven numberL3
Stop bit1-bit(Same as initial setting)
HeaderNone(Same as initial setting)
FooterCR(Same as initial setting)
RS/CS controlNoneP0
Process when reading is NG? [CR] or > [CR] is transmitted 5H
Other settingSame as factory default
setting.
-
Setting at link unit V700-L12 side
Setting itemSetting contentSetting
Machine No.Set the machine No. differing in each link unitSet DIP-SW 1 to 5.
Communication
speed
Transmission
procedure
Connection checkNoneDIP-SW9 is OFF
RS-485 termination
resistance
*In case of connection example shown here, termination resistors of the machine No. 3 and the upper
equipment (interface converter) are turned ON.
Specification and wiring of the link unit p.93
9600 bpsDIP-SW 6, 7 are OFF
Normal procedure (polling procedure) DIP-SW8 is OFF
2 sets on both sides of transmission path are
turned ON (*)
In case when turned ON, DIPSW10 is ON
Section 5 Example of Multi-drop Connection
V500-R521B2/C2
User’s Manual
93
Page 92
Section 5
Example of System Configuration
Operation flow chart
Each bar code reader reads bar codes when the trigger is input. Read data is
transmitted to the unit and stored in a buffer inside the link unit.
When the data export command (polling command) is transmitted from the upper
equipment, the link unit transmits the stored read data to the upper equipment.
PC/AT compatible PC
Communication converter
Section 5 Example of Multi-drop Connection
Link unit
Bar code reader
Reading trigger
Bar code reader
Link unit
Polling
Data export of Machine
No. 1
Polling
Data export of Machine
No. 2
Machine
No. 01
Execution of
reading
Stores data
Link unit
Returns data
Machine
No. 02
Execution of
reading
Stores dataStores data
Link unit
Machine
No. 03
Execution of
reading
Polling
Data export of Machine
No. 3
Data export
End
V500-R521B2/C2
94
User’s Manual
Returns data
Link unit
Returns data
Page 93
Example of System Configuration
Communication format
Communication format used in this connection example is explained.
For details, refer to the following page.
p.105
Reading trigger given from the upper unit
Section 5
(Machine No.)
$01ESCZ$0D
(Check code)
E.g.: When a trigger is given to the bar code reader machine No. 2
$01ESCZ$0D
02
(Check code)
Polling command given from the upper equipment
(Machine No.)
$01DLEP$0D
E.g.: When exporting data of machine No. 2
$01DLEP$0D
02
(Check code)
(Check code)
Reading data transmitted from the bar code reader
(Machine No.)
$01
E.g.: When the reading data of the machine No. 2 is "ABCDE"
$01$0D
02ABCDE
E.g.: When the read data is not accumulated
Reading data
(Check code)
(Check code)
Section 5 Example of Multi-drop Connection
$0D
(Machine No.)
$0174$0D
Code indicating that there is no data
When the bar code reader setting is changed from the upper
equipment
(Machine No.)
$01ESC (m1)$0D
Command character string
(Check code)
(Check code)
(m2)
V500-R521B2/C2
User’s Manual
95
Page 94
Section 5
Example of System Configuration
How to Use Command Link Unit V700-L12
V700-L12 is a communication link unit for communication relay of RS-232C output equipment
such as bar code readers and RFID system. (Hereinafter refer to as "link unit".) It is used to
connect plural sets of RS-232C output equipment to one port of the upper equipment.
Information only required for connection of the bar code reader and the link unit is described here.
When used, be sure to read the operation manual of the link unit V700-L12.
Part names
Multi-connection port (RS-485)
p.102
Operation indication lamp
Port for upper level connection (RS-232C)
p.100
ID connection port
p.104
Section 5 How to Use Command Link Unit V700-L12
Set DIP-SW (inside the cover) p.99
24 V power supply
terminal (inside the cover)
p.98
Operation indication lamp
Operation condition of the link unit is indicated with four LED.
LEDDescription
RUNIlluminate during normal operation of the link unit.
COMMIlluminate during data communication with the upper equipment.
IDIlluminate during data communication with the bar code reader.
ERR
Illuminate in the event of a failure during data communication with upper equipment or a bar code reader.
GR (frame ground) terminal is in the multi-connection port.
D type grounding (former type 3 grounding) should be performed.
V500-R521B2/C2
96
User’s Manual
Page 95
Section 5
Example of System Configuration
General specification
ItemSpecification
Number of connected antenna
set
Power voltage24 VDC + 10 % -15 %
Power consumption10 W or less
Insulation resistance50 mM ohm or more (at 500 VDC mega), between power terminal bulk
Withstand voltage100 VAC (50/60 Hz, 1 min), apply to power terminals and ground
Resistance to vibration10 to 150 Hz, double amplitude 0.20 mm, vibration with acceleration of
Impact resistanceApply shock with acceleration of 150 m/s2, 3 times for each X, Y, Z
Ambient temperatureAt operation: 0 to +45 °C
Ambient humidityAt operation and storage: 35 to 85 % RH (without due condensation)
Enclosure ratingIP20 (IEC60529 Standard)
GroundD type grounding (former type 3 grounding)
MassApprox. 185 g
1
blocs and ground terminals
terminals, and leak current must be 5 mA or less
15 m/s2, at each X, Y, Z direction
8 min. each, 10 sweeps applied, without abnormal
direction, total 18 times, without abnormality.
At storage: -15 to +50 °C (without freeze or dew condensation)
Section 5 How to Use Command Link Unit V700-L12
Communication function
ItemSpecification
Machine No.01 to 31
Communication speed with the
upper equipment
Data transmission procedure to
the upper equipment
RS-485 termination resistanceOFF (invalid)
48000/9600/19200/38400 bps
Normal procedure (polling procedure)
• When inputting data from the upper equipment, it outputs to the ID port
immediately and transmits received reply to the upper equipment.
• When inputting data from the ID port, it waits for the inquire command
and transmits data.
• In case of 1: N connection, this procedure is recommended.
Through procedure (immediate transmission system)
• When inputting data from the upper equipment, it outputs to the ID port
immediately. It does not transmit the received reply to the upper
equipment.
• When inputting data from the ID port, it transmits to the upper
equipment immediately.
ON (valid)
DIP-SW is used for setting each function.
V500-R521B2/C2
User’s Manual
97
Page 96
Section 5
Example of System Configuration
Power supply
Open the cover of the upper side of the body. There is a power terminal.
Section 5 How to Use Command Link Unit V700-L12
24VDC
The terminal mounting screw size is M3. Use a crimping terminal which fits to M3
screw.
ShapeSize
Fork type
6.0 mm or less
Round type
.0 mm or less
Connect 24 V power supply device.
Recommended device
ManufacturerModel
OMRON CorporationS8VS-03024
Confirmation should be fully made if there is no mistake after wiring.
Faulty wiring may be the cause of failure.
V500-R521B2/C2
98
User’s Manual
Page 97
Section 5
Example of System Configuration
Function setting
Set each function using the DIP-SW of the bar code reader.
Communication control systemOne-to-N procedure dedicated to OMRON
Communication speed 4800/9600/19200/38400 bps (Set with DIP-SW)
Character format (fixed) Start bitData bitParity bitStop bitTotal
18None110
Check code (Error detection system)FCS (Frame Check Sequence)/Vertical parity system
Pin arrangement
Connector cap is not conducting with GR (frame ground).
Section 5 How to Use Command Link Unit V700-L12
5
4
3
2
1
Pin No. Signal nameFunctionSignal direction
1-Not connected2RDReceived dataInput
3SDTransmission dataOutput
4-Not connected5SGGround for signal6-Not connected-
7RS
8CSTransmission allowedInput
9-Not connected-
Transmission request (Normally
ON when operating)
Output
9
8
7
6
RS signal control from the upper equipment
In case of 1: N connection with RS-232C interface of the upper equipment, the RS signal of the
upper equipment should be input to the CS signal of the link unit. Turn OFF the RS signal within
15ms after data transmission is finished. This control should be performed for normal operation.
Turn ON only in case when data is transmitted from upper equipment.
Upper side RS
Upper side SD
V500-R521B2/C2
100
User’s Manual
Within 15 ms
Page 99
Example of System Configuration
Wiring
Example of wiring when connecting with PC/AT compatible PC is explained.
Cable length should be 15 m or less.
Recommended parts
ModelManufacturer
CableCO-MA-VV-SB 5PX28AWGHitachi Cable, Ltd.
ConnectorSocketXM2D-0901OMRON Corporation
HoodXM2S-0913OMRON Corporation
Wiring method 1
PC/AT compatible PC
D-SUB 9 pin
Signal
name
RD2
SD3
SG5
RS7
CS8
Pin No.
1
4
6
9
Link unit
D-SUB 9 pin
Pin No.
1
2RD
3SD
4
5SG
6
7RS
8CS
9
Section 5
Signal
name
Section 5 How to Use Command Link Unit V700-L12
*1
Wiring method 2
PC/AT compatible PC
D-SUB 9 pin
Signal
name
RD2
SD3
SG5
RS7
CS8
*1 Ground the shield wire on either PC/AT compatible PC side or link unit side.
*2 When CS function is used on PC side, a return line is required.
Pin No.
1
4
6
9
Pin No.
*2
*1
Link unit
D-SUB 9 pin
Signal
name
1
2RD
3SD
4
5SG
6
7RS
8CS
9
V500-R521B2/C2
User’s Manual
101
Page 100
Section 5
Example of System Configuration
Multi-connection port specification
When plural bar code readers are connected to one RS-232C port of the upper
equipment, connect to a multi-connection port of other link unit.
When the upper equipment has the RS-485 port, connect this port to act as upper
connection port. However, when the multi-connection port is used as the upper
connection port, the upper connection port (RS-232C) of the link unit cannot be used.
GR (frame ground) terminal is also on this port.
ItemSpecification
Connector specification5 pin special connector (accessory for the link unit)
Cable lengthTotal length: Max. 1 km
Communication systemIn compliance with RS-485
Synchronous systemAsynchronous system
Communication control systemOne-to-N procedure dedicated to OMRON
Communication speed 4800/9600/19200/38400 bps (Set with DIP-SW)
Character format (fixed) Start bitData bitParity bitStop bitTotal
18None110
Section 5 How to Use Command Link Unit V700-L12
Error detection systemFCS (Frame Check Sequence)
Pin arrangement
5
4
3
2
1
Pin No. Signal nameFunction
5-Short circuit with terminal 2 inside the circuit
4+Short circuit with terminal 1 inside the circuit
3GRFrame ground
2-Short circuit with terminal 5 inside the circuit
1+Short circuit with terminal 4 inside the circuit
When connecting with RS-485 interface of the upper equipment
The upper equipment should be in data reception condition within 15 ms after data transmission.
This control should be performed for normal operation.
GR (frame ground) terminal is in the multi-connection port.
D type grounding (former type 3 grounding) should be performed.
V500-R521B2/C2
102
User’s Manual
0
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.