Siemens SIMATIC Vision Sensor VS 130-2, SIMATIC Vision Sensor VS 130-2vcr User Manual

s
Preface, Contents
SIMATIC
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
Manual
Product Overview
System Integration
Installation
Operator Input
Process Interface
Diagnostics
Appendix
Index
1
2
3
4
5
6
7
8
Edition 09/2005
A5E00475759-01
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring to property damage only have no safety alert symbol. The
!
!
!
notices shown below are graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol indicates that property damage can result if proper precautions are not taken.
Qualified Personnel
Prescribed Usage
Notice
indicates that an unintended result or situation can occur if the corresponding notice is not taken into account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.
The device/system may only be set up and used in conjunction with this documentation. Commissioning and operation of a device/system may only be performed by qualified personnel the safety notices in this documentation qualified persons are defined as persons who are authorized to commission, ground and label devices, systems and circuits in accordance with established safety practices and standards.
Note the following:
Warning
!
This device and its components may only be used for the applications described in the catalog or the technical description, and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly as well as careful operation and maintenance.
. Within the context of
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Siemens AG Automation and Drives Postfach 4848 90437 NÜRNBERG GERMANY
Copyright © Siemens AG 2005
A5E00475759-01
Siemens AG 2005 Technical data subject to change.

Preface

Purpose of the Manual
This manual describes the vision sensors SIMATIC VS 130-2 and
VS 130-2vcr. It helps to install, commission and operate the sensors.
The documentation addresses personnel concerned with the engineering, commissioning and service of automation systems and visualization equipment.
Guide
The manual contains the following guides which provide quick access to the specific information you need:
The manual opens with a complete directory.
The manual closes with a detailed index for quick access to the information
you require.
Further information
An installation and wiring manual is included in paper form.
On your CD you will find the "Getting Started" guide for initial commissioning of your SIMATIC VS 130-2 or VS 130-2vcr vision sensor.
Further support
If you have any questions concerning the use of products which are not answered in this manual, please contact your local Siemens partner at your Siemens office.
You can find your local partner at:
http://www.siemens.com/automation/partner
You can find a guide to the technical documentation on offer for the individual SIMATIC products and systems at:
http://www.siemens.de/simatic-tech-doku-portal
You can find the catalog and online ordering systems at:
http://mall.automation.siemens.com/
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
iii
Preface
Training center
To help you to learn about the vision sensors SIMATIC VS 130-2 and
VS 130-2vcr and the S7 automation system, we provide a range of training courses. Please contact your regional training center or the central training center in Nuremberg, Germany.
Telephone: +49 (911) 895-3200.
Internet: http://www.sitrain.com
Technical support
How to reach technical support for all A&D products
With the Support Request form on the Web:
http://www.siemens.de/automation/support-request
Telephone: + 49 180 5050 222
Fax: + 49 180 5050 223
Further information about our technical support is available in the Internet at
http://www.siemens.com/automation/service
Service & Support on the Internet
The Siemens Service & Support team provides you with comprehensive additional information on SIMATIC products in its online Internet services.
http://www.siemens.com/automation/service&support
There you can find:
Current product information and downloads which you may find useful for your
product.
The documents you require, using our Service & Support search engine.
A forum where users and experts from all over the world exchange ideas
Your local partner for Automation & Drives.
Information about onsite services, repairs, spare parts. Lots more is available
to you on our "Service“ pages.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
iv A5E00475759-01

Contents

