Omron V530-R150E-3, V530-R150EP-3 Operation Manual

Page 1
Cat. No. Z155-E1-01
V530-R150E-3, V530-R150EP-3
2-Dimensional Code Reader (Fixed Type)
OPERATION MANUAL
Page 2
V530-R150E-3, V5 30-R150EP-3 2-Dimensional Code Reader (Fixed Type)
Produced August 2001
Page 3
Notice:
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 man­ual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
!DANGER Indicates 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.
!Caution Indicates 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.
Note Indicates infor mation of particular interest for efficient and conve-
nient operation of the product.
Indicates pages where additional information can be found.
1 Indicates 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 regis­tered trademarks of Microsoft Corporation.
Hyper Terminal was developed by Hilgraeve Inc. of the US and is a registered trade­mark of Microsoft Corporation
¸ OMRON, 2001
All rights reser ved. No par t of this publication may be reproduced, stored in a retrieval sys­tem, 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.
iv
Page 4
TABLE OF CONTENTS
PRECAUTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi
1 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
2 General Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
3 Installation Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
4 Package Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
SECTION 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
1-1 Overview of V530-R150 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1-3 Trigger Inputs and Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
SECTION 2
Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2-1 Component Names and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2-2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2-3 Power Supply and Ground. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2-4 Cameras . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2-5 CCTV Lens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2-6 Lighting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2-7 Two-camera Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2-8 Mounting the V530-R150 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
SECTION 3
Terminal Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
3-1 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-2 Trigger Input and Output Format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3-3 Timing Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3-4 System Examination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
SECTION 4
RS-232C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
4-1 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4-2 Communication Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4-3 Trigger Inputs and Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
4-4 FCS Calculation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4-5 Connection Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
v
Page 5
TABLE OF CONTENTS
SECTION 5
Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
5-1 Menu Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
5-2 STEP 1 Starting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
5-3 STEP 2 Setting Reading Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
5-4 STEP 3 Checking Reading. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
5-5 STEP 4 Starting Code Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
5-6 STEP 5 Quitting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
SECTION 6
Functions and Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
6-1 SET (Setting) Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6-2 MON (Monitor) Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
6-3 RUN Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
6-4 System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
6-5 Computer Data Backup (Tool Menu). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
6-6 Scenes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
6-7 Saving to Flash Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
SECTION 7
Maintenance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
7-1 Maintaining and Replacing Light Sources. . . . . . . . . . . . . . . . . . . . . . . . . . . 224
7-2 Regular Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
SECTION 8
Specifications/Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
8-1 2-Dimensional Code Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
8-2 Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
8-3 Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
8-4 Cables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
8-5 Two-camera Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
8-6 Camera Unit Cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
8-7 Video Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
8-8 LCD Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
SECTION 9
Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
9-1 Improving Reading. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
9-2 Error Codes and Countermeasures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
9-3 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
vi
Page 6
TABLE OF CONTENTS
Appendices
A ASCII Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
B FCS Check Program Examples (BASIC) . . . . . . . . . . . . . . . . . . . . . . . . . . 265
C Data Capacity Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
D Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
E Version Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .279
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283
vii
Page 7
Page 8
About this Manual:
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 configura­tions 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 instal­lation.
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-Dimen­sional Code Reader and explains the procedures required to perform basic operations.
Section 6 gives details of the functions and operations possible with the V530­R150 2-Dimensional Code Reader, including the procedures necessary for communications with external devices.
Section 7 gives Camera replacement procedures and basic maintenance pro­cedures 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 infor­mation 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 2­Dimensional Code Reader.
1 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
3 Installation Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
4 Package Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
xi
Page 11
Safety Precautions 1
1 Safety Precautions
• 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 cov­ers.
• 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 V530­R150 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 touch­ing 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 Precautions 2
2 General 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, rail­road systems, aviation systems, vehicles, combustion systems, med­ical equipment, amusement machines, safe ty equipment, and other systems, machines, and equipment that may have a serious influ­ence 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 dou­ble safety mechanisms.
3 Installation Precautions
The V530-R150 is highly re liable and resistant to most envi­ronmental factors. The following guideli nes, however, must be followed to ensure reliability and optimum use of the V530­R150.
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 on­ditions.
$PELHQWWHPSHUDWXUHVRXWVLGHRI WR& IRUWKH )0
9LGHR0RQLWRUUHFRPPHQGHGPRQLWRURURXWVLGHRI&IRUDOO RWKHU95FRPSRQHQWV
• 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 Precautions 3
Installation
Orientation of Controller
To improve heat dissipation, install the controller in the following ori­entation only:
CORRECT
Do not install the controller in the orientations shown in the following diagram.
INCORRECT INCORRECT
Ambient Temperature
• Maintain a minimum clearance of 50mm above and below V530­R150 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 50C.
xiv
Page 14
Installation Precauti ons 3
• Provide a forced-air fan or air conditioning if the ambient temper­ature might exceed 50C.
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 Precautions 3
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-dimen­sional 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 Contents 4
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
4 Package Contents
Confirming Pac k a ge Contents
Check the contents of the package as soon as you receive the V530­R150. Contact the nearest OMRON representative if any of the fol­lowing 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 V530­R150 2-Dime nsional Code R eader.
1-1 Overview of V530-R150 Application . . . . . . . . . . . . . . . 2
1-2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1-3 Trigger Inputs and Outputs. . . . . . . . . . . . . . . . . . . . . . . . 9
1
Page 19
Overview of V530-R150 Application Section 1-1
1-1 Overview of V530-R150 Application
The following illustrations show configurations and typical applica­tions 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 Application Section 1-1
Displaying Images
Switch to through image and adjust the focus, camera setting dis­tance, 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 and Operations for detailed descriptions.
Console
0.Image Adjust
3
Page 21
Functions Section 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-2 Functions
Reading Specifications
Reading is possible for both QR Code and Data Matrix in either Nor­mal 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 size 21 x 21 cell to 41 x 41 cell (Versions
Readable direction 360 degrees (All directions) Resolution Vary 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
Functions Section 1-2
Note Adjust 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 work­piece.
page 126
Filtering The 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
Functions Section 1-2
Store Images Up 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
Note 1. 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 con­nected 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 Cam­era.
6
Page 24
Functions Section 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 Two­camera Unit
V530-R150 Controller
Note The 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
Functions Section 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 posi­tion the object in a single Camera’s field of vision.
8
F150-A20 Two­camera Unit
Field of vision of Camera 0
V530-R150 Controller
Field of vision of Camera 1
Page 26
Trigger Inputs and Outputs Section 1-3
1-3 Trigger 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.
2-1 Component Names and Functions . . . . . . . . . . . . . . . . . . 12
2-2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2-3 Power Supply and Ground . . . . . . . . . . . . . . . . . . . . . . . . 16
2-3-1 Crimp Terminals and Cables . . . . . . . . . . . . . . . . . . . . 16
2-3-2 Protective Conductor (Earth) Wiring. . . . . . . . . . . . . . 16
2-3-3 Wiring the Power Supply. . . . . . . . . . . . . . . . . . . . . . . 17
2-4 Cameras . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2-4-1 Cameras with Light Sources . . . . . . . . . . . . . . . . . . . . 18
2-4-2 Camera Only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2-5 CCTV Lens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2-6 Lighting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2-7 Two-camera Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2-8 Mounting the V530-R150 . . . . . . . . . . . . . . . . . . . . . . . . 27
2-8-1 Mounting to DIN Track. . . . . . . . . . . . . . . . . . . . . . . . 27
2-8-2 Mounting on a Flat Surface . . . . . . . . . . . . . . . . . . . . . 29
11
Page 29
Component Names and Functions Section 2-1
2-1 Component Names and Functions
The following diagram shows the terminals, connectors, and indica­tors 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
Connections Section 2-2
2-2 Connections
!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
Connections Section 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 Cam­eras to a single V530-R150. (The Cameras shown on the left can be connected.)
14
Page 32
Connections Section 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 dis­connecting cabl es. Co nnecting or disco nnecting cab les wi th pow­er 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 Ground Section 2-3
Round
6.2 mm max.
2-3 Power 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 wir­ing, 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-1 Crimp Terminals and Cables
The terminal block uses M3 terminal screws. Use appropriate crimp terminals for M3 screws, as shown below.
Termi nal Maker Model No. Wire size
Forked
6.2 mm max.
J.S.T. Mfg. Co., Ltd. V1.25-N3A 1.31 to
1.65 mm
J.S.T. Mfg. Co., Ltd. V1.25-MS3
2
2-3-2 Protective Conductor (Earth) Wiring
Ground of 100 or less.
Note 1. Use an appropriate ground (100 W max.). An insufficient ground
can affect V530-R150 operation or result in damage to V530­R150 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 Ground Section 2-3
2-3-3 Wiring 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 current 0.6 A min. Power supply voltage 24 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 current 1.6 A min. Power supply voltage 24 VDC+10%, –15%
24 VDC
Note 1. 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
Cameras Section 2-4
2-4 Cameras
2-4-1 Cameras 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.
Note 1. Determine which Camera is appro priat e ba sed on the s ize of the
code, as shown in the following table.
Field of vision Appropriate code size
20 mm 50 mm
20 mm About 10 mm square
50 mm About 25 mm square
2. Use the following guidelines for the code’s matrix size.
• QRCode 21 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 stan­dard CCTV lens and light source with a F150-S1A Camera.
page 20
18
Page 36
Cameras Section 2-4
Cameras with F150-LT10A Light Source
Field of vision Working distance Model
20 mm 50 mm
Cameras with Intelligent Light Source
20 mm 61 to 71 mm F150-SL20A
50 mm 66 to 76 mm F150-SL50A
Working
Object
Field of vision
distance
Field of vision Working distance Model
20 mm 50 mm
20 mm 15 to 25 mm F150-SLC20
50 mm 16.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-SLC20 F150-SLC50
19
Page 37
CCTV Lens Section 2-5
2-4-2 Camera 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.
Camera Model
Camera F150-S1A
Note Use lighting that is appropriate for the object being measured.
2-5 CCTV 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 Lens Section 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 length Brightness Max. outer
3Z4S-LE C418DX 4.8 mm F1.8 40.5 mm dia. 35.5 mm --­3Z4S-LE B618CX-2 6.5 mm F1.8 48 mm dia. 42 mm 3Z4S-LE C815B 8.5 mm F1.5 42 mm dia. 40 mm M40.5 P0.5 3Z4S-LE B1214D-2 12.5 mm F1.4 42 mm dia. 50 mm 3Z4S-LE C1614A 16.0 mm F1.4 30 mm dia. 33 mm M27 P0.5 3Z4S-LE B2514D 25.0 mm F1.4 30 mm dia. 37.3 mm 3Z4S-LE B5014A 50.0 mm F1.4 48 mm dia. 48 mm M46 P0.75 3Z4S-LE B7514C 75.0 mm F1.4 62 mm dia. 79 mm M58 P0.75
diameter
1"-32UN-2A 30 dia.
Total length Filter size
21
Page 39
CCTV Lens Section 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
Model Max. outer
diameter
3Z4S-LE EX-C6 31 mm dia. Set of 6 tubes
0.5 mm, 1 mm, 5 mm, 10 mm, 20 mm, and 40 mm
Length: 40 mm 20 mm 10 mm 1.0 mm5 mm 0.5 mm
Length
Set of 6 tubes
Note 1. 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 con­nection may loosen when more than one 0.5-mm or 1.0-mm Ex­tension 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
Lighting Section 2-6
2-6 Lighting
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
Lighting Section 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
Lighting Section 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 t Section 2-7
2-7 Two-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.
Note If 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 Two­camera Unit
F150-VA Camera Unit Cable (15 cm, included with the Two-cam­era 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
Note Turn 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-R150 Section 2-8
(
)
2-8 Mounting the V530-R150
The V530-R150 2-Dimensional Code Reader can be mounted to DIN Track or a vertical surface.
2-8-1 Mounting 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-R150 Section 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 V530­R150 from the bottom.
28
Page 46
Mounting the V530-R150 Section 2-8
2-8-2 Mounting 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 .
3-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-1-1 Crimp Terminals and Cables . . . . . . . . . . . . . . . . . . . . 32
3-1-2 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3-1-3 Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3-2 Trigger Input and Output Format. . . . . . . . . . . . . . . . . . . 35
3-2-1 Trigger Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3-2-2 Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3-3 Timing Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3-3-1 One Shot Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3-3-2 Continuous Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
3-3-3 Reading Level Trigger (when trigger mode is “Level Trigger”)41
3-4 System Examination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
31
Page 49
Specifications Section 3-1
3-1 Specifications
3-1-1 Crimp Terminals and Cables
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
Terminal Maker Model No. Wire size
Forked
6.2 mm max.
J.S.T. Mfg. Co., Ltd. V1.25-N3A 1.31 to
1.65 mm
2
Round
6.2 mm max.
J.S.T. Mfg. Co., Ltd. V1.25-MS3
3-1-2 Specifications
!Caution Use a DC po w er s up ply w ith safe extra low-voltage circuits on the
secondary side.
Input Specifications
Item V530-R150E-3 (NPN model) V530-R150EP-3 (PNP model)
Input voltage 12 to 24 VDC ON current 5 to 15 mA ON voltage 8.8 V max. OFF current 0.1 mA max. OFF voltage 4.5 V min. ON delay RESET input: 10 ms max.
Others: 0.5 ms max.
OFF delay RESET input: 15 ms max.
Others: 0.7 ms max .
Internal circuits
COM IN
10%
Input
terminal
32
Input
terminal
COM IN
Page 50
Specifications Section 3-1
Output Specifications
Item V530-R150E-3 (NPN model) V530-R150EP-3 (PNP model)
Output voltage 12 to 24 VDC Load current 45 mA max. ON residual voltage 2 V max. OFF leakage current 0.1 mA max. Internal circuits
10%
Output terminal
Load
COM OUT
Load
Note If UL recognition is required, use a UL class II power supply.
3-1-3 Terminals
COM OUT
Output terminal
Do not use.
See table A.
Do not use.
See table B.
33
Page 51
Specifications Section 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
Top Bottom
+ Power supply NC Not connected – Appropriate ground
RUN Control output ERR Error output BUSY GATE Control output OK/NG Judgment output NC Not connected COM OUT (*1) For RUN, ERR, BUSY,
GATE, and OK/NG
DSA Do not use TRIG B Trigger input (Continuous COM IN
Table B
RESET Restart TRIG A Trigger input (One shot
mode)
or Level Trigger mode)
Top Bottom
DO 1 Coincidence output DO 0 Coincidence output DO 3 DO 2 DO 5 Do not use DO 4 Do not use DO 7 DO 6 NC Not connected COM OUT (*2) For DO 0 to DO 7 DO 9 Do not use DO 11 DO 8 Do not use DO 13 DO 10 DO 15 DO 12
DO 14 COM OUT (*3) For DO 8 to DO 15
Note 1. 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 Format Section 3-2
3-2 Trigger Input and Output Format
3-2-1 Trigger Input
Reading is perfor med by inputting a signal to the TRIG A or B termi­nals 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 num­ber 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 Mode Detail
Continuous mode (Default setting)
Level trigger mode Repeats 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-2 Output Format
Signals are output in RUN mode but not in MON (monitor) mode.
OK/NG Te rmina l
Output OK/NG judgment.
Judgment Detail
OK OK when 2-dimensional codes are read successfully.
The reading data will be output to RS-232C.
NG NG 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 Format Section 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 specifi­cations 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 fol­lows:
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.
Note The 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 exter­nal device.
36
Page 54
Timing Chart Section 3-3
3-3 Timing Chart
3-3-1 One Shot Mode
Enter RUN mode Leave RUN mode
RUN
TRIG A
BUSY
Image read Image read Image read
OK/NG
DO 0 to 3
GATE
(RS-232C)
Judgment
Coincidence judgment
Gate ON delay Gate ON time
Output period
Note The output time to RS-232C changes depending on the data vol-
ume or baud rate.
37
Page 55
Timing Chart Section 3-3
Output Terminals
Terminal Function
RUN T urns ON during RUN mode. BUSY Shows 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/NG Outputs the judgment under the set reading conditions.
(Can be set to turn ON for either OK or NG judgment.)
GATE Used 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 communi­cations conditions.
page 199
Input Terminals
Terminal Function
TRIG A Inputs 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 read­ing 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 read­ing time.
38
Page 56
Timing Chart Section 3-3
3-3-2 Continuous Mode
Enter RUN mode Leave 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 read Image read Image read
OK/NG
DO 0 to 3
GATE
(RS-232C)
Judgment
Coincidence judgment
Gate ON delay Gate ON time
Output period
Note The output time to RS-232C changes according to the data vol-
ume and baud rate.
39
Page 57
Timing Chart Section 3-3
Output Terminals
Terminal Function
RUN T urns ON during RUN mode. BUSY Shows 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/NG Outputs the judgment under the set reading conditions.
(Can be set to turn ON for either OK or NG judgment.)
GATE Used 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 communi­cations conditions.
page 199
Input Terminals
Terminal Function
TRIG B Continuous reading is performed when TRIG B signal is turned ON.
40
Page 58
Timing Chart Section 3-3
3-3-3 Reading Level Trigger (when trigger mode is “Level
Trigger”)
OK judgment (Readable)
Enter RUN mode Leave 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)
Note The 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.
Terminal Function
TRIG B Continuous reading is performed while TRIG B signal is turned ON until OK
(readable) reading judgment is output.
41
Page 59
Timing Chart Section 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
Note The output time to RS-232C will vary according to the data vol-
ume and baud rate.
42
Page 60
Timing Chart Section 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)
Note The output time to RS-232C will vary according to the data vol-
ume and baud rate.
43
Page 61
System Examination Section 3-4
3-4 System Examination
Processing Time Calculation
Processing time (reading time) is calculated as follows:
Processing time
Shutter time
=
of camera
Note A 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 time Display 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 Examination Section 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 size Processing 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 size Processing time
10 180 ms
10
14 190 ms
14
26 250 ms
26 64
64 450 ms
Note The data here are standard values. When installing, calculate the
processing time according to the actual specifications and con­firm the value in the actual operating environment. The process­ing 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.
4-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4-1-1 Connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4-1-2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4-1-3 Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4-2 Communication Settings . . . . . . . . . . . . . . . . . . . . . . . . . 51
4-2-1 Normal Communications Mode. . . . . . . . . . . . . . . . . . 51
4-2-2 Host Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
4-3 Trigger Inputs and Output Format . . . . . . . . . . . . . . . . . . 56
4-3-1 Normal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
4-3-2 Communications Mode: Host Link . . . . . . . . . . . . . . . 83
4-4 FCS Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4-5 Connection Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
4-5-1 Connection Examples for Programmable Controller (Normal)89
4-5-2 PLC Connection Examples (Host Link) . . . . . . . . . . . 91
4-5-3 Computer Connection Examples (Normal) . . . . . . . . . 93
4-5-4 Multi-drop Connection Examples (Normal) . . . . . . . . 94
47
Page 65
Specifications Section 4-1
4-1 Specifications
4-1-1 Connector
The V530-R150 uses 9-pin D-Sub female connectors. The pin num­bers and names are shown below.
Recommended OMRON Connector
Model Model No.
Plug XM2A-0901 Hood XM2S-0911
Pin Signal Name
1 FG (GND) Frame ground 2 SD (TXD) Send Data 3 RD (RXD) Receive Data 4 RS (RTS) Request to Send 5 CS (CTS) Clear to Send 6 NC Not connected 7 NC Not connected 8 NC Not connected 9 SG (GND) Signal ground
48
Page 66
Specifications Section 4-1
4-1-2 Wiring
Only use a shielded RS-232C cable.
Standard Connections
V530-R150 External device
Signal Pin Pin Signal
Shield
Connections for RS/CS Control
V530-R150 External device
Signal Pin Pin Signal
Shield
Note Pin numbers will depe nd on the external devic e bei ng co nnected.
Refer to the manual for the external device.
49
Page 67
Specifications Section 4-1
4-1-3 Connection
Align the connector with the socket and press the connector straight into place. Tighten the two screws on the edges of the connector.
Note 1. 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 Settings Section 4-2
4-2 Communication Settings
4-2-1 Normal 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 work­ing 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 s Section 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 work­ing correctly. An error message appears on the screen, and the ERR (error) terminal turns ON.
Program example page 90
4-2-2 Host 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 Settings Section 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-R150 Programmable 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 s Section 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.
Note Time 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 Settings Section 4-2
Using TXD Instructions
Commands are sent from the Programmable Controller to the V530­R150 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-R150 Programmable 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 Format Section 4-3
4-3 Trigger Inputs and Output Format
4-3-1 Normal
Commands
1:1 Connection
Function Command Page
One Shot Reading @GL page 59 Polling @RD page 59 Polling with Digit Position Specification @RL page 59 Start Continuous Reading @GC page 60 Stop Continuous Reading @SC page 60 QR Code Teaching @TQ page 60 Data Matrix Teaching @TD page 60 Load Scene Data (XMODEM) @CL page 61 Save Scene Data (XMODEM) @CS page 61 Load System and Scene Data (XMODEM) @AL page 62 Save System and Scene Data (XMODEM) @AS page 62 Load Image Data (XMODEM) @BL page 63 Save Image Data (XMODEM) @BS page 63 Read Scene Number @SN page 64 Change Scene Number @SN page 64 Save Settings @SV page 64 Monitor Display @DL page 65 Delete Monitor Display @DD pa ge 65 Read Measurement Time @MT page 66 Change Display @DC page 66 Change Mode @MC page 67 Change Camera Mode @CC page 67 Read V ersion Information @VR page 68 Read System Data @SR page 68 Write System Data @SW page 70 Read Scene Data @CR page 71 Write Scene Data @CW page 77 Read Light Level Settings @LR page 78 Write Light Level Settings @LW page 79
56
Page 74
Trigger Inputs and Output Format Section 4-3
1:N (Multi-drop) Connections
Function Command Page
One Shot Reading @GL page 80 Polling @RD page 80 QR Code Teaching @MQ page 80 Data Matrix Teaching @MD page 81 Read Scene Number @MS page 81 Switch Scene @MS page 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 Code Description
E000 No F P E001 M i ssing 2 FPs E002 M i ssing 1 FP E003 3 F Ps in wrong position E004 M ore than 3 FPs E010 Decode error E011 E012 E013 E020 E030 Pattern search NG E200 Timeout error
57
Page 75
Trigger Inputs and Output Format Section 4-3
Data Matrix
• Normal Mode or Pattern Mode
Error Code Description
E100 No candidate for FP E110 No FP E111 E rror 1 FP E112 FP in wrong position E120 Decode error E121 E122 E123 E150 E200 Timeout error
• Pattern Mode
Error Code Description
E160 No TP E161 More than 1 TP E170 No FP E171 More than 1 FP E172 FP in wrong position E180 Decode 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 Format Section 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
@ G L <Footer>
Receive Refer to the explanation of the output format.
page 82
An error will occur if menu items are not registered.
E R <Footer><Header>
Polling (@RD) 1:1 Connection
Outputs the most recent reading data.
Send
@ R D <Footer>
Receive Refer 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.
E R <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>
Receive Refer 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.
E R <Footer><Header>
59
Page 77
Trigger Inputs and Output Format Section 4-3
Continuous Reading (@GC, @SC) 1:1 Connect ion
Performs continuous reading until the stop command (@SC) is sent.
Send
Starts reading.
@ G C <Footer>
Receive Refer to the explanation of the output format.
page 82
Send
Stops continuous reading.
@ S C <Footer>
QR Code Teaching (@TQ) 1:1 Connection
Performs teaching in QR Code (normal) mode. If the reading judge­ment 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 spec­ifies white.)
Receive Refer to the explanation of the output format.
page 82
Note The 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 ge­ment is OK, the optimum settings will be registered automatically. If the reading judgement is NG, the settings will not be updated. Auto­matical 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 Format Section 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.
Receive Refer to the explanation of the output format.
page 82
Note The 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 sup­ported.)
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 start­ing the data transfer.
Send
@ C L <Footer>
Receive “OK” indicates that the command was executed correctly:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <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 sup­ported.)
Send
@ C S <Footer>
Receive “OK” indicates that the command was executed correctly:
O K <Footer><Header>
61
Page 79
Trigger Inputs and Output Format Section 4-3
“ER” indicates that the command was not executed correctly:
E R <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) proto­col 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 start­ing the data transfer.
Send
@ A L <Footer>
Receive “OK” indicates that the command was executed correctly:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <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) proto­col is not supported.)
Send
@ A S <Footer>
Receive “OK” indicates that the command was executed correctly:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
62
E R <Footer><Header>
Page 80
Trigger Inputs and Output Format Section 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 sup­ported.)
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 start­ing 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:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <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 sup­ported.)
Send
@ B <Footer>S <Memory number>
The two-digit memory number sp ecifie s the memo ry location contai n­ing 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:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <Footer><Header>
63
Page 81
Trigger Inputs and Output Format Section 4-3
Read Scene Number (@SN) 1:1 Connection
Outputs the scene number (0 to 9) of the scene being displayed.
Send
@ S N <Footer>
Receive The scene number is returned if the command was executed cor-
rectly:
<Footer><Scene number><Header>
“ER” indicates that the command was not executed correctly:
E R <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:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <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
@ S V <Footer>
Receive “OK” indicates that the command was executed correctly:
64
O K <Footer><Header>
Page 82
Trigger Inputs and Output Format Section 4-3
“ER” indicates that the command was not executed correctly:
E R <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:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <Footer><Header>
Delete Monitor Display (@DD) 1:1 Connection
Deletes the region that was dis played with the @DL command.
Send
@ D D <Footer>
Receive “OK” indicates that the command was executed correctly:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <Footer><Header>
65
Page 83
Trigger Inputs and Output Format Section 4-3
Read Measurement Time (@MT) 1:1 Connection
Reads the most recent read-processing time.
Send
@ M T <Footer>
Receive The 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 process­ing 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:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <Footer><Header>
66
Page 84
Trigger Inputs and Output Format Section 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:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <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
Mode Camera mode setting
Camera 0 0 Camera 1 1 Two-camera switching 2
Receive “OK” indicates that the command was executed correctly:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <Footer><Header>
67
Page 85
Trigger Inputs and Output Format Section 4-3
Read Version Information (@VR) 1:1 Connection
Reads the system’s version infor mation.
Send
@ V R <Footer>
Receive The 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>
Receive The 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.
Number S ystem data
1 RS-232C Baud rate 0: 2,400, 1: 4,800, 2: 9,600, 3: 19,200,
4: 38,400 (bps) 2 Data length 0: 7 bits, 1: 8 bits 3 Parity 0: None, 1: Odd, 2: Even 4 Stop bits 0: 1 bit, 1: 2 bits 5 Header 0: None, 1: STX, 2: ESC 6 Footer 0: CR, 1: LF, 2: CR+LF, 3: ETX 7 FCS 0: OFF, 1: ON 8 Mode 0: Normal, 1: Host Link, 2: 3964, 3: 3964R 9Normal 10 Timeout 001 to 120 s (See note 1.)
(No-protocol)
Flow control 0: None, 1: RS/CS, 2: Xon/Xoff
68
Page 86
Trigger Inputs and Output Format Section 4-3
Number S ystem d ata
11 Host Link Read source data
area 12 Start address 0000 to 9995 (See note 2.) 13 Write destination data
area 14 Start address 0000 to 9996 (See note 2.) 15 PLC mode check 0: ON, 1: OFF 16 Term inal block Trigger mode 0: Continuous, 1: Level trigger 17 Output polarity 0: ON for NG, 1: ON f o r OK 18 Output period 000020 to 100000 in 100-
19 Gate ON delay 00010 to 10000 in 100-
20 Gate ON time 00010 to 10000 in 100-
21 Output settings Attach number of dig-
its 22 Attach center coordi-
nates 23 Attach rotational
angle 24 Polling 0: OFF, 1: ON 25 Data region specifica-
tion function 26 Start position 001 to 999 (See note 1.) 27 End position 001 to 999 (Must be greater than the start
28 Image storage
method 29 Startup mode Start scene 0 to 9 30 Start mode 0: SET, 1: MON, 2: RUN 31 Error method BUSY input 0: OFF, 1: ERR ON 32 Device settings Two-camera Unit 0: Out of use, 1: F150-A20 33 Camera 0 Intelligent
34 Camera 1 Intelligent
Image storage 0: 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 Format Section 4-3
Number S ystem data
35 3964(R) Character delay time 10 to 655350 in 10-ms units. 36 Acknowledge delay
time 37 Setup attribute count 1 to 255 38 Transfer attribute
count 39 Master/Slave 0: Master, 1: Slave
10 to 655350 in 10-ms units.
1 to 255
Note 1. 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:
O K <Footer><Header>
“ER” indicates that the command was not executed correctly:
E R <Footer><Header>
70
Page 88
Trigger Inputs and Output Format Section 4-3
Read Scene Data (@CR) 1:1 Connection
Reads the settings data for the scene that is currently being dis­played. 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
@ C R <Footer>
Receive The settings data that is returned depends on the mode that has
been registered.
QR Code (Normal) Registered
Q N<Header> (1) (2) ----- (15) (16) <Footer><FCS>
(See table on page 72.)
QR Code (Pattern) Registered
Settings
Q P<Header> (1) (2) ----- (17) (18) <Footer><FCS>
Settings data
(See table on page 73.)
Data Matrix (Normal) Registered
D N<Header> (1) (2) ----- (19) (20) <Footer><FCS>
Settings data
(See table on page 74.)
Data Matrix (Pattern) Registered
D P<Header> (1) (2) ----- (16) (17) <Footer><FCS>
Settings data
(See table on page 76.)
Nothing Registered
N O<Header> <Footer><FCS>T H I N G
71
Page 89
Trigger Inputs and Output Format Section 4-3
Settings Data for QR Code (Normal)
Number Settings da t a for QR Code (Normal) Digit(s)
1 Image
Adjust
2 Filtering 0: OFF, 1: Weak Smoothing,
3 Filtering Retry 0: OFF, 1: ON Digit 3 4 BGS Level Upper
5 BGS Level Low er
6 Reading 7 Right & Left
8 Gray Edge Value 001 to 127 (See note 1.) Digits 12 to 14 9 Timeout 0200 to 2000 ms (See note 2.) Digits 15 to 18 10 Number of
11 Display 12 Detail Data 0: OFF, 1: ON Digit 21 13 Finder Pattern 0: OFF, 1: ON Digit 22 14 Cell Position 0: OFF, 1: ON Digit 23 15 Font Size 0: 16 Display Image 0: Normal, 1: Binar y Digit 25
Settings
Settings
Shutter Speed 0: 1/100 s, 1: 1/500 s,
2: 1/2,000 s, 3: 1/10,000 s
2: Strong Smoothing, 3: Enhance Edges
001 to 255 (See note 1.) Digits 4 to 6
Limit
000 to 254 (See note 1.) Digits 7 to 9
Limit Symbol Color 0: Black, 1: White Digit 10
0: OFF, 1: ON, 2: Auto Digit 11
Reverse
0 to 9 Digit 19
Retries Reading Data 0: OFF, 1: ON Digit 20
1, 1: 4 Digit 24
Digit 1
Digit 2
72
Note 1. The data is output in 3 digits.
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 Adjust Reading Settings Display Settings
Page 90
Trigger Inputs and Output Format Section 4-3
Settings Data for QR Code (Pattern)
Number Settings data for QR Code (Pattern) Digit(s)
1 Image
Adjust
2 Filtering 0: OFF, 1: Weak Smoothing,
3 Filtering Retry 0: OFF, 1: ON Digit 3 4BGS Level
5BGS Level
6 Reading 7 Right & Left
8 Gray Edge Value 001 to 127 Digits 12 to 14 9 Pixel Skipping 01 to 20 (See note 2.) Digits 15 to 16 10 Correlation 001 to 100 (See note 1.) Digits 17 to 19 11 Timeout 0200 to 2000 ms (See note 3.) Digits 20 to 23 12 Number of
13 Display 14 Detail Data 0: OFF, 1: ON Digit 26 15 Finder Pattern 0: OFF, 1: ON Digit 27 16 Cell Position 0: OFF, 1: ON Digit 28 17 Font Size 0: 18 Display Image 0: Normal, 1: Binary Digit 30
Settings
Settings
Shutter Speed 0: 1/100 s, 1: 1/500 s,
2: 1/2,000 s, 3: 1/10,000 s
2: Strong Smoothing, 3: Enhance Edges
001 to 255 (See note 1.) Digits 4 to 6
Upper Limit
000 to 254 (See note 1.) Digits 7 to 9
Lower Limit Symbol Color 0: Black, 1: White Digit 10
0: OFF, 1: ON, 2: Auto Digit 11
Reverse
0 to 9 Digit 24
Retries Reading Data 0: OFF, 1: ON Digit 25
1, 1: 4 Digit 29
Digit 1
Digit 2
Note 1. The data is output in 3 digits.
2. The data is output in 2 digits.
3. The data is output in 4 digits. The following diagram shows the structure of the 30 digits that con-
tain settings 1 through 18. (The contents are example data settings.)
Image Adjust Reading Settings Display Settings
73
Page 91
Trigger Inputs and Output Format Section 4-3
Settings Data for Data Matrix (Normal)
Number Settings data for Data Matrix (Normal) Digit(s)
1 Image
Adjust
2 Filtering 0: OFF, 1: Weak Smoothing,
3 Filtering Retry 0: OFF, 1: ON Digit 3 4 BGS Level Upper
5 BGS Level Lo wer
6 Reading 7 Right & Left
8 Code Size 1 00 to 30 (See note 2.) Digits 12 to 13 9 Code Size 2 00 to 31 (See note 3.) Digits 14 to 15 10 Free Finder
11 Length of Finder 050 to 480 (See note 1.) Digits 17 to 19 12 Background Cut 0: Weak, 1: Middle, 2: Strong Digit 20 13 Timeout 0200 to 2000 ms (See note 4.) Digits 21 to 24 14 Number of
15 Display 16 Detail Data 0: OFF, 1: ON Digit 27 17 Finder Pattern 0: OFF, 1: ON Digit 28 18 Cell Position 0: OFF, 1: ON Digit 29 19 Font Size 0: 20 Display Image 0: Nor mal, 1: Binar y Digit 31
Settings
Settings
Shutter Speed 0: 1/100 s, 1: 1/500 s, 2: 1/2,000 s,
3: 1/10,000 s
2: Strong Smoothing, 3: Enhance Edges
001 to 255 (See note 1.) Digits 4 to 6
Limit
000 to 254 (See note 1.) Digits 7 to 9
Limit Symbol Color 0: Black, 1: White, 2: Auto Digit 10
0: OFF, 1: ON, 2: A u to Digit 11
Reverse
0: OFF, 1: ON Digit 16
Length
0 to 9 Digit 25
Retries Reading Data 0: OFF, 1: ON Digit 26
1, 1: 4 Digit 30
Digit 1
Digit 2
Note 1. The data is output in 3 digits.
2. Code Size 1
00: 10 x 10 01: 12 x 12 02: 14 x 14 03: 16 x 16 04: 18 x 18 05: 20 x 20 06: 22 x 22 07: 24 x 24 08: 26 x 26 09: 32 x 32 10: 36 x 36
74
EC200 EC000 to 140
11: 40 x 40 12: 44 x 44 13: 48 x 48 14: 52 x 52 15: 64 x 64 16: 8 x 18 17: 8 x 32 18: 12 x 26 19: 12 x 36 20: 16 x 36 21: 16 x 48
22: 9 x 9 23: 11 x 11 24: 13 x 13 25: 15 x 15 26: 17 x 17 27: 19 x 19 28: 21 x 21 29: 23 x 23 30: 25 x 25
Page 92
Trigger Inputs and Output Format Section 4-3
3. Code Size 2
EC200 EC000 to 140
00: None 01: 10 x 10 02: 12 x 12 03: 14 x 14 04: 16 x 16 05: 18 x 18 06: 20 x 20 07: 22 x 22 08: 24 x 24 09: 26 x 26 10: 32 x 32
11: 36 x 36 12: 40 x 40 13: 44 x 44 14: 48 x 48 15: 52 x 52 16: 64 x 64 17: 8 x 18 18: 8 x 32 19: 12 x 26 20: 12 x 36 21: 16 x 36 22: 16 x 48
4. The data is output in 4 digits. The following diagram shows the structure of the 31 digits that con-
tain settings 1 through 20. (The contents are example data settings.)
23: 9 x 9 24: 11 x 11 25: 13 x 13 26: 15 x 15 27: 17 x 17 28: 19 x 19 29: 21 x 21 30: 23 x 23 31: 25 x 25
Image Adjust Reading Settings Display Settings
75
Page 93
Trigger Inputs and Output Format Section 4-3
Settings Data for Data Matrix (Pattern)
Number Settings data for Data Matrix (Pattern) Digit(s)
1 Image
Adjust
2 Filtering 0: OFF, 1: Weak Smoothing,
3 Filtering Retry 0: OFF, 1: ON Digit 3 4 BGS Level Upper
5 BGS Level Lo wer
6 Reading 7 Right & Left
8 Pixel Skipping 01 to 20 (See note 2.) Digits 12 to 13 9 Correlation 001 to 100 (See note 1.) Digits 14 to 16 10 Timeout 0200 to 2000 ms (See note 3.) Digits 17 to 20 11 Number of
12 Display 13 Detail Data 0: OFF, 1: ON Digit 23 14 Finder Pattern 0: OFF, 1: ON Digit 24 15 Cell Position 0: OFF, 1: ON Digit 25 16 Font Size 0: 17 Display Image 0: Nor mal, 1: Binar y Digit 27
Settings
Settings
Shutter Speed 0: 1/100 s, 1: 1/500 s, 2: 1/2,000 s,
3: 1/10,000 s
2: Strong Smoothing, 3: Enhance Edges
001 to 255 (See note 1.) Digits 4 to 6
Limit
000 to 254 (See note 1.) Digits 7 to 9
Limit Symbol Color 0: Black, 1: White Digit 10
0: OFF, 1: ON, 2: A u to Digit 11
Reverse
0 to 9 Digit 21
Retries Reading Data 0: OFF, 1: ON Digit 22
1, 1: 4 Digit 26
Digit 1
Digit 2
76
Note 1. The data is output in 3 digits.
2. The data is output in 2 digits.
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 Adjust Reading Settings Display Settings
Page 94
Trigger Inputs and Output Format Section 4-3
Write Scene Data (@CW) 1:1 Connection
Writes the settings data for the scene that is currently being dis­played. 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.
Send The 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>
E R <Footer><Header>
77
Page 95
Trigger Inputs and Output Format Section 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.
Receive If 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.
F150-SLC50 Specified
<Header> (A) (B) (C) (D) <Footer><FCS>(E) (F) (G) (H)
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:
E R <Footer><Header>
Viewed from this this direction
Viewed from this this direction
78
Page 96
Trigger Inputs and Output Format Section 4-3
Write Light Level Settings (@LW) 1:1 Connection
Changes the light level settings for the specified Camera’s Intelligent Light.
Send The 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:
E R <Footer><Header>
79
Page 97
Trigger Inputs and Output Format Section 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 con­ditions.
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.
Send Set the unit nu mber (00 to 31) of the desired V530-150.
@ G <Footer>L <Unit number>
Receive Refer 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.
Send Set the unit nu mber (00 to 31) of the desired V530-150.
@ R <Footer>D <Unit number>
Receive Refer 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 judge­ment is OK, the optimum settings will be registered automatically. If the reading judgement is NG, the settings will not be updated.
Send Set 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 spec­ifies white.)
@ M <Footer>Q <Symbol color><Unit number>
Receive Refer to the explanation of the output format.
page 82
80
Page 98
Trigger Inputs and Output Format Section 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 udge­ment is OK, the optimum settings will be registered automatically. If the reading judgement is NG, the settings will not be updated. Auto­matically discriminates between EC200 and EC000 to EC140 based on the matrix size.
Send Set 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>
Receive Refer 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.
Send Set t he unit numb er (00 to 31) of the d esired V530-150.
@ M <Footer>S <Unit number>
Receive The 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.
Send Set 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>
Receive The 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 Format Section 4-3
“ER” indicates that the command was not executed correctly:
E R <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
• Read Accuracy ON
<Read Accuracy> <FCS> <Footer><Header> : <Read data>%
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 Format Section 4-3
4-3-2 Communications Mode: Host Link
Command Table
Error Code Table
Command
Code
10 One Shot Reading page 85 11 Start Continuous Reading page 85 12 Stop Continuous Reading page 85 20 Switch to the Specified Scene Number page 86 21 Increment the Current Scene Number by One page 86 22 Decrement the Current Scene Number by One page 86 23 Read the Current Scene Number page 87
Function Page
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...