OMRON products are manufactured for use according to proper procedures by a
qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions
can result in injury to people or damage to property.
!DANGERIndicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
!WARNING Indicates a potentia ll y haz ard ous situ atio n whic h, if not avoide d, cou ld
result in death or serious injury.
!CautionIndicates a potentially hazardous situation which, if not avoided, may
result in minor or moderate injury, or property damage.
Visual Aids
The following headings will help you locate different types of information.
NoteIndicates infor mation of particular interest for efficient and conve-
nient operation of the product.
Indicates pages where additional information can be found.
1Indicates a procedure. The step numbers in the procedure
correspond to the numbers in any related illustrations.
Notation
Model Name
This product comes in two different models: V530-R150E-3 (input/output type: NPN)
and V530-R150EP-3 (input/output type: PNP). In this manual, both models are
referred to under the model number “V530-R150.”
Screen Messages
In this manual, screen messages are given in bold/italic.
E.g.: Register
Trademarks
Windows 95, W indo ws 98, Wi ndo ws Me , Windows 2000, and Windows NT are registered trademarks of Microsoft Corporation.
Hyper Terminal was developed by Hilgraeve Inc. of the US and is a registered trademark of Microsoft Corporation
¸ OMRON, 2001
All rights reser ved. No par t of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying,
recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein.
Moreover, because OMRON is constantly striving to improve its high-quality products, the
information contained in this manual is subject to change without notice. Every precaution
has been taken in the preparation of this manual. Nevertheless, OMRON assumes no
responsibility for errors or omissions. Neither is any liability assumed for damages resulting
from the use of the information contained in this publication.
This manual descr ibe s the features, specificati ons and op erati on of the
V530-R150 2-Dimensional Code Reader and includes the following
sections.
Section 1 gives an overview of the features, applications and basic configurations for the V530-R150 2-Dimensional Code Reader.
Section 2 describes the different parts of the V530-R150 2-Dimensional Code
Reader, and details the connectio ns and oth er procedures neces sary for installation.
Section 3 describes the specifications, procedures, inputs and outputs used
when operating the V530-R150 2-Dimensional Code Reader via terminal
blocks.
Section 4 describes the specifications, procedures, inputs and outputs used
when operating the V530-R150 2-Dimensional Code Reader via RS-232C.
Section 5 gives an overview of menu operations for the V530-R150 2-Dimensional Code Reader and explains the procedures required to perform basic
operations.
Section 6 gives details of the functions and operations possible with the V530R150 2-Dimensional Code Reader, including the procedures necessary for
communications with external devices.
Section 7 gives Camera replacement procedures and basic maintenance procedures and inspection items for the V530-R150 2-Dimensional Code Reader.
Section 8 gives specifications and dimensions for the component parts of the
V530-R150 2-Dimensional Code Reader.
Section 9 details errors that may occur with the V530-R150 2-Dimensional
Code Reader and gives procedures for dealing with those errors.
The Appendices provide ASCII codes, examples of FCS check programs, and
data capacity tables.
!WARNING
Failure to read and understand the information provided in this manual may
result in personal injury or death, damage to the product, or product failure.
Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of
the procedures or operations given.
ix
Page 9
Page 10
PRECAUTIONS
This section provides general precautions for using the V530-R150 2-Dimens ional Code Reader.
The information contained in this section is important for the safe and reliable application
of the V530-R150 2-Dimensional Code Reader. You must read this section and understand
the information contained before attempting to set up or operate a V530-R150 2Dimensional Code Reader.
• Do not touch fluorescent or halogen light while
the power in ON or immediately after the power
is turned OFF. These lights generate heat and
can cause burns.
The following must be followed to ensure the
safety.
• Do not use the V530-R150 in environments with flammable or
explosi ve gases.
• Install the V530-R150 away from high-voltage equipment or
motors to ensure safety during operation and maintenance.
• Use crimp terminals for wiring. Do not connect bare stranded
wires directly to terminals.
• Cover t he te rminal blocks with the Terminal Block Protec tio n covers.
• Use DC power supplies with safe extra low-voltage circuits for
the main V530-R150 power supply and terminal block power
supplies in order to prevent an occurrence of high voltages.
• Use the power supply cables and crimp terminals of specified
sizes.
• Use at the power supply voltages specified i n this manual.
• Double-check all wiring and switch settings before turning ON
the power suppl y.
• Be sure to securely tighten the screws when mounting V530R150 components.
• Do not dismantle, repair or modify any V530-R150 components.
• Dispose of V530-R150 components as industrial waste.
• To prevent damage from static electricity, use a wrist strap or
another device for preventing electrostatic charges when touching terminals or signal line.
• Do not turn OFF the power while a message is being displayed
indicating that processing is being performed. Data in memory
will be destroyed, and the V530-R150 may not operate correctly
the next time it is started. Please note that the V530-R150 can
not restart if the power is turned OFF wh ile the sta rt up message
is on a screen.
• Keep the power supply cable as short as possible (10 m max.).
• Do not allow foreign matter, such as metal filings or liquids, to
enter the openings of the V530-R150.
xii
Page 12
General Precautions2
2General Precautions
The user must operate the product according to the performance
specifications described in the operation manuals.
Before using the product under conditions which are not described in
the manual or applying the product to unclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safe ty equipment, and other
systems, machines, and equipment that may have a serious influence on lives and properly if used improperly, consult your OMRON
representative.
Make sure that the ratings and performance characteristics of the
product are sufficient for the systems, machines, and equipment, and
be sure to provide the systems, machines, and equipment with double safety mechanisms.
3Installation Precautions
The V530-R150 is highly re liable and resistant to most environmental factors. The following guideli nes, however, must be
followed to ensure reliability and optimum use of the V530R150.
Components
Be sure to use the Camera, Camera Cable, and Console designed
for the V530-R150.
Installation Site
Do not inst all the V53 0-R 15 0 i n l oc atio ns su bject to the following c onditions.
• Condensation due to rapid temperature fluctuations
• Relative humidities outside 35 to 85%
• Corrosive or flammable g ases
• Dust, salt, or iron particles
• Direct vibration or shock
• Direct sunlight
• Water, oil, or chemical fumes or spray
xiii
Page 13
Installation Precautions3
Installation
Orientation of Controller
To improve heat dissipation, install the controller in the following orientation only:
CORRECT
Do not install the controller in the orientations shown in the following
diagram.
INCORRECTINCORRECT
Ambient Temperature
• Maintain a minimum clearance of 50mm above and below V530R150 components to improve air circulation.
• Do not install V530-R150 components immediately above strong
heat sources, such as heaters, transformers, or large-capacity
resistors.
• Do not let the ambient operating temperature exceed 50C.
xiv
Page 14
Installation Precauti ons3
• Provide a forced-air fan or air conditioning if the ambient temperature might exceed 50C.
Control Box
V530-R150
Louver
Noise Resistance
Use the following measures to help increase noise resistance.
• Do not install V530-R150 components in a cabinet containing
high-voltage equipment.
Cables
Cameras
• Do not install V530-R150 components within 200 mm of power
cables.
Power Cable
200 mm min.
V530-R150
200 mm min.
Always turn OFF the power before connecting or disconnecting
cables.
The camera’s case is connected to the 0V line in the internal circuits.
Heed the following precautions to prevent noise interference.
• Do not ground the camera.
• Do not remove the base attached to the camera.
• Do not remove the core attached to the F150-VS camera cable.
xv
Page 15
Installation Precautions3
Video Monitor
(When using the recommended F150-M09)
Heed the following precautions to prevent noise interference if the
video monitor case is metallic, because it is connected to the 0V line
in the internal circuits.
• Do not ground the video monitor.
• Do not ground the metallic part of the connector.
• Secure the video monitor with plastic screws if it is being
mounted to a metallic surface.
2-Dimensional Code
• The blank margin (quiet zone) is necessary around 2-dimensional codes. Ensure a margin of at least four cells around both
data matrix and QR code s except for QR codes in Pattern mode.
A margin of only one cell is sufficient with QR codes in Pattern
mode.
• Adjust the only one reading code to be within the field of vision.
Reading can not be performed correctly if more than one code
are on a screen.
RESET Terminal
Do not use RESET input immediately after power is turned ON.
When using RESET input to synchronize execution timing, wait at
least 1 s after turning ON the V5 30-R150 p ow er supp ly before turning
ON the RESET terminal.
• Adjus t the fie ld of vi sion of a ca mera for the 2- dimen siona l code
to be at least 5 pixels per cell.
xvi
Page 16
Package Contents4
Terminals
Do not connect anything to the terminals with no names.
Do not use.
Do not use.
Directives and Standar ds
The V530-R150 conforms to the following directives and standards.
1.EC Directives
EMC Directive: No. 89/336/EEC
2.EN Standards (European Standards)
EN61326: 1997/Annex A + A1: 1998 (EMI: Class A)
EN61000-6-2: 1999, EN50081-2: 1993
4Package Contents
Confirming Pac k a ge Contents
Check the contents of the package as soon as you receive the V530R150. Contact the nearest OMRON representative if any of the following items are missing.
• V530-R150 2-Dimensional Code Reader Controller
• Operation Manual (this manual)
xvii
Page 17
Page 18
SECTION 1
Features
This section gives an overview of the features, applications and basic configurations for the V530R150 2-Dime nsional Code R eader.
The following illustrations show configurations and typical applications for the V530-R 150 .
Unit Connections and Wiring
Monitor
Power Supply
Camera
Refer to SECTION 2 Installation for detailed descriptio ns.
Connections for Peripheral Devices
Programmable
Controller
Sync. Sensor
Console
Personal Computer
Refer to SECTION 3 Terminal Blocks and SECTION 4 RS-232C for
detailed descriptions.
2
Page 20
Overview of V530-R150 ApplicationSection 1-1
Displaying Images
Switch to through image and adjust the focus, camera setting distance, and lighting.
Camera
Lighting
Monitor
Refer to 2-4 Cameras, 2-5 CCTV Lens, 2-6 Lighting, and 2-7 Two-camera Unit for detailed descriptions .
Setting Reading Conditions
Operate the Console while checking menus on the Monitor.
Refer to SECTION 5 Operations and SECTION 6 Functions andOperations for detailed descriptions.
Console
0.Image Adjust
3
Page 21
FunctionsSection 1-2
Performing Reading
.
.
.
.
.
.
1
2
0
3
5
4
6
9
Refer to 6-2 MON (Monitor) Mode and 6-3 RUN Mode for detailed
descriptions.
9
6
4
5
3
0
2
1
.
.
.
.
.
.
1-2Functions
Reading Specifications
Reading is possible for both QR Code and Data Matrix in either Normal or P attern mode . Usual ly, the Normal mode can be used. Use the
Pattern mode for codes with poor marking quality or codes made up
of dots. (Refer to the table below.)
Reading code
Matrix size21 x 21 cell to 41 x 41 cell (Versions
Readable direction360 degrees (All directions)
ResolutionVary according to magnification and features of the lens to be used. (See
Reading region
Reading depth
QR Code
(model 1, 2)
1 to 6)
note.)
Data Matrix
•ECC200
10 x 10 cell to 64 x 64 cell,
8 x 18 cell to 16 x 48 cell
•ECC000, 050, 080, 100, or 140
9 x 9 cell to 25 x 25 cell
4
Page 22
FunctionsSection 1-2
NoteAdjust the field of vision to be at least five pixels per cell.
Pixel number is measured by SET/Image Analysis/Measure
Length.
page 176
Shutter
Speed
Select a shutter speed that is appropriate for the speed of the workpiece.
page 126
FilteringThe image can be processed with the filtering function to enhance
edges and reduce background noise.
page 127 to page 130
Light Level
Adjustment
If an Intelligent Light Source is connected, the lighting area and light
level can be adjusted from the V530-R150.
page 131
Image
Analysis
The image analysis function makes it easy to determine the cause of
error when reading is NG judgment.
page 172 to page 182
Enlarge
5
Page 23
FunctionsSection 1-2
Store ImagesUp to 24 images can be stored in memory.
The images can be used to check what kind of errors have occurred.
The stored image s will be cl eare d when th e power goes OFF, so th e
images must be backed up in the computer if you want to save them
long term.
page 202
Easy
Process
Switching
Using 2
Cameras
Note1.Change the Camera Unit to “F150-A20” in advance in the SYS/
Up to 10 different sets of reading conditions can be set with the
Scene function. Each set of reading conditions is called a “scene”.
You can switch the reading process just by switching the scene.
page 219
If an F150-A20 Two-camera Unit is used, two Cameras can be connected to one V530-R150.
page 26
Device settings menu and switch the camera mode in the
menu’s initial screen. page 120 and page 210
2.There is a function to pre v ent i nterf erence between t wo Int elligent
Light Sources. When Cameras with Intelligent Light Sources are
connected, set a time difference in the lighting (Camera 0
Camera 1) so each Camera’s light doesn’t affect the other Camera.
6
Page 24
FunctionsSection 1-2
Example 1: Reading Two Lines with a Single Controller
A single F150-A20 can read two kinds of 2-dimensional codes.
F150-A20 Twocamera Unit
V530-R150
Controller
NoteThe F150-A20 cannot process the two images from two Cameras
simultaneously. Set reading conditions so that each process is
processed with separ at e screens.
7
Page 25
FunctionsSection 1-2
Example 2: Increasing the Field of Vision
The F150-A20 can be used f or applicat ions where it is diffic ult to position the object in a single Camera’s field of vision.
8
F150-A20 Twocamera Unit
Field of vision
of Camera 0
V530-R150
Controller
Field of vision
of Camera 1
Page 26
Trigger Inputs and OutputsSection 1-3
1-3Trigger Inputs and Outputs
Trigger Inputs
• Trigger inputs from terminal blocks:
Enter input signals to perform one shot reading, continuous
reading and level trigger.
• Trigger inputs from RS-232C:
Enter input signals to perform one shot reading and
continuous reading.
Select normal or host link as communications method.
• Trigger inputs from Console:
Press the TRIG Key to perform one reading.
Reading Judgment Outputs
• To terminal blocks:
page 35
Judgment is output to the OK/NG terminal.
Judgment is output to terminals DO0 to DO3 by using the
coincidence judgment function.
page 35
page 56, page 83
• To RS-232C
page 82, page 85
Reading judgment and data are output.
Select normal or host link as communications method.
9
Page 27
Page 28
SECTION 2
Installation
This section describes the different parts of the V530-R150 2-Dimensional Code Reader, and
details the connections and other procedures necessary for installation.
The following diagram shows the terminals, connectors, and indicators on the V530-R150 2-Dimensional Code Reader.
POWER
indicator
RUN
indicator
ERROR
indicator
Ground
terminal
RS-232C
connector
Power supply
terminals
Output
terminals
Input
terminals
Monitor
connector
Console
connector
Camera
connector
Output
terminals
*Do not open.
Lit while power is ON.
Lit in RUN mode.
Lit when an error occurs.
Connects the V530-R150 to a computer, Programmable Control-
ler, or other external device.
Connects to the Camera.
Wired to the power supply.
Wired to a ground.
Wired to e x ternal devices, such as synch rono us se ns ors or i npu ts
from a Programmable Controller.
Wired to external devices, outputs to a Programmable Controller.
Connects to the monitor.
Connects to the Console.
12
Page 30
ConnectionsSection 2-2
2-2Connections
!Caution Components marked with an asterisk are specially designed for
the V530-R150. Other products cannot be used. (Using other
products may damage other components in the system.)
Connect the basic components as shown in the following diagram.
Details are provided later in this section.
13
Page 31
ConnectionsSection 2-2
Cameras
*Camera with Intelligent Light Source
page 18
F150-SLC20
(20-mm field of vision)
*F150-VS
Camera Cable (3m)
F150-SLC50
(50-mm field of vision)
*Camera with F150-LT10A Light Source
page 18
F150-SL20A
(20-mm field of vision)
F150-SL50A
(50-mm field of vision)
*Camera Only
Use a standard CCTV lens and
light with this Camera if the field
of vision and object size require it.
page 20
F150-S1A
*F150-VS
Camera Cable (3m)
*Two-camera Unit
page 26
F150-A20
Use this Unit to connect two Cameras to a single V530-R150. (The
Cameras shown on the left can be
connected.)
14
Page 32
ConnectionsSection 2-2
Power Supply
(We recommend the OMRON
S82K-01524 or S82K-05024.)
page 16
*F150-KP Console
(Cable length: 2m)
BNC Jack
(Attached to F150-VM
Monitor Cable)
*F150-VA Camera Unit Cable
(15 cm, included with the F150-A20)
Note
1.Tur n OFF the power to the V530-R150 before connecting or disconnecting cabl es. Co nnecting or disco nnecting cab les wi th power turned ON can damage peripheral devices.
V530-R150 2-Dimensional
Code Reader
F150-VM Monitor
Cable (2m)
Monitor
F150-M05L
LCD Monitor
page 12
F150-M09
Monitor
(Cathode ray tube)
2.When usi ng an F 1 50 -A 20 Two-camera Un it , tu rn OFF t h e power
to both the V530-R150 and Two-camera Unit before connecting
or disconnecting cables.
15
Page 33
Power Supply and GroundSection 2-3
Round
6.2 mm max.
2-3Power Supply and Ground
Wire th e power su pply a nd the gr ound to the top t er minal block, and
tighten the screws to a torque of between 0.5 and 0.6 N•m. After wiring, check to make sure that the wiring is correct.
!Caution Cover the terminal blocks with t he Terminal Block Prote ction C ov-
ers. Uncovered terminal blocks can result in electric shock.
2-3-1Crimp Terminals and Cables
The terminal block uses M3 terminal screws. Use appropriate crimp
terminals for M3 screws, as shown below.
Termi nalMakerModel No.Wire size
Forked
6.2 mm max.
J.S.T. Mfg. Co., Ltd.V1.25-N3A1.31 to
1.65 mm
J.S.T. Mfg. Co., Ltd.V1.25-MS3
2
2-3-2Protective Conductor (Earth) Wiring
Ground of 100 Ω or less.
Note1.Use an appropriate ground (100 W max.). An insufficient ground
can affect V530-R150 operation or result in damage to V530R150 components.
2.To avoid damage to the equipment, do not share the protective
conduc tor wiring with any other devices nor w ire the protect ive
conductor terminal to the girder. Be sure to wire the protective
conductor of the equipmen t inde pen den tly.
3.Keep the ground line as short as possible.
16
Page 34
Power Supply an d GroundSection 2-3
2-3-3Wiring the Power Supply
!Caution Use a DC power supply with s afe extra low-voltage circuits on the
secondary side. Excessively high voltages can result in electric
shock.
Power supply
Use a power supply with the following specifications. We recommend
using OMRON’s S82K-01524 Power Supply.
Output current0.6 A min.
Power supply voltage24 VDC+10%, –15%
Use a pow er suppl y with the f ollowing specifications when con necti ng
the V530-R150 and F150-M05L LCD Monitor to one power supply.
We recommend using OMRON’s S82K-05024 Power Supply.
Output current1.6 A min.
Power supply voltage24 VDC+10%, –15%
24 VDC
Note1.Wire the Power Supply Unit independently of other devices. In
particular, k ee p the po w er supply wired sepa r ately from in ducti v e
loads.
2.Keep the power supply cable as short as possible (10 m max.).
3.If UL recognition is required, use a UL class II power supply.
17
Page 35
CamerasSection 2-4
2-4Cameras
2-4-1Cameras with Light Sources
The Cameras w it h L igh t So urc es are special camer as w i th a l ens a nd
light source attached. The light source and lens are a single unit and
are thus compact and easy to mount. The Camera must be mounted
at a distance from the measurement object where it can correctly
view the object.
The lens focus is fixed and the distance must be adjusted each time
the lens or Camera is changed because the field of vision and focus
vary from lens to lens.
Also, the camera’s working distance is an approximate value. Mount
the camera so t hat i t c an b e ad jus ted sl igh t ly nearer to or farther from
the object.
Note1.Determine which Camera is appro priat e ba sed on the s ize of the
code, as shown in the following table.
Field of visionAppropriate code size
20 mm
50 mm
20 mmAbout 10 mm square
50 mmAbout 25 mm square
2.Use the following guidelines for the code’s matrix size.
• QRCode21 21 (version 1) to 33 33 (vers io n 4)
• DataMatrix 10 10 to 26 26
3.If the object size and field of vision are incompatible, use a standard CCTV lens and light source with a F150-S1A Camera.
page 20
18
Page 36
CamerasSection 2-4
Cameras with F150-LT10A Light Source
Field of visionWorking distanceModel
20 mm
50 mm
Cameras with Intelligent Light Source
20 mm61 to 71 mm F150-SL20A
50 mm66 to 76 mm F150-SL50A
Working
Object
Field of vision
distance
Field of visionWorking distanceModel
20 mm
50 mm
20 mm15 to 25 mm F150-SLC20
50 mm16.5 to 26.5 mm F150-SLC50
Object
Field of vision
Working
distance
The Intelligent Light Sources have a DIP switch with two pins. Set
both pins to OFF.
F150-SLC20F150-SLC50
19
Page 37
CCTV LensSection 2-5
2-4-2Camera Only
If the object size and field of vision are incompatible, use a standard
CCTV lens and light source with a F150-S1A Camera. Use C-mount
lenses.
CameraModel
CameraF150-S1A
NoteUse lighting that is appropriate for the object being measured.
2-5CCTV Lens
When using a F150-S1A Camera, refer to the following graph to
select the appropriate Lens and Extension Tube. The lens required
will diff er depe nding on t he siz e of the obj ect an d its d istanc e from the
Camera.
Optical Chart
Using the Optical Chart
The X axis of the graph shows field of vision L (mm), and the Y axis
shows the c amer a dist ance A (mm ). The cu rves on the g ra ph ind icate
different l ens es, and the “t” values indi cat e th e le ngths of the required
20
Page 38
CCTV LensSection 2-5
(mm)
Extension Tubes. A value of “t0” indicates no Tube is required and
“t5.0” indicates a 5 mm Tube is required.
For example when a 30mm field of vision is required at the working
distance and a 3Z4S-LE B2514D Lens is being used, use a 1-mm
Extension Tube and a working distance of 250 mm.
Camera
Extension Tube t @ (mm)
Lens
Camera distance
A (mm)
Object
Field of vision L
Lens
(Unit: mm)
Max. outer dia.
Total length
Focal lengthBrightnessMax. outer
3Z4S-LE C418DX4.8 mmF1.840.5 mm dia.35.5 mm--3Z4S-LE B618CX-26.5 mmF1.848 mm dia.42 mm
3Z4S-LE C815B8.5 mmF1.542 mm dia.40 mmM40.5 P0.5
3Z4S-LE B1214D-212.5 mmF1.442 mm dia.50 mm
3Z4S-LE C1614A16.0 mmF1.430 mm dia.33 mmM27 P0.5
3Z4S-LE B2514D25.0 mmF1.430 mm dia.37.3 mm
3Z4S-LE B5014A50.0 mmF1.448 mm dia.48 mmM46 P0.75
3Z4S-LE B7514C75.0 mmF1.462 mm dia.79 mmM58 P0.75
diameter
1"-32UN-2A 30 dia.
Total lengthFilter size
21
Page 39
CCTV LensSection 2-5
(
)
Extension Tubes
One or more Extension Tubes are inserted between the lens and the
Camera to focus the Camera image. Use a combination of one or
more of the six sizes of tube to achieve the required length.
Extension Tube
ModelMax. outer
diameter
3Z4S-LE EX-C631 mm dia.Set of 6 tubes
0.5 mm, 1 mm, 5 mm, 10 mm,
20 mm, and 40 mm
Length: 40 mm20 mm10 mm1.0 mm5 mm0.5 mm
Length
Set of 6 tubes
Note1.Do not use the 0.5 -mm an d 1 .0-m m Exte ns ion Tubes attached to
each other. Since these Extension Tubes are placed over the
threaded section of the Lens or other Extension Tubes the connection may loosen when more than one 0.5-mm or 1.0-mm Extension Tube are used together.
2.Reinforcement may be required for a combination of Extension
Tubes exceeding 30 mm if the Camera is subject to vibration.
22
Page 40
LightingSection 2-6
2-6Lighting
A stable image must be obtained to ensure a ccurate inspection.
Use appropriate lighti ng for the application and the reading object.
Lighting Methods
Back Lighting
A stable, high-contrast image can be obtained using back lighting.
Applications: Reading codes on transparent objects such as
sheet glass
Object
Camera
Light source
23
Page 41
LightingSection 2-6
Reflected Lighting
Ring Lighting
Objects can be illuminated shone uniformly.
Applications: Paper labels and relatively large objects
Camera
Light source
Object
Oblique Lighting
Detection is mad e b y dis tingu ishin g regul ar and d iffuse reflec ted lig ht.
Applications: Relatively small objects
Camera
Light source
24
Object
Page 42
LightingSection 2-6
Coaxial Lighting
A stable image with few shadows can be obtained of a reading object
with an uneven surface by detecting only regular reflected light.
Applications: Reading codes from objects with highly reflective
surfaces such as semiconductor wafers
Camera
Half mirror
Light source
Object
25
Page 43
Two-camera Uni tSection 2-7
2-7Two-camera Unit
When the F150-A20 Two-camera Unit is used, two cameras can be
connected to a single V530-R150 and images can be received at the
same time.
NoteIf the V530-R150 and the Two-camera Unit are not turned ON
simultaneously, be sure to turn ON the Two-camera Unit first.
Images might not be received prop erly i f th e V5 30-R 1 50 i s turned
ON first.
Power
Supply
Connect a 24-VDC power supply. The Two-camera Unit requires the
same kind of crimp connectors and wire as the V530-R150’s power
supply connection.
System Configuration
24 VDC
F150-VS Camera
Cable (3 m)
F150-A20 Twocamera Unit
F150-VA
Camera Unit
Cable (15 cm,
included with
the Two-camera Unit)
V530-R150
Controller
Camera with a Light Source:
F150-SL20A or F150-SL50A
Camera with an Intelligent Light Source:
Two different
Cameras can
be connected.
F150-SLC20 or F150-SLC50
Camera Only:
F150-S1A
NoteTurn OFF the power to all of the system devices before connect-
ing or disconnecting cables. Connecting or disconnecting cables
with power turned ON can damage the devices.
26
Page 44
Mounting the V530-R150Section 2-8
(
)
2-8Mounting the V530-R150
The V530-R150 2-Dimensional Code Reader can be mounted to DIN
Track or a vertical surface.
2-8-1Mounting to DIN Track
The 2-Dimensional Code Reader can be easily mounted to or
removed from 35-mm DIN Track.
The following DIN Tracks
are available from OMRON.
PFP-100N (1 m)
PFP-50N (50 cm)
PFP-100N2 (1 m)
PEP-M End Plate
OMRON
Connecting a Two-camera Unit
The Came ra Unit Cable is 15 cm long. Mo unt the Two-c amera Unit
just to the left of the V530-R150.
27
Page 45
Mount in g th e V 530-R150Section 2-8
Mounting the V530R150
Hook the V530-R150 int o the D IN Track as sho wn in the diagram and
then press in at the bottom until the V530-R150 locks into place.
Removing the V530 -R150
Use a screwdriver to pull the hook down and then pull out the V530R150 from the bottom.
28
Page 46
Mounting the V530-R150Section 2-8
2-8-2Mounting on a Flat Surface
V530-R150Two-camera Unit
Four, M4
Four, M4
(Unit: mm)
29
Page 47
Page 48
SECTION 3
Terminal Blocks
This section describes the specifications, procedures, inputs and outputs used when operating the
V530-R150 2- D im e ns io na l C od e Re ad e r via te r mi na l bl o ck s .
The terminal block uses M3 terminal screws. Use appropriate crimp
terminals for M3 screws, as shown below. Tighten the screws to a
torque of between 0.5 and 0.6 N•m. After wiring, check to make sure
that the wiring is correct.
!Caution Cover the terminal blocks with t he Terminal Block Prote ction C ov-
ers. Uncovered terminal blocks can result in electric shock.
Terminal Dimensions
TerminalMakerModel No.Wire size
Forked
6.2 mm max.
J.S.T. Mfg. Co., Ltd.V1.25-N3A1.31 to
1.65 mm
2
Round
6.2 mm max.
J.S.T. Mfg. Co., Ltd.V1.25-MS3
3-1-2Specifications
!Caution Use a DC po w er s up ply w ith safe extra low-voltage circuits on the
Output voltage12 to 24 VDC
Load current45 mA max.
ON residual voltage2 V max.
OFF leakage current0.1 mA max.
Internal circuits
10%
Output terminal
Load
COM OUT
Load
NoteIf UL recognition is required, use a UL class II power supply.
3-1-3Terminals
COM OUT
Output terminal
Do not use.
See
table
A.
Do not use.
See
table
B.
33
Page 51
SpecificationsSection 3-1
There are 3 kinds of COM OUT (*1 to *3) for each output terminal.
Connect with reference to the following table.
Table A
TopBottom
+Power supplyNCNot connected
–Appropriate ground
RUNControl outputERRError output
BUSYGATEControl output
OK/NGJudgment outputNCNot connected
COM OUT (*1)For RUN, ERR, BUSY,
GATE, and OK/NG
DSADo not useTRIG BTrigger input (Continuous
COM IN
Table B
RESETRestart
TRIG ATrigger input (One shot
mode)
or Level Trigger mode)
TopBottom
DO 1Coincidence outputDO 0Coincidence output
DO 3DO 2
DO 5Do not useDO 4Do not use
DO 7DO 6
NCNot connectedCOM OUT (*2)For DO 0 to DO 7
DO 9Do not use
DO 11DO 8Do not use
DO 13DO 10
DO 15DO 12
DO 14
COM OUT (*3)For DO 8 to DO 15
Note1.Do not reverse the connections of the signal terminals and COM
terminals.
2.Do not use RESET input immediately after power is turned ON.
When using RESET input to synchroniz e ex ecution tim ing, wait at
least 1 s after turning ON the V530-R150 power supply before
turning ON the RESET terminal.
34
Page 52
Trigger Input and Output FormatSection 3-2
3-2Trigger Input and Output Format
3-2-1Trigger Input
Reading is perfor med by inputting a signal to the TRIG A or B terminals when in MON (monitor) or RUN mode.
TRIG A Terminal (One shot mode)
One reading is performed on the rising edge (OFF to ON) of TRIG A
signal.
Correct Reading: Reading ends, then reading judgment is output.
Incorrect Reading: Reading continues to be performed for the number of retries specified in the setting conditions.
How to set the number of retries. page 161, page 169,
page 139, page 155
As the TRIG A signal is synchronous with the shutter input of the
Camera, an accurate image of the moving object can be obtained.
TRIG B Terminal (Continuous mode / Level trigger mode)
Changed by setting of communications specifications.
page 199
The reading accuracy and number of retry settings are disabled for
the TRIG B input.
Trigger ModeDetail
Continuous mode (Default
setting)
Level trigger modeRepeats reading while the TRIG B terminal is ON until reading
Performs continuous reading while the TRIG B terminal is ON.
judgement is OK (readable). An NG will be output if reading is not
successfully completed before TRIG B goes OFF.
3-2-2Output Format
Signals are output in RUN mode but not in MON (monitor) mode.
OK/NG Te rmina l
Output OK/NG judgment.
JudgmentDetail
OKOK when 2-dimensional codes are read successfully.
The reading data will be output to RS-232C.
NGNG when 2-dimensional codes are not read successfully.
The error code will be output to RS-232C.
NG when coincidence judgment is set to ON and the reading data is
not coincident with the registered data 0 to 3.
The reading data will be output to RS-232C.
35
Page 53
Trigger Input and Output FormatSection 3-2
OK: ON or NG: ON (i.e .: wheth er output tu rns ON f or an OK judgment
or an NG judgment) can be selected in the communications specifications settings.
The default setting is NG: ON. page 199
DO0 to DO3 Terminals
While the coincide nce ju dgmen t functio n is ON, the signa ls are as follows:
How to set coincidence judgment function page 145
Coincident with registered data 0: DO0 terminal tu rns ON.
Coincident with registered data 1: DO1 terminal tu rns ON.
Coincident with registered data 2: DO2 terminal tu rns ON.
Coincident with registered data 3: DO3 terminal tu rns ON.
NoteThe initial status of the output terminals is OFF. The terminals,
however, may turn ON for approx imately 0.5 s when the power is
turned ON. Be sure to allow for this when connecting to an external device.
36
Page 54
Timing ChartSection 3-3
3-3Timing Chart
3-3-1One Shot Mode
Enter RUN modeLeave RUN mode
RUN
TRIG A
BUSY
Image readImage readImage read
OK/NG
DO 0 to 3
GATE
(RS-232C)
Judgment
Coincidence
judgment
Gate ON delayGate ON time
Output period
NoteThe output time to RS-232C changes depending on the data vol-
ume or baud rate.
37
Page 55
Timing ChartSection 3-3
Output Terminals
TerminalFunction
RUNT urns ON during RUN mode.
BUSYShows that the V530-R150 is reading an image, changing settings, etc.
Do not input the next command while the BUSY signal is ON.
Otherwise, the commands input during command execution or processing may
not be properly executed.
OK/NGOutputs the judgment under the set reading conditions.
(Can be set to turn ON for either OK or NG judgment.)
GATEUsed to control the timing with which the reading judgment is read at the external
device.
The duration for which the GATE terminal is turned ON can be set as required for
the external device to correctly read the reading judgment.
Make the output cycle longer than the gate ON delay plus the gate ON time, but
shorter than the duration of the reading (TRIG A input).
If the cycle is longer than the TRIG A input time, the output timing falls behind as
readings are repeated.
Gate ON delay, Gate ON time and Output period are set under the set communications conditions.
page 199
Input Terminals
TerminalFunction
TRIG AInputs a reading trigger from a photoelectric sensor or other external device.
One reading is taken on the rising edge of the TRIG A signal.
Turn ON for at least 0.5ms. The duration of TRIG A signal input depends on reading time. While reading is being performed, BUSY terminal tur ns O N and does
not accept input signals. Refer to 3-4 System Examination for the standard reading time.
38
Page 56
Timing ChartSection 3-3
3-3-2Continuous Mode
Enter RUN modeLeave RUN mode
RUN
TRIG B
*Delay of 33.3 ms max. occurs before starting to
read images after TRIG B signal is turned ON.
BUSY
Image readImage readImage read
OK/NG
DO 0 to 3
GATE
(RS-232C)
Judgment
Coincidence
judgment
Gate ON delay Gate ON time
Output period
NoteThe output time to RS-232C changes according to the data vol-
ume and baud rate.
39
Page 57
Timing ChartSection 3-3
Output Terminals
TerminalFunction
RUNT urns ON during RUN mode.
BUSYShows that the V530-R150 is reading an image, changing settings, etc.
Do not input the next command while the BUSY signal is ON.
Otherwise, the commands input during command execution or processing may
not be properly executed.
OK/NGOutputs the judgment under the set reading conditions.
(Can be set to turn ON for either OK or NG judgment.)
GATEUsed to control the timing with which the reading judgment is read at the external
device.
The duration for which the GATE terminal is turned ON can be set as required for
the external device to correctly read the reading judgment.
Make the output cycle longer than the gate ON delay plus the gate ON time, but
shorter than the duration of the reading.
If the cycle is longer than the duration of the reading, the output timing falls
behind as readings are repeated.
Gate ON delay, Gate ON time and Output period are set under the set communications conditions.
page 199
Input Terminals
TerminalFunction
TRIG BContinuous reading is performed when TRIG B signal is turned ON.
40
Page 58
Timing ChartSection 3-3
3-3-3Reading Level Trigger (when trigger mode is “Level
Trigger”)
OK judgment (Readable)
Enter RUN modeLeave RUN mode
RUN
TRIG B
*Delay of 33.3 ms max. occurs before starting to
load images after TRIG B signal is turned ON.
BUSY
Reading (OK)
OK/NG
DO 0 to 3
GATE
(RS-232C)
NoteThe output time to RS-232C changes according to the data vol-
Output T e rmina ls
Input Terminals
Judgment (OK)
Coincidence judgment
Gate ON delay Gate ON time
Output period
ume and baud rate.
The same as contin uous mode.
TerminalFunction
TRIG BContinuous reading is performed while TRIG B signal is turned ON until OK
(readable) reading judgment is output.
41
Page 59
Timing ChartSection 3-3
OK judgment obtained after repeated reading:
TRIG B
BUSY
OK/NG
DO 0 to 3
(RS-232C)
Reading
(NG)
Reading
(OK)
Judgment (OK)
Coincidence judgment
NoteThe output time to RS-232C will vary according to the data vol-
ume and baud rate.
42
Page 60
Timing ChartSection 3-3
NG judgment after repeated reading:
NG is output when TRIG B is turned OFF.
TRIG B
BUSY
OK/NG
DO 0 to 3
(RS-232C)
Reading
(NG)
Reading
(NG)
Reading
(NG)
Judgment (NG)
(Error codes)
NoteThe output time to RS-232C will vary according to the data vol-
ume and baud rate.
43
Page 61
System ExaminationSection 3-4
3-4System Examination
Processing Time Calculation
Processing time (reading time) is calculated as follows:
Processing
time
Shutter time
=
of camera
NoteA delay of 33.3 ms max. will occur before starting to load monitor
images if through images are displayed. A delay may also occur
depending on the trigger input method.
Reading Moving Objects
Please note the following to prevent delay when loading images.
• Use the TRIG A signal for timing inpu t.
As the TRIG A signal is sync hro nous with the shutter input of the
Camera, an accurate image of the moving object can be
obtained.
• Set the image to be displayed on the monitor to “Freeze”.
When through images are displayed, a delay of 33.3 ms max.
occurs before loading images after the TRIG A signal input.
Line Speed
++
++
Delay of loading
image (see note)
Decode timeDisplay time
Loading image
time (33.3 ms
fixed)
If the object moves while the image is being loaded after the shutter
is released, the image will be blurred. Set the line speed according to
the shutter speed (using V530-R150 menu), the cell size of objects,
and the field of vision of the Camera.
Tact Time
A certain interval is necessary between reading objects during which
the next trigger signal is not input. This interval (time) is called “Tact
Time”.
(e.g.) Processing time for reading: 500 ms; Line speed: 30 m/min
30
× 0.5 = 0.25
60
The distance m ov e d in 5 00 ms is 0. 25 m. There f or e, an inte rval al low ing 0.25 m min. of movement is necessary.
Number of Retries
If reading is NG, readin g co nti n ues to be performed f or the nu mber of
retries specified by the setting conditions. When reading moving
objects, reading may continue after the object has left the field of
vision. Set the numbe r of retrie s so that readi ng is perform ed while
the object is still within the field of vision, or set to 0.
44
Page 62
System ExaminationSection 3-4
Continuous Reading
Regardless of the displayed image (through/freeze), a 33.3 ms max.
delay occurs before loading the image after the TRIG B signal is
input.
Standard Processing Time (values for OMRON’s standard codes)
QR Code (Normal Mode)
Matrix sizeProcessing time
21 (V ersion 1)160 ms
21
29 (V ersion 3)200 ms
29
41 (V ersion 6)260 ms
41
Data Matrix (Normal Mode)
Matrix sizeProcessing time
10180 ms
10
14190 ms
14
26250 ms
26
64
64450 ms
NoteThe data here are standard values. When installing, calculate the
processing time according to the actual specifications and confirm the value in the actual operating environment. The processing time is displayed in the upper-right corner of the screen when
reading is performed in MON (monitor) or RUN mode.
45
Page 63
Page 64
SECTION 4
RS-232C
This section describes the specifications, procedures, inputs and outputs used when operating the
V530-R15 0 2-D i m e ns io na l C od e Re ad e r via R S- 2 32C.
The V530-R150 uses 9-pin D-Sub female connectors. The pin numbers and names are shown below.
Recommended OMRON Connector
ModelModel No.
PlugXM2A-0901
HoodXM2S-0911
PinSignalName
1FG (GND)Frame ground
2SD (TXD)Send Data
3RD (RXD)Receive Data
4RS (RTS)Request to Send
5CS (CTS)Clear to Send
6NCNot connected
7NCNot connected
8NCNot connected
9SG (GND)Signal ground
48
Page 66
SpecificationsSection 4-1
4-1-2Wiring
Only use a shielded RS-232C cable.
Standard Connections
V530-R150External device
SignalPinPinSignal
Shield
Connections for RS/CS Control
V530-R150External device
SignalPinPinSignal
Shield
NotePin numbers will depe nd on the external devic e bei ng co nnected.
Refer to the manual for the external device.
49
Page 67
SpecificationsSection 4-1
4-1-3Connection
Align the connector with the socket and press the connector straight
into place. Tighten the two screws on the edges of the connector.
Note1.Always turn OFF the power supply before connecting or discon-
necting cables. Peripheral devices can be damaged if connected
or disconnected with the power supply turned ON.
2.Always tighten the connector screws.
50
Page 68
Communication SettingsSection 4-2
4-2Communication Settings
4-2-1Normal Communications Mode
If the Nor mal communica tions mode is selected, data can be out put
in normal format to an external device via the RS-232C port.
Communica tio ns method setting menu page 194
I/O via the RS-232C Port
V530-R150
Execute command
The BUSY terminal turns ON while readings are being
performed.
Output judgment
Host computer
Input command
A timeout error occurs if there is no res pon se from t he host com pu ter
within the set time whe n RS/CS o r Xon/off is selected for flow control,
and it is assumed that the line is broken or the computer is not working correctly. An ERR (error) message appears on the screen, and
the error terminal turns ON.
Program example page 93
Receive judgment
51
Page 69
Communication Setting sSection 4-2
TRIG A Signal as Reading Trigger
V530-R150
Perform reading
The BUSY terminal turns ON while readings are being
performed.
Output judgment
Programmable Controller
Unit number: 00 (fixed)
Gate ON time varies according to data
volume and baud rate.
A timeout error occurs if there is no respon se from the hos t com pu ter
within the set time when RS/CS or Xon/off is selected for flow control
and it is assumed that the line is broken or the computer is not working correctly. An error message appears on the screen, and the ERR
(error) terminal turns ON.
Program example page 90
4-2-2Host Link
Select Host Link for the communications mode to communicate in
Host Link format with a Progr a mm able Controller or other host device
via the RS-232C port.
Communications method setting menu pa ge 194
Receive judgment
52
Page 70
Communication SettingsSection 4-2
g
I/O via the RS232C Port
Commands for the V530-R150 are written to the Read Area in the
Programmable Controller. The V530-R150 automatically reads these
commands, executes them, and writes any judgments to the Write
Area.
Read Area
Write Area
V530-R150Programmable Controller
Unit number: 00 (fixed)
Checks Read Area for
a command.
Returns command.
The rest of the operation
Command sent to
clear Read Area.
is not performed if the
command format is
incorrect.
Executes command.
Terminal block BUSY terminal turned ON during readings.
No
Command
requires output
of judgments?
Yes
Writes data to Write Area.
Read Area cleared.
Returns write completed
response.
A timeout error occurs if there is no response within 5 s.
An error messa
e appears on the screen and the ERR (error) terminal turns ON.
Program example page 92
53
Page 71
Communication Setting sSection 4-2
TRIG A Signal as Reading Trigger
The trigger is use d t o c au se the V5 30-F 150 to read data and the d ata
is written to the Programmable Controller.
Set the Read Area to “None.”
Write Area
TRIG A
V530-R150
Executes reading.
Terminal block BUSY terminal turned ON during readings.
Writes data to Write Area.
End
A timeout error occurs if there is no response within 5 s and it is
assumed that the line is broken or the computer is not working
correctly. An error message appears on the screen and the ERR
(error) terminal turns ON.
Programmable Controller
Unit number: 00 (fixed)
Returns write completed
response.
NoteTime the input of TRIG A considering the image processing time
and data output time, allowing sufficient leeway. An error will
occur is the next input occurs before communications have been
completed.
54
Page 72
Communication SettingsSection 4-2
Using TXD Instructions
Commands are sent from the Programmable Controller to the V530R150 using TXD in structi ons in the Programmable Controller’s ladder
program instead of the Read Area The V530-R150 executes the
command and writes the results of processing to the Programmable
Controller. If TXD instructions are to be used to send commands, set
the Read Area to “None.”
Write Area
V530-R150Programmable Controller
Unit number: 00 (fixed)
TXD instruction executed in ladder program.
Set "3 bytes" for the
number bytes of
send data.
Executes command.
Terminal block BUSY terminal turned ON during readings.
Writes data to Write Area.
A timeout error occurs if there is no response within 5 s and it is
End
assumed that the line is broken or the computer is not working
correctly. An error message appears on the screen and the ERR
(error) terminal turns ON.
Returns write completed
response.
55
Page 73
Trigger Inputs and Output FormatSection 4-3
4-3Trigger Inputs and Output Format
4-3-1Normal
Commands
1:1 Connection
FunctionCommandPage
One Shot Reading@GLpage 59
Polling@RDpage 59
Polling with Digit Position Specification@RLpage 59
Start Continuous Reading@GCpage 60
Stop Continuous Reading@SCpage 60
QR Code Teaching@TQpage 60
Data Matrix Teaching@TDpage 60
Load Scene Data (XMODEM)@CLpage 61
Save Scene Data (XMODEM)@CSpage 61
Load System and Scene Data (XMODEM)@ALpage 62
Save System and Scene Data (XMODEM)@ASpage 62
Load Image Data (XMODEM)@BLpage 63
Save Image Data (XMODEM)@BSpage 63
Read Scene Number@SNpage 64
Change Scene Number@SNpage 64
Save Settings@SVpage 64
Monitor Display@DLpage 65
Delete Monitor Display@DDpa ge 65
Read Measurement Time@MTpage 66
Change Display@DCpage 66
Change Mode@MCpage 67
Change Camera Mode@CCpage 67
Read V ersion Information@VRpage 68
Read System Data@SRpage 68
Write System Data@SWpage 70
Read Scene Data@CRpage 71
Write Scene Data@CWpage 77
Read Light Level Settings@LRpage 78
Write Light Level Settings@LWpage 79
56
Page 74
Trigger Inputs and Output FormatSection 4-3
1:N (Multi-drop) Connections
FunctionCommandPage
One Shot Reading@GLpage 80
Polling@RDpage 80
QR Code Teaching@MQpage 80
Data Matrix Teaching@MDpage 81
Read Scene Number@MSpage 81
Switch Scene@MSpage 81
Error Codes
The following error codes are output according to the cause of error
when the reading is NG. (FP = Finder Pattern; TP = Timing Pattern.)
Refer to 9-2 Error Codes and Countermeasures for details.
QR Code (Normal Mode or Pattern Mode)
Error CodeDescription
E000No F P
E001M i ssing 2 FPs
E002M i ssing 1 FP
E0033 F Ps in wrong position
E004M ore than 3 FPs
E010Decode error
E011
E012
E013
E020
E030Pattern search NG
E200Timeout error
57
Page 75
Trigger Inputs and Output FormatSection 4-3
Data Matrix
• Normal Mode or Pattern Mode
Error CodeDescription
E100No candidate for FP
E110No FP
E111E rror 1 FP
E112FP in wrong position
E120Decode error
E121
E122
E123
E150
E200Timeout error
• Pattern Mode
Error CodeDescription
E160No TP
E161More than 1 TP
E170No FP
E171More than 1 FP
E172FP in wrong position
E180Decode error
E181
E182
Input Format
58
Input the commands in ASCII code. Characters can be input in either
upper-case or lower-case. The scene number command is shown
below as an example. A blank box indicates that a space must be
inserted.
Example format
<Scene No.><Footer>
Insert one space.
Page 76
Trigger Inputs and Output FormatSection 4-3
One Shot Reading (@GL) 1:1 Connection
Reading ends when the reading is correctly performed (OK). When
the reading is not correctly performed (NG), reading continues to be
performed for the number of retries specified in the s etting c onditi ons .
Send
@ GL<Footer>
ReceiveRefer to the explanation of the output format.
page 82
An error will occur if menu items are not registered.
ER<Footer><Header>
Polling (@RD) 1:1 Connection
Outputs the most recent reading data.
Send
@ RD<Footer>
ReceiveRefer to the explanation of the output format.
page 82
An error will occur if reading has not been performed since the menu
items were registered.
ER<Footer><Header>
Polling with Digit Position (@RL) 1:1 Connection
Outputs the data in the specified digits.
Only the reading data will be output. Other data such as the number
of digits, position, and angle will not be output.
Send
@ R<Footer>L<Start position><End position>
ReceiveRefer to the explanation of the output format.
page 82
An error will occur if reading has not been performed since the menu
items were registered.
ER<Footer><Header>
59
Page 77
Trigger Inputs and Output FormatSection 4-3
Continuous Reading (@GC, @SC) 1:1 Connect ion
Performs continuous reading until the stop command (@SC) is sent.
Send
Starts reading.
@ GC<Footer>
ReceiveRefer to the explanation of the output format.
page 82
Send
Stops continuous reading.
@ SC<Footer>
QR Code Teaching (@TQ) 1:1 Connection
Performs teaching in QR Code (normal) mode. If the reading judgement is OK, the optimum settings will be registered automatically. If
the reading judgement is NG, the settings will not be updated.
Perform teaching on a freeze image.
Send
@ T<Footer>Q<Symbol color>
Set the symbol color to either B or W. (B specifies black and W specifies white.)
ReceiveRefer to the explanation of the output format.
page 82
NoteThe timeout time is fixed at 10 s when teaching. A timeout error
will be output if the reading judgement is NG. In this case, check
the code conditions and execute the @TQ command again.
Data Matrix Teaching (@TD) 1:1 Connection
Pe rf orms teac hing in D ata M atrix (normal) mode . I f the readi ng jud gement is OK, the optimum settings will be registered automatically. If
the reading judgement is NG, the settings will not be updated. Automatical ly dis cri minates betwee n EC20 0 and EC000 to EC14 0 base d
on the matrix size.
Perform teaching on a freeze image.
Send
60
@ T<Footer>D<Matrix size>
Page 78
Trigger Inputs and Output FormatSection 4-3
Set the matrix size in 2 or 4 digits. Use two digits when the matrix is
square, i.e ., “@TD 10” if the matrix is 1010 . Use four digits when the
matrix is rectangular, i.e., “@TD 1648” if the matrix is 1648. Refer to
Appendix C for tables listing the matrix sizes.
ReceiveRefer to the explanation of the output format.
page 82
NoteThe timeo ut time is fixed at 10 s when teaching. A timeout er ror
will be output if the reading judgement is NG. In this case, check
the code conditions and execute the @TD command again.
Load Scene Data (@CL) 1:1 Connection
Loads the s ce ne da t a . Th e d at a tran sfer is per for m ed w ith X MOD EM
(–CRC or SUM) protocol. (The XMODEM (–1K) protocol is not supported.)
The V530-R150 sends the character string “READY” to the external
device when the V530-R150 has completed its initialization. Wait for
the “READY” string to be received at the external device before starting the data transfer.
Send
@ CL<Footer>
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Save Scene Data (@CS) 1:1 Connection
Saves the scene data. The data transfer is performed with XMODEM
(–CRC or SUM) protocol. (The XMODEM (–1K) protocol is not supported.)
Send
@ CS<Footer>
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
61
Page 79
Trigger Inputs and Output FormatSection 4-3
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Load System and Scene Data (@AL) 1:1 Connection
Loads the system and scene data. The data transfer is performed
with XMODEM (–CRC or SUM) protocol. (The XMODEM (–1K) protocol is not supported.)
The V530-R150 sends the character string “READY” to the external
device when the V530-R150 has completed its initialization. Wait for
the “READY” string to be received at the external device before starting the data transfer.
Send
@ AL<Footer>
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Save System and Scene Dat a (@ AS) 1:1 Connect ion
Saves the system and scene data. The data transfer is performed
with XMODEM (–CRC or SUM) protocol. (The XMODEM (–1K) protocol is not supported.)
Send
@ AS<Footer>
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
62
ER<Footer><Header>
Page 80
Trigger Inputs and Output FormatSection 4-3
Load Image Data (@BL) 1:1 Connection
Loads the image data. The data transfer is performed with XMODEM
(–CRC or SUM) protocol. (The XMODEM (–1K) protocol is not supported.)
The V530-R150 sends the character string “READY” to the external
device when the V530-R150 has completed its initialization. Wait for
the “READY” string to be received at the external device before starting the data transfer.
Send
@ B<Footer>L<Memory number>
The two-digit memory number specifies the destination for the image
data being loaded. For example, the command “@BL 03” specifies
memor y number 3.
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Save Image Data (@BS) 1:1 Connection
Saves the image data. The data transfer is performed with XMODEM
(–CRC or SUM) protocol. (The XMODEM (–1K) protocol is not supported.)
Send
@ B<Footer>S<Memory number>
The two-digit memory number sp ecifie s the memo ry location contai ning the image data to be saved. For example, the command “@BS
03” specifies memory number 3.
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
63
Page 81
Trigger Inputs and Output FormatSection 4-3
Read Scene Number (@SN) 1:1 Connection
Outputs the scene number (0 to 9) of the scene being displayed.
Send
@ SN<Footer>
ReceiveThe scene number is returned if the command was executed cor-
rectly:
<Footer><Scene number><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Change Scene Number (@SN) 1:1 Connection
Changes the scene being displayed.
Send
@ S<Footer>N<Scene number>
Specify the desired scene number (0 to 9).
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Save Settings (@SV) 1:1 Connection
Saves the system data and all of the scene data to the V530-R150’s
flash memory.
Send
@ SV<Footer>
Receive“OK” indicates that the command was executed correctly:
64
OK<Footer><Header>
Page 82
Trigger Inputs and Output FormatSection 4-3
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Monitor Display (@DL) 1:1 Connection
Switches the display image to “Through,” and displays the specified
region.
Send
@ D<Footer>L<X1><Y1><X2><Y2>
Specify t he region’s upper l eft cor ner with coor dinates ( X1, Y1) and
the lower right corner with coordinates (X2, Y2).
Allowed range for X coordinates: 0 X 511
Allowed range for Y coordinates: 0 Y 483
Example: @DL 100 100 200 200
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Delete Monitor Display (@DD) 1:1 Connection
Deletes the region that was dis played with the @DL command.
Send
@ DD<Footer>
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
65
Page 83
Trigger Inputs and Output FormatSection 4-3
Read Measurement Time (@MT) 1:1 Connection
Reads the most recent read-processing time.
Send
@ MT<Footer>
ReceiveThe 5-digit processing time (00000 to 99999 ms) is returned if the
command was executed correctly.
<Processing time><Footer><Header>
A value of 99999 will be returned if the actual processing time
exceeds 99,999 ms. A value of 00000 will be returned if the processing time could not be read.
Example: A value of 00230 will be returned when the most recent
processing time was 230 ms.
Change Display (@DC) 1:1 Connection
Changes the image display status.
Send
@ D<Footer>C<Display code>
Set the display code to 0 to specify Through display or 1 to specify
Freeze display.
Through display: 0
Freeze display:1
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
66
Page 84
Trigger Inputs and Output FormatSection 4-3
Change Mode (@MC) 1:1 Connection
Changes the mode to Monitor mode or Run mode.
Send
@ M<Footer>C<Mode>
Set the mode to 0 to specify Monitor mode or 1 to specify Run mode.
Monitor mode: 0
Run mode:1
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Change Camera Mode (@CC) 1:1 Connection
Changes the camera mode when a Two-camera Unit is being used.
Send
@ C<Footer>C<Camera mode>
Set the camera mode to 0 to specify Camera 0, 1 to specify Camera
1, or 2 to specify two-camera switching. page 121
ModeCamera mode setting
Camera 00
Camera 11
Two-camera switching2
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
67
Page 85
Trigger Inputs and Output FormatSection 4-3
Read Version Information (@VR) 1:1 Connection
Reads the system’s version infor mation.
Send
@ VR<Footer>
ReceiveThe version information is returned if the command was executed
correctly:
<Version><Footer><Header><FCS>
Example version information:
V530-R150 Ver3.00 2001/04/01 12:00
Read System Data (@SR) 1:1 Connection
Reads the specified system data.
Send
Set the paramete r numbe r (1 t o 34) to read the c orrespo nding system
data.
@ S<Footer>R<Parameter number>
ReceiveThe system data is returned if the command was executed correctly:
<System data><Footer><Header><FCS>
The following table shows the data that is read for each parameter
number.
area
12Start address0000 to 9995 (See note 2.)
13Write destination data
area
14Start address0000 to 9996 (See note 2.)
15PLC mode check0: ON, 1: OFF
16Term inal blockTrigger mode0: Continuous, 1: Level trigger
17Output polarity0: ON for NG, 1: ON f o r OK
18Output period000020 to 100000 in 100-
19Gate ON delay00010 to 10000 in 100-
20Gate ON time00010 to 10000 in 100-
21Output settings Attach number of dig-
its
22Attach center coordi-
nates
23Attach rotational
angle
24Polling0: OFF, 1: ON
25Data region specifica-
tion function
26Start position001 to 999 (See note 1.)
27End position001 to 999 (Must be greater than the start
28Image storage
method
29Startup modeStart scene0 to 9
30Start mode0: SET, 1: MON, 2: RUN
31Error methodBUSY input0: OFF, 1: ERR ON
32Device settings Two-camera Unit0: Out of use, 1: F150-A20
33Camera 0 Intelligent
34Camera 1 Intelligent
Image storage0: None, 1: Only NG, 2: All
Light Source
Light Source
0: IR/CIO, 1: HR, 2: LR, 3: DM, 4: None
0: IR/CIO, 1: HR, 2: LR, 3: DM, 4: None
m
s units
(See note 3.)
m
s units
(See note 4.)
m
s units
(See note 4.)
0: OFF, 1: ON
0: OFF, 1: ON
0: OFF, 1: ON
0: OFF, 1: ON
position. See note 1.)
0: Out of use, 1: F150-SLC20,
2: F150-SLC50
0: Out of use, 1: F150-SLC20,
2: F150-SLC50
69
Page 87
Trigger Inputs and Output FormatSection 4-3
NumberS ystem data
353964(R)Character delay time10 to 655350 in 10-ms units.
36Acknowledge delay
time
37Setup attribute count1 to 255
38Transfer attribute
count
39Master/Slave0: Master, 1: Slave
10 to 655350 in 10-ms units.
1 to 255
Note1.The data is output in 3 digits.
2.The data is output in 4 digits.
3.The data is output in 6 digits.
4.The data is output in 5 digits.
Write System Data (@SW) 1:1 Connection
Writes the specified system data to the specified parameter.
Send
Set the desired parameter number (1 to 34) to and setting. Refer to
Read System Data (@SR) for a table showing details on the system
data settings. page 68
@ S<Footer>W<Parameter no.><Setting>
Receive“OK” indicates that the command was executed correctly:
OK<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
70
Page 88
Trigger Inputs and Output FormatSection 4-3
Read Scene Data (@CR) 1:1 Connection
Reads the settings data for the scene that is currently being displayed. To read the settings data for another scene, first change the
screen number with the Change Scene Number command and then
execute this command. page 64
Model settings cannot be made for scenes set to QR Code (Pattern)
or Data Matrix (Pattern). Register a special model.
Refer to the table on the indicated page for details on each mode’s
settings data.
Send
@ CR<Footer>
ReceiveThe settings data that is returned depends on the mode that has
been registered.
QR Code (Normal) Registered
QN<Header>(1)(2)-----(15) (16)<Footer><FCS>
(See table on page 72.)
QR Code (Pattern) Registered
Settings
QP<Header>(1)(2)-----(17) (18)<Footer><FCS>
Settings data
(See table on page 73.)
Data Matrix (Normal) Registered
DN<Header>(1)(2)-----(19) (20)<Footer><FCS>
Settings data
(See table on page 74.)
Data Matrix (Pattern) Registered
DP<Header>(1)(2)-----(16) (17)<Footer><FCS>
Settings data
(See table on page 76.)
Nothing Registered
NO<Header><Footer><FCS>THING
71
Page 89
Trigger Inputs and Output FormatSection 4-3
Settings Data for QR Code (Normal)
NumberSettings da t a for QR Code (Normal)Digit(s)
2.The data is output in 4 digits.
The following diagram shows the structure of the 25 digits that con-
tain settings 1 through 16. (The contents are example data settings.)
Image AdjustReading SettingsDisplay Settings
Page 90
Trigger Inputs and Output FormatSection 4-3
Settings Data for QR Code (Pattern)
NumberSettings data for QR Code (Pattern)Digit(s)
1Image
Adjust
2Filtering0: OFF, 1: Weak Smoothing,
3Filtering Retry0: OFF, 1: ONDigit 3
4BGS Level
5BGS Level
6Reading
7Right & Left
8Gray Edge Value 001 to 127Digits 12 to 14
9Pixel Skipping01 to 20 (See note 2.)Digits 15 to 16
10Correlation001 to 100 (See note 1.)Digits 17 to 19
11Timeout0200 to 2000 ms (See note 3.)Digits 20 to 23
12Number of
8Code Size 100 to 30 (See note 2.)Digits 12 to 13
9Code Size 200 to 31 (See note 3.)Digits 14 to 15
10Free Finder
11Length of Finder050 to 480 (See note 1.)Digits 17 to 19
12Background Cut0: Weak, 1: Middle, 2: StrongDigit 20
13Timeout0200 to 2000 ms (See note 4.)Digits 21 to 24
14Number of
8Pixel Skipping01 to 20 (See note 2.)Digits 12 to 13
9Correlation001 to 100 (See note 1.)Digits 14 to 16
10Timeout0200 to 2000 ms (See note 3.)Digits 17 to 20
11Number of
3.The data is output in 4 digits.
The following diagram shows the structure of the 27 digits that con-
tain settings 1 through 17. (The contents are example data settings.)
Image AdjustReading SettingsDisplay Settings
Page 94
Trigger Inputs and Output FormatSection 4-3
Write Scene Data (@CW) 1:1 Connection
Writes the settings data for the scene that is currently being displayed. To write the settings data for another scene, first change the
screen number with the Change Scene Number command and then
execute this command. page 64
Model settings cannot be made for scenes set to QR Code (Pattern)
or Data Matrix (Pattern). Register a special model.
Refer to the table on the indicated page for details on each mode’s
settings data.
SendThe required settings data depends on the mode.
Changing QR Code (Normal)
Q N(1) (2)-----(15) (16)<Footer><FCS>C W@
Settings
(See table on page 72.)
Changing QR Code (Pattern)
Q P(1) (2)-----(17) (18)<Footer><FCS>C W@
Settings data
(See table on page 73.)
Changing Data Matrix (Normal)
D N(1) (2)-----(19) (20)<Footer><FCS>C W@
Settings data
(See table on page 74.)
Changing Data Matrix (Pattern)
D P(1) (2)-----(16) (17)<Footer><FCS>C W@
Settings data
(See table on page 76.)
Receive“OK” indicates that the command was executed correctly:
“ER” indicates that the command was not executed correctly:
O K<Footer><Header>
ER<Footer><Header>
77
Page 95
Trigger Inputs and Output FormatSection 4-3
Read Light Level Settings (@LR) 1:1 Connection
Reads the light levels set for the specified Camera’s Intelligent Light
Source.
Send
@ L<Footer>R<Camera number>
Set the camera number to 0 or 1.
ReceiveIf the command was executed correctly, the light level settings will be
returned. There are 5 settings in the F150-SLC20 Intelligent Light
Source and 8 settings in the F150-SLC50 Intelligent Light Source.
F150-SLC20 Specified
<Header> (A) (B) (C) (D)<Footer><FCS>(E)
The light level settings for areas A to E can range from 0 to 7; a value
of 0 is OFF and 7 is the maximum brightness.
The light le vel settings for areas A to H can r a nge from 0 to 7; a value
of 0 is OFF and 7 is the maximum brightness.
Command Execution Incorre ct
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Viewed from this
this direction
Viewed from this
this direction
78
Page 96
Trigger Inputs and Output FormatSection 4-3
Write Light Level Settings (@LW) 1:1 Connection
Changes the light level settings for the specified Camera’s Intelligent
Light.
SendThe command format depends on the Intelligent Light Source that is
being used. There are 5 settings in the F150-SLC20 Intelligent Light
Source and 8 settings in the F150-SLC50 Intelligent Light Source.
F150-SLC20 Specified
@ L W<Camera no.>(C) (D)<Footer>(E)(A) (B)
Set the camera no. to 0 or 1 and set the light level for each area. The
light level settings for areas A to E can range from 0 to 7; a value of 0
is OFF and 7 is the maximum brig htness.
Viewed from this
this direction
F150-SLC50 Specified
@ L W<Camera no.>(C) (D)<Footer>(E)(A) (B)(F) (G) (H)
Set the camera no. to 0 or 1 and set the light level for each area. The
light le vel settings f or areas A to H can range from 0 to 7; a v al ue of 0
is OFF and 7 is the maximum brig htness.
Viewed from this
this direction
Receive“OK” indicates that the command was executed correctly:
O K<Footer><Header>
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
79
Page 97
Trigger Inputs and Output FormatSection 4-3
One Shot Reading (@GL) 1:N Connection
Uses a trigger to read from the V530-R150 with the specified unit
number. Reading ends when the reading is co rrec tly performed (OK).
When the reading is not correctly performed (NG), reading continues
to be performed fo r the number of retries specified in the setting conditions.
The rea di n g dat a w ill no t be ou tpu t un t i l th e Polling Instruc tio n (@RD
Command) is sent.
SendSet the unit nu mber (00 to 31) of the desired V530-150.
@ G<Footer>L<Unit number>
ReceiveRefer to the explanation of the output format.
page 82
Polling (@RD) 1:N Connection
Outputs the reading data of the V530-R150 with the specified unit
number.
SendSet the unit nu mber (00 to 31) of the desired V530-150.
@ R<Footer>D<Unit number>
ReceiveRefer to the explanation of the output format.
page 82
QR Code Teaching (@MQ) 1:N Connection
Performs teaching in QR Code (normal) mode. If the reading judgement is OK, the optimum settings will be registered automatically. If
the reading judgement is NG, the settings will not be updated.
SendSet the unit nu mber (00 to 31) of the desired V530-150.
Set the symbol color to either B or W. (B specifies black and W specifies white.)
@ M<Footer>Q<Symbol color><Unit number>
ReceiveRefer to the explanation of the output format.
page 82
80
Page 98
Trigger Inputs and Output FormatSection 4-3
Data Matrix Teaching (@MD) 1:N Connection
P erf orms te achin g in Dat a Matrix (n ormal) mode . If the rea ding j udgement is OK, the optimum settings will be registered automatically. If
the reading judgement is NG, the settings will not be updated. Automatically discriminates between EC200 and EC000 to EC140 based
on the matrix size.
SendSet t he unit numb er (00 to 31) of the d esired V530-150.
Set the matrix size in 2 or 4 digits. Use two digits when the matrix is
square, i.e ., “@TD 10” if the matrix is 1010 . Use four digits when the
matrix is rectangular, i.e., “@TD 1648” if the matrix is 1648. Refer to
Appendix C for tables listing the matrix sizes.
@ M<Footer>D<Matrix size><Unit number>
ReceiveRefer to the explanation of the output format.
page 82
Read Scene Number (@MS) 1:N Connection
Outputs the scene number (0 to 9) of the scene being displayed.
SendSet t he unit numb er (00 to 31) of the d esired V530-150.
@ M<Footer>S<Unit number>
ReceiveThe data is output from the V530-150 without using the Polling Com-
mand.
<Header><Footer><Scene number><Unit number>
Change Scene Number (@MS) 1:N Connection
Changes the scene being displayed.
SendSet t he unit numb er (00 to 31) of the d esired V530-150.
Set the de sired scene number ( 0 to 9).
@ M S<Footer><Scene number><Unit number>
ReceiveThe data is output from the V530-150 without using the Polling Com-
mand.
“OK” indicates that the command was executed correctly:
O K<Footer><Header>
81
Page 99
Trigger Inputs and Output FormatSection 4-3
“ER” indicates that the command was not executed correctly:
ER<Footer><Header>
Output Format of Reading data
The following diagrams show the output format used when outputting
readin g dat a. The re i s a set ting in the commun ic ation s spe cif icat io ns
setting men u tha t sel ec ts w h ethe r or not the Polling Command will be
used to control output timing. page 199
Output Formats for a 1:1 Connection
• Reading OK
<No. of digits> <Coordinates> <Angle><FCS> <Footer><Header><Read data>
The data items in the dashed-lines can be included or omitted from
the output format with settings in the communications specifications
setting menu. page 199
Indicates the results (Read Accuracy) of 10 reads.
The reading data will contain a "?" if the Read
Accuracy is 0%.
• Judge Coincidence Function ON
<Number><FCS> <Footer><Header><Read data>
00: Matches registered Data 0.
01: Matches registered Data 1.
02: Matches registered Data 2.
03: Matches registered Data 3.
NG:
Does not match any registered data.
• Reading NG
<FCS> <Footer><Header>?<Error code>
Output Formats for 1:N Connections
The output formats for 1:N connections are identical to those for 1:1
connec tions except th at the uni t number (00 to 31) is included aft er
the header.
82
<Coordinates> <Angle><FCS><No. of digits><Footer><Header><Unit number><Read data>
Page 100
Trigger Inputs and Output FormatSection 4-3
4-3-2Communications Mode: Host Link
Command Table
Error Code Table
Command
Code
10One Shot Readingpage 85
11Start Continuous Readingpage 85
12Stop Continuous Readingpage 85
20Switch to the Specified Scene Numberpage 86
21Increment the Current Scene Number by Onepage 86
22Decrement the Current Scene Number by Onepage 86
23Read the Current Scene Numberpage 87
FunctionPage
Following error codes are output according to the cause of errors
when NG reading judgment is output. (FP = Finder Pattern; TP =
Timing Pattern.)
Refer to 9-2 Error Codes a nd Countermeasures for details.
83
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.