1 Product Overview 1-1
1.1 Product Description .......................................................................................... 1-1
1.2 Components ..................................................................................................... 1-4
1.3 Processing Configuration.................................................................................. 1-5
1.4 Important Requirements for Installation............................................................ 1-6
1.5 Applications ...................................................................................................... 1-6
1.6 The lamp multiplexer accessory ....................................................................... 1-9
1.7 Requirements for Codes and Legibility........................................................... 1-11
1.7.1 What is Required of Data Matrix and Vericodes? .......................................... 1-11
1.7.2 Requirements for QR codes ........................................................................... 1-15
1.7.3 Requirements for PDF417 codes ................................................................... 1-17
2 System Integration 2-1
2.1 Design............................................................................................................... 2-1
2.2 Application Examples ....................................................................................... 2-2
2.2.1 Reading codes or checking quality in stand-alone mode
with output over Ethernet.................................................................................. 2-2
2.2.2 Reading Codes or Quality in Stand-alone Mode with Output over RS-232 ..... 2-3
2.2.3 Reading Codes or Quality in a PROFIBUS Environment.................................2-4
2.2.4 Reading Codes or Quality in a PROFINET Environment ................................. 2-5
2.2.5 Reading codes or checking quality in a PROFINET environment
and outputting over Ethernet ............................................................................ 2-6
2.2.6 Mixed operation ................................................................................................ 2-6
3 Installation 3-1
3.1 Installing Components for VS 130-2................................................................. 3-1
3.2 Wiring Components .......................................................................................... 3-3
3.3 Guidelines on Interference-Proof Installation ................................................... 3-5
3.4 Guidelines for Installing PROFIBUS DP or PROFINET I/O ............................. 3-5
4 Commissioning 4-1
4.1 Introduction ....................................................................................................... 4-1
4.2 Turning on the Device....................................................................................... 4-1
4.3 Control and Display Panel ................................................................................ 4-3
4.4 Adjusting the Sensor with the Setup Support................................................... 4-5
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
v
Contents
5 Operator Input 5-1
5.1 Overview........................................................................................................... 5-1
5.2 Working with the Processing Unit..................................................................... 5-1
5.3 Working with the Setup Support ..................................................................... 5-26
5.3.1 Starting Setup Support in the Web Browser................................................... 5-28
5.3.2 User interface of the VS 130-2/VS 130-2vcr ..................................................5-29
5.3.3 Adjust Sensor .................................................................................................5-31
5.3.4 Connections.................................................................................................... 5-34
5.3.5 Train................................................................................................................ 5-37
5.3.6 Evaluating ....................................................................................................... 5-39
5.3.7 Options............................................................................................................ 5-40
5.3.8 Info .................................................................................................................. 5-44
5.3.9 Maintain ..........................................................................................................5-48
5.3.10 Stop.................................................................................................................5-48
5.4 Operator Control over Personal Digital Assistant (PDA)................................ 5-49
5.4.1 Prerequisites................................................................................................... 5-49
5.4.2 Establishing a Connection between PDA and Processing Unit......................5-49
5.4.3 Starting or stopping setup support from the PDA........................................... 5-50
5.4.4 User interface of the PDA............................................................................... 5-50
5.4.5 Known PDA problems..................................................................................... 5-54
6 Process Interface 6-1
6.1 Introduction ....................................................................................................... 6-1
6.2 Integrating the DP slave VS 130-2 in HW Config............................................. 6-2
6.3 Integrating the PROFINET I/O Device VS 130-2 in HW Config ....................... 6-4
6.4 Control Via the "DI/DO" I/O Interface ............................................................... 6-6
6.4.1 Control Signals .................................................................................................6-6
6.4.2 Selecting the Mode ........................................................................................... 6-7
6.5 Control over PROFIBUS DP and PROFINET IO ........................................... 6-11
6.5.1 File Transfer Principle over PROFIBUS DP and PROFINET IO.................... 6-11
6.5.2 Assignments for PROFIBUS DP and PROFINET IO-relevant Interfaces
for the Processing Unit ...................................................................................6-12
6.5.3 Sample program for data exchange if code length <= 27 bytes..................... 6-15
6.5.4 Programming the Data Block.......................................................................... 6-17
6.5.5 FB 79 "VS130-2_CONTROL"......................................................................... 6-19
6.6 Sample Programs ........................................................................................... 6-32
6.6.1 Sample Program for Interfacing the VS 130-2 to a SIMATIC Controller
with the Aid of FB79........................................................................................ 6-32
6.6.2 Sample Program for Outputting the Read Code to a PC or PG..................... 6-33
6.6.3 Sample Program for Archiving Diagnostic Information on a PC or a PG ....... 6-34
7 Diagnostics 7-1
7.1 Introduction ....................................................................................................... 7-1
7.2 Diagnostics with Messages .............................................................................. 7-1
7.2.1 Error Messages ................................................................................................7-2
7.2.2 Warnings/Notes ................................................................................................ 7-7
7.2.3 Read Results .................................................................................................. 7-10
7.3 Diagnostics Based on the "BF" LED............................................................... 7-11
7.3.1 "BF" LED with PROFIBUS DP........................................................................ 7-11
7.3.2 "BF" LED with PROFINET IO ......................................................................... 7-11
7.4 Slave Diagnostics or I/O Device Diagnostics .................................................7-12
7.4.1 Introduction ..................................................................................................... 7-12
7.4.2 Reading Out the Diagnostic Information with S7............................................ 7-12
7.4.3 Diagnostics for PROFIBUS DP ......................................................................7-13
7.4.4 Diagnostics for PROFINET IO........................................................................ 7-15
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
vi A5E00475759-01
Contents
8
Appendix 8-1
8.1 Components of the Product .............................................................................. 8-1
8.2 Standards and Approvals .................................................................................8-6
8.3 Installation Dimensions..................................................................................... 8-7
8.4 Interface Assignment of the Processing Unit.................................................... 8-9
8.5 Calculating the C-mount Lens and the Size of the Field of View
for Data Matrix Codes at a Given Distance .................................................... 8-12
8.6 Technical Specifications ................................................................................. 8-15
8.6.1 Vision Sensor SIMATIC® VS 130-2/VS 130-2vcr .......................................... 8-15
8.6.2 General Specifications....................................................................................8-18
8.6.3 Interface Digital Inputs/Outputs ...................................................................... 8-21
Index Index-1
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
vii
Contents
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
viii A5E00475759-01

