Advertisement

Quick Links

s
SIMATIC
VS 72x / Spectation
Manual
Edition 05/2006
A5E00268232-03
Preface
Contents
Getting Started
A closer look at the system
SoftSensor Reference
Inspection Application Guidelines
Vision Sensor Integration
VSEmulator tutorial
Basic TCP/IP Setup
Advanced TCP/IP
Upgrading or Reinstalling
VS 720 Series Vision Sensor's
Firmware
Using Ethernet/IP to
communicate between VS72X
and ControlLogix Systems
Using Ethernet/IP to
communicate between a
Siemens VS72x Vision Sensor
and an SLC-5/05 System
Index
1
2
3
4
5
6
7
8
9
10
11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMATIC VS 72 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Siemens SIMATIC VS 72 Series

  • Page 1 Basic TCP/IP Setup Advanced TCP/IP Upgrading or Reinstalling VS 720 Series Vision Sensor’s Firmware Using Ethernet/IP to communicate between VS72X and ControlLogix Systems Using Ethernet/IP to communicate between a Siemens VS72x Vision Sensor and an SLC-5/05 System Index Edition 05/2006 A5E00268232-03...
  • Page 2 Trademarks SIMATIC®, SIMATIC HMI® and SIMATIC NET® are registered trademarks of SIEMENS AG. Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners.
  • Page 3: Required Basic Knowledge

    Preface Purpose of the Manual This manual gives you a complete overview of programming with SIMATIC Spectation. It helps you during installation and commissioning. The procedures involved in creating programs, the structure of user programs and the individual language elements are described. It is intended for persons who are responsible for the realization of control tasks using SIMATIC automation systems.
  • Page 4: Further Support

    Preface Further Support If you have any technical questions, please get in touch with your Siemens representative or agent responsible. You will find your contact person at: http://www.siemens.com/automation/partner You will find a guide to the technical documentation offered for the individual SIMATIC Products and Systems here at: http://www.siemens.com/simatic-tech-doku-portal...
  • Page 5: Technical Support

    Preface Technical Support You can reach the Technical Support for all A&D products • Via the Web formula for the Support Request http://www.siemens.com/automation/support-request • Phone: + 49 180 5050 222 • Fax: + 49 180 5050 223 Additional information about our Technical Support can be found on the Internet pages http://www.siemens.com/automation/service...
  • Page 6 Preface SIMATIC VS72X / SIMATIC Spectation A5E00268232-03...
  • Page 7: Table Of Contents

    Contents Getting Started ....................... 1-1 What is Machine Vision? .................. 1-1 1.1.1 Imaging and Pixels ................... 1-2 What is a Vision Sensor?.................. 1-3 1.2.1 Newest hardware platform: The VS 720 Series ..........1-3 Vision Sensor Hardware Setup ................ 1-9 1.3.1 Unpacking and Powering the VS 720 Vision Sensor ........
  • Page 8 Contents Translation SoftSensors ................... 3-7 Rotation SoftSensors..................3-10 Specific Inspection SoftSensors ..............3-13 Measurement SoftSensors ................3-14 Math Tools ...................... 3-20 Readers ......................3-22 3.9.1 One Dimensional Barcode Reader..............3-22 3.9.2 Two Dimensional Code Reader..............3-23 3.9.3 Optical Character Recognition (OCR) ............3-26 3.10 Blob Tools.......................
  • Page 9 VS72x’s Configuration .................. 10-18 10.6.2 ControlLogix’s Configuration ................ 10-19 10.6.3 Example ......................10-23 10.7 References ....................10-26 Using Ethernet/IP to communicate between a Siemens VS72x Vision Sensor and an SLC-5/05 System ......................11-27 11.1 Abstract......................11-28 11.2 Introduction ....................11-28 11.3 SLC5/05 Firmware Versions.................
  • Page 10: Getting Started

    Getting Started This chapter contains important information for both new and experienced users. New users will benefit from general ideas about machine vision as well as from pointers to other sources of information and training. This chapter starts with an introduction to both the newest family of Vision Sensors, the VS 720 Series, including technical specifications and a brief description of every Vision Sensor in that.
  • Page 11: Imaging And Pixels

    Getting Started 1.1.1 Imaging and Pixels Every image from the Vision Sensors can be considered an array of pixels. For standard resolution systems, the image consists of 640 columns and 480 rows of pixels (for a total of over 300,000 pixels). For high resolution systems, the image contains 1280 columns and 1024 rows of pixels (for a total of over 1.3 million pixels!).
  • Page 12: What Is A Vision Sensor

    Getting Started What is a Vision Sensor? The Vision Sensor is your hardware tool for assuring quality in manufacturing, gathering data, and providing information to all levels of your enterprise. This information might take the form of device-level data such as inspection values being sent to a PLC or process-level Statistical Process Control (SPC) data.
  • Page 13 Getting Started Every Vision Sensor of the VS 720 family includes the SIMATIC Spectation software to set up inspections on part presence/absence, positioning, defect detection, precise measurement, 1D and 2D code readers, OCR, Color (can be used for grayscale levels in monochrome systems), and programmable tools to accommodate user needs.
  • Page 14 Getting Started • Digital I/O: 24 Volts DC regulated, 8 configurable inputs & outputs, NPN (current sinking) inputs, PNP (current sourcing) outputs, active high signals. Inputs can sink up to 1.5mA and outputs can source a maximum of 50mA. VS 70x-S: 6 configurable inputs and outputs. Warning Users are strongly encouraged to the SIMATIC VS 720 Digital I/O and Power Cable (sold separately).
  • Page 15 Getting Started VS 720 Series Vision Sensor Dimensions SIMATIC VS72X / SIMATIC Spectation A5E00268232-03...
  • Page 16 Getting Started VS 72x-S Series Stainless Steel Vision Sensor Dimensions SIMATIC VS72X / SIMATIC Spectation A5E00268232-03...
  • Page 17 Getting Started Installing SIMATIC Spectation Software While it may be very tempting to immediately insert the SIMATIC Spectation CD into your computer, please take a moment to ensure that installation will go smoothly. The following is a list of requirements necessary for a proper installation of this version of SIMATIC Spectation.
  • Page 18: Vision Sensor Hardware Setup

    Getting Started Vision Sensor Hardware Setup In this section, physical connections to the Vision Sensor are explained. This includes powering the system and connecting the communications cable. 1.3.1 Unpacking and Powering the VS 720 Vision Sensor Connect the keyed RJ-45 Digital I/O and power cable to the Vision Sensor (typical part number: 6GF9002-2AD).
  • Page 19 Getting Started VS 72x Port Digital I/O Power Supply Assignment (RJ45 connector without LEDs) The table below shows the PIN assignment and wire color: Signal Wire Color DI/DO 1 Yellow DI/DO 2 Violet DI/DO 3 White DI/DO 4 Orange DI/DO 5 Grey DI/DO 6 Black...
  • Page 20: Communicating With The Vision Sensor

    Getting Started Communicating with the Vision Sensor The Siemens Vision Sensors can use Ethernet and the TCP/IP and UDP/IP communication protocols. This section outlines how to establish communications with the Vision Sensor. In order to communicate with a Vision Sensor, you will need the following: •...
  • Page 21 Getting Started Assigning an IP Address to a Vision Sensor The PC and Vision Sensor communicate using the TCP/IP and UDP/IP networking protocols. TCP/IP stands for Transmission Control Protocol / Internet Protocol and is based on identifying elements on a network by unique numbers, called IP numbers.
  • Page 22 Getting Started • Highlight the Vision Sensor with the appropriate serial number. Note The VS 720 Vision Sensors will have a serial number in parenthesis next their user configurable name. It is easiest to identify these units by connecting directly to them or by the unique random IP that is initially assigned to them.
  • Page 23 Getting Started • Highlight your Vision Sensor in the Network Neighborhood and click on the Add button. This will add the Vision Sensor to the Ethernet folder, which contains your most commonly used systems. Hint After configuring your Vision Sensor with its new IP address, you should affix a label to the camera with the Ethernet properties so that you do not forget this important information Repeat these steps for each Vision Sensor you have.
  • Page 24: What's New In This Version

    Getting Started 1.4.1 What’s New in This Version Some enhancements have been added to the latest version of SIMATIC Spectation (Spectation 2.7). The major enhancements are summarized here. For more information about each one of them, please see the appropriate section of this User’s Guide.
  • Page 25 Getting Started Dynamic Color Reference Starting with SIMATIC Spectation 2.7 the reference of a color from a Pixel Counting SoftSensor through the use of the Dominant Color Threshold will be a dynamic process. In the past, the reference of the color data was a static, one-time process that would require the user to explicitly import the new color data every time a color needed to be relearned.
  • Page 26: Getting More From Spectation

    Windows Start menu, choose SIMATIC Applications, and then choose “Spectation Help”. For information visit the web site, http://www.siemens.com/machine-vision. • From Spectation, click on the Help menu and choose Siemens on the World Wide Web. Start your web browser and type http://www.siemens.com. SIMATIC VS72X / SIMATIC Spectation 1-17...
  • Page 27 Getting Started SIMATIC VS72X / SIMATIC Spectation 1-18 A5E00268232-03...
  • Page 28 A closer look at the system This chapter describes all the basic principles behind Vision Sensors. The internal structure of the Vision Sensor is described and a brief description about the parameters available at every level is provided. From system level (unique to every Vision Sensor) to SoftSensor level (dependent upon the SoftSensor being used), this chapter illustrates the parameter’s use and the functionality these add to the system.
  • Page 29: A Closer Look At The System

    A closer look at the system At the top level, we find the system parameters. These parameters are common to every inspection that the Vision Sensor takes, they affect the overall behavior of the Vision Sensor rather than that of a certain inspection. At the product level the user can change parameters that affect a specific inspection such as illumination.
  • Page 30: System Parameters

    A closer look at the system System Parameters As mentioned before, the System level of a Vision Sensor controls the overall functionality of the Vision Sensor. The main system parameters are inspection mode, password protection, I/O configuration, background scripts, power-on- product, trigger source, FOV balance, and communications setup.
  • Page 31: Input Functions

    A closer look at the system Input Functions Inputs on the Vision Sensor can serve one of 5 functions. The following table summarizes these functions: Input Function Purpose Product ID Bits Each line will represent a digit to make up the binary code that identifies a product based on the assigned Product ID.
  • Page 32: Output Functions

    Indicates whether any reader SoftSensor in the product failed because of a string mismatch (high) or because it could not read anything (low). Output24-Output31 Outputs that can be set through Scripts. See the Siemens Script Reference Manual for more details. Output48-Output64...
  • Page 33: Other Communications Settings

    Inspection Product. Some tasks assigned to Background Scripts are Product selection for an inspection, register reading and writing, exposure time control, communications, etc. More information on Background Scripts can be found in the Siemens Script Reference Manual. Contact your Siemens Distributor for more information. 2.1.6...
  • Page 34: Trigger Source

    A closer look at the system 2.1.7 Trigger Source Another system parameter is the trigger source. This parameter indicates how the system is triggered. The options are external trigger and internal trigger. External trigger requires that the trigger input function be assigned to an I/O line and that an external device provide a signal on that input whenever an image is to be taken.
  • Page 35: Sensor Gain

    If they are both calibrated with a single target, the color values they measure will match. For more information in this procedure refer to the integration notes section of the Siemens website or the Spectation help file. SIMATIC VS72X / SIMATIC Spectation...
  • Page 36: Product Parameters

    A closer look at the system Product Parameters The next hierarchical level inside Vision Sensor is the Product Level. At the product level, we have independent subsystems which are responsible for specific inspections. These subsystems are called products. All the products in a system use a common set of system parameters (as discussed before).
  • Page 37: Digitizing Time

    A closer look at the system 2.2.2 Digitizing Time This parameter determines the precision of the analog to digital conversions in the image acquisition device. The slower digitizing time allows for more precise conversions. It is recommended to use the default value. Visible changes in the image are not likely to be observed when changing this option.
  • Page 38: Illumination

    Illumination The illumination signal is a digital output of the Vision Sensor. Strobe light sources from Siemens are designed to use the strobe illumination signal. Pulse width for the strobe signal is determined by the Product exposure time (which is a Product-specific parameter). These two signals are tied together so the strobe light remains on for the duration of the CCD exposure to light.
  • Page 39: Product Selection

    A closer look at the system 2.2.7 Product Selection Digitally selecting a Product is a simple process. Refer to Figure 2-3 for a diagram illustrating the following procedure. First, set the binary bit pattern of a Product’s ID number on the “Product ID Input” lines. When the Product ID bits are loaded (in this case Product ID 1, which is 01 in 2-digit binary code) the Product Select line should become active.
  • Page 40 A closer look at the system 2.2.8 Product Graphs Product graphs help users troubleshoot systems as well as gather statistical data about the inspections. The graphs available at the Product level are: Pass/Warn/Fail, Result Table, Inspection Statistics, Inspection Times, and Digital I/O.
  • Page 41 A closer look at the system The inspection Statistics graph is particularly useful for troubleshooting. This graph keeps count of total inspections, inspections that timed out (the inspection did not complete in a certain amount of time), and inspections that could not be taken when trigger was received.
  • Page 42 A closer look at the system Finally, the digital I/O graph works like an oscilloscope. It uses time as the abscissa (X axis) and eight configurable I/O lines as the ordinate (Y axis) to show a timing diagram that indicates when signals go active or inactive. This graph is very useful for troubleshooting communications.
  • Page 180 Using Ethernet/IP to communicate between a Siemens VS72x Vision Sensor and an SLC-5/05 System 11.6 References 1. Rockwell Automation Publication “Communicating with RA Products Using EtherNet/IP Explicit Messaging.” 2. Secondary information sources are available from: http://www.ethernert-ip.org. SIMATIC VS72X / SIMATIC Spectation...

Table of Contents