Siemens SIMATIC VS120 Operating Instructions Manual
Siemens SIMATIC VS120 Operating Instructions Manual

Siemens SIMATIC VS120 Operating Instructions Manual

Image processing systems vision sensor
Table of Contents

Advertisement

Quick Links

Operating Instructions Edition 02/2006
SIMATIC Sensors Image processing systems Vision Sensor SIMATIC VS120
SIMATIC VS120
Image Processing Systems
simatic sensors
DOCUMENTATION
DOCUMENTATION

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC VS120

  • Page 1 Operating Instructions Edition 02/2006 SIMATIC Sensors Image processing systems Vision Sensor SIMATIC VS120 SIMATIC VS120 Image Processing Systems simatic sensors DOCUMENTATION DOCUMENTATION...
  • Page 3 Introduction Safety instructions Description SIMATIC Sensors Image processing Image processing systems Vision Sensor SIMATIC VS120 Network and system integration Installation Operating Instructions Connecting Commissioning Operation Process interfacing over an automation system (PLC, Alarm, error and system messages Technical data Dimension drawings...
  • Page 4: Edition

    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.
  • Page 5: Table Of Contents

    Performance features ........................ 3-2 Function ............................. 3-3 System components ........................3-4 System requirements ......................... 3-5 Design of the SIMATIC VS120 processing unit ................. 3-6 Design of the sensor head with LED ring flash................3-8 Image processing ........................... 4-1 General information ........................4-1 Shutter Speed and Brightness ....................
  • Page 6 9.3.9 Stop ............................9-51 Process interfacing over an automation system (PLC, PC) ..............10-1 10.1 Integrating the PROFIBUS DP slave SIMATIC VS120 in HW Config ........10-1 10.2 Integrating the PROFINET IO device SIMATIC VS120 in HW Config........10-4 10.3 Control over the "DI/DO"...
  • Page 7 Error information ........................10-20 10.6 Sample programs........................10-21 10.6.1 Example 1: Program for interfacing the SIMATIC VS120 processing unit with a SIMATIC controller using FB1 ....................10-21 10.6.2 Example 2: Program for archiving diagnostic information on a PC/PG ......... 10-23 Alarm, error and system messages ......................
  • Page 8 Table of contents Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 9: Introduction

    Scope of this manual The manual is valid for all supplied versions of the SIMATIC VS120 Vision Sensor system and the processing unit with order number (MLFB) 6GF1 018-2AA10. Vision Sensor SIMATIC VS120...
  • Page 10 Introduction Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 11: Safety Instructions

    Contact your technical support team or where you purchased your device to find out which system expansion devices may safely be installed. Caution If you install or exchange system expansions and damage your device, the warranty becomes void. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 12 Safety instructions Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 13: Description

    Description Product description The SIMATIC VS120 Vision Sensor is used for the optical detection and testing of objects with lighting from above. The SIMATIC VS120 Vision Sensor checks whether or not the correct object is being tested, whether or not it is damaged and the position of the object.
  • Page 14: Performance Features

    • Control via Digital I/O, PROFIBUS DP and PROFINET IO • Result output via: – PROFIBUS DP – PROFINET IO – RS-232 port of an RS-232 Ethernet converter – TCP/IP connection of the PC / PG Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 15: Function

    Function Testing correctness of individual characteristics of the specimen 64 models are available for the recognition of specimens. The SIMATIC VS120 checks whether or not the individual characteristics of the specimens have the same shape as the in the trained model.
  • Page 16: System Components

    Description 3.4 System components System components SIMATIC VS120 Vision Sensor full package comprising: • Sensor • Processing unit • Lighting • Cable Figure 3-1 Example of a typical system configuration with conveyor system Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 17: System Requirements

    Description 3.5 System requirements System requirements You require the following hardware and software components for the SIMATIC VS120 Vision Sensor system: Hardware • SIMATIC VS120 processing unit • Sensor head with CCD sensor chip for detection of the object • LED ring flash for SIMATIC VS with degree of protection IP65 (not included in every full package), for optimum illumination of the object •...
  • Page 18: Design Of The Simatic Vs120 Processing Unit

    General fault POWER Green Power supply is turned on TRAINED Green Selected model has been trained off = device startup or SIMATIC VS120 in Stop READY Green • on = SIMATIC VS120 in Run • Green Result good: Model was recognized...
  • Page 19 Description 3.6 Design of the SIMATIC VS120 processing unit LCD display and keypad Item Designation Meaning Displays menu commands (lines 1 to 3) and the keys display that are currently available (line 4) Keypad Navigation from menu to menu and within the menus...
  • Page 20: Design Of The Sensor Head With Led Ring Flash

    Design of the sensor head with LED ring flash Sensor head with LED ring flash Item Meaning Circular connector M12 Sensor head LED ring flash (not supplied with all full packages) Lens, permanently installed and non-adjustable (fixed focus version) Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 21: Image Processing

    If the object is not recognized, the position at the top left is output for x / y. The user should always query whether or not this is an OK / N_OK evaluation and not rely on the x / y positions! Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 22: Shutter Speed And Brightness

    Below, you will find examples of different shutter speeds and disturbing contours: 4.2.1 Different exposures and brightnesses Correct exposure Shutter speed: 3800 Brightness: 357 Overexposure Shutter speed: 6000 Brightness: 357 Shutter speed: 3800 Brightness: 500 Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 23: Disturbing Contours Caused By Shine

    Unwanted edge lines In the trained model shown here, you can see unwanted edge lines that reduce quality during the search and recognition and therefore ought to be avoided. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 24 • Blurring due to motion if the shutter speed is too slow for moving parts There are functions and parameters in the SIMATIC VS120 Vision Sensor to reduce the negative effects of such interference in recognizing parts. They help to create optimal edges from the image to generate patterns.
  • Page 25: Generating Models And Detecting Orientation

    – The angle precision can be increased to < 1° with the "Angle Precision" parameter in "Options - Extras tab". Note If the setting is "Fine1" and the model is large, the processing times may be several seconds. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 26: Measures For Optimizing Object Recognition

    The observer no longer examines each sheet in detail because he has already limited the selection. The algorithm of the SIMATIC VS120 Vision Sensor works in much the same way as the example described above.
  • Page 27: Quality Of The Measured Values

    In this case, the shape of the specimens and the angle between the camera level and pattern level are the factors that determine whether or not the specimens can be recognized. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 28: Geometric Distortion

    The following table shows which actual length corresponds to the side length of a pixel. Remember that this value applies only for the specified image width. The sensor heads 6GF2 002-8DA (SIMATIC VS120 for large specimens) and 6GF2 002-8EA (SIMATIC VS120 for small specimens) were based on the maximum possible image widths.
  • Page 29: Example: Main Roi And 3 Sub-Rois

    Example: Main ROI and 3 sub-ROIs Example: Main ROI and 3 sub-ROIs Task description: The task is to check whether the Siemens logo was printed completely. In the image on the left, you can see the edges marked for sub-ROI3. The main ROI is the large window, while sub-ROI1 encompasses "SIE"...
  • Page 30: Example Of The Influence Of Sub-Rois On The Quality Value

    If only one main ROI is used, the cumulative quality corresponds to the quality of the main ROI. If sub-ROI and main ROI are used, the cumulative quality is calculated from the average of the sub-ROI qualities. Vision Sensor SIMATIC VS120 4-10 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 31 Specimen 2: Job: Without sub-ROIs With sub-ROIs Identify < 100 % < 100 % Find = 100 % = 100 % Vision Sensor SIMATIC VS120 4-11 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 32 = 100 % Find < 100 % = 100 % Specimen 5: Job: Without sub-ROIs With sub-ROIs Identify < 100 % < 100 % Find = 100 % = 100 % Vision Sensor SIMATIC VS120 4-12 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 33: Job Parameter

    If "Identify" is set, the quality value will be lower because the additional edges of the fourth hole do not have corresponding edges in the reference image. Vision Sensor SIMATIC VS120 4-13 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 34 Trained sub-ROI "Find" job. Result: Quality 99.3% "Identify" job. Result: Quality 69% The additional edges of the object pattern that are not included in the reference pattern can be clearly seen. Vision Sensor SIMATIC VS120 4-14 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 35 "Identify" for the additional sub-ROI. The following result is then achieved: Quality value of the additional sub-ROI: 69.3% Changes can now no longer be reliably detected with an increased quality limit. Vision Sensor SIMATIC VS120 4-15 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 36: Search Parameter

    = maximum value for the position beyond the edge of the image OK = position for processing OK N_OK = position for processing not OK 1) = center point of the pattern 2) = image area Vision Sensor SIMATIC VS120 4-16 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 37: Model Type Parameter

    • Edges if prominent edges of the specimen are important for processing. Edges is the default value • Area if all the edges in the specimen are weighted the same for processing. Vision Sensor SIMATIC VS120 4-17 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 38 "Edge" should be set as the model type. "Edge“ model type parameter Result: Quality value 53% "Area“ model type parameter If you want all areas to be weighted the same, select "Area". Result: Quality value 76.5% Vision Sensor SIMATIC VS120 4-18 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 39: Model Sets

    Model sets 4.10 Features • The model sets functions enables the SIMATIC VS120 Vision Sensor to classify (sort) parts. • Classification involves individual examination of the models in the model set. Classification is considered successful if at least one of these models is evaluated as OK.
  • Page 40 • The first captured image contains the "SIEMENS" specimen. The contours of the specimen match those in the "SIEMENS“ model, but deviate strongly from the contours of the "COMPANY“ model. The VS120 processing unit delivers the result, OK, and the number of the "SIEMENS“...
  • Page 41 • The next captured image contains the "COMPANY" specimen. The contours of the specimen match those in the "COMPANY“ model, but deviate strongly from the contours of the "SIEMENS“ model. The VS120 processing unit delivers the result, OK, and the number of the "COMPANY“ model.
  • Page 42 Image processing 4.10 Model sets Vision Sensor SIMATIC VS120 4-22 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 43: Network And System Integration

    Network and system integration Overview The SIMATIC VS120 system can be configured as follows for the acquisition and processing of recognition values: • System configuration with digital I/O • PROFIBUS DP environment • PROFINET IO environment • System configuration Ethernet (TCP / IP) or RS-232, for example, via Com server...
  • Page 44: System Configuration Over Digital I/O

    • The connection to an automation system is established via digital I/Os. • The SIMATIC VS120 is controlled by the automation system via digital I/Os. • The OK or N_OK results of the specimen are passed to the automation system via digital I/Os.
  • Page 45: Profibus Dp System Configuration

    • The connection to an automation system is established via PROFIBUS DP. • The SIMATIC VS120 is controlled by the automation system via PROFIBUS DP. • The results from the specimen are output to the automation system via PROFIBUS DP.
  • Page 46: Profinet Io System Configuration

    • There is also a connection to a PROFINET IO compliant automation system via Ethernet and a switch. • The SIMATIC VS120 is controlled by the automation system. • The results from the specimen are output to the automation system via PROFINET IO.
  • Page 47: System Configuration With Ethernet Or Rs-232 Over Com Server

    System features: • The PC / PG for adjustment support is connected to the processing unit via a network. • The SIMATIC VS120 is controlled by the HMI. • The results from the specimen are output to the HMI. Vision Sensor SIMATIC VS120...
  • Page 48 • The PC / PG for adjustment support is connected to the processing unit via a network. • The results are output to the HMI via the RS-232 port of the Com server, for example W&T. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 49: Installation

    Installation Installing the SIMATIC VS120 processing unit Dimensional Drawing of the SIMATIC 1. For the location of the fixing holes, refer to the VS120 Processing Unit 2. Mount the processing unit so that it is easily accessible for the operator...
  • Page 50 1. Screw the mounting bracket onto the LED ring sensor 2. Push the sensor head through the LED ring sensor 3. Guide the mounting brackets into the grooves of the sensor head 4. Secure the mounting bracket with screws. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 51 If the object causes interfering reflections when the LED ring flash is mounted on the sensor head, mount the LED ring flash beside the sensor head. Figure 6-2 Components with ring light Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 52 Installation 6.2 Installing the sensor head with LED ring flash Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 53: Connecting

    Guidelines on installation when using PROFIBUS DP or PROFINET IO If you are using PROFIBUS DP or PROFINET I/O to control the device and/or to transfer the results the installation and configuration guidelines must be kept to. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 54: Connecting Components

    Caution Do not connect or disconnect cables when the power supply is on. Warning Grounding the SIMATIC VS120 cancels the ungrounded configuration of the power unit. Note The DC load power supply must meet the following requirements: Only a safe, isolated extra-low voltage of 24 V DC may be used as the load current supply.
  • Page 55 • Connect the processing unit to the 24 V DC load power supply with I = 2 A. • Connect the PC/PG to the processing unit using an Ethernet cable. • Arrange the cabling according to your configuration. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 56 Connecting 7.3 Connecting components Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 57: Commissioning

    2. Click on System > Local Users and Groups > Groups > Administrators If you are included in the group of administrators, you have administrator privileges. Otherwise contact your network administrator. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 58: Overview Of The Steps In Commissioning

    2.3 If a proxy server is being used: Change the proxy configuration of your Internet Explorer Establish and check the connections Start adjustment support over the Internet Explorer Adjust the sensor head using adjustment support Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 59: Turn On The Vs120 Processing Unit

    Confirm this with "OK.“ Once the self-test is completed, "Adjust" appears on the LCD display. Normal mode: Each time the SIMATIC VS120 starts up, the VS120 processing unit runs the following self- test: • Test of the stored settings and model data •...
  • Page 60 • "Adjust" displayed on the LCD display: • "RUN" menu: Note Apart from controlling from the VS120 processing unit, you can also control SIMATIC VS120 with the adjustment support. Next step Establish an Ethernet connection between the Perform the activities described in the section...
  • Page 61: Establish An Ethernet Connection Between The Processing Unit And Pg / Pc

    You should therefore only connect the VS120 processing unit to the network after you have completed configuration and checked your settings carefully. Next step Select one of the connection variants from the next sections. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 62: Operating The Vs120 Processing Unit As A Dhcp Server

    2. Confirm the selected "Ports" menu command with "OK". 3. Change to the "Ethernet" menu and confirm with "OK" 4. Confirm the selected "IP Mode" menu command with "OK". 5. Select "DHCPSERV" and confirm with "OK" Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 63: Connecting The Vs120 Processing Unit Manually

    IP setting of the PC / PG". Procedure 1. Check the IP setting of the PC / PG 2. Configure the VS120 processing unit manually 3. Establish an Ethernet connection Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 64 1. Establish an Ethernet connection between the VS120 processing unit and PC / PG. Use a network cable of the type "Ethernet RJ-45 (crossover)" Next step Check the connection Perform the activities described in the section Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 65: Integrating The Vs120 Processing Unit As A Dhcp Client In A Network

    3. Select "Properties" in the context menu and select the "Internet Protocol (TCP/IP)" entry. 4. Click the "Properties" button 5. Select the "Obtain an IP address automatically" radio button Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 66: Integrating The Vs120 Processing Unit As A Device In A Profinet Io Network

    4. Confirm the selected "IP Mode" menu command with "OK". 5. Select "PNIO" and confirm with "OK" Note The VS120 processing reboots after the IP mode is changed to "PNIO". Vision Sensor SIMATIC VS120 8-10 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 67 8.4 Establish an Ethernet connection between the processing unit and PG / PC Step 2: Setting the parameters for the IP configuration of the VS120 processing unit in STEP 7 Integrating the PROFINET IO device SIMATIC VS120 For a description, refer to the section:...
  • Page 68: Check Whether A Proxy Server Is Being Used

    Internet Explorer • If no proxy server is used in the Internet Explorer, skip to the steps described in the Check the connection section Vision Sensor SIMATIC VS120 8-12 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 69: Change The Proxy Configuration Of Your Internet Explorer

    You can also enter computer names in the "Exceptions" area. The computer name is resolved into a static or dynamic IP address by the DNS server in the network. Next step Check the connection Perform the activities described in the section Vision Sensor SIMATIC VS120 8-13 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 70: Check The Connection

    Reply from 192.168.0.2 bytes=32 time<10ms TTL=255 Reply from 192.168.0.2 bytes=32 time<10ms TTL=255 Reply from 192.168.0.2 bytes=32 time<10ms TTL=255 Reply from 192.168.0.2 bytes=32 time<10ms TTL=255 This is followed by the ping statistics for 192.168.0.2. Vision Sensor SIMATIC VS120 8-14 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 71: Start Setup Support Over The Internet Explorer

    4. Note down the IP address of the VS120 processing unit 5. Start the Internet Explorer 6. In the "IP address" input box, enter the IP address of the VS120 processing unit. 7. Press the enter key on the keypad Vision Sensor SIMATIC VS120 8-15 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 72 8.5 Start setup support over the Internet Explorer Result The start page of the "Vision Sensor SIMATIC VS120" adjustment support appears in the Internet Explorer. From here, you have access to all functions required to test the models. Figure 8-3 Home The adjustment support is started with "Adjust Sensor".
  • Page 73: Adjust The Sensor Head Using Setup Support

    Before you commission the "SIMATIC VS120 Vision Sensor", you must adjust the sensor head correctly You do this with the "SIMATIC VS120 Vision Sensor" adjustment support that is available in the Internet Explorer. The adjustment support shows you an image as seen by the sensor head.
  • Page 74 If you have too many errors, clean the lens and diffuser with a lint-free cloth. Result You have successfully commissioned "SIMATIC VS120 Vision Sensor". You can now train Operation and process your models for your application. Refer to the section for more information.
  • Page 75: Operation

    Operation Overview There are two ways of operating the SIMATIC VS120: Working with the VS120 processing • From the VS120 processing unit, see the section: unit Working with adjustment support on the PC • Using adjustment support See the section You can set and change all parameter settings with adjustment support on the PC.
  • Page 76: Adjust

    The Adjust LCD display displays the current IP address. 9.2.3 Connect "Connect" menu The following schematics provide you with an overview of all the parameters of the SIMATIC VS120 that can be set in the Connect menu. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 77 Operation 9.2 Working with the processing unit Figure 9-1 Structure of the Connect menu Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 78 Note: For the pulse time, select a higher value than for the update time of the PROFINET IO system in HW Config. IP mode Ports>Ethernet Assignment of the IP address to the processing unit in the network. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 79 ("IdleStr." menu) to the recipient at the intervals set with the parameter. If the check fails, an error is output (only when the processing unit is in RUN) and the connection is reestablished. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 80 TCP server, the processing unit generates a trigger signal. Debounce Integrate> 0 to 9999 ms 0 ms The function indicates the period for Trigger which triggers are ignored due to debouncing. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 81 Archives • server. None DiagReport Integrate • None This is where you specify if the diagnostic reports should be sent to a Archives • server. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 82 Sub-ROIs Output 0 … 16 This is where you enter the number of sub-ROIs that you wish to transfer. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 83: Run

    Enter the quality value for the evaluation as a percentage. Note: The display is only visible if you are not working with model sets. Info Information function ResetStat Resets all statistical information. Vision Sensor SIMATIC VS120 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 84 9/14 Figure 9-3 Info display for a model from the RUN menu Note "Transient Errors", the last menu command in the RUN menu, only appears when an error occurs. Vision Sensor SIMATIC VS120 9-10 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 85 =300ms 4/14 Since the beginning of the statistical analysis for model 02, the M 02 Cycle shortest evaluation time was 120 ms and the longest 276 ms. min=120ms max=276ms 5/14 Vision Sensor SIMATIC VS120 9-11 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 86 For model 02, the midpoint of the target rectangle has the following M 02 ROI Pos coordinates: x=-2, y=4 cx=−2 cy=4 11/14 For model 02, the target rectangle has the following dimensions: M 02 ROI Dim Width=101, Height=102 width=101 height=102 12/14 Vision Sensor SIMATIC VS120 9-12 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 87 ManuelIP: Display of the IP address of the processing unit in the network. 192.168. 0.42 13/14 Connection interrupted in the PROFIBUS DP or PROFINET IO Transient network. Errors 14/14 ↑ Vision Sensor SIMATIC VS120 9-13 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 88 192.168. 0.42 Transient Errors ↑ Figure 9-4 RUN menu for a model set Note "Transient Errors", the last menu command in the RUN menu, only appears when an error occurs. Vision Sensor SIMATIC VS120 9-14 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 89: Options

    The following schematics provide you with an overview of all the parameters of the SIMATIC VS120 that can be set in the Options menu. Figure 9-5 Structure of the options menu Vision Sensor SIMATIC VS120 9-15 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 90 Note: Deleting takes several seconds. Entries Diagnose> 10 to 2000 2000 Number diagnostic data records that can Logging> be stored on the EEPROM Report> Permanent Vision Sensor SIMATIC VS120 9-16 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 91 • This is where you specify if diagnostic Monitor images, reports and a current image is • to be displayed in processing mode. On: Display • Off: Not displayed • Vision Sensor SIMATIC VS120 9-17 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 92: Maintain

    Maintain> • This function resets the VS120 FactoryS processing unit to the factory settings • and restarts it. Restart Maintain> • This function restarts the VS120 Restart processing unit. • Vision Sensor SIMATIC VS120 9-18 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 93: Working With Setup Support

    Open the Start Page of the adjustment support in the Internet Explorer, refer to the section "Commissioning using adjustment support on the PG / PC with installed Internet Explorer". With “Adjust Sensor”, you display the user interface of the SIMATIC VS120. Note When you open adjustment support, the dialog that opens corresponds to the current operating state of the VS120 processing unit.
  • Page 94 At the same time, the text of the buttons becomes bold and the font color changes to blue. The SIMATIC VS120 Vision Sensor user interface based on the Web server, provides the following dialog boxes for processing images:...
  • Page 95 VS120 processing unit at a glance. The traffic light can have the following states: • Green: VS120 processing mode with results output • Yellow: STOP including adjustment and training • Red: Errors Vision Sensor SIMATIC VS120 9-21 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 96 Changing the language setting At the bottom left, you will see a drop-down list box for language selection. You can change the language setting for the entire user interface at any time. Vision Sensor SIMATIC VS120 9-22 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 97 Web browser and the adjustment support. Help At the bottom right, you will see a “Help” button with which you can call up online help at any time. Vision Sensor SIMATIC VS120 9-23 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 98: Adjust Sensor

    Adjust Sensor In this dialog, you make the basic settings for processing the image. Figure 9-9 Adjustment Settings This is where you enter the parameters for image capture and processing. Vision Sensor SIMATIC VS120 9-24 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 99: Connections

    • Part 1/3: Interfaces • Part 2/3: Integration • Part 3/3: Version Part 1/3: Interfaces Here, you specify the communication ports and the parameters for the ports. Figure 9-10 Connections - Ports tab Vision Sensor SIMATIC VS120 9-25 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 100 This is where you specify the path over which signals are sent to the VS120 processing unit and over which path the results are output. Figure 9-11 Connections - Integration tab Vision Sensor SIMATIC VS120 9-26 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 101: Train

    Connections - Output tab 9.3.4 Train When a model is transferred, the SIMATIC VS120 Vision Sensor learns the significant characteristics (edges) of the model's main ROIs and Sub-ROIs for subsequent processing of the specimen. After selecting Training, five tabs appear: •...
  • Page 102 9.3 Working with setup support Part 1/5: Selection You can set the parameters for models, images and manual trigger in the "Training - Selection tab". Figure 9-13 Training - Selection tab Vision Sensor SIMATIC VS120 9-28 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 103 • The outside edges of the main ROI should be very close to the model to obtain a good evaluation of the image. • The sub-ROIs will only be found if the quality of the main ROI is better than the defined quality limit (Q Limit). Vision Sensor SIMATIC VS120 9-29 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 104 • In this selection list and in the selection lists of the other tabs, the currently selected ROI is shown as follows: – Non-selected ROIs are dashed – Selected ROIs are solid – Selected and editable ROIs are solid and provided with marking points Vision Sensor SIMATIC VS120 9-30 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 105 On the left, you can see various brush thicknesses that can be selected by clicking on them. The erasures made in the currently selected ROI can be removed with the "Reset" button. Vision Sensor SIMATIC VS120 9-31 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 106 • Separate statistics are kept • There is no output to the port • Models are evaluated but not model sets. Figure 9-16 Training - Test tab Vision Sensor SIMATIC VS120 9-32 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 107: Processing

    • A table below the current image shows the result of the most recent evaluation. The content of the table can be configured with a drop-down list next to the current image. Vision Sensor SIMATIC VS120 9-33 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 108 The "Model Set" drop-down list appears when the "Multimodel - Use" is set to "On" in the "Options - Extras" tab . This is equivalent to classification mode. Normal mode during test and recognition Figure 9-18 Processing in normal mode Vision Sensor SIMATIC VS120 9-34 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 109 – : Edges below the threshold value appear in red – Example of processing results for testing and recognition in normal mode Figure 9-19 Info pages: Processing in normal mode Vision Sensor SIMATIC VS120 9-35 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 110 • Information about the best model, the individual models and any sub-ROIs in the models is also displayed. • The quality is displayed color-code based on the results. Vision Sensor SIMATIC VS120 9-36 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 111: Options

    The “Options” dialog is made up of the following four parts: • Part 1/4: Training • Part 2/4: Security • Part 3/4: Diagnostics & Monitoring • Part 4/4: Extras Vision Sensor SIMATIC VS120 9-37 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 112 Otherwise, the default values here are used for training. Note The setting for the "Precision" depends on the setting for the precision in the "Adjustment". Vision Sensor SIMATIC VS120 9-38 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 113 In the Security tab, the administrator specifies which user is permitted to execute which tasks and can, when necessary, change the passwords of the users. The permissions can only be changed with administrator privileges. Figure 9-23 Options - Security tab - user rights Vision Sensor SIMATIC VS120 9-39 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 114 Web browser and the adjustment support. In the “Log on” box, you can change these permissions by selecting a user from the “User” drop-down list box and logging on with the correct password. Vision Sensor SIMATIC VS120 9-40 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 115 The rows of the table contain the possible tasks and the columns the possible users. Note If the DISA bit is set, in other words, when SIMATIC VS120 Vision Sensor is controlled by a programmable controller, you must log on at the VS120 processing unit as follows: 1.
  • Page 116 9.3 Working with setup support Part 3/4: Diagn. & Monitoring In Options - Diagnostics & Monitoring, you specify the information to be stored for diagnostic purposes. Figure 9-24 Options - Diagnostics & Monitoring tab Vision Sensor SIMATIC VS120 9-42 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 117: Information

    Options - Extras tab 9.3.7 Information The Information dialog consists of four parts: • Part 1/4: Statistics • Part 2/4: Model • Part 3/4: Diagnostics • Part 4/4: Device Info Vision Sensor SIMATIC VS120 9-43 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 118 The list box contains the names of the main ROIs and sub-ROIs of the models. For each main ROI and sub-ROI, you can display the results for OK, Warn and N_OK. Vision Sensor SIMATIC VS120 9-44 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 119 In contrast to normal mode, the following statistics results are displayed: • No results for the sub-ROIs. • The frequency of the models recognized with OK for the models included in the model set. Vision Sensor SIMATIC VS120 9-45 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 120 Operation 9.3 Working with setup support Part 2/4: Model This part of the dialog shows you all the existing information on the selected model. Figure 9-28 Information - Model tab Vision Sensor SIMATIC VS120 9-46 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 121 In this part of the, you can display, delete and save and open diagnostics images and diagnostics reports. Figure 9-29 Information - Diagnostics tab Note The persistent data records option is enabled, when necessary, in the Options - Extras tab Vision Sensor SIMATIC VS120 9-47 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 122 Part 4/4: Device Info This part of the dialog provides you with information on the processing unit, the firmware and the sensor head. Figure 9-30 Information - Device Information tab Vision Sensor SIMATIC VS120 9-48 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 123: Maintain

    9.3 Working with setup support 9.3.8 Maintain The Maintain dialog offers options for deleting, configuring, saving and restoring models and resetting the SIMATIC VS120 to the original factory state. You can also perform any required firmware update in the Maintain dialog. Figure 9-31 Maintain...
  • Page 124 The “Firmware update” button opens a Web page where you can update the firmware. Note If you control the SIMATIC VS120 from an automation system, make sure that the DISA bit is not set during the firmware update. This prevents a programmable controller from changing the VS120 processing unit to RUN.
  • Page 125: Stop

    Operation 9.3 Working with setup support 9.3.9 Stop When you call this dialog, you change the VS120 processing unit to STOP mode. Figure 9-33 Stop Vision Sensor SIMATIC VS120 9-51 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 126 Operation 9.3 Working with setup support Vision Sensor SIMATIC VS120 9-52 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 127: Process Interfacing Over An Automation System (Plc, Pc)

    Module catalog of HW Config Notice If you have a STEP 7 version earlier than V5.3 SP1, the SIMATIC VS120 Vision Sensor is not yet included in the module catalog of HW Config. You will first need to add the GSD file of the SIMATIC VS120 Vision Sensor with Extras >...
  • Page 128 In the configuration example above, the control byte of the SIMATIC VS120 was set to output address 0 and the status byte of the SIMATIC VS120 was set to input address 0 of the CPU (DP master, slot 1). If these addresses are in the process image of OB1 (process image partition "OB1 PI"), you can work here in OB1 with process image access (for...
  • Page 129 PROFIBUS DP address of the SIMATIC VS120 processing unit The PROFIBUS DP address of the SIMATIC VS120 processing unit is set in the menu Settings > Ports > DP Addr. of the processing unit. Possible values are 1 to 125.
  • Page 130: Integrating The Profinet Io Device Simatic Vs120 In Hw Config

    Module catalog of HW Config Notice If you have a STEP 7 version earlier than V5.4, the SIMATIC VS120 Vision Sensor is not yet included in the module catalog of HW Config. You will first need to add the GSD file of the SIMATIC VS120 Vision Sensor with Extras >...
  • Page 131 In the configuration example above, the start of the 16 word long consistent communication area of the SIMATIC VS120 Vision Sensor was set to input address 256 and output address 256 (slot 2). If these addresses are in the process image of OB1 (process image partition "OB1-PI"), you can work in OB1 with process image access (for example "LIW 2", "TQB 1")
  • Page 132 When you are done, save and compile the hardware configuration. 2. Inform the SIMATIC VS120 processing unit of the device name you just specified. This is possible in three ways: – In HW Config, select PLC > Ethernet > Edit Ethernet Node... and click the "Browse"...
  • Page 133: Control Over The "Di/Do" I/O Interface

    • 1 = Model/model set can be run • Ready: READY 0 = Device startup or SIMATIC VS120 in Stop • 1 = SIMATIC VS120 in processing mode (Run) • Model was recognized: 1 = OK during debounce pulse time •...
  • Page 134 = depending on model/model set. This process may take a few minutes. Note Only 15 models can be selected. If there is a larger number of models, the selection must be made using model sets. Vision Sensor SIMATIC VS120 10-8 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 135 The model changeover is completed after RDY=1 approximately 150 ms to a few minutes (depending on the model/model set). Note If the selected model has not been trained, TRD and RDY retain the value 0. Vision Sensor SIMATIC VS120 10-9 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 136: Control Over Profibus Dp And Profinet Io

    SFC14 "DPRD_DAT" during the data transfer from the "Send" user data interface of the SIMATIC VS120 processing unit to the PROFIBUS DP master to ensure data consistency. In the opposite direction, SFC15 "DPWR_DAT" must be used for data transmission from the PROFIBUS DP master to the "Receive"...
  • Page 137: Assignments For Profibus Dp / Profinet Io-Relevant Interfaces For The Processing Unit

    Trigger: Image recording and start of processing Reset: Reset error on positive-going edge Note The TRG and RES signals (bits no.6 and 7) are effective regardless of the DISA signal (bit no. 0). Vision Sensor SIMATIC VS120 10-11 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 138: Status Byte

    Bit no. Signal Function IN_OP In operation: 0 = SIMATIC VS120 starting up or error message is displayed. 1 = SIMATIC VS120 functional, no errors Trained: 0 = Model/model set cannot be run. • 1 = Model/model set can be run.
  • Page 139 31 + n × 14 32 + n × 14 to REAL nth sub-ROI angle 35 + n × 14 Value relates to the total result with main ROI and all sub-ROIs Vision Sensor SIMATIC VS120 10-13 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 140: User Data Interface "Receive" Automation System >>> Vs120 Processing Unit

    This mechanism must be used with every transfer, even if only one block of data is transferred. Note With handshakes, the data transfer must be constant at 32 bytes (inputs and outputs). Vision Sensor SIMATIC VS120 10-14 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 141 Poll byte 1 of the "Send" user data interface. As long as this byte has the value 0, there is no new data. If it has the value 1, go to step 2. The value 1 in byte 1 of the “Send” user data interface means: The SIMATIC VS120 has started data transmission.
  • Page 142: Function Block Fb1

    10.5 Function block FB1 10.5 To simplify operation of the functions of SIMATIC VS120 Vision Sensor, there is a function block FB1 for IO operations. In addition to the SIMATIC S7 system mechanisms for the integration of SIMATIC VS120 Vision Sensor in a PROFIBUS DP or PROFINET IO environment, FB1 simplifies the software integration in control programs.
  • Page 143: Parameter

    Parameters Decla- Data Description ration type LADDR_ INPUT Address of the control byte of the SIMATIC VS120 CONTROL interface entered in Connection Controller. This parameter must be interconnected! LADDR_ INPUT Address of the status byte of the SIMATIC VS120 STATUS interface entered in Connection Controller.
  • Page 144 • W#16#2xyz: Processing unit error • W#16#8xyz: Error messages of internal SFCs • MODEL_OUT OUTPUT BYTE Number of the currently selected model LENGTH OUTPUT Length of the result in bytes Vision Sensor SIMATIC VS120 10-18 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 145: Operator Control

    • If MODEL = 0, the last selected model is retained. 0 is output at the MODEL_OUT output. Reset • When errors are reset, the SIMATIC VS120 module errors (IN_OP = 0) and the FB1 transmission errors are reset. Triggering •...
  • Page 146: Error Information

    Note It is recommended to always evaluate the IN_OP bit. Vision Sensor SIMATIC VS120 10-20 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 147: Sample Programs

    Sample programs 10.6 We have written the following example programs for you: • Example 1: Program for interfacing the SIMATIC VS120 processing unit with a SIMATIC controller using FB1 • Example 2: Program for archiving diagnostic information on a PC/PG 10.6.1...
  • Page 148 Process interfacing The SIMATIC VS120 processing unit is connected over PROFIBUS DP or PROFINET IO to a programmable controller. If a photoelectric barrier or a proximity switch is used for triggering, the trigger signals must be read by a digital input module. The received data is stored in data block DB10 in bytes 1 to 245.
  • Page 149: Example 2: Program For Archiving Diagnostic Information On A Pc/Pg

    VS120 processing unit. The transfer of the diagnostic data begins after the connection has been established. • The file names have the following structure: – csv files: diagrecs_<date>_<time>.csv – Bitmaps: diagimg_<date>_<time>.bmp – Details of the image: diagimg_<date>_<time>.txt Vision Sensor SIMATIC VS120 10-23 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 150 Process interfacing over an automation system (PLC, PC) 10.6 Sample programs Vision Sensor SIMATIC VS120 10-24 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 151: Alarm, Error And System Messages

    Overview 11.1 With certain operator input and if an error occurs in the processing, the SIMATIC VS120 provides you with diagnostic information. This is achieved as follows: • Information on error diagnostics and error messages of the processing unit and setup support •...
  • Page 152 If necessary, check the network connection. Vision Sensor SIMATIC VS120 11-2 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 153 Make sure that the Error PROFIBUS DP parameters for communication. communication over PROFIBUS DP and the communication partners are correctly configured and active. Check the connection to the DP master. Vision Sensor SIMATIC VS120 11-3 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 154 TCP an adequately short time connection, the and that the protocol is server does not maintained. respond within the set time limit or violates the archiving protocol. Vision Sensor SIMATIC VS120 11-4 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 155 Make sure that the Error in PROFINET IO parameters for communication communication over PROFINET IO and the communication partners are correctly configured and active. Check the connection to the IO controller. Vision Sensor SIMATIC VS120 11-5 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 156 (if applicable when obtaining the IP check the network connection. address from the DHCP server). With ESC, you can skip connection establishment (or it continues in the background). Vision Sensor SIMATIC VS120 11-6 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 157 "OK" leads to a restart. If you press "ESC", the change is not applied and no restart occurs. This will If you change the current parameter, the reset configured trigger delay source is reset to DelaySrc "manual". Vision Sensor SIMATIC VS120 11-7 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 158 Check whether you could work with lower precision. Error information FB1 Control over an automation system (PLC, PC) / function block FB1 See the section Vision Sensor SIMATIC VS120 11-8 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 159 During operation, new project engineering data is transferred to the CPU with HW Config. The CPU then terminates the connection to the slaves and restarts communication with PROFIBUS DP. This is noted on the SIMATIC VS120 Vision Sensor and the error messages are incremented as temporary errors.
  • Page 160: Diagnostics Based On The "Bf" Led

    "BF" LED with PROFIBUS DP "BF" LED Meaning if an error occurs Remedies Check that the bus connector is correctly SIMATIC VS120 is not in the data • inserted. exchange phase but is searching for the transmission rate Check that there is no break on the •...
  • Page 161: Slave Diagnostics Or /O Device Diagnostics

    The entry "Module fault" appears in the diagnostic buffer and the relevant text from the GSD file is shown as the module status of the SIMATIC VS120, for example "Sensor not found". When the error is eliminated (in the example: you have inserted the sensor again) and acknowledged this on the processing unit, the diagnostic interrupt OB (OB82) is started again on the DP master or IO controller.
  • Page 162 No external error The entry "Module OK" now appears in the diagnostic buffer in PROFIBUS DP and the error text from the GSD file is no longer shown as the module status of the SIMATIC VS120. Diagnostics for PROFIBUS DP Reading the diagnostics data (slave diagnostics) with the SFC13 "DPNRM_DG"...
  • Page 163 Bit 0 = 1 for alarm entering state • Bit 0 = 0 for alarm exiting state • Bit 1 to 7: In each case 0 • 26 to 27 W#16#80ED PROFIBUS identification number (fixed) Vision Sensor SIMATIC VS120 11-13 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 164 According to standard Master PROFIBUS DP address B#16#80 Manufacturer ID (high byte) B#16#ED Manufacturer ID (low byte) B#16#05 Length of the SIMATIC VS120-specific diagnostic data including this byte SIMATIC VS120 Diagnostic byte 0 (bit 1 "Sensor not found") ® SIMATIC...
  • Page 165 (alarm status information) for PROFINET IO: Note Only bytes 0 to 25 of the AINFO parameter are written for alarms exiting state (see also the meaning of bytes 2 and 3 of AINFO). Vision Sensor SIMATIC VS120 11-15 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 166 Status-related reading of the diagnostic data is performed using SFB52 "RDREC". SFB52 is called as follows: • Assign the diagnostic address of the SIMATIC VS120 to the parameter ID in hexadecimal format. • Assign the INDEX parameter the value 2.
  • Page 167 W#16# 0000 Channel number 18 to 19 W#16#0805 / W#16#1005 Content identical to bytes 12 and 13 20 to 21 Value from the table in Error ID for occurring error messages Vision Sensor SIMATIC VS120 11-17 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 168 Alarm, error and system messages 11.4 Slave diagnostics or /O device diagnostics Vision Sensor SIMATIC VS120 11-18 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 169: Technical Data

    12.1 Power supply Supply voltage (UN) 24 V DC; (20.4...28.8 V DC, safety extra low voltage, SELV). SIMATIC VS120 does not have integrated protection against surge in the μs range (surge pulse). For external measures, see EMC. Input voltage protected against polarity •...
  • Page 170 EN 55022: Class B. Transport and Storage of Modules With regard to transportation and storage conditions, the SIMATIC VS120 surpasses the requirements specified in IEC 61131-2. The following conditions apply to modules that are transported and stored in the original packaging.
  • Page 171 Technical data 12.1 General technical specifications Mechanical Environmental Conditions for Operation SIMATIC VS120 is designed for fixed installation in an environment protected from the weather and meets the conditions for use complying with DIN IEC 60721-3-3: Class 3M3 (mechanical requirements);...
  • Page 172 ≤ 50 V 350 V 50 V < U ≤ 100 V 700 V 100 V < U ≤ 150 V 1300 V 150 V < U ≤ 300 V 2200 V Vision Sensor SIMATIC VS120 12-4 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 173: Technical Specifications Of Simatic Vs120

    Technical data 12.2 Technical specifications of SIMATIC VS120 12.2 Technical specifications of SIMATIC VS120 12.2 Lighting unit LED ring flash LEDs, wavelength 630 nm (red) • Ring flash with flash duration of 20 μs ... 10 ms, diffuse • DIN EN 60825-1:1994+A11:1996+A2:2001 •...
  • Page 174 Technical data 12.2 Technical specifications of SIMATIC VS120 Processing unit Operator controls 4-row text display and 6 control buttons Training new models and model Models can be trained. sets Number of models that can be 64 different models in 15 model sets; can be selected with...
  • Page 175 Technical data 12.2 Technical specifications of SIMATIC VS120 Side length of a pixel Graphic Actual length Actual length width at a resolution at a resolution of 640 × 480 of 640 × 480 SIMATIC VS120 70 mm 70/640 mm 70/320 mm...
  • Page 176: Port Assignment Of The Processing Unit

    Select 0: Model selection: Bit 0 Input Brown SEL1 Select 1: Model selection: Bit 1 Input Green SEL2 Select 2: Model selection: Bit 2 Input Orange SEL3 Select 3: Model selection: Bit 3 Input Yellow Vision Sensor SIMATIC VS120 12-8 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 177 Reset: Reset error Input Violet IN_OP In operation: Output White-black 0 = SIMATIC VS120 starting up or • error message is displayed. 1 = SIMATIC VS120 functional, no • errors Trained: Selected model has been trained. Output White-brown...
  • Page 178 Name Function TxD + Send data + TxD - Send data - RxD + Receive data + Not used Not used RxD - Receive data - Not used Chassis, non-floating Vision Sensor SIMATIC VS120 12-10 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 179: Dimension Drawings

    Dimension drawings 13.1 SIMATIC VS120 processing unit 13.1 Figure 13-1 Processing unit • Intended fixing screws M4×12 or longer • Permitted, static bending radii with: – Power supply cable with a minimum radius of 40 mm – Illumination cable with a minimum radius of 25 mm –...
  • Page 180: Simatic Vs120 Sensor Head

    Dimension drawings 13.2 SIMATIC VS120 sensor head 13.2 SIMATIC VS120 sensor head 13.2 Figure 13-2 Sensor head Figure 13-3 Mounting plate for sensor head 1) press-in nut M4 2) press-in bolt M4 x 22 Vision Sensor SIMATIC VS120 13-2 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 181: Simatic Vs120 Lighting Unit

    Dimension drawings 13.3 SIMATIC VS120 lighting unit 13.3 SIMATIC VS120 lighting unit 13.3 Figure 13-4 Lighting unit 1) M4 screw 2) Mounting bracket for mounting the sensor head Vision Sensor SIMATIC VS120 13-3 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 182 Dimension drawings 13.3 SIMATIC VS120 lighting unit Vision Sensor SIMATIC VS120 13-4 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 183: Scope Of Delivery/Spares/Accessories

    Ethernet, and parameter assignment • Cables to connect the individual components • Documentation package Documentation package The SIMATIC VS120 documentation package comprises: • Operating Instructions (compact) for SIMATIC VS120 as hard copy version in the languages – German – English – Spanish –...
  • Page 184: Full Packages

    14.2 The following tables list the order numbers (MLFB) of the full packages and the individual components. 6GF1 120-1AA SIMATIC VS120 full package, field of view 70 x 50 mm, cable 2.50 m 6GF1 018-2AA10 SIMATIC VS120 processing unit 6GF2002-8DA01...
  • Page 185 Scope of delivery/Spares/Accessories 14.2 Full packages 6GF1 120-2AA SIMATIC VS120 full package, field of view 40 x 30 mm, cable 2.50 m 6GF1 018-2AA10 SIMATIC VS120 processing unit 6GF2002-8EA01 Sensor head with mounting plate (A5E00190326), degree of protection IP 65,...
  • Page 186: Accessories

    For other accessories such as IP65 lens protective housing, protective housing, LED ring light, sensor head holder, and sensor head holder and sensor head holder (solid), refer to: • Simatic Sensors catalog, order number E86060-K8310-A111-A2SIMATIC SENSORS; • On the Internet at http://www.automation.siemens.com/simatic-sensors or http://www.siemens.com/automation/mall. Vision Sensor SIMATIC VS120...
  • Page 187: C-Mount Lens And Inspection Window Size

    1,70 6GF9 001-1BK01 75, 1:2,8 1,80 6GF9 001-1BK01 75, 1:2,8 1,90 6GF9 001-1BK01 75, 1:2,8 2,00 6GF9 001-1BK01 75, 1:2,8 2,10 6GF9 001-1BK01 75, 1:2,8 2,20 6GF9 001-1BK01 75, 1:2,8 Vision Sensor SIMATIC VS120 14-5 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 188 50 and extender 001-1BV 2,80 6GF9 001-1BJ01 and 6GF9 50 and extender 001-1BV 2,90 6GF9 001-1BJ01 and 6GF9 50 and extender 001-1BV 3,00 6GF9 001-1BJ01 and 6GF9 50 and extender 001-1BV Vision Sensor SIMATIC VS120 14-6 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 189: Service & Support

    • You can send a support query to: http://www.siemens.de/automation/support-request • The online catalog and the online ordering system is available at: www.siemens.de/automation/mall • For further information on factory automation sensors, visit http://www.siemens.de/simatic-sensors Vision Sensor SIMATIC VS120 15-1 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 190 Service & Support 15.2 Service and support Vision Sensor SIMATIC VS120 15-2 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 191: Directives And Declarations

    Directives and declarations CE Label SIMATIC VS120 meets the requirements and protective aims of the following EU directive. EMC Directive The devices meet the requirements of the EC directive “89/336/EEC Electromagnetic Compatibility” (modified by 91/263/EEC, 92/31/EEC and 93/68/EEC) and are designed according to the CE marking for use in an industrial environment.
  • Page 192 DIN ISO 9001 certificate The quality assurance system for the entire product process (development, production, and marketing) at Siemens fulfills the requirements of ISO 9001 (corresponds to EN29001: 1987). This has been certified by DQS (the German society for the certification of quality management systems).
  • Page 193: Glossary

    Buses are characterized by the number of bits they can transfer at any one time. There are serial bus systems (one bit after the other) and parallel bus systems (multiple bits simultaneously over several lines). Byte Binary term Vision Sensor SIMATIC VS120 Glossary-1 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 194 (multiple input). Since the discovery of the phenomenon, various hardware and software solutions have been developed. Counteracting this effect is known as debouncing (debouncing circuit or routine). Vision Sensor SIMATIC VS120 Glossary-2 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 195 In communications, to transfer a data copies from a remote computer to the requesting computer, for example, to send the operating system from a PC to a controller. Distributed Peripheral I/O Vision Sensor SIMATIC VS120 Glossary-3 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 196 The data are partly saved with different byte sequences in various computer architectures. Intel-based computers, for example, save the data differently than the controllers from Siemens (S7), namely, in reverse sequence. The byte sequence from Intel, termed Little Endian, is therefore the reverse S7 byte sequence, Big Endian. The following applies to these two forms: •...
  • Page 197 (for example, 192.168.7.27). In this version of Windows, you can configure a static IP address or have it assigned dynamically by DHCP. Vision Sensor SIMATIC VS120 Glossary-5 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 198 Master The device configured as master in a communications system passes on data to the device configured as slave. The master is always the active partner. Personal Computer. Vision Sensor SIMATIC VS120 Glossary-6 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 199 Persistence Persistence is the ability to store data structures (or objects) in non-volatile memory such as file systems or databases. In other words, on the SIMATIC VS120 processing unit, data is stored and retained if there is a power outage.
  • Page 200 Server Network station that provides services and resources for other stations, for example, a computer that manages data and passes this on to other computers as needed. Vision Sensor SIMATIC VS120 Glossary-8 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 201 At slow shutter speeds, there is greater risk that the image will suffer from "camera shake" SIMATIC S7 Siemens automation system with the controller families SIMATIC S7-300 and SIMATIC S7- 400. SIMATIC VS120 Vision Sensor...
  • Page 202 Association of Electrical Engineering, Electronics and Information Technology (Germany) Wide Area Network -> For example the Internet. Extensible Markup Language ->XML is a standard for definition of formats for data exchange on the Internet. Vision Sensor SIMATIC VS120 Glossary-10 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 203 System configuration, 5-2 Components DISA bit, 9-50, 10-19 Documentation package, 14-1 Display Full package, 14-1 Adjust, 9-2 Configuration Distortion, 4-7 Avoiding interference, 7-1 Configuration PC / PG, 8-6 Processing unit, 8-6, 8-8 Vision Sensor SIMATIC VS120 Index-1 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 204 IP setting, 8-8 IP65 protective lens housing, 14-4 Faults, 7-1 Firmware updates, 9-49 JAVA JIT Compiler, 8-2 Fixing screws, 13-1 Fluctuations in size, 4-7 Function block FB1, 10-16 Fuse, 12-1 Keypad, 3-7 Vision Sensor SIMATIC VS120 Index-2 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 205 Part recognition with classification mode, 9-45 LED ring flash, 6-1 Parts Processing unit, 6-1 Localization, 3-3 Sensor head, 6-1 Password, 9-41 Mounting bracket, 13-3 Performance Features, 3-2 Mounting plate, 13-2 Pixel size, 4-8 Vision Sensor SIMATIC VS120 Index-3 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 206 PROFINET IO:, 5-4 ROI, 4-8, 9-29 with RS-232, 5-6 Changes, 9-30 System expansion, 2-1 Colors, 9-30 System requirements, 3-5 Example, 4-9 Main, 9-30 Names, 9-30 Parameter assignment, 4-9 Sub, 9-30 Vision Sensor SIMATIC VS120 Index-4 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 207 Test, 9-32 Underexposure, 4-3 User, 9-40 User data interface Errors, 10-15 Faults, 10-15 User data structure, 10-13 User interface, 9-20 User name, 9-23 Warnings Description, 11-6 Remedies, 11-6 Warranty, 2-1 Vision Sensor SIMATIC VS120 Index-5 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 208: Index

    Index Vision Sensor SIMATIC VS120 Index-6 Operating Instructions, Edition 02/2006, A5E00757507-01...
  • Page 210 Siemens AG Automation and Drives Industrial Automation Systems Postfach 4848 90437 NUERNBERG Federal Republic of Germany www.siemens.com/automation...

Table of Contents