1 Product Overview

1.1 Product Description

The Vision Sensor SIMATIC VS 130-2 is a code reader for data matrix codes of the type ECC200 (with the exception of the types "Structured Append" and "Reader Programming Code") and the codes PDF417 and QR (with the exception of the types "ECI Code", "Byte Code", "Kanji Code", "Structured Append" and "FNC1 Code"). The code type is detected during training and adjustment and during training is saved as a code property.
The Vision Sensor VS 130-2vcr is Vericode reader.
You can use these readers to read the coded labeling of products and then pass the read code to a PLC or a computer.
The SIMATIC VS 130-2/VS 130-2vcr operates with overhead lighting. The object is lit from above with the supplied ring flash. With the lamp multiplexer accessory, it is possible to select one of up to 4 lamps for the lighting.
The Vision Sensor SIMATIC VS 130-2/VS 130-2vcr is available in the following models:
SIMATIC VS130-2 for large code areas
(order number of the full package: 6GF1 130-1BA with 2.5 m cable length and 6GF1 130-1BA01 with 10 m cable length)
SIMATIC VS130-2 for small code areas
(order number of the full package: 6GF1 130-2BA with 2.5 m cable length and 6GF1 130-2BA01 with 10 m cable length)
SIMATIC VS130-2 for very small code areas
(order number of the full package: 6GF1 130-4BA with 2.5 m cable length and 6GF1 130-4BA01 with 10 m cable length)
SIMATIC VS130-2 for variable code areas (order number of the basic package:
6GF1 130-3BC with 2.5 m cable length and 6GF1 130-3BC01 with 10 m cable length) if you use the C- or CS-mount lenses (includes the high-resolution sensor)
SIMATIC VS130-2 for variable code areas
(order number of the basic package: 6GF1 130-3BB with 2.5 m cable length and 6GF1 130-3BB01 at 10 m cable length), if you are using C or CS-mount lenses and want to use the lens protective housing (6GF9 002-7AA01).
SIMATIC VS 130-2vcr (Vericode reader) for variable code areas (order number
of the basic package: 6GF1 130-3BB02)
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-1
Product Overview
Reading, matching or verifying code
SIMATIC VS 130-2/VS 130-2vcr can read codes, match the entire code or part of it with a trained code and relate (verify) the quality values of the currently read code to the quality values of a trained code.
The entire read character string or only part of it (in other words, filtered) can be output. When it is output, further characters can de appended at the start or end as a prefix or suffix.
The SIMATIC VS 130-2/VS 130-2vcr can operate both in standalone mode to make good/bad decisions or as part of a control system to pass on the read codes for further processing.
Performance Features
Reliable reading of data matrix codes or Vericodes even under difficult
conditions (for example, for oil-smeared or needle-punched codes)
Reading printed or lasered codes of the type PDF417 and QR on a
homogeneous background
Overhead ring flash with VS 130-2
Activation of up to 4 lamps using a special lamp multiplexer
Linking of several trained codes that do not necessarily belong to the same
code type to form a code set with the VS 130-2
It is possible to specify a region of interest with the VS 130-2
Fully Web-based user interface
When using data matrix codes, up to 20 codes can be read per second
With Vericodes up to 5 code readings per second
Calculating quality characteristics
Extensive operator control and monitoring functions even in the processing
mode
Wide-ranging diagnostics and logging functions: Error image memory and
event logging
Firmware update over the user interface
Control over digital I/O, trigger signal and also over RS-232 interface of an
RS-232 Ethernet converter or TCP server
Acquiring the code without a trigger signal ("Continuous" mode)
Event output over PROFIBUS DP, PROFINET I/O, RS-232 interface of an
RS-232 Ethernet converter, and TCP connection to PC
You will find the Technical Specifications of SIMATIC VS 130-2/VS 130-2vcr in the appendix.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-2 A5E00475759-01
Product Overview
Code Properties
To improve clarity, the following terms are used in the table below:
Variant 1: SIMATIC VS 130-2 for "large code areas" (6GF1 130-1BA and
6GF1 130-1BA01 with sensor head 6GF2 002-8DA01)
Variant 2: SIMATIC VS 130-2 for "small code areas" (6GF1 130-2BA and
6GF1 130-2BA01 with sensor head 6GF2 002-8EA01)
Variant 3: SIMATIC VS 130-2 for "very small code areas" (6GF1 130-4BA and
6GF1 130-4BA01 with sensor head 6GF2 002-8FA01)
Variant 4: C/CS Mount (6GF1 130-3BB and 6GF1 130-3BB01 with sensor
head 6GF2 002-8CB)
Variant 5: C/CS Mount (6GF1 130-3BC and 6GF1 130-3BC01 with sensor
head 6GF2 002-8GB)
Variant 6: C/CS Mount (6GF1 130-3BB02 with sensor head 6GF2 002-8CB) for
acquiring Vericodes
Properties Configuration 1 Configuration 2 Configuration 3 Configuration 4
and Configuration 6
CCD resolution 0,11 mm/pixel 0,06 mm/pixel 0.032 mm/pixel Image width /
640 pixels
Minimum dot size (edge length)
Maximum dot size (edge length)
Minimum code dimension (rows * columns)
Maximum code dimension (rows * columns)
Clearance sensor front edge
- test object
Image field 75 mm * 57 mm 45 mm * 34 mm 20 mm * 15 mm depending on
1)
With large code dimensions such as 72*72, make sure that the lens used does not cause any distortion
at the edges.
0,6 mm 0,35 mm 0,16 mm Image width /
120 pixels
3,5 mm 2 mm 1 mm Image width /
22 pixels
10 *10 10 *10 10 *10 10 *10 10 *10
48 *48 48 *48 48 *48
100 mm 90 mm 75 mm Depending on
72 *72
lens
lens
1)
72 *72 1)
Configuration 5
Image width / 1024 pixels
Image width / 200 pixels
Image width / 35 pixels
Depending on lens
depending on lens
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-3
Product Overview

1.2 Components

The complete Vision Sensor SIMATIC VS 130-2/VS 130-2vcr consists of the following:
Sensor head with CCD sensor chip (CCD = Charge Coupled Device) for
sensing the code
LED overhead lighting unit, red, degree of protection IP65 as ring flash
(order number 6GF9 004-8BA01; only with VS 130-2)
Processing unit for code processing, output of results, PROFIBUS DP and
PROFINET I/O communication and parameter assignment
Cables to connect the individual components
Installation instructions for installing and wiring the
SIMATIC VS 130-2/VS 130-2vcr
CD with:
- This manual SIMATIC VS 130-2/VS 130-2vcr (German, English, French, Spanish, Italian for VS 130-2, German and English for VS 130-2vcr)
- Online help (interfacing the Com Server of W&T, establishing the connection, setup support)
- Getting Started
- Installation Instructions
- Compact Com Server manual from W&T
- The installation manual SIMATIC S7-300 Automation System, Hardware
and Installation
- Getting Started Collection for PROFINET I/O
- PROFINET System Manual, System Description
- PROFINET IO from PROFIBUS DP to PROFINET IO Programming
Manual
- PROFINET IO Structure of the Diagnostic Data Records Product Information
- The device master data file SIEM8111.GSD and the corresponding bitmap file VS1X0__N.DIB (for PROFIBUS DP)
- the GSD file GSDML-V1.0-Siemens-VS130-2-20041021.xml (General Station Description) and the bitmap file vs100.bmp (for PROFINET I/O)
- Three sample programs (connecting the VS 130-2 to a SIMATIC controller using FB79, output of the read code to a PC or a PG, archiving diagnostic information on a PC or PG)
Overview of the complete package
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-4 A5E00475759-01
Note
If you want to use C or CS-mount sensors under IP65 conditions, use the lens protective housing (6GF9 002-7AA01).
Product Overview

1.3 Processing Configuration

Triggering
The objects with the code are fed past the sensor head with a suitable conveyor.
They must be located fully within the sensor field of view when being read.
In the training mode, the character content of the code is saved.
In the processing mode, the current code is read and, if required, compared with the saved content of the trained code. The digital output signals are set according to the read result: READ (code was localized and decoded), MATCH (code matches the trained code), N_OK (code was not legible).
The read result is output over PROFIBUS DP, PROFINET IO or over the RS-232 interface of an RS-232 Ethernet interface converter or over a TCP server depending on the parameter settings.
To read the code, you must make sure that the code is completely within in the sensor field of view and clearly visible.
The code is captured at the trigger time. In this case, you generate an exact and debounced trigger signal at the trigger time, for example with a laser light barrier.
As an alternative, you can record the code without a trigger signal (trigger source "endless"). In this case the code is output again only when there is a code change. This is required, for example, with rotating parts if the exact position of the code is not known.
You can check your settings with the setup support of the VS 130-2/VS 130-2vcr.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-5
Product Overview

1.4 Important Requirements for Installation

The following requirements must be met:
The code must be clearly visible:
- There should be as few reflections as possible in the code field.
- The code field should be uniformly illuminated without shadows.
- All parts of the code should be sharply printed.
The sensor can be up to 40° from the vertical.
The distance between the code and the image edge should be at least two dot
widths.

1.5 Applications

Below, you will see several examples of data matrix codes, QR, PDF417 and Vericodes:
Printed data matrix code
Lasered data matrix code (plastic surface)
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-6 A5E00475759-01
Product Overview
Lasered data matrix code (pcb)
Data matrix code created with inkjet printer
Punched data matrix code
Needle punched data matrix code
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-7
Product Overview
Printed QR code
Printed PDF417 code
Vericode
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-8 A5E00475759-01
Product Overview

1.6 The lamp multiplexer accessory

If there are varying lighting conditions in the vicinity of the sensor head, it is sometimes advisable to work with different lamps at different times. You can therefore connect up to 4 flash lamps to the Vision Sensor VS 130-2/VS 130-2vcr using he lamp multiplexer (6GF9 002-7BA).
Note
The lamp multiplexer can only be used if you have set the multilight mode. If you not activate the multilight mode, you must connect your lamp directly to the processing unit.
The lamp multiplexer is shown in the figure below.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-9
Product Overview
Connecting the lamp multiplexer
You connect to the processing unit as follows: Connect a lighting cable (6GF9 002-8CE) to the LAMP socket of the processing unit and to the input socket LIN. of the lamp multiplexer.
Connect each of the maximum four lamps to the lamp multiplexer over a lighting cable. Lamp 1 is assigned to socket L1, lamp 2 to socket L2 etc.
Connect the socket connector "DI/DO" of the processing unit to the left-hand plug connector "DI/DO" of the lamp multiplexer with the supplied special cable. You can connect a digital communication cable (6GF9 002-8CB) to the right-hand plug connector "DI/DO". Please remember that you must not then use the MATCH and NOK signals. These are used to select a lamp.
Note
If you connect the lamp multiplexer with connected lamps to a VS 130-2/VS 130-2vcr while this is operating, this can lead to the processing unit resetting itself in some situations.
Installing the lamp multiplexer
You have the following installation options:
Wall-mounting using the two holes at the upper end of the lamp multiplexer
Installation on a standard rail: In this case, screw the supplied rail adapter to
the back of the lamp multiplexer.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-10 A5E00475759-01
Product Overview

1.7 Requirements for Codes and Legibility

1.7.1 What is Required of Data Matrix and Vericodes?

General Requirements for Data Matrix and Vericodes to Ensure Readability
VS 130-2 can read data matrix codes with properties corresponding to those published in the standard for data matrix codes. In many ways, VS 130-2 reacts tolerantly even when certain basic properties are absent and is capable of dealing with difficulties that are not specified in the standard.
As a result, VS 130-2 and VS 130-2vcr have a very wide range of application in normal situations, a fact reflected in the following broad limits:
It can read codes in which directly adjacent code points have a minimum
distance of only 5 pixels and up to a maximum distance of 35 pixels.
The deviation of the sensor axis from the vertical can be between 0 ° und 40 °.
The code field can approach the edge of the image up to a distance equivalent
to twice the code point diameter.
The dominant polarity of the code points compared with the background is
required uniformly for all points (as it was during the training procedure). Slight shadows or shiny areas are tolerated.
The ratio of the distance to the closest neighbor and the diameter of any code
point can be between 2 and 0.8.
Although code points must be printed according to a regular square grid
pattern, individual points can be displaced from their ideal position by up to 1/3 of the grid unit. Even slight parallelogram-shaped distortion is tolerated.
With large-image but small-dimensioned codes, slight curves in the printed
material surface are tolerated. With high-value codes (for example, more than 14 x 14) or a strongly inclined sensor axis, curves are not allowed.
Large tolerance of background disturbances that cannot be described
quantitatively
Large tolerance of poor contrast conditions
Due to the limited image resolution, codes with a maximum code dimension of
72x72 can be read.
In terms of these limit characteristics and when using minimum read rates due to the requirements of the application (can be set with the "Cycletimelimit" parameter) the tolerances are generally restricted, in some cases in stages, or other conditions come into play. The limits described below are intended mainly as guidelines since the actual conditions in a real application cannot be assessed accurately in advance. It is therefore conceivable that higher read rates can be achieved even if individual conditions are not fully adhered to.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-11
Product Overview
Processing Method for Reliable Reading of Difficult Data Matrix Codes and Vericodes
Settings:
Speed = low
Exposure = Manual or Auto V1 or Auto
The self-adapting recognition method of VS 130-2/VS 130-2vcr allows the most difficult codes to be read reliably. The most reliable detection is reached by VS 130-2/VS 130-2vcr when you make adequate time available for adaption by setting a high cycle time limit.
The recognition method is designed for a variety of practical situations in which various aspects of the read configuration cannot be considered ideal. For example:
Any alignment and position of the code in the image
Reading codes even when dots overlap or are largely isolated
Reading codes recorded mirror-inverted
Tolerance of distortion, due for example to inclined installation of the image
sensor (view angle down to a lower limit of approximately 50° to the printed surface)
Resistant to similar-looking foreign objects in the area of the code
Resistant to interference patterns (grooves, granularity) in the area of the code
Good tolerance of contrast fluctuations
Good range of imaging size from 5 to 35 pixels per dot
Rectangular or square codes (with data matrix codes with maximum dimensions of 72 x 72 dots) can be read, whereby the brightness polarity (bright on dark or dark on bright) is unimportant.
If individual conditions are particularly favorable and stable in a concrete situation (and therefore less effort is required for internal adaption), the read rate of VS 130-2/VS 130-2vcr can reach a peak of 20 per second. You can influence this by setting the "Speed" and "Cycle time limit" parameters as described below.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-12 A5E00475759-01
Product Overview
Processing Method for Fast Reading of Data Matrix Codes and Vericodes with a Guaranteed Read Rate up to 5Hz
Settings:
Speed = medium
Exposure:
- = Manual: guaranteed read rate of 5 Hz
- = Auto V1 and Auto: guaranteed read rate of 3.3 Hz
These read rates are achieved under the following conditions:
The code dimension must not be greater than 40 x 40 dots.
The code must be positioned so that there is always a clearance of at least 3
dots to the edge of the image.
The code should not make contact with any other objects in the image (keep
the quiet zone free!)
To allow the code to be found quickly, there must be no other objects (bus
structures count here as well) in the image with enclosed rectangle and of a comparable size to the trained code. (See also the two following figures.)
The minimum dot size is 5 pixels per dot without restrictions.
The view angle must be greater than 70°.
The following figure shows you an illegal constellation for guaranteed read rates: Two neighboring objects in the image have a rectangular border of a size similar to that of the code.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-13
Product Overview
The following figure shows you a legal constellation for guaranteed read rates: All neighboring objects are clearly of a different size from the code. In this case, rotation of the code from exposure to exposure would be acceptable since there is no rectangle of another object that is compatible with the largest possible rectangle around the code.
Note
Operating and monitoring via the setup support can lead to longer cycle times.
Processing Method for Fast Reading of Data Matrix Codes with a Guaranteed Read Rate of 20Hz
Settings:
Speed = high
Exposure = manual (due to the short processing times, automatic exposure is
not possible with this method.)
These read rates are achieved under the following conditions:
The illumination must be stable enough so that automatic shutter control is not
necessary.
The code dimension must not be greater than 20 x 20 dots.
Since the image is recorded "undersampled", the dots of the code must have a
minimum size of 10 pixels
The code must be positioned in the sensor image so that there is always a
clearance of at least 3 dots to the edge of the image.
The code must not make contact with any other objects in the image, the quiet
zone must be kept free.
To allow the code to be found quickly, there must be no other objects (bus
structures count here as well) in the image with enclosed rectangle and of a comparable size to the trained code. (See also the two following figures.)
The diameter of the dots must be uniform over the entire code field. The
contrast between dots and the background must be approximately the same over the entire code field.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-14 A5E00475759-01
Product Overview
The image background must have a homogeneous brightness (no textures
such as stripes or grooves etc.).
The view angle of the sensor to the printed surface must be approaching
vertical (80 to 90 degrees).
Note
Operating and monitoring via the setup support can lead to longer cycle times.

1.7.2 Requirements for QR codes

General Requirements for QR Codes and Legibility
The requirements are as follows:
It can read codes in which directly adjacent code points have a minimum
distance of 5 pixels and up to a maximum distance of 35 pixels.
The view angle of the sensor to the surface must be between 70 ° and 90 °.
The diameter of the dots must be uniform over the entire code field.
The contrast between dots and the background must be approximately the
same over the entire code field.
The image background must have a homogeneous brightness (no textures
such as stripes or grooves etc.).
The following code types are not supported: Micro QR code, Macro QR code
Due to the limited image resolution, the maximum code dimension 89x89 (for
all sensor heads except 6GF2002-8GB) or 133x133 (for sensor head 6GF2002-8GB) can be read.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-15
Product Overview
Requirements for QR codes for fast reading with guaranteed read rates up to 5 Hz (for all sensor heads except 6GF2002-8GB)
The code dimension must not exceed 37 x 37.
To allow the code to be found quickly, there must be no other objects (bus
structures count here as well) in the image with enclosed rectangle and of a comparable size to the trained code.
The code must be positioned in the sensor image so that there is always a
clearance of at least 3 dots to the edge of the image.
The code should not make contact with any other objects in the image (keep
the quiet zone free: 4 dots).
The dots of the code must have a minimum size of 10 pixels.
The view angle of the sensor to the printed surface must be approaching vertical (80 to 90 °).
The code must not be mirrored compared with the trained code.
The polarity must be the same as in the trained code.
The code must have the same dimension as the trained code.
Characteristics of QR code
Any alignment of the code in the image
Up to 5 code readings per second
Reading inverted code images
Calculation of quality characteristics according to the AIM specification
Display of the surrounding rectangle around the code position and code mid
point
Display of the roll angle and tilt angle
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-16 A5E00475759-01
Product Overview

1.7.3 Requirements for PDF417 codes

General Requirements for PDF417 Codes and Legibility
The requirements are as follows:
Codes with a bar width of at least 3 pixels and in which the height of a single row of symbols is at least 9 pixels can be read.
The width of the black and white bars must be uniform over the entire code field.
The view angle of the sensor to the surface must be greater than 70 °.
The code should not make contact with any other objects in the image (keep
the quiet zone free: twice the column width).
Within the code, the ratio of contrast (difference between black and white) to noise should be at least three and should be very similar over the entire code field.
The image background must have a homogeneous brightness (no textures such as stripes or grooves etc.).
The code must be positioned in the sensor image so that the entire code (including start and stop pattern) always has a clearance of at least 3 pixels to the edge of the image.
The error correction codes (the lower part of the bar code) must not be covered.
The following code types are not supported: Truncated PDF417, Macro PDF417, Micro PDF417
At the minimum bar width, each symbol column requires 51 pixels. Along with the four start and stop patterns, the width of the code with n code columns is: Width = 51 * (n + 4) pixels. Due to the limited image resolution, codes with up to a maximum of 40 code rows and up to a maximum of 6 code columns (for all sensor heads except 6GF2002-8GB) or up to 60 code rows and up to 12 code columns (for sensor head 6GF2002-8GB) can be read.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
1-17
Product Overview
Requirements for PDF417 codes for fast reading with guaranteed read rates up to 5 Hz (for all sensor heads except 6GF2002-8GB)
The view angle of the sensor to the printed surface must be approaching vertical (view angle 80 to 90 °).
To allow the code to be found quickly, there must be no other objects (bus structures count here as well) in the image with enclosed rectangle and of a comparable size to the trained code.
The code dimension must not be greater than 20 rows and 2 columns.
The bar width must be at least 6 pixels.
The height of individual symbol rows must be at least 18 pixels.
There must be no disturbances or overlaps within the code.
The PDF417 error correction level must be at least 1.
The polarity must be the same as in the trained code.
Characteristics of the PDF417 code
Any alignment of the code in the image
Up to 5 code readings per second
Reading inverted code images
Calculating the contrast quality characteristic
Calculating the unused error correction
Display of the surrounding rectangle around the code position and code mid
point
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
1-18 A5E00475759-01

2 System Integration

2.1 Design

Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
2-1
System Integration

2.2 Application Examples

2.2.1 Reading codes or checking quality in stand-alone mode with output over Ethernet

VS 130-2/VS 130-2vcr reads the codes and outputs them to a PC/PG. The PC or PG can be connected to the processing unit directly by a crossover cable or over a network connection.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
2-2 A5E00475759-01
System Integration

2.2.2 Reading Codes or Quality in Stand-alone Mode with Output over RS-232

The code is output over the RS-232 port of the Com server from WuT. The PC or PG for setup support is connected to the processing unit over a network (intranet or Internet).
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr A5E00475759-01
2-3
System Integration

2.2.3 Reading Codes or Quality in a PROFIBUS Environment

A PC/PG intended solely for setup is connected over the Ethernet port. Via PROFIBUS, there is a connection to a PLC and to another PC/PG.
VS 130-2/VS 130-2vcr is controlled over PROFIBUS by the automation system and the codes output to this automation system or PC/PG once again over PROFIBUS.
Vision Sensor SIMATIC VS 130-2/VS 130-2vcr
2-4 A5E00475759-01
Loading...
+ 144 hidden pages