Home
SIMATIC VS120
Contents
1. IP Address Ports gt XXX XXX XXX XXX 192 168 0 45 IP address of the server for diagnostic Archive xxx 0 to 255 information Port Ports gt 1 to 65535 8765 Corresponding port of this server Archive Timeout Ports gt 0 to 3600 10 e 0 There is no transfer of cyclic Archive monitoring frames to check the connection between processing unit and server Otherwise Time in seconds after which a monitoring frame is sent to check the connection between processing unit and server If the server does not respond to this frame within the monitoring time an error is output only when the processing unit is in RUN and the connection is reestablished Parameters Path Possible Values Default Integrate Source Integrate gt DI DO Here you set the port over which the Trigger DP or PNIO trigger signal is sent to the processing TCP RS 232 unit Edge Integrate gt Rising isi The function indicates whether the only if Source Trigger Falling trigger is on a rising or falling edge TCP RS 232 String Integrate gt ASCII characters If the string specified here is sent over only if Source Trigger the RS 232 port of an RS 232 Ethernet TCP RS 232 converter or a TCP server the processing unit generates a trigger signal Debounce Integrate gt 0 to 9999 ms Oms The function indicates the period for Trigger which triggers are ignored due to debouncing Vision Sensor SIMATIC VS120 9 6 Operating Instructions Edition 02 2006 A5E00757507 0
2. The Use a proxy server for your LAN check box is enabled in the Proxy server group box The Advanced button is enabled Follow the steps described in the section Change the proxy configuration of your Internet Explorer only if a proxy server is used in the Internet Explorer If no proxy server is used in the Internet Explorer skip to the steps described in the section Check the connection Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC 8 4 3 Change the proxy configuration of your Internet Explorer Change the proxy configuration of your Internet Explorer only if a proxy server is used in the Internet Explorer Procedure 1 Start the Internet Explorer and select the menu command Options gt Internet Options 2 Click on the Connections tab 3 Click on the LAN Settings button in the Local Area Network LAN settings group box 4 In the next dialog Local Area Network LAN Settings clear all the check boxes and confirm with OK Local Area Network LAN Settings Ka x Automatic configuration Automatic configuration may override manual settings To ensure the use of manual settings disable automatic configuration F Automatically detect settings _Use automatic configuration script Address http fproxyconf Proxy server Use a proxy server For your LAN These settings will
3. 1 Establish an Ethernet connection between your PC and your existing network Use a network cable of the type Ethernet RJ 45 2 Establish an Ethernet connection between the VS120 processing unit and your existing network Use a network cable of the type Ethernet RJ 45 Next step Follow the steps described in the section Check whether a proxy server is being used 8 4 1 5 Integrating the VS120 processing unit as a device in a PROFINET IO network You want to do the following with the VS120 processing unit e Connect to the PC PG over your existing PROFINET IO network e Integrate the unit as a device in a PROFINET IO network because the IP configuration will be assigned by the PROFINET IO controller Notice The IP configuration of the VS120 processing unit is set in STEP 7 It is not possible to set the parameters on the VS120 processing unit Procedure 1 Configure the VS120 processing unit as a PROFINET IO device 2 Make the parameter settings for the IP configuration of the VS120 processing unit in STEP 7 3 Integrate your PC in the PROFINET IO network 4 Establish an Ethernet connection Step 1 Configuring the VS120 processing unit as a PROFINET IO device 1 After turning on the VS120 processing unit and after the self test is completed go to the Connect menu and confirm with OK 2 Confirm the selected Ports menu command with OK 3 Change to the Ethernet menu and confirm with OK 4 Confirm the se
4. 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 Operation 9 3 Working with setup support 9 3 3 Connections The Connections dialog is made up of the following three parts e Part 1 3 Interfaces e Part 2 3 Integration e Part 3 3 Version Part 1 3 Interfaces Here you specify the communication ports and the parameters for the ports SIEMENS Vision Sensor SIMATIC 120 ie PE ia Language Barck MEXE ATN Figure 9 10 Connections Ports tab Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 25 Operation 9 3 Working with setup support Part 2 3 Integration 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 Vision Sensor SIMATIC Y53120 Figure 9 11 Connections Integration tab Vision Sensor SIMATIC VS120 9 26 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Part 3 3 Version This is where you specify the format for outputting the results through the interface set in the Connections Outout selection menu of the Connections Integration tab SIEMENS Vision Sensor SIMATIC 120 Job Connections Part 3 3 Output WEB Adjustment Connections Parts Integration Output __ Training
5. e The results from the specimen are output to the HMI Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 5 5 Network and system integration 5 5 System configuration with Ethernet or RS 232 over Com server Switch PG PC for adjustment support Processing unit Power SICM ENS supply RJ 45 Ethernet cable li F b Com server Power supply cable e g W amp T Functional earthing cable Lighting cable Sensor cable DI DO cable Sensor head LED ring flash Photoelectric barrier C gm YY iY YY YY Conveyor unit Conveyor unit gt Figure 5 5 System configuration with RS 232 via Com server System features e The PC PG for adjustment support is connected to the processing unit via a network e The results are output to the HMI via the RS 232 port of the Com server for example W amp T Vision Sensor SIMATIC VS120 5 6 Operating Instructions Edition 02 2006 A5E00757507 01 Installation 6 6 1 Installing the SIMATIC VS120 processing unit 1 For the location of the fixing holes refer to the Dimensional Drawing of the SIMATIC VS120 Processing Unit 2 Mount the processing unit so that it is easily accessible for the operator 6 2 Installing the sensor head with LED ring flash Notice Aligning the optical axis Align the optical axis of the sensor head vertical to the direction in which the object is conveyed Otherwise the image of the ob
6. Format Run Encoding Binay l G Options Bye string fsromat M _ Information Formatting icy Instructions Maintain Besta maw A Set the output format here E Max number sub ROI fie o irant nd additional information on specifications in the online help Current Status o Language Home Back est Aay Help Figure 9 12 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 ROls for subsequent processing of the specimen After selecting Training five tabs appear e Selection e ROI e Edges e Test e Save The easiest way to train a model is to work through the tabs one after the other You can use the Nextand Back buttons to navigate between the tabs You can however also select specific tabs If tabs are skipped the defaults values will be set Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 27 Operation 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 SIEMENS Vision Sensor SIMATIC Y93120 Job Train model Adjustment Connections Selection Training Guickimsttuctions Run 1 Select the data and image ofan available model or select a new image 2 Define ROIs and edit their paramete
7. degree of protection IP 65 field of view 70 x 50 mm 6GF9004 8BA LED ring light red diffuse with mounting bracket A5E00200046 for SIMATIC VS degree of protection IP65 Vision Sensor SIMATIC VS120 14 2 Operating Instructions Edition 02 2006 A5E00757507 01 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 field of view 40 x 30 mm 6GF9002 8CE Cable between illumination and processing unit 2 5 m 6GF9004 8BA LED ring light red diffuse with mounting bracket A5E00200046 for SIMATIC VS degree of protection IP65 6GK1 120 2AA01 SIMATIC VS120 full package field of view 40 x 30 mm cable 10 m 6GF1 018 2AA10 SIMATIC VS120 processing unit 6GF2002 8EA01 Sensor head with mounting plate A5E00190326 degree of protection IP 65 field of view 40 x 30 mm 6GF9004 8BA LED ring light red diffuse with mounting bracket A5E00200046 for SIMATIC VS degree of protection IP65 6GF1 120 3AB SIMATIC VS120 full package field of view variable cable 2 50 m 6GF1 018 2AA10 SIMATIC VS120 processing unit 6GF2002 8CB Sensor head with mounting plate A5E00190326 degree of protection IP 65 field of view variable 6GF1 120 3AB01 SIMATIC VS120 full package field of view variable cable 10 m 6GF1 018 2AA10 SIMATIC VS120 proces
8. 14 4 Operating Instructions Edition 02 2006 A5E00757507 01 Scope of delivery Spares ACcessories 14 4 C mount lens and inspection window size 14 4 C mount lens and inspection window size Note From the following table you can select the lens suitable for your application by selecting the best distance and inspection window Distance lens front Lens Inspection window edge object in m Image Order no MLFB Focal distance in mm height in light intensity mm mm oso ft 6GF9001 1BLo1 124A oso 11 f fecF9ooBLoi 12114 C A ee eee e oso 2 foo ecF9o011BFo1 16 114 oo T T T S oso 87 6GF9001 1BG01 3514 o oso m5 86 6GF9001 1BG01 25 1514 eee Pee 3 71 79 4 rs 71 76 1 T 9 3 70 13 Tl 87 6GF9 001 1BJ01 50 1 2 8 6GF9 001 1BK01 75 1 2 8 6 9 6 8 8 5 6 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 14 5 Scope of delivery Spares Accessories 14 4 C mount lens and inspection window size 14 6 edge object in m as z m personae psie __ 001 1BJ01 and 6GF9 and extender 001 1BV 6GF9 001 1BJ01 and 6GF9 50 and extender 001 1BV 2 80 71 6GF9 001 1BJ01 and 6GF9 50 and extender 001 1BV 2 90 74 6GF9 001 1BJ01 and 6GF9 50 and extender 001 1BV 3 00 103 77 6GF9 001 1BJ01 and 6GF9 50 and extender 001 1BV Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 service amp Support 1 5 15 1 A
9. 4 OPID Order Number Designation VSIA T bute TE ond 77 TEA f hunts IE 4 AAA AAP Properties DP slave i Address D 1 0 Tipe o iE mpu E Direc Enty Address Length Unit Borsstent over J Sensor system Start ft fie inm Taa lemath fg SIMADYN p gt kae Ta 4 SIMODRIVE tocess image OE F ag SIMOREG 4 SIMOVERT Input E SINAMICS Address Length Weil arsisten Vet E SIPOS Statt fi ftg fi ala Tats length gt E Switching Devices AY PROFIBUS PA End 32 i m PROFINET O Process image ove fr ry SIMATIC 300 SIMATIC 400 aha Ig 5 AEE IC Mey WUhecturel oe E SIMATIC PC Based Control 300 400 H E SIMATIC PC Station Merman 14 DUES HExeteGinal Jenateted biicomma aHan ssace i sensor for SIMATIC E lt L nS Press F1 to get Help Figure 10 1 Integrating the PROFIBUS DP device SIMATIC VS120 in HW Config 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 example A 10 6 or S Q0 1 If this is not the case you must work with direct I O access for example L PIB 0 In the configuration example above the start of the 16 word long
10. 8 8 IP65 protective lens housing J JAVA JIT Compiler K Keypad Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 L Language setting Change LCD display LCD display 3 7 LED ring flash LED ring flash 3 8 Linking PROFIBUS DP device 10 1 PROFINET IO device Localization of parts M MAC address Main ROI Maintain Menu Maintain Menu Connect Integrate Maintain Model selection 10 8 Model set Deleting Restoring Module catalog HW config io Module fault 10 20 Mounting LED ring flash Processing unit Sensor head Mounting bracket Mounting plate Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Index N Normal mode O OB86 Object detection 4 6 Online catalog 15 1 Operating status Stop 9 51 Operating system Operator control Adjustment support Model selection Processing unit 9 1 Reading and transferring result data 10 19 10 19 0 19 Reset Transferring the delay time 10 19 Triggering 10 19 Options Diagn amp Monitoring Diagnostics amp Monitoring Extras Image capture Image processing 9 24 Precision Part recognition Part recognition with classification mode Parts Localization 3 3 Password Performance Features Pixel size Index 3 Index Power consumption Power suppl Precision Processing precision
11. Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 70 5 Function block FB1 10 5 2 Parameter Parameters Decla Data Description ration type LADDR_ INPUT INT Address of the control byte of the SIMATIC VS120 CONTROL interface entered in Connection Controller This parameter must be interconnected LADDR_ INPUT INT Address of the status byte of the SIMATIC VS120 STATUS interface entered in Connection Controller LADDR_ INPUT INT Start address of the Send user data interface of the RECV SIMATIC VS120 Receive of the PLC LADDR_ INPUT INT Start address of the Receive user data interface of SEND the SIMATIC VS120 Send of the PLC MODEL INPUT BYTE Model number 1 to 15 Note The DISA bit must be set in order to change models DISA INPUT BOOL Disable Disable manual keypad operation RESET INPUT BOOL Reset Reset processing unit error or FB error Note Not dependent on the DISA bit INPUT BOOL Trigger Image recording and start of processing DELAY INPUT DINT Delay time Transfer of the trigger delay time to the SIMATIC VS120 in us value range 0 9 999 999 us Note The delay value is a multiple of 50 us with rounding limit of O or 50 us Fort example 49 us become 0 us 65 us becomes 50 us RECV INPUT ANY Receive Receive range for the result values Only the data block area and the BYTE data type are allowed Th
12. absolute in relation to the image center Trained The position of the main ROI is output relative to its position at training based on the image center The position of the sub ROI is output relative to its position at training based on the center of the main ROI Note This parameter only relates to the results to be transferred and not to the displayed results from the screen and applets Sub ROls Output 0 16 16 This is where you enter the number of sub ROls that you wish to transfer Vision Sensor SIMATIC VS120 9 8 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 2 Working with the processing unit 9 2 4 RUN RUN menu The following table shows the menus of the RUN menu level Select the model number Note May also be model set depending on the configuration STOP Stop processing and change to the STOP menu level QLimit Enter the quality value for the evaluation as a percentage Note The display is only visible if you are not working with model sets Information function ResetStat Resets all statistical information Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 9 Operation 9 2 Working with the processing unit Structure of the Info display for a model from the RUN menu STOP Limit Info ESC f H Ae Anale minm i mas A le 14 t OK M oz ROI Pos Cx 96 zad 11 14 t OK M ez ROI Dim Wwidth 314 heiasht 295 i i t OK 9
13. identical to the values that you have set on the VS120 processing unit under Connections Interfaces tab Archive or with Connect gt Ports gt Archive Enter the maximum size of a csv file in Options If the current csv file exceeds this size the example program creates a new csv file In the Timeout input box you can also specify the time in seconds after which the example program stops itself if it has not received a response from the VS120 processing unit during this time This allows you to check whether the connection to the VS120 processing unit is still established In Output you specify the folders in which the diagnostic images and the csv files will be stored Once you have clicked the Start button the program waits for the connection to be established by the 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_ lt date gt _ lt time gt csv Bitmaps diagimg_ lt date gt _ lt time gt bomp Details of the image diagimg_ lt date gt _ lt time gt txt Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 23 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 Alarm error and system messages 1 1 11 1 Overview With
14. untrained models model Different When working with an automation system Based on Information gt Models precisions a model set was selected that contains check the precision of the models models with different precisions in the set If necessary train models Remove the models from the a model set was selected whose models model set or reduce the number of cannot all be loaded in memory at the sub ROls in the individual models same time Check whether you could work with lower precision Error information FB1 See the section Control over an automation system PLC PC function block FB1 Vision Sensor SIMATIC VS120 11 8 Operating Instructions Edition 02 2006 A5E00757507 01 Alarm error and system messages 11 2 Error messages and error handling Display Temporary error Temporary errors xx on the SIMATIC VS120 Vision Sensor indicates that there was a problem on the connection over PROFIBUS DP or PROFINET IO where xx is the number of problems Example 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 If the counter reading for temporary errors increases this may indicate that the connection with PROFIBUS DP was restarted often or that the slaves had new parameters a
15. 0 N_OK e 1 OK e 3 Below warning limit 23 nx 14 BYTE nth sub ROI quality values as percentage 24 nx 14 to REAL nth sub ROI x position 27 nx 14 28 nx14to REAL nth sub ROI y position 31 nx 14 32 nx14to REAL nth sub ROI angle 35 nx 14 Value relates to the total result with main ROI and all sub ROIs Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 13 Process interfacing over an automation system PLC PC 10 4 Control over PROFIBUS DP and PROFINET IO 10 4 2 4 User data interface Receive automation system gt gt gt VS120 processing unit Byte no Datatype Meaning o oO BYTE Reseved o 1 BYTE _ Consecutive number of the data packet received from the DP master _ 3 BYTE BYTE BYTE 6 to 9 DINT Delay time for hardware trigger delay 10 to 31 BYTE Delay time is the delay of the trigger signal by the specified time 10 4 3 Programming data fragmentation Handshaking 10 14 Note You require a handshake procedure if you use a controller with a S7 CPU and the FB1 function block The following section introduces the handshake mechanism that ensures the consistency of all the data sent from the processing unit to the PROFIBUS DP master or PROFINETI O controller regardless of any configured PROFIBUS DP or PROFINET IO consistency mechanisms This mechanism must be used with every transfer even if only one block of data is transferred Note With handshakes th
16. 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Task e Adjustment e Connections e Train e Run e Options e Info e Management e Stop Traffic Light Below the Job buttons there is a traffic light with which you can see the operating status of the VS120 processing unit at a glance The traffic light can have the following states e Green VS120 processing mode with results output e Yellow STOP including adjustment and training e Red Errors Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 2 1 Operation 9 3 Working with setup support Error display If an error occurs the traffic light changes to red and the corresponding error message the meaning of the error and ways to eliminate the error are displayed You acknowledge the error by clicking the Acknowledge button SIEMENS Vision Sensor SIMATIC 120 pS ee a n Job Error WEB _Adjustment_ Ponnections Trait tu Language Figure 9 8 Error Message 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 Operation 9 3 Working with setup support User name The currently logged on user WEB for example is shown at the upper right of the page By clicking on
17. 232 DPorPNIO String not for Source TCP RS232 Debounce DP or PNIO_ Manual DP S7 or PNIO S7 only if Control DP or eNO Figure 9 1 Structure of the Connect menu Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 3 Operation 9 2 Working with the processing unit ASCII Byte Order only when Encoding Binary Format only when Encoding ASCII Fix Sub ROls Figure 9 2 Structure of the Connect menu continued Connect parameter menu Parameters Path Possible Values Default ee eee ee N_OK in ms on the DI DO interface 7 100 to 2000 500 Address not active if IP Mode PNIO Timeout not active if IP Mode PNIO Pulsetime not active if IP Mode PNIO DevName only active if IP Mode PNIO Timeout only active if IP Mode PNIO Pulsetime only active if IP Mode PNIO 9 4 Ports gt DP Ports gt DP 5 to 999 30 Pulse time of the digital outputs OK N_OK in ms when output is via PROFIBUS DP Ports gt PNIO String 0 to 9 A to Name of the device on PROFINET Z a to z The string must match the conventions of the domain name system Note PROFINET is not case sensitive Ports gt PNIO 100 to 2000 Ports gt PNIO 5 to 999 Handshake monitoring time in ms Handshake monitoring time in ms 30 Pulse time of the digital outputs OK N_OK in ms when output is via PROFINET IO Note For the pulse time select a higher value tha
18. Edition 02 2006 A5E00757507 01 12 5 Technical data 12 2 Technical specifications of SIMATIC VS120 Technical specifications of SIMATIC VS120 e LEDs wavelength 630 nm red e Ring flash with flash duration of 20 us 10 ms diffuse e DIN EN 60825 1 1994 A11 1996 A2 2001 Plastic 102 x 102 x 26 5 Approx 0 13 kg 16 5 V DC IP 65 CCD chip 1 640 x 480 square pixels full frame shutter Triggered image capture Aluminum profile casing anodized black 42 x 42 x 110 Approx 0 24 kg 16 5 V DC SIMATIC VS120 for large SIMATIC VS120 for Sensor head for variable specimens small specimens specimens C CS mount 100 mm 90 mm Depending on lens 70 mm x 50 mm 40 mm x 30 mm Variable depending on lens IP 65 to IEC 60529 0 11 mm pixels 0 06 mm pixels Image width 640 pixels 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 stored adjustment support buttons or digital inputs non volatile storage Triggering tests External via digital input or via PROFIBUS DP PROFINET IO or Ethernet TCP connection Minimum pulse duration 5 ms Commissioning software Web interface for commissioning mounting and adjustment of the sensor head and lighting Casing Plastic all cables can be plugged
19. Figure 9 15 Training Edges tab The edges found by the algorithm are outlined in the image Specific edges can now be marked as unimportant for each ROI by erasing them with a brush To do this you select the respective ROI in the selection list or by clicking on it in the image and erasing the edge with the brush 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 Operating Instructions Edition 02 2006 A5E00757507 01 9 31 Operation 9 3 Working with setup support Part 4 5 Test You start the training program by clicking on the Single steps or Continuous control buttons in the Training Test tab The displays are for the most part identical to the Run panel with the exceptions e Separate statistics are kept e There is no output to the port e Models are evaluated but not model sets SIEMENS Vision Sensor SIMATIC 120 Job Train model Part 4 5 Test WEB Adjustment Training Exposure Control Run Exposure Auto gt Options Maxshuttersp fioo00 Jus Select RO haintain Shuttersp offset 0 Hs gt ii wo Stop Information Ok 58 Current Status 100 000 a Warning s g 0 000 N_OK 0 0 000 Full size Quality 99 8 i SA Reset 7 f SY Lee Angle Quality a_l image Sensor int trg Current 99 9 Control b E
20. Processing unit Connecting manually DHCP client 8 5 8 9 Indicators Integrating Warnings PROFIBUS DP Address System configuration 5 3 Transmission rate PROFIBUS DP Error PROFIBUS DP slave Linking PROFIBUS DP slaves Linking PROFINET IO System setup Transmission rate PROFINET IO device Linking PROFINET IO devices Linking PROFINET IO Error PROFINET IO network Proxy Configuration Server Purpose Manual Q Quality value R Recognition principle of edges Relative humidity 12 3 Resolution 4 8 ROI Changes Parameter assignment Sub Index 4 Training RS232 System configuration Run Normal mode RUN Menu S Save Training Scope of validity Connection Degree of protection 12 5 Field of vision Resolution Sensor head holder 14 4 Server Slave diagnostics Software 3 5 Sorting functions Specimens Statistics Status LEDs Stop Sub ROI 4 8 System components System configuration Digital I O PROFIBUS DP 5 3 with digital I O 5 2 With Ethernet 5 5 with PROFINET IO with RS 232 5 6 System expansion System requirements T Tab Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Temporary error Test U Underexposure User User data interface Errors 10 15 Faults 10 15 User data structure User interface 9 20 10 1
21. amp D Mall Interactive Catalog CA01 In the online catalog CA01 of the Automation amp Drives group you will find details on the following and can place orders e Products e Systems Internet address http mall ad siemens com 15 2 Service and support Technical support You can reach the technical support team for all A amp D projects at e Telephone 49 0 180 5050 222 e Fax 49 0 180 5050 223 Internet e Visit our site on the Internet at http www siemens com automation service amp support e You can send a support query to http www siemens de automation support request e The online catalog and the online ordering system is available at www siemens de automation mal e For further information on factory automation sensors visit http www siemens de simatic sensors Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 15 1 Service amp Support 15 2 Service and support Vision Sensor SIMATIC VS120 15 2 Operating Instructions Edition 02 2006 A5E00757507 01 Directives and declarations 1 6 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 Area of application Emitt
22. and 15 DPWR_DAT is absolutely necessary Transmission rate of PROFINET IO The SIMATIC VS120 Vision Sensor automatically detects the transmission rates of PROFINET IO PROFINET IO is operated in 100 Mbps full duplex mode Assigning the device name Follow the procedures below when entering the device name for the SIMATIC VS120 processing unit 1 In HW Config open the properties window of the SIMATIC VS120 Vision Sensor and enter the device name there 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 gt Ethernet gt Edit Ethernet Node and click the Browse button Following this all the devices connected to the PNIO system will be displayed Caution SIMATIC VS120 must be in PNIO IP mode otherwise it is not displayed Select SIMATIC VS120 by its MAC address and identify it if needed with the Flash button If the identification is successfully the LINK LED on the Ethernet connector of the SIMATIC VS120 flashes Enter the device name and confirm it by clicking on the Assign Name button Enter the device name directly in the SIMATIC VS120 processing unit with the menu command Connect gt Ports gt PNIO gt DevName Assign and transfer the device name using the adjustment support Connections Ports tab gt PROFINET IO area gt Device name paramete
23. automation system PROFIBUS Process Field Bus gt International fieldbus standard to EN 50170 IEC 61158 PROFIBUS DP PROFIBUS DP distributed peripheral I O is used for controlling sensors and actuators using a central controller in production engineering It is also used in connection with distributed intelligence i e connecting multiple controllers to form a network It provides data transmission up to 12 Mbps on twisted pair cables and data transmission over sliding contacts for mobile subscribers in exceptional cases or optical data transmission in unobstructed space Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 ASE00757507 01 Glossary 7 Glossary PROFINET device PROFINET IO Proxy A PROFINET IO system is assembled from the following devices e An IO controller is a controller or PC that controls automation tasks e An IO device is a field device that is configured and controlled by an IO controller An lO device consists of several modules and submodules e lO Supervisor is an engineering tools typically based on a PC that is used to configure and perform diagnostics on individual IO devices and to configure the complete plant The controller gets its data from the Supervisor and configures the device based on this An application relation AR is formed between an IO controller and and IO device Communication relations CR with varying properties are specified for the transfer of parameters
24. certain operator input and if an error occurs in the processing the SIMATIC VS120 provides you with diagnostic information This is achieved as follows e Information on error diagnostics and error messages of the processing unit and setup support e Information on warnings and instructions on the LCD display of the processing unit e Diagnostics messages based on the BF LED e Diagnostic messages for PROFIBUS DP and PROFINET IO 11 2 Error messages and error handling Error messages When error messages are generated the IN_OP signal in operation is reset and the SF LED group error is lit With the exception of the error messages PROFIBUS DP error and PROFINET IO error you must acknowledge all errors that occur by setting the RES bit of the control byte If the SIMATIC VS120 is connected to PROFIBUS DP or PROFINET IO all error messages trigger a diagnostic interrupt on the respective DP master or I O controller for which there is a number in the PROFIBUS DP bit no starting at diagnostic byte 0 DP or PROFINET IO Value column in the following table How the diagnostic information is read from the SIMATIC VS120 and evaluated is explained in the section S ave Diagnostics or lO Diagnostics Message on PROFIBUS PROFINET Description Remedies the LCD DP bit no lO display starting at Value diagnostic byte 0 1 Invalid sensor W 16 5000 The connected Connect a sensor sensor head is supported by SIMATIC not supported V
25. 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 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary 3 Glossary D sub EEPROM EMC Endian Ethernet FB FDB Firmware Gateway Glossary 4 Type identification for a connector Electrically Erasable Programmable Read Only Memory ElectroMagnetic Compatibility 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 e Little Endian The most significant byte is located at the right end of a word e Big Endian The most significant byte is located at the left end of a word This is a specific type of local network that works according to a standard defined by Intel DEC and Xerox Function Block A Function Block Diagram is a graphic representation of control functions Each control task function has a corresponding symbol Software routines stored in the Read Only Memory ROM Startup routines and local machine I O commands are stored in firmware In terms of user friendlin
26. consistent communication area of the SIMATIC VS120 Vision Sensor was set to input address 1 and output address 1 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 L IW 2 T QB 1 without violating the consistency Vision Sensor SIMATIC VS120 10 2 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 10 1 Integrating the PROFIBUS DP slave SIMATIC VS120 in HW Contig This applies only to CPUs that transfer consistent user data using the process image If on the other hand these addresses are not in the process image of OB1 you will need to access the communication area of the SIMATIC VS120 using SFCs 14 DPRD_DAT and 15 DPWR_DAT to ensure consistency Notice The consistent user data transfer per process image is supported by the following S7 CPUs e from the CPU 318 and S7 400 CPUs as of firmware version V3 0 0 e from all S7 300 CPUs with MMC for all other S7 300 and S7 400 CPUs installation of SFCs 14 DPRD_DAT and 15 DPWR_DAT is absolutely necessary Transmission rate of PROFIBUS DP The SIMATIC VS120 Vision Sensor automatically detects the transmission rates of PROFIBUS DP Even if the transmission rate has changed this is detected automatically The following values possible e 9 6 Kbps e 19 2 Kbps e 45 45 Kbps e 93 75 Kbps e 187 5 Kbps e 500 Kbps
27. example the Internet Extensible Markup Language gt XML is a standard for definition of formats for data exchange on the Internet Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Index A A amp D Mall Adjust Display 9 2 Adjustment support 8 Operator control 9 49 Administrator privileges Test 3 1 Assigning permissions Assigning Permissions Atmospheric pressure B BF LED For PROFIBUS DP 11 10 For PROFINET IO 11 10 Bit pattern Creating 10 9 Brightness Button Change password C Cable connection CE Label Checking connections Climatic ambient conditions Climatic Conditions Atmospheric pressure Temperature Colors Com server 5 6 Components Documentation package Full package Configuration Avoiding interference Configuration PC PG Processing unit Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Proxy Configuration example 10 4 Configuration guidelines Connect Menu Connection sensor head Connection variants Ethernet connection csv file size 10 23 D Data block B10 L10 16 Data blocking 10 14 Data transmission PROFIBUS DP 10 10 PROFINET IO 10 10 Declaration of conformity Device Info Device names Assigning Devices Information DHCP client 3 DHCP server Diagn amp Monitoring Options Diagnostic buffer Diagnostics For PROFIBUS DP For P
28. format None This is where you enter the interface via which the results are output DI DO Here you specify the interface over which the result bits OK and N_OK are output DI DO Here you specify the port for the DISA SELO SEL1 SEL2 SEL3 RES IN_OP TRD RDY signals None This is where you specify if the diagnostic images should be sent to a server None This is where you specify if the diagnostic reports should be sent to a server 9 7 Operation 9 2 Working with the processing unit Parameters Path Possible Values Default Output Encoding Output e Binary Binary The results for the main ROI and sub e ASCII ROI are sent as binary data or ASCII strings through the output interface set in Integrate gt Output Byte order Output e S7 S7 Specifies the byte sequence for data only if Encoding e Intel types greater than 8 bits Binary S7 format Big endian for a data type greater than 8 bits the low byte is at the most significant byte position Intel format Little endian for a data type greater than 8 bits the low byte is at the least significant byte position Format only if Output e CSV This is where you enter the format for Encoding ASCII e Fix your output data e CSV Send in CSV format e Fix Send individual results with a fixed length of 12 characters Position Output Absolute Absolute This is where you specify the reference Trained point Absolute The position of all ROIs are output as
29. kK 34 18 ROT M Show edges tre Ra ee ne i 200 400 100 300 gogn H 5 Fa Show ai images Current image 44 0 000 MOK D 0 000 Siemens 1 Quality Cycle Time Current 9 0 89 0 0 0 99 9 381 ms Min 9 0 88 9 0 0 99 9 377 ms Langune aS me ie gt Reset Max 8 9 89 0 0 0 99 9 382 ms English Horne Ani Help Figure 9 18 Processing in normal mode 9 34 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Features e You can naviaate throudh the processing results information using the use s Eo gt Ricks buttons e The ROI whose result should be displayed can be selected in normal mode under Table content ROI on the right e The quality is displayed color code based on the results e The ROls are displayed in the color specified in the Training ROI tab Note Edges are only shown if the Show edges check box is enabled e Color scheme for edges in processing mode Blue Edge lines that have been erased Green Edges above the threshold value ed Edges below the threshold value appear in red Example of processing results for testing and recognition in normal mode Info model Siemens 1 1 6 Info model Siemens 1 2 6 Info model Siemens 1 3 6 OK 39 Quality 99 9 Cycle time 391ms 100 000 Min 99 9 Miri 377 ms Warnings 0 Max 99 9 Max 382m8 0 000 Position Trig
30. not apply to dial up or VPN connections Address Port AOVENCEG se W Bypass proxy seryer For lacal addresses Figure 8 2 Settings for the local area network As an alternative if the Use a proxy server for your LAN check box needs to be selected click the Advanced button in the Proxy server area and enter the current IP address of the VS120 processing unit in the Exceptions area in the Proxy Settings dialog Note 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 Perform the activities described in the section Check the connection Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 8 13 Commissioning 8 4 Establish an Ethernet connection between the processing unit and PG PC 8 4 4 Check the connection Checking the connection tells you whether or not the configured Ethernet connection between the PC and the VS120 processing unit is working You can only start adjustment support from your Internet Explorer and operate the VS120 processing unit from your PC after you have checked the connection Requirements e The VS120 processing unit was either integrated in your existing network or connected directly toa PC e The network cable is connected to the VS120 processing unit e The VS120 processing unit is connected to a 24 V DC power supply unit and is being supplied
31. o 8 B 6 80 Manufacturer ID high byte 9 B 6 ED_ Manufacturer ID low byte o including this byte Diagnostic byte 0 bit 1 Sensor not found Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Alarm error and system messages 11 4 Slave diagnostics or O device diagnostics Diagnostics for PROFINET IO Receive alarm with SFB54 RALRM SFB54 RALRM returns the following diagnostic information in the TINFO parameter task information for PROFINET IO Byte jVvaue Meaning S 0 to 19 See OB description Start information of the OB in which SFB 54 is called 20 to 21 Depending on configuration Address e Bit 0 to 10 Station number acc to configuration Bit 11 to 14 IO system ID acc to configuration Bit 15 1 Bit 0 to 3 Slave type 1000 PNIO Bit 4 to 7 Profile type 0000 Bit O to 3 Alarm info type 0000 Bit 4 to 7 Structure version 0000 24 B 16 00 B 16 01 Flags of the PNIO controller interface e Bit 0 0 Alarm from integrated interface module e Bit 0O 1 Alarm from external interface module 25 261027 Bits 1 through 7 In each case 0 B 16 01 B 16 00 Flags of the PNIO controller interface e Bit 0O 1 for alarm entering state e Bit 0 0 for alarm exiting state e Bits 1 through 7 In each case 0 26 to 27 W 16 0B01 PNIO device identification number fixed 28 to 29 W 16 002A Manufacturer ID fixed 30 to 31 W 16 0001 Identification number of the i
32. processing mode Run Object was recognized 1 OK during debounce pulse time Object was not recognized 1 N_OK during debounce pulse time Reserved Reserved o Reserved o O Note The control byte is written and then read and evaluated in much the same way as shown in the timing diagram in the section Control over the VO interface DI DO 10 4 2 3 User data interface Send VS120 processing unit gt gt gt automation system ano pa type Se o BYTE Reserved BYTE Consecutive number of the data packet to be sent to the PROFIBUS DP master WORD Net total length of the data to be transmitted in bytes in STEP 7 format 4 BYTE _ Reserved 5 Byte 1 User data byte 27 User data byte Vision Sensor SIMATIC VS120 10 12 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 10 4 Control over PROFIBUS DP and PROFINET IO User data structure User data byte _ Datatype Meaning S User data block 1 k re e 0 Warning limit exceeded e 1 Below warning limit e O N_OK e 1 OK 3 BYTE Total quality value relates to the total result with main ROI and all sub ROls BYTE Number of sub ROls n 1 Sub ROI e O N OK e 1 OK 3 Below warning limit 1 Sub ROI quality values as percentage 1 Sub ROI x position User data block 2 28 to 31 REAL 1 Sub ROI y position 32 to 35 REAL 1 Sub ROI angle 22 nx 14 BYTE nth sub ROI results e
33. statistics for 192 168 0 2 Vision Sensor SIMATIC VS120 8 14 Operating Instructions Edition 02 2006 A5E00757507 01 Commissioning 6 5 Start setup support over the Internet Explorer Next step e lf you receive a reply from the VS120 processing unit on the PC follow the steps described in the section Start adjustment support over the Internet Explorer e f you do not receive a reply from the VS120 processing unit repeat the steps described in the section Establish connection and between VS120 processing unit and PG PG and or contact your network administrator 8 5 Start setup support over the Internet Explorer To be able to work with the adjustment support implemented on the VS120 processing unit establish a connection from the Internet Explorer to the adjustment support Requirements The section Establishing a connection between the VS120 processing unit and PC PG was completed successfully As described in the section Check the connection you have established a confirmed connection from the VS120 processing unit to the PC PG Procedure 1 Start the PC 2 Turn on the power supply of the VS120 processing unit Once the self test has completed go to Adjust in the LSD display 3 Press the OK button of the VS120 processing unit The IP address appears on the LCD display Note down the IP address of the VS120 processing unit Start the Internet Explorer Inthe IP address input box enter the IP address of the VS120 pr
34. 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 The appropriate job is activated depending on the previous operating state of the VS120 processing unit Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 19 Operation 9 3 Working with setup support If for example the VS120 processing unit is in Stop mode the page below opens SIEMENS Vision Sensor SIMATIC S 120 Job Stop Sensor WEB Adjustment Connections __ Training Current status of processing unit Run Options Stop Information Maintain Stop Current Status Home Help Figure 9 7 Stop In the left part of the user interface you will see the list of jobs in the form of buttons You activate the required job by clicking on the appropriate button The corresponding dialog then opens on the right of the user interface 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 Vision Sensor SIMATIC VS120 9 20 Operating Instructions Edition
35. the dialog Training ROI tab of the adjustment support A rectangle or circle appears on the screen depending on the shape selected for the sub ROI 3 Changing the size and position of the sub ROI in the same way you define the main ROI Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 6 Main ROI and sub RO 4 6 1 Example Main ROI and 3 sub ROls Example Main ROI and 3 sub ROls 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 and sub ROI2 encompasses ME d Parameter assignment Parameter name Sub ROI 1 2 and 3 Task Find default Find default scaling Fixed default Model type Edges default Edges default e The sub ROls can be set with the precision Fine1 since the pattern windows are small This ensures that no details are lost e Fine3 should however be selected for the main ROI otherwise the processing time will take too long In this case the selection of the precision Fine1 Fine2 or Fine3 has no effect on the quality value of the result Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 4 9 Image processing 4 6 Main ROI and sub RO Example of recognition of a bad object In this example the S and the N are missing I
36. the last evaluation are also graphically displayed in this image The results to be displayed can be configured in drop down lists and check boxes located next to and below the image e 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 Operating Instructions Edition 02 2006 A5E00757507 01 9 33 Operation 9 3 Working with setup support Select model Select model set This is where you enter the number of a previously trained model or model set that you want to compare with a current specimen The numbers of all previously trained models or model sets are displayed in a drop down list box Note The Model drop down list appears when the Multimodel drop down list is set to Use in the Options Extras tab This is equivalent to normal mode 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 SIEMENS Vision Sensor SIMATIC VS 120 Job Processing Mode WEB Adjustment Ea Select model Connections i s e todel Siemens 1 Training Run star Table contents Options Wlodel Information Optimization Siemens JF Maintain Q Limit rom am Current Status trite AF aay AR nfo model Ea 1 6 I WY area
37. the user name you open Options Security tab The following users are possible e WEB default General user who can execute tasks without explicitly logging on e Service Service technicians e User1 Freely available e Admin Administrator The Admin user assigns permissions for all users and changes their passwords Note The WEB setting effectively means no user It simply indicates that there is a connection between the 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 Operating Instructions Edition 02 2006 A5E00757507 01 9 23 Operation 9 3 Working with setup support 9 3 2 Adjust Sensor In this dialog you make the basic settings for processing the image SIEMENS Vision Sensor SIMATIC 120 Job Adjust Sensor WEB Adjustment Connections PUB T n 2 Set exact triggering Training 3 Save settings with Apply Run _ Options SIEMENS ff Information Settings JF iy Ga j TEN Maxshuttersp foomo us i Max brightness 500 gt ey Current Status Shuttersp offset i U eee Freeze _ I Ext trigger en Er Full size Man trigger Initiate A 300 200 100 100 200 300 Trigger delay 0 MS H Current image 288 Precision Fine gt z Distortion fo Language home Ani Help Figure 9 9 Adjustment
38. to 31 Acknowledge correct receipt of the second data packet by writing the value 2 in byte 1 of the Receive user data interface Last 4 Poll byte 1 of the Send user data interface As long as this contains the number of the last but one data packet the data of the last data packet is not yet available As soon as byte 1 has the number of the last data packet go to next step Read the user data of the last data packet from bytes 5 to 31 Last 2 Acknowledge receipt of the last data packet by writing the number of the last data packet in byte 1 of the Receive user data interface The processing unit polls byte 1 of the Receive user data interface As soon as it reads the number of the last data packet it writes the value 0 to bytes 2 and 3 of the user data interface and also to byte 1 The value 0 in byte 1 signals the end of the current data transfer to the PROFINET DP master Last 1 Poll byte 1 of the Send user data interface As soon as the value 0 is read go to last step Last Acknowledge correct receipt of all data by writing the value 0 in byte 1 of the Receive user data interface Response to problems timeouts and errors The processing unit monitors the following e The time between the arrival of two acknowledgments from the DP master is monitored for the time out set in the Connect gt Ports gt DP gt Timeout or Connect gt Ports gt PNIO gt Timeout menu e The correct sequence of the acknowl
39. user has taken control of the processing unit or the controller The processing mode is active If you want to make changes you must first switch the processing unit to STOP Users can log on under their names with the appropriate password Below the User table you can see which user is currently logged on User WEB default General user who can execute tasks without explicitly logging on Service Service technicians User1 Freely available Admin Administrator The Admin user assigns permissions for all users and changes their passwords Note The WEB setting effectively means no user It simply indicates that there is a connection between the 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 9 40 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Change password Button The administrator can change the password of any user as follows e The Admin user logs on The Change password button is enabled e The administrator selects the user whose password needs to be changed in the User drop down list box e Clicking the Change password button opens a dialog in which the password of the selected user can be changed Assigning Permissions The Admin user is the on
40. you can use the parameters Shutter speed and Brightness The shutter speed brightness must be set to obtain the optimum contrast The automatic exposure control can help to achieve the optimum shutter speed setting Below you will find examples of different shutter soeeds and disturbing contours 4 2 1 Different exposures and brightnesses Correct exposure Shutter speed 3800 Brightness 357 Overexposure _ Shutter speed 6000 Brightness 357 or Shutter speed 3800 Brightness 500 Vision Sensor SIMATIC VS120 4 2 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 2 Shutter Speed and Brightness Underexposure l Shutter speed 800 Brightness 357 or Shutter speed 3800 Brightness 93 4 2 2 Disturbing contours caused by shine Shiny areas on the surfaces of the part cause disturbing edges that must be avoided for a representative model In the example shown below you can see clearly that even the automatic shutter control can cause bad edges in this case These edges make recognition of the parts unreliable since they are often not reproducible 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 4 3 Image processing 4 2 Shutter Speed and Brightness Remedy by
41. 0 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 Cables Power supply cable Lighting cable Sensor cable DI DO cable Documentation package Operating Instructions compact Documentation CD You also require the following Software 24 V DC 2 A power supply 20 4 28 8 V DC safety extra low voltage SELV PC PG with the following configuration Atleast 500 MHz clock frequency Graphics card with at least 65536 colors and a resolution of at least 1024 x 768 pixels Ethernet port with up to 100 Mbps protocol TCP IP Crossover RJ 45 Ethernet cable for connecting the processing unit and the PC PG Microsoft Windows XP Professional SP1 operating system with Internet Explorer 6 0 as of SP1 Microsoft Java VM or Sun Java VM version J2SE 1 4 2_06 or J2SE 5 0 you will find more detailed information on the Internet at the following address http www java sun com J2SE Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 3 5 Description 3 6 Design of the SIMATIC VS120 processing unit 3 6 Design of the SIMATIC VS120 processing unit VS120 processing unit MLFB 6GF1 018 2AA10 Status LEDs LCD display apem guungofnemiendvee ooo 4 Housing consisting of hood and base as s C
42. 1 Commissioning 6 2 Overview of the steps in commissioning Enabling the JAVA JIT compiler 1 Select Tools gt Internet Options in the Internet Explorer and make the settings as shown in the figure below Internet Options General Security Privacy Content Connections Programs Advanced Settings C Use inline AutoComplete Use Passive FTP for firewall and DSL modem compatibility Use smooth scrolling HTTP 1 1 settings Use HTTP 1 1 M Use HTTP 1 1 through proxy connections amp Java Sun Use Java 2 v1 4 2_08 for lt applet gt requires restart EB icrosott VM Mu sae dia Enable Automatic Image Resizing Enable Image Toolbar requires restart Play animations in web pages sll gt Restore Defaults Sse ao Figure 8 1 Settings for the Java JIT compiler 8 2 Overview of the steps in commissioning Activity 1 Turn on the VS120 processing unit Establish and check the connections Start adjustment support over the Internet Explorer Adjust the sensor head using adjustment support oo Establish an Ethernet connection between the VS120 processing unit and PG PC 2 1 Select the connection variant 2 2 Check if a proxy server is being used Change the proxy configuration of your Internet Explorer 5 Vision Sensor SIMATIC VS120 8 2 Operating Instructions Edition 02 2006 A5E00757507 01 Commissioning 6 3 Turn on the VS120 processing unit 8 3 Turn on the VS120 processing un
43. 1 Operation 9 2 Working with the processing unit Parameters Path Possible Values Default Integrate e 0 ms for normal triggers trigger or if 0 to 9999 ms 0 to 9999950 us with a fast This is where you enter the time by which the trigger signal should be delayed Note lf DelaySrc is not manual the values Delay Integrate gt Trigger DelaySrc DP S7 or PNIO S7 only if Control DP or PNIO DP or PNIO only if Control DP or PNIO Integrate gt Trigger Integrate gt Trigger gt DelaySrc Integrate gt Trigger gt DelaySrc received via DP PNIO are displayed here They cannot be edited Manual Note e DP S7 corresponds to PROFIBUS DP with S7 format big endian format DP corresponds to PROFIBUS DP with Intel format little endian format The trigger delay is received through the DP S7 or PNIO S7 user data interface from the controller in S7 format DelaySrc is not manual Manual DP S7 or PNIO S7 DP or PNIO Manual Integrate gt Trigger gt DelaySrc Output Integrate OK N_OK Integrate _ Diaglmage Integrate DiagReport Integrate DP or PNIO TCP RS 232 None DP or PNIO DI DO None DP or PNIO DI DO None Archives None Archives Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Editable values are used in the delay The trigger delay is received by the controller over the user data interface DP or PNIO in Intel
44. 10 Figure 9 3 Note H et minsk bin H Bz Tria Too Fast H HI erite OF H Bz tual minh HA nax H HA M Bz Fos minh B Info display for a model from the RUN menu LHCF IPF 141 73 11 117 Transient Errors Ok Transient Errors the last menu command in the RUN menu only appears when an error occurs Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 2 Working with the processing unit Sequence of tasks in the RUN menu for a model based on the example of a model with number 2 Display Activity 1 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 STOP Limit gt Into ESC 4f H Bz WARH F H 194 wid t fl Be Curr Cec letime 34 4 14 t H Be Cucle minsi zems marz TONE Select Info on the processing unit at the RUN menu level using the 4 and arrow keys and press OK This opens the first Into screen Using the arrow buttons 4 and ft you can display further Info screens Pressing OK returns you to the highest hierarchy level of the RUN menu Since the last processing start the pattern search for model 2 was performed successfully in 3226 image recordings This corresponds to 99 907 of all images processed since processing last started 6 examinations were below the warning limit since the last start of processing This corresponds to 0 194 of all images proces
45. 120 2 Sensor not 1 W 16 5001 No sensor head Connect the sensor to the found connected processing unit correctly Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 11 1 Alarm error and system messages 77 2 Error messages and error handling Message on PROFIBUS PROFINET Description Remedies DP bit no lO display starting at Value diagnostic ae 0 W 16 5005 The model could Run the training again not be recreated W 16 5005 An error occurred Contact Customer Support when saving to if this error occurs often the read only memory i 5 TCP RS232 W 16 5007 The send buffer is Reduce the trigger Trm Error full because the frequency or process the data cannot be results more quickly on the sent in an server A high load on the adequately short network to which the time processing unit is connected can also block the transfer of the data If necessary check the network connection Trm Error W 16 5007 The send buffer is Reduce the trigger full because the frequency or reduce the data cannot be amount of diagnostic data sent in an to be archived Process adequately short the results on the server time or the server faster A high load on the does not confirm network to which the receipt of the data processing unit is in good time connected can also block the transfer of the data If necessary check the network connection Vision Sensor SIMAT
46. 2 2006 A5E00757507 01 Commissioning 8 6 Adjust the sensor head using setup support 8 6 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 Note Online Help At the bottom right of each page of adjustment support you will see a Help button with which you can call up online help at any time The relevant help text of the online help opens depending on the currently open dialog Requirements The Start Page of the SIMATIC VS120 Vision Sensor adjustment support was started over the Internet Explorer Procedure 1 On the start page of the adjustment support click on Sensor Adjustment The Adjustment user interface opens The sensor head view is displayed and updated several times per second SIEMENS Vision Sensor SIMATIC 120 Job Adjust Sensor WEB _Adjustment_ Instructions Connections 1 Focus image 2 Set exact triggering Training 3 Save settings with Apply Run Options SIEMENS ma Settings Information haintai Exposure Auto F Al F aintain a Maxshuttersp 10000 us stop Max brightness 500 a Current Status Shuttersp offset J HS r TF a Ext trigger airs Full size Wan trigger Initiate
47. 232 xxx 0 to 255 converter or of the PC PG on which a TCP server runs IP port Ports gt 1 to 65535 8000 IP port of the Ethernet RS 232 converter TCP RS232 or of the PC PG on which a TCP server runs Timeout Ports gt O to 3600 e 0 There is no transfer of cyclic TCP RS232 monitoring frames to determine whether the connection still exists between the processing unit and the Ethernet RS 232 converter or the PC PG on which a TCP server runs Otherwise Time in seconds after which a monitoring frame is sent to determine whether the connection still exists between the processing unit and the Ethernet RS 232 converter or the PC PG on which a TCP server runs The check is implemented by sending the Idling string 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 9 5 Operation 9 2 Working with the processing unit Port IdleStr Ports gt Freely selectable r n String to determine whether the TCP RS232 character string connection still exists between the processing unit and the Ethernet RS 232 converter or the PC PG on which a TCP server runs It is transferred cyclically Select this so that the recipient can clearly distinguish it from the generated results The string can be a maximum of 100 bytes
48. 3 User name W Warnings Description 11 6 Remedies 11 6 Warranty Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Index Index 5 Index Vision Sensor SIMATIC VS120 Index 6 Operating Instructions Edition 02 2006 A5E00757507 01 Siemens AG Automation and Drives Industrial Automation Systems Postfach 4848 90437 NUERNBERG Federal Republic of Germany www siemens com automation ID A5E00757507 01
49. 4 ms Help e The processing mode with model sets provides you with evaluation results for the entire model set e Information about the best model the individual models and any sub ROls in the models is also displayed e The quality is displayed color code based on the results 9 36 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Example of processing results for part recognition with classification mode Info model set No 1 1 4 OK 44 100 000 Warning s 0 0 000 N_OK 0 000 J lt J gt reset Info model set No 1 4 5 Mi 44 M2 0 M3 0 M4 O MS O MB O 0 0 9 3 6 Options Info model set No 1 2 5 Quality 99 9 Min 99 8 Max 99 9 Position K 8 9 Y 69 2 Angle 0 0 Info model set No 1 Cycle time Mir Max Trigger Interval Min Max Trigger too fast 3 5 2704ms 1056ms 2704ms 00 00 01 163 00 00 01 056 00 00 01 163 0 0 000 Info model set No 1 5 5 Logging Images 6 Reports 5000 gt Reset Figure 9 21 Information pages for processing with classification You can change additional default settings for training models user permissions saving information for diagnostic purposes and additional functions for image processing under Options The optional settings have a direct affect on the tasks such as training and evaluation The Options di
50. 70 5 Function block FB1 10 5 3 Operator control Model selection Reset Triggering The DISA bit must be set to 1 in order to select a model The desire model number is set at the FB1 MODEL input The model change is completed when the TRD and RDY bits change from FALSE to TRUE In this case the applied model number is applied to the MODEL_OUT output As long as no model has been transferred the value 0 is output at the MODEL_OUT output The MODEL_OUT output changes to 0 as soon as the DISA bit is reset If MODEL 0 the last selected model is retained O is output at the MODEL_OUT output When errors are reset the SIMATIC VS120 module errors IN_OP 0 and the FB1 transmission errors are reset Image processing with the SIMATIC VS120 can be triggered with the trigger input at FB1 In mixed operation control over PROFIBUS DP and triggering over DI DO the trigger signal can be connected directly to the VS120 processing unit In this case the TRG FB1 parameter remains free Transferring the delay time The time value for hardware trigger delay is set at the FB1 DELAY parameter With the Delay time parameter you can specify the value for hardware based triggering Reading and transferring result data FB1 is always ready to receive Following an OK or N_OK evaluation the result data is output The data are valid if the NDR bit changes from 0 to 1 The number of sub ROls to be transferred is set in the Connections
51. A ces E AEE E E coy E T E TEA A E A E E E 9 3 WoOrkmg With Setup SUD DOM sererai R E EA 9 3 1 AUTON CN TO aeons ana E EEA E EE E E EE E E EAE SEE E EAE 9 3 2 PANTS SNS E Saree N A E E I E A A E E O A N A E E N 9 3 3 CONNECCION gecesi ce cance eE E E E EE E E EEE E NEE 9 3 4 Diea eE E N N E E AE A A ENE T ee een eee en E E es 9 3 5 PMOCC SSUNG en EA E A A E E E A E 9 3 6 DUON ee e E ee EEEE EE E E 9 3 7 ITEM ANON AEE E E E A N E O A E E E EO TE 9 3 8 MAIN OI ier E E E E E 9 3 9 ec E E eee se cee eee ew Process interfacing over an automation system PLC PC ccccsssccccsseeeeeseeeseseeeeeeeeeeaseeeseeeeenees 10 1 Integrating the PROFIBUS DP slave SIMATIC VS120 in HW Config 10 2 Integrating the PROFINET IO device SIMATIC VS120 in HW Config 10 3 Control over the DI DO I O interface 22 2 0 ccc cccccecccceeeceeceeeeeceeceeeseecesseeeesseeceeseeeesseeeeesaeeeeees Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5SE00757507 01 11 12 13 14 15 16 Table of contents 10 4 Control over PROFIBUS DP and PROFINET 10 ccc ccccccceccccaeeceeeeeeeseeseeseeeeseaeeeesenees 10 4 1 Principle of data transfer over PROFIBUS DP and PROFINET 10 eeceeeeeeee ees 10 4 2 Assignments for PROFIBUS DP PROFINET lO relevant interfaces for the processing UNIE te scorers areata a Se balan Se geen damned aterm rE ESRAS ARNE RENES VOM 2k COMOD lO es E E ecustunaaee idebeaundmeteme ides oust S
52. ALSE No module fault OB_82_EXT_FAULT FALSE 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 Bytes 7 through 10 of the slave diagnostic information diagnostic bytes 0 through 3 read with SFC13 correspond to the 32 bit long field Unit_Diag_Bit of the GSD file S10180ED GSD or the diagnostic bits shown in the table in Error messages The slave diagnostic information is structured designed as follows PROFIBUS Scope of validity frame Byte 0 Station status 1 bit 3 1 External diagnostic According to standard information available Byte5 5 Manufacturer ID low mens co According to standard Byte 6 Length of the SIMATIC VS120 specific diagnostic According to standard data including byte 6 B 16 05 Diagnostic byte 0 bit 1 Sensor not found Vision Sensor SIMATIC VS120 11 12 Operating Instructions Edition 02 2006 A5E00757507 01 Alarm error and system messages 11 4 Slave diagnostics or O device diagnostics Receive alarm with SFB54 RALRM SFB 54 RALRM returns the following diagnostic information in the TINFO parameter task information for PROFIBUS DP Byte Value Meaning 0 to 19 See OB description Start information of the OB in which SFB 54 is called 20 to 21 Depending on configura
53. C VS120 e From the VS120 processing unit see the section Working with the VS120 processing unit e Using adjustment support See the section Working with adjustment support on the PC You can set and change all parameter settings with adjustment support on the PC Configuration on the VS120 processing unit itself is limited 9 2 Working with the processing unit 9 2 1 Introduction The display of the VS120 processing unit is used to show the coordinates and the orientation of the test object currently being viewed and the associated quality value You can also navigate between the menus and make entries in the LCD display Example of an LCD display UH H LFF kl OE Info Five levels are implemented as selection menus or displays e Adjust e Connect e RUN e Options e Maintain Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 1 Operation 9 2 Working with the processing unit 9 2 2 Adjust Adjust display 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 9 2 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 2 Working with the processing unit IP Mode DP PNIO only for IP Mode PNIO TOPIRS232 not for fast Triage Edge not for Source TCP RS
54. DB10 for PROFIBUS DP and PROFINET IO data exchange Example programs for FB Example program for archiving of diagnostic information Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 14 1 Scope of delivery Spares Accessories 14 2 Full packages SIMATIC S7 300 Automation System Installation Manual Device master data file SI0180ED GSD with the corresponding bitmap file VS1X0__N DIB for PROFIBUS DP Device master data file GSDML V2 0 Siemens 002A VS100 20060208 XML with corresponding bitmap file VS100 BMP for PROFINET IO You will find an overview of the complete range of components in the section Complete Packages Note If you want to use C or CS mount sensors under IP65 conditions use a lens protective housing 14 2 Full packages 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 Sensor head with mounting plate A5E00190326 degree of protection IP 65 field of view 70 x 50 mm 6GF9004 8BA LED ring light red diffuse with mounting bracket A5E00200046 for SIMATIC VS degree of protection IP65 6GF1 120 1AA01 SIMATIC VS120 full package field of view 70 x 50 mm cable 10 m 6GF1 018 2AA10 SIMATIC VS120 processing unit 6GF2002 8DA01 Sensor head with mounting plate A5E00190326
55. E E 10 4 22 Status DYTE ene en OP E E a ee eer eer 10 4 2 3 User data interface Send VS120 processing unit gt gt gt automation system 0c0 10 4 2 4 User data interface Receive automation system gt gt gt VS120 processing unit 06 10 4 3 Programming data fragmentation cccccccseeeeeceeeeeecseeeeeeeeeeeeeeceeeeeeeeseeeeeeseaseeeeseaeeeeesaaeeees 10 5 FUNCION DIOOD Teresie e E E re ee eee NO O a E A E R E 1032 Eamel rea eo ae eee ee Woa OP Or CONO e a E E E T destengecocencuneaeeas t1054 ex 4 6 11 910 fA 0 fees meme eo ire eer ne ne nt i one en Era ee ee 10 6 Sie fll 811618 73 19 cee ee ene ee ee eee ee eee eee 10 6 1 Example 1 Program for interfacing the SIMATIC VS120 processing unit with a SIMATIC controller USING FB1 ccccccceececceseeceeceececeeeceseeeeeeseucessueceeseaeeeseaeesseneeesseeeesaaees 10 6 2 Example 2 Program for archiving diagnostic information On a PC PG ccceecceeeeeeeeeeeees Alarm error and system messages cccccecceeeececeeceececeaeeesaeeecaeeeeaceseueeeeeeesaeeesaeseseeesseeesseeseeesaeeess 11 1 CVG WY ENEE NEA scission E AE AA E A 1 1 11 2 Error messages and error handling cccceeeeeseeeeeeesseceeeeeeceeceeseseeeeseseaeaececeeeeeeeeeenensstaaaes 11 1 11 3 Diagnostics based on the BF LED ccccccccecesesececseseeceeseeceeseeeseueseneueeenanseeesaeeensaeeeess 1 10 11 4 Slave diagnostics or O d
56. IC VS120 11 2 Operating Instructions Edition 02 2006 A5E00757507 01 Alarm error and system messages 11 2 Error messages and error handling PROFIBUS PROFINET DP bit no lO starting at Value diagnostic Message on the LCD Description display DP PNIO Trm Error The transfer of the last read result is not yet completed the next read result is however already available or the DP master or IO controller does not reply within the handshake monitoring time parameter Connect gt Ports gt DP gt Timeout on processing unit or within the time limit parameter in PROFIBUS DP in Part 1 3 Ports of the Connections dialog in the adjustment support parameter Connect gt Ports gt PNIO gt Timeout or within the time limit parameter in PROFINET IO in Part 1 3 Ports in the Connections dialog in the adjustment support byte 0 The PROFIBUS DP settings are me not correct 13 Error in PROFIBUS DP communication Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Invalid DP parameters PROFIBUS DP Error on processing unit Remedies Reduce the trigger frequency or process the results more quickly If necessary change the transmission rate for the DP configuration or the update time for the PROFINET configuration Correct the DP settings Make sure that the parameters for communication over PROFIBUS DP and the communication partne
57. IMATIC 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 The SIMATIC VS120 Vision Sensor returns the following recognition values during object recognition e x coordinate e y coordinate e Angle e Quality rating of the specimen number of detected parts This object recognition data is transferred to processing units in automation systems The data is processed in the processing units of the automation systems The SIMATIC VS120 Vision Sensor is suitable for e Recognition of parts in sorting tasks e Determining the position for Pick amp Place applications e Checking the presence and position of objects in production e Checking position in feed systems for example with oscillating conveyors workpiece holder conveyor belts circulating systems grasper units and robots e Quality control of specimens Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 3 1 Description 3 2 Performance features 3 2 Performance features e Overhead lighting head with LED ring flash e Object recognition with object search and object test e Commissioning using adjustment support on the PG PC with installed Internet Explorer e Up to 20 objects tested per second e Up to 64 specimens can be stored e Two digital o
58. IMATIC VS120 with the adjustment support Next step Perform the activities described in the section Establish an Ethernet connection between the VS 120 processing unit and PC PG 8 4 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC 8 4 Establish an Ethernet connection between the processing unit and PG PC 8 4 1 Select the connection variant 8 4 1 1 Connection variants You can connect the VS120 processing unit via a direct connection or via a network with a PC PG In all cases the TCP IP Ethernet protocol is used for communication Direct connection e Operating the VS120 processing unit as a DHCP server e Connecting the VS120 processing unit manually Connection over a network e Integrating the VS120 processing unit as a DHCP client in a network e Integrating the VS120 processing unit as a device in a PROFINET IO network Notice Operating the VS120 processing unit in a network can interfere with the communication in your network if you make certain settings in the Connect gt Ports gt Ethernet gt IP Mode menu 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 E
59. Min 93 9 Language War 99 9 English Main X 10 90 Width 228 Height 76 Roll angle 0 0 lt as Een Help j Figure 9 16 Training Test tab Vision Sensor SIMATIC VS120 9 32 Operating Instructions Edition 02 2006 A5E00757507 01 Part 5 5 Save Operation 9 3 Working with setup support You can save a trained model by opening the Training Save tab In the Number and Name text boxes enter the number and name max 8 characters of the model you want to save SIEMENS Vision Sensor SIMATIC 120 Job Train model Adjustment Training Getect sequence ofthe sub ROL Run and save model Options Information Save Model meea o Ege Mame Siemens SUB RIOIS 14 roid Current Status Available Siemens 1 Models E Language Home Back eat Figure 9 17 Training Save tab 9 3 5 Processing The Processing panel is divided into two areas You start processing a model or model set with Start on the left Statistics on the currently running process are also displayed in a multiple page area This corresponds to the results shown in the Info Statistics tab e The Q limit and warning limit can be increased or decreased using the Q Limit button for optimizing the processing The current value is shown beside the buttons and the modified values can be stored on the controller with Apply e On the right you can see the most recently processed image The results from
60. Note e The main ROI is always available and cannot be deleted Sub ROlIs can be created by pressing the New button or deleted with Delete e The outside edges of the main ROI should be very close to the model to obtain a good evaluation of the image e The sub ROls will only be found if the quality of the main ROI is better than the defined quality limit Q Limit Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 29 Operation 9 3 Working with setup support Main ROI and sub ROls A main ROI is selected with the mouse for image processing This main ROI indicates the specimen in the exposure that should be analyzed You can define up to 16 sub ROls for this These sub ROls define regions within the main ROI in greater detail For evaluation the sub ROls can also be located outside the main ROI Changes to main and sub ROls Names and colors 9 30 A ROI can be picked up by its edge and moved using drag and drop When you click on it square handles appear at the corners that allow you to change the size A round handle appears at the corners when you click on the ROI again The ROI can be rotated in this state Using the ROI shape radio buttons you can switch between a circle and a rectangular form for the current ROI The coordinates of the current ROI are displayed below the image Position x y Size width height and Angle If you require more precise positioning
61. O only becomes active after restarting the processing unit During the self test the system waits for the activation of the TCP IP connections if applicable when obtaining the IP address from the DHCP server You must correct the PROFIBUS DP parameters or activate the communication partner Set the value over the Web user interface or change the security settings over the Web user interface Turn the power supply for the processing unit off and on again If the message does not disappear automatically after a few seconds check the network connection With ESC you can skip connection establishment or it continues in the background Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Alarm error and system messages 11 2 Error messages and error handling No Message Description Remedios O 5 Archive Esc Skip TCP RS232 Esc Skip PROFIBUS Esc Skip PROFINET Esc Skip Factory Settings used This will cause a restart This will reset DelaySrc Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 In the self test the system waits for the TCP IP connection to the archiving software to be established If the message does not disappear automatically after a few seconds check the connection to the archiving software With ESC you can skip connection establishment or it continues in the background In the self te
62. Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Part 2 4 Security By clicking on the user name or on Safety in Options you open Options Security tab You can see all the currently assigned user permissions here Notice 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 SIEMENS Vision Sensor SIMATIC V 120 Charge password Suey bout peee DA Lp NEX z H a li i Figure 9 23 Options Security tab user rights Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 39 Operation 9 3 Working with setup support Currently logged on user and adjustment support mode By moving the mouse pointer on WEB a popup field displays the permissions of the user The following icons can be displayed in the popup ED ED ED ma D Red padlock with black R Read only mode in other words no operator input possible because the adjustment support of another PC has control of the processing unit Gray padlock The logged on user has no permissions to change settings Red padlock with green D DISA is active Only the Service and User1 users can take over control of the processing unit from the controller Green padlock with gray D The currently logged on
63. Operating Instructions Edition 02 2006 SIMATIC VS120 Image Processing Systems gt an n i p N pz J i i 4 i 7 p SIEMENS SIEMENS SIMATIC Sensors Image processing systems Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 AS5E00757507 01 Introduction Safety instructions Description Image processing Network and system integration a Installation Connecting Commissioning Operation Process interfacing over an automation system PLC 1 PC Alarm error and system messages gt _ N Technical data Dimension drawings Scope of delivery Spares Accessories Service amp Support 15 Directives and declarations OQO O A A O0 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 only to property damage have no safety alert symbol These 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 gt gt D with a safety alert symbol indica
64. Output tab of the adjustment support Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 19 Process interfacing over an automation system PLC PC 70 5 Function block FB1 10 5 4 Error information Error Information ERRCODE Module fault 10 20 lf an error occurred ERROR is set to 1 The precise cause of the error is then displayed in ERRCODE e 0000 No error e 1xyz FB1 internal fault e 2xyz Processing unit error e 8xyz Error messages of internal SFCs W 16 0000 fo Norton 1007 The delay value is outside the permitted range of 0 to 9 999 999 us 2001 The selected model number has not been trained Transfer of SFC14 and SFC15 error messages You have not configured any module for the logical base address specified The system has detected an IO access error Mie os System error at external PROFIBUS DP interface The VS120 module fault IN_OP 0 is not applied to the ERROR group error bit since when turning on and off it is not possible to determine whether the controller is starting up or is in a fault status Note It is recommended to always evaluate the IN_OP bit Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 10 6 Sample programs 10 6 Sample programs We have written the following example programs for you e Example 1 Program for interfacing the SIMATIC VS120
65. ROFINET IO Information Read out Digital I O System con figuration 5 2 Me an Display Adjust 9 2 Distortion Index 1 Index E Edge lines Unwanted Edges principle Recognition Error Information Error information FB1 Error Message Description Error messages Acknowledge Remedies Errors Automatic acknowledgement ae Manual acknowledgement 11 6 Ethernet system configuration Ethernet connection Connection variants Evaluation results For part recognition 8 37 In normal mode Example Archiving diagnostic information on PC PG Link with FB1 10 21 Example 1 Integrating the FB1 Linking to the SIMATIC controller Process interfacing Example 2 Adjustment support Process interfacing 10 23 Exposure time Extras Options F Faults Firmware updates Fixing screws Fluctuations in size Function block FB1 Fuse Index 2 G General fault 11 1 GSD file 10 4 H Handshaking 10 14 Hardware HW Config Module catalog I O interface DI DO Incorrect response due to interference signals Information Device Info Devices Diagnostics Model Inrush current Interface assignments Ethernet interface 12 8 Lighting unit 12 8 Power supply 12 8 PROFIBUS DP interface 12 8 Interfaces Communication Illumination control Load power supply Parameters Sensor head interface 12 6 Interference Internet IP setting
66. S120 Operating Instructions Edition 02 2006 A5E00757507 01 9 17 Operation 9 2 Working with the processing unit 9 2 6 Maintain Maintain menu The following schematics provide you with an overview of all the parameters of the SIMATIC VS120 that can be set in Maintain Factory S Figure 9 6 Structure of the Maintain menu Maintain parameter menu Parameters Path Possible Values Default Maintain Delete Maintain gt Model 01 to model 01 This function deletes individual models Delete 64 FactoryS Maintain gt This function resets the VS120 FactoryS processing unit to the factory settings and restarts it Restart Maintain gt This function restarts the VS120 Restart processing unit Vision Sensor SIMATIC VS120 9 18 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support 9 3 Working with setup support 9 3 1 Introduction Notice Possible data loss The editing data is lost if the Internet Explorer or the input screens are turned off without first saving the data because the application does not have session memory You should therefore always save your data to avoid losing it Note Online Help At the bottom right of each page of adjustment support you will see a Help button with which you can call up online help at any time The relevant help text of the online help opens depending on the currently open dialog Open the Start Page of the adjustment
67. This consists of the network ID and a unique host ID This address is typically represented with the decimal value of each octet separated by a period 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 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary 5 Glossary LAD LAdder Diagram gt Graphic representation of controller functions based on a circuit diagram from protection technology The current paths however are not arranged horizontally in relation to one another and the symbols deviate LAN Local Area Network for example Ethernet network within a building LCD Liquid Crystal Display LEDs Light Emitting Diode LF Low Frequency MAC Media Access Control MAC address The MAC address is the hardware address for each network device network card switch etc and is used for unique identification of the device in the network The MAC address is burned into a chip and cannot normally be modified Machine Readable Product Code German Maschinenlesbare Fabrikatebezeichnung gt The MLFB is the order number of a product and at the same time the type system identifier Main ROI or ROI Region of Interest The main ROI is the area with characteristics of the specimens relevant for image processing Master The device configured as master in a communications system passes on data to the device configured as s
68. ables e Connect functional ground of the processing unit with chassis with a ring M5 anda cable cross section of at least 1 5 mm2 e Connect the processing unit to the 24 V DC load power supply with 2 A e Connect the PC PG to the processing unit using an Ethernet cable e Arrange the cabling according to your configuration Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 1 3 Connecting 7 3 Connecting components Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Commissioning 8 8 1 Prerequisites Notice All activities are described based on the classic Windows Start menu If your Windows Start menu is not displayed in the classic style change it as follows 1 Right click on the taskbar and select Properties 2 Change to the Start Menu tab and select the Classic Start Menu radio button 3 Click OK to close the dialog box Requirements for commissioning e Administrator privileges e Enabled JAVA JIT Compiler Checking for administrator privileges 1 Click Start gt Settings gt Control Panel gt Administrative Tools gt Computer Management 2 Click on System gt Local Users and Groups gt Groups gt 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 8
69. alog is made up of the following four parts e Part 1 4 Training e Part 2 4 Security e Part 3 4 Diagnostics amp Monitoring e Part 4 4 Extras Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 37 Operation 9 3 Working with setup support Part 1 4 Training 9 38 You can make the settings for training the main ROI and sub ROI in the Options Training tab SIEMENS Vision Sensor SIMATIC 120 Job Options Part 1 4 Training WEB Adjustment Sunerin Training Security Diag amp Wonitoring Training Sub ROls and Main ROI Run Standard value Editable Standard value Editable Options Precision Fine feo a Information Joe Find S joao C Maintain Scaling Fixed gt jso ston search m H Current Status Q Limit ra w Be Warning limit fen Model tpe Edge Instructions Specify the default parameters for training here and if the parameter can be changed Test during the training Shutter settings editable st Language Home Back Next Apply Help Figure 9 22 Options Training tab As default the Editable check box is not selected If you enable a check box Precision for example you can change these parameters during training 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
70. an see these in the Connect gt Ports gt Ethernet gt MAC Info menu Note If your network administrator can assign a DNS name Domain Name Service for the VS120 processing unit you can address the device by name in much the same way as an intranet server Procedure 1 Configure the VS120 processing unit as a DHCP client 2 Configure your PC as a DHCP client 3 Establish an Ethernet connection Step 1 Configuring the VS120 processing unit as a DHCP client 1 After turning on the VS120 processing unit and after the self test is completed go to the Connect menu and confirm with OK Confirm the selected Ports menu command with OK Change to the Ethernet menu and confirm with OK Confirm the selected IP Mode menu command with OK Select DHCP and confirm with OK a A O N Step 2 Configuring your PC as a DHCP client 1 Click Start gt Settings gt Network and Dial up Connections 2 In the Network and Dial up Connections dialog select your active local area connection to the 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 8 9 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC Step 3 Establish the Ethernet connection
71. apply the appropriate select models 1 to 15 If all the inputs of retained i SEL 0 SEL 1 SEL 2 ee ee e e a ee SEL 3 p 4 4 J 4 ee eee prms ep N Start or change Apply bit pattern to the inputs SELO to SEL3 You can Select are set to 0 the last selected model is I I I TONE ee E I I I I I I I I I eee ee Z gt SS SS SS SS ES A E I I I I I I I I I e e e e e e e e e _ SS I I I I I I I I l I I I I I I ae ee ee EEN Oe Se ee ee eee e I I I I I I I I I I I EE ee q 7 pr I I I I I I l jy ah avo 47 p I I I I I I I I I I l I l I I I I I I I I l I I I I I I I I I I ee as ee ee oe a I I I I S E S i a S S qo a a a ee ep 7 model selection Model selection At nin Figure 10 3 Model selection Legend At of the model at for example Atmin At max 150 ms regardless of model model set and Atmax depending on model model set This process may take a few minutes Note Only 15 models can be selected If there made using model sets is a larger number of models the selection must be Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automatio
72. ating Instructions Edition 02 2006 A5E00757507 01 Network and system integration 5 3 PROFIBUS DP system contiguration 5 3 PROFIBUS DP system configuration Acquisition and output of recognition values in a PROFIBUS DP environment PG PC for Processing unit setup support Power supply SICMENS RJ 45 Ethernet i Power supply cable Functional earthing cable PROFIBUS DP Lighting cable Sensor cable Sensor head DI DO cable a Wn LED ring flash Photoelectric barrier Object Conveyor unit Conveyor unit gt Figure 5 2 System configuration with PROFIBUS DP System features e APC PG dedicated to adjustment is connected via the Ethernet port e The connection to an automation system is established via PROFIBUS DP e The SIMATIC VS120 is controlled by the automation system via PROFIBUS DP e The results from the specimen are output to the automation system via PROFIBUS DP Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 5 3 Network and system integration 5 4 PROFINET IO system configuration 5 4 PROFINET IO system configuration Acquisition and output of recognition values in a PROFINET IO environment PG PC for Processing unit Switch adjustment support Power m supply SICMIENS Automation system Power supply cable fiaa wm E joo bea Functional earthing cable Lighting cable Sensor ca
73. ation 9 3 Working with setup support Part 4 4 Device Info This part of the dialog provides you with information on the processing unit the firmware and the sensor head SIEMENS Vision Sensor SIMATIC 120 Job Information Part 4 4 Device information WEB Adjustment Connections Peng pie neage Training Processing unit Run Current IP address 141 73 10 113 Options MAC address O8 00 06 71 8C 88 Information Current DP address T Maintain Hardware version Valo Stop LFB BGF1 018 2410 Current Status T Firmware Version e Sensor head Hardware version a MLFB GF 002 8CB Language Home Back hert Help Figure 9 30 Information Device Information tab Vision Sensor SIMATIC VS120 9 48 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 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 SIEMENS Vision Sensor SIMATIC 120 Job Ea x mee rE T Language Home Figure 9 31 Maintain Note When you load a model on the processing unit the parameters saved with the model are also loaded and therefore valid Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 49 Operation 9 3 Working wi
74. auchausunieercaraieeesnuauensiscdes 6 1 Installing the SIMATIC VS120 processing unit eee ee eee reer eet eee eerste teeeeeetneetneeeats B 1 6 2 Installing the sensor head with LED ring flaSh cccccccccssssccccececeessseeeeeeeeceesssseeeceeeeseesneeees 6 1 CONNEC UNO sagen ct aise soap E AE E E E EEE 1 7 1 Guidelines on installation and avoiding electrical interference 00 0 0 ccccccceeeeeeeeeeeeesseeeeseeeeees 7 2 Guidelines on installation when using PROFIBUS DP or PROFINET 10 ceeeeeeeeeeeees 7 1 7 3 CONMEGCHNG COMPONGSINS sssrinin e nan ai Ea as e aa ieee talanenss e Eea 2 COmM ESON assardoctecseeis as centre verses E EEE B 1 8 1 PSO CN SS Satcher innar terete Aai a aa r a EE EN A a A Eni 3 1 8 2 Overview of the steps IN COMMISSIONING ccccceccceececaeceeceeceeceeceeseeeeecaeeeeceueeesseeeesaneeeesaaees 3 2 8 3 Turn on the VS120 processing UNIt ccccccccecceecseeeeseeeeeeeeeeeeeeseeeeeeeeaeeeeeeseeeseeesseeeeesaeeeeeeeneeges 3 3 8 4 Establish an Ethernet connection between the processing unit and PG PC cece 8 4 1 Select the connection VALIANL cc ccccccecccseecceececceeceecaeeeeceeeeeseeucessaeeesaeeeseaeeeseueeessaeeeseesaneeees 8 4 1 1 Connection variants sciinnssscsiverc seat sesiccettanwosiieicetanes Seveassisdls vanes uence vce denaidediwsdded Vanstulekenst vets des smed see vendt 8 4 1 2 Operating the VS120 processing unit as a DHCP server ec cecccceeccc
75. ble PROFINET IO Sensor head is P DI DO cable 1 LED ring flash Object Photoelectric barrier fm gm YY iY iY YY Conveyor unit gt Figure 5 3 System configuration with PROFINET IO Conveyor unit System features e APC PG dedicated to adjustment is connected via the Ethernet TCP IP and a switch e There is also a connection to a PROFINET IO compliant automation system via Ethernet and a switch e The SIMATIC VS120 is controlled by the automation system e The results from the specimen are output to the automation system via PROFINET IO Vision Sensor SIMATIC VS120 5 4 Operating Instructions Edition 02 2006 A5E00757507 01 Network and system integration 5 5 System contiguration with Ethernet or RS 232 over Com server 5 5 System configuration with Ethernet or RS 232 over Com server Acquisition and output of recognition values with Ethernet TCP IP Switch PG PC for Ti adjustment support Processing unit Power SICMENS RJ 45 Ethernet cable Power supply cable Functional earthing cable Lighting cable Sensor cable DI DO cable Sensor head LED ring flash Object Photoelectric barrier fe gm YY iY iY YY Conveyor unit Conveyor unit Figure 5 4 System configuration with Ethernet TCP IP System features e The PC PG for adjustment support is connected to the processing unit via a network e The SIMATIC VS120 is controlled by the HMI
76. ceeeeeseeeeeseeeeeseneeesaaeees 8 4 1 3 Connecting the VS120 processing unit manually cece ceeeeeeeeceeeeeeeaaeeeeeeeeeeeeesaaeeeeeeaaeeeeens 8 4 1 4 Integrating the VS120 processing unit as a DHCP client in a network cccecceceeeeeeeeeeees 8 4 1 5 Integrating the VS120 processing unit as a device in a PROFINET IO network 8 4 2 Check whether a proxy Server iS being used cccccceeeceecaeeeeeeeaeeeeeesaeeeeeeeeeeeeessaaeeeesaeeeeens 8 4 3 Change the proxy configuration of your Internet Explorer cccceceeeceeceeeeeesaeeeeeeesaeeeeeeaees 8 4 4 Check the CORRS CU ca srcecear ern ss nsien aaa iadaaa aaa aiaa 8 5 Start setup support over the Internet ExplOrer cc ccccceccccceeceeceeeeesaeececeeeeeseeeeesaeeeesaeeeeeeees 8 6 Adjust the sensor head USING setup SUPPOFT ccc ceccceeecceeeeeceeeeseeeeseeesseeeeseeeeseeeseeeeeaaeeeaes 3 SSI AON AEE E TE A APET EE E EA A A E E E E A A E E E EAE 9 1 OO ea E corre ee ee A EEEE A EE E epee ecaceaemecelseeee 9 2 Working with the processing unit ccccceccecseeeesececeeeeeeseeeeeeeeeeeseeeeeseeeeseueeesaeeeseueeesaeueesaaegaees 9 2 1 MOCI oeaan E EET TE E E niseseedetvele 9 2 2 AOUS ee E E E E E E E E E E E eee 9 2 3 MNS E E E cee cree EE E i ane A oars ct A EN A A A EE ET EEE seuetens 9 2 4 PONE mee E E A ceuseqeacesusessensiceetuealia ede seassseneuscereaste 9 2 5 RS ON aeae E E E ee ce Sede eee nc oe ae nse nee ae meee 9 2 6 PO UN I
77. cimal format e Assign the INDEX parameter the value 2 Vision Sensor SIMATIC VS120 11 16 Operating Instructions Edition 02 2006 A5E00757507 01 Alarm error and system messages 11 4 Slave diagnostics or O device diagnostics The diagnostic data record is structured as follows Byte Value Meaning SS B 16 08 B 16 10 12 13 B 16 05 Indicates that all variables are save word by word beginning at byte 14 14 to 15 W 16 0003 ID for manufacturer specific diagnostics 16 to 17 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 Operating Instructions Edition 02 2006 A5E00757507 01 11 17 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 Technical data 12 1 Power supply Supply voltage UN General technical specifications e Input voltage protected against polarity reversal e Power down bridgeable Current consumption IN Fuse Inrush current Safety requirements complying with Electromagnetic compatibility Pulse shaped interference Interference Electrostatic discharge according to IEC 61000 4 2 Burst pulse fast transients complying with IEC 61000 4 4 Coupling Asymmetrical Symmetrical Vision Sensor SIMATIC VS120 Op
78. cision in the adjustment support adjust sensor the shutter soeed exposure parameter is adjusted automatically Depending on the distance of the object to the camera this can cause inaccuracies Example for declaring the Precision parameter 4 3 2 A wall is hung full of A4 sheets on which various texts have been printed An observer has the task of finding a specific sheet among all the others Procedure To accelerate the search the observer stands at a considerable distance from the wall The distance from the wall selected by the observer depends on the criteria on which the search is based among other factors The observer begins to presort all the sheets If the observer is looking for a large rough drawing they will stand a long way away to be able to see all drawings at the same time In this case the observer would select Fine3 If the observer concentrates on details such as text format or heading he would move closer Since he is examining more details the search takes correspondingly longer In this case the observer would select Fine2 or Fine Once the observer has made a rough selection he moves closer to the sheets and investigates each sheet in detail He now exactly compares individual words and image details with a reference sheet 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 wa
79. cyclical data communication and alarm handling based on this AR The properties and options of an IO device are described in a Generic System Description GSD file This file is written in GSDML GSD Markup Language an extension of XML and is used as a planning tool to create a base configuration for PROFINET IO systems for planning PROFINET IO Input Output is used for controlling sensors and actuators using a central controller in production engineering A computer that responds to name query broadcasts and answers to names that do not go to the local subnet To evaluate the names the proxy communicates with a WINS server and then retains the names in the cache for a certain time RS 232 Recommended Standard 232 SELV Sensor Server Glossary 8 RS is an accepted industrial standard for serial data communication For cable lengths shorter than 15 m No differential evaluation Sending and receiving on different lines Safety extra low voltage In electrical engineering a sensor is a component that can qualitively measure not only specific physical or chemical properties such as heat radiation temperature humidity pressure excess pressure sound luminance magnetism acceleration force as well as the physical condition of its surroundings or register them as measured variables Network station that provides services and resources for other stations for example a computer that manages data and passes this on to ot
80. dition 02 2006 A5E00757507 01 8 5 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC 8 4 1 2 Operating the VS120 processing unit as a DHCP server You want to do the following with the VS120 processing unit e Connect directly to the PC PG e Operate the VS120 processing unit as a DHCP server to assign the following addresses of the processing unit automatically P address DNS server address Notice Under no circumstances connect the VS120 processing unit in this mode to an existing DHCP server in the house network over a switch as you may disrupt the operation of the house network You can only implement an additional connection from the PC to your previous network over a second network adapter in this PC Note In this mode you can connect up to four PCs to the VS120 processing unit via a switch since a maximum of four IP addresses can be assigned automatically Procedure 1 Configure the VS120 processing unit as a DHCP server 2 Configure your PC PG as a DHCP client 3 Establish an Ethernet connection Step 1 Configuring the VS120 processing unit as a DHCP server 1 After turning on the VS120 processing unit and after the self test is completed go to the Connect menu and confirm with OK 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 Sel
81. e 1 5 Mbps e 3 Mbps e 6 Mbps e 12 Mbps 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 gt Ports gt DP Addr of the processing unit Possible values are 1 to 125 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 3 Process interfacing over an automation system PLC PC 10 2 Integrating the PROFINET IO device SIMATIC VS120 in HW Contig 10 2 Integrating the PROFINET IO device SIMATIC VS120 in HW Config Installing the GSD file device master file The supplied GSD file GSDML V2 0 Siemens 002A VS100 20060208 xml contains the properties of the PROFINET IO device SIMATIC VS120 If necessary the file can be downloaded from the Internet at http support automation siemens com 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 gt Install GSD Files The corresponding graphics file VS100 bmp must also be in the same directory as the GSD file The SIMATIC VS120 Vision Sensor appears in the module catalog of HW Config see screenshot below e As of STEP 7 V5 4 in PROFINET IO Sensors VS100 VS120 Configuration example Note When installing a CPU 317 2 PN DP you have to selec
82. e data transfer must be constant at 32 bytes inputs and outputs Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 10 4 Control over PROFIBUS DP and PROFINET IO Procedure Activity in the user program of the DP master or I O controller 1 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 2 The value 1 in byte 1 of the Send user data interface means The SIMATIC VS120 has started data transmission Read the net total length of the data to be transferred from bytes 2 and 3 of the Send user data interface and the user data of the first data packet from bytes 5 to 31 Acknowledge correct receipt of the first data packet by writing the value 1 in byte 1 of the Receive user data interface The processing unit polls byte 1 of the Receive user data interface As soon as it reads the value 1 it fills bytes 5 to 31 of the Send user data interface with the user data of the second data packet and enters the number of this data package in this case 2 in byte 1 Poll byte 1 of the Send user data interface As long as this still contains the number of the previously transferred data packet 1 there is no new data As soon as byte 1 has the value 2 number of the next data packet go to step 5 Read the user data of the second data packet from bytes 5
83. e not located in the process image of OB1 you must use 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 user data interface Vision Sensor SIMATIC VS120 10 10 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 10 4 Control over PROFIBUS DP and PROFINET IO 10 4 2 Assignments for PROFIBUS DP PROFINET O relevant interfaces for the processing unit 10 4 2 1 Control byte DISA Disable Disable manual keypad input model selection via PROFIBUS DP PROFINET IO Select 0 Model selection bit 0 2 SEL4 Select 1 Model selection bit 1 Notassigned o 7 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 Operating Instructions Edition 02 2006 A5E00757507 01 10 11 Process interfacing over an automation system PLC PC 10 4 Control over PROFIBUS DP and PROFINET IO 10 4 2 2 Status byte In operation 0 SIMATIC VS120 starting up or error message is displayed 1 SIMATIC VS120 functional no errors Trained e 0 Model model set cannot be run 1 Model model set can be run 0 Device startup or SIMATIC VS120 in Stop 1 SIMATIC VS120 in
84. eae 4 7 4 5 Ceneo E E E E A E E A 4 6 Main ROI and sub ROlI cccccccccseeeeeececeeeeeeeeeeeeeeeseaeeeeeeeeeeeeeeeeeeeeeseeeeeeesaeeseeeeeeeeeeseeeseeeeaaas 1 8 4 6 1 Example Main ROMAIN SSUES ONS dict access tia cdot a E T 4 9 4 6 2 Example of the influence of sub ROls on the quality value cc cecccceeeceeceeeeeeeeeeteeeeeeaeeees 4 7 SOTO AA FV LS Ir sgn ears vcr atte E E E E san dara E A SE E 4 8 ACTA AE E E E E tenn ease emt aetna seen cece arsine aa EE E A EE T A 16 4 9 Model type parameter onc wees onic nics cneenwawaxcciean newaced SEAE EENE ENEE EE 4 10 Model S o a E E E E E E ee 5 Network and system integration ccccccccsseccsseceeeeseeeceseeceeeeseeeeeeceeaeeeeaeeesaeeesoeeeseueeseaeessseueeenaseesoges 5 1 OVVIO eee eee eer ee ee E E A E EE E eee ee E 3 1 5 2 System configuration over digital I O ccceecccccsceeeceeeeeeeaeeeeeeeseeeeeesseaeeeeeseeseeeeseaeeeesaeneeeeesaa gees 5 3 PROFIBUS DP system configuration cccccccccccccesessssessseeseeeeeseeeeceeeeeeeeseeeeeeeeeeeeeaeaeeeeeeeees 5 4 PROFINET IO system configuration ccccceeeceeceececeeeeeeeseeeeeeesaeeeeesaeeeeeeeseeseeesaeaeeeeeaeeeeessaaes 5 5 System configuration with Ethernet or RS 232 Over COM Server cccecceeeseeeeeeeeeeeeeesaeeeeeeas Vision Sensor SIMATIC VS120 7 Operating Instructions Edition 02 2006 A5E00757507 01 Il Table of contents 10 HENS Fell QUOI se e E tisters aguaeesauniieccp
85. ect DHCPSERV and confirm with OK Vision Sensor SIMATIC VS120 8 6 Operating Instructions Edition 02 2006 A5E00757507 01 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC Step 2 Configure your PC PG as a DHCP client 1 Click Start gt Settings gt Network and Dial up Connections 2 In the Network and Dial up Connections dialog select your active local area connection to the 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 Step 3 Establish the Ethernet connection 1 Establish an Ethernet connection between the VS120 processing unit and PC PG Use a network cable of the type Ethernet RJ 45 crossover Note Instead of the network cable of the type Ethernet RJ 45 crossover you can also use a network cable of the type Ethernet RJ 45 with a switch for the connection between the VS120 processing unit and the PC PG Next step Perform the activities described in the section Check the connection 8 4 1 3 Connecting the VS120 processing unit manually You want to do the following with the VS120 processing unit e Connect directly to the PC PG e Configure manually to change the IP address of the VS120 processing unit or to assign an address yourself Requirements The PC PG has the following default network setting tha
86. ection against harmful interference when Radio Frequency the equipment is operated in a commercial environment This equipment Interference generates uses and can radiate radio frequency energy and if not installed Statement and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Shielded Cables Shielded cables must be used with this equipment to maintain compliance with FCC regulations Modifications Changes or modifications not expressly approved by the manufacturer could void the user s authority to operate the equipment Conditions of This device complies with Part 15 of the FCC Rules Operation is subject to Operations the following two conditions 1 this device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation CANADA Canadian Notice This Class B digital apparatus complies with Canadian ICES 003 Avis Canadien Cet appareil num rique de la classe b est conforme a la norme NMB 003 du Canada AUSTRALIA i ee This product meets the requirements of the AS NZS 3548 standard Class A Vision Sensor SIMATIC VS120 16 2 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary Actuator Compo
87. ed Flashing Bus communication via Check whether the IP address or device name is PROFINET IO has been duplicated on the network LS Check the settings of the IO controller IP address is incorrect Bad engineering configuration Incorrect parameter assignment Incorrect or missing device name IO controller not available switched off but Ethernet connection established Vision Sensor SIMATIC VS120 11 10 Operating Instructions Edition 02 2006 A5E00757507 01 Alarm error and system messages 11 4 Slave diagnostics or O device diagnostics 11 4 Slave diagnostics or O device diagnostics Errors such as Sensor not found trigger a slave or I O device diagnostic message Slave diagnostics works according to the PROFIBUS standards EN 50170 and IEC 61158 IEC 61784 Depending on the DP master or I O controller the diagnostic information can be read with STEP 7 How to read out the slave or IO device diagnostic information and how it is structured is described briefly below You will find a detailed description in the Distributed I O Station ET 200M manual or in the PROFINET 10 From PROFIBUS DP to PROFINET IO Programming Manual Note SIMATIC VS120 does not support the SYNC and FREEZE control commands If the SIMATIC VS120 slave nevertheless receives one of these control commands bit 0 in diagnostic byte 1 is set see Section Diagnostics in PROFIBUS DP Reading out diagnostic information with S7 If an error m
88. ed interference Immunity to interference Industry EN 61000 6 4 2001 EN 61000 6 2 2001 Declaration of conformity The EC Declaration of Conformity and the corresponding documentation are available for the responsible authorities according to the above mentioned EC Directive at the following address Siemens AG Automation and Drives Factory Automation Sensors P O Box 4848 90437 NUREMBERG GERMANY Your sales representative can provide these on request Observance of installation guidelines The installation guidelines and safety instructions in this documentation must be followed during commissioning and operation Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 16 1 Directives and declarations 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 EQ Net certificate no 1323 01 Software license agreement The device ships with preinstalled software Please observe the corresponding license agreements EMC Federal This equipment has been tested and found to comply with the limits for a Class Communications A digital device pursuant to Part 15 of the FCC Rules These limits are Commission designed to provide reasonable prot
89. edged data packets of the DP master or I O controller is monitored If an error occurs the processing unit enters B 16 FF in byte 1 of the Send user data interface and so aborts the current data transmission lf an error occurs writing B 16 FF to byte 1 of the Receive user data interface causes the current data transmission to be aborted Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 15 Process interfacing over an automation system PLC PC 70 5 Function block FB1 10 5 Function block FB1 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 10 5 1 Job Tasks of the function block FB1 Selecting a model or model set Reading the result data and entering it in DB10 DB10 is included in the documentation package Operating the control and status interface triggers results bits Transferring the delay time of the trigger Outputting error messages DBL H Figure 10 5 Function block FB1 Tasks of data block DB10 DB10 is designed for the structured entry storage of data from a main ROI and a maximum of 16 sub ROIs The number of sub ROls is set in Connections Output tab in adjustment support 10 16
90. erating Instructions Edition 02 2006 A5E00757507 01 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 us range surge pulse For external measures see EMC Yes lt 20 ms Typical 2 A maximum load of 1 5 A over the digital inputs outputs Max 10A l max 10 A lt 1 ms IEC 61131 2 corresponds to DIN EN 61131 2 Test voltage Corr to severity e Air discharge 8 kV 3 e Contact discharge 6 kV e 2 kV power supply cable 3 e 2 kV signal line Surge complying with IEC 61000 4 5 Test voltage Corr to severity 2 kV power supply cable direct 3 voltage with protective elements 1 kV power supply cable direct 3 voltage with protective elements 12 1 Technical data 12 1 General technical specifications Electromagnetic compatibility Sine shaped interference RF interference Test values Corr to severity electromagnetic fields Conforming to IEC 61000 4 3 10 V m at 80 amplitude 3 modulation of 1 kHz in the range from 80 to 1000 MHz Conforming to IEC 61000 4 3 10 V m at 50 pulse modulation at 3 900 MHz RF interference on cable cable Test values Corr to severity shields Conforming to IEC 61000 4 6 Test voltage 10 V at 80 amplitude 3 modulation of 1 kHz in the range from 9 kHz to 80 MHz Emitted interference Limit class e Emitted interference of electromagnetic fields in accordance with EN 55011 Limit clas
91. ese parameters must be interconnected and the data block must be at least as large as the maximum expected result OUTPUT In operation e 0O error message is displayed e 1 SIMATIC VS120 functional no errors TRD OUTPUT Trained e 0 Model model set cannot be run e 1 Model model set can be run RDY OUTPUT Ready e 0O Device startup or SIMATIC VS120 in Stop e 1 SIMATIC VS120 in processing mode Run IN_OP OK OUTPUT Object was recognized 1 OK during debounce pulse time N_OK OUTPUT Object was not recognized 1 N_OK during debounce pulse time Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 17 Process interfacing over an automation system PLC PC 70 5 Function block FB1 Parameters Decla Data Description ration type NDR OUTPUT BOOL New Data Received Receive new data Note This parameter is available for only one CPU cycle ERROR OUTPUT BOOL An error has occurred ERRCODE OUTPUT The system outputs a return value with error code if an error occurs while it executes the function e W 16 0000 No error e W 16 1xyz FB1 internal fault e W 16 2xyz Processing unit error e 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 Process interfacing over an automation system PLC PC
92. eseesesaeesensesenseeneeseeeeeneens SENICE S SUPPO arana E A E 15 1 15 1 A amp D Mall Interactive Catalog CA01 20 ieeccccccceeeceeeeeeeseeeeeeeseeeeeesseeeeeessaeeeeeesaeeeeesaeneeeeeas 5 1 15 2 Service and SUDON aurca a aN AN EEEE eee 15 1 Directives and GOClAlatl OMS se sesccetacaressiesceetacnnsaweasnuesectiavasdaawerschtataccveanschcauesaunsneie an iveceaveeeeaiaxedeonactaseases 16 1 OSS AY sates cas acucee a rE A A T ecu ape eansewarsacteauieus iis isuaraionuvseiesaainesusseteycgney coeuanvereieiat Glossary 1 NNN Yo cs gcc cetera eye eg cise ee A nan ated am cere peace cei cee ean OE A A A E E Index 1 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 V Table of contents yvi Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Introduction 1 Purpose of the manual This manual contains all the information you require to install commission and work with the SIMATIC VS120 Vision Sensor System It is intended both for persons configuring and installing automated plants with image processing systems and for service and maintenance technicians 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 Operating Instructions Edition 02 2006 A5E00757507 01 1 1 Introduction Vision Sensor SIMATIC VS120 1 2 Opera
93. ess firmware takes an intermediate position between software and hardware This is a device that is connected to more than one physical TCP IP network and can forward or distribute IP packets A gateway translates various transport protocols or data formats for example IPX and IP and is included in networks mainly because of this translation function Gateways are also known as IP routers Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary Gnd GSD Handshake HF Host name HTML HTTP IEC IP address Ground Device master data file Method for synchronizing transfer of data at irregular intervals The sender signals when it can send new data and the recipient signals when it is ready to receive new data High Frequency The DNS name of a device on a network These names are used to locate a computer in the network Before a computer can be located its host name must be listed in the host file or be known to a DNS server On most computers running Windows the host name and computer name are identical HyperText Markup Language gt plain text language for structuring text and hypertext HyperText Transfer Protocol gt protocol used mainly by Internet browsers on the World Wide Web International Electrotechnical Commission Internet Protocol A 32 bit address to identify a node in an IP network Each node in the IP network must be assigned a unique IP address
94. ess image End 287 3 6GF1 0189 24410 Eg ERE 5120 Object inspection GSDML 2 0 Siemens 0024 7 5 100 20060208 xml Press Fito get Help a 4 iho Figure 10 2 Integrating the PROFINET IO device SIMATIC VS120 in HW Config 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 without violating the consistency This applies only to CPUs that transfer consistent user data using the process image refer to the safety notice below If on the other hand these addresses are not in the process image of OB1 you will need to access the communication area of the SIMATIC VS120 using SFCs 14 DPRD_DAT and 15 DPWR_DAT to ensure consistency Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 5 Process interfacing over an automation system PLC PC 10 2 Integrating the PROFINET IO device SIMATIC VS120 in HW Contig Notice The consistent user data transfer per process image is supported by the following S7 CPUs e from the CPU 318 and S7 400 CPUs as of firmware version V3 0 0 e from all S7 300 CPUs with MMC for all other S7 300 and S7 400 CPUs installation of SFCs 14 DPRD_DAT
95. essage such as Sensor not found occurs on the processing unit and you are using an S7 CPU as the DP master or I O controller the diagnostic interrupt OB OB82 is started Its local variables OB_82_EV_CLASS OB_82_MDL_DEFECT and OB82_EXT_FAULT can have the following values Variable Value Meaning OB_82_EV_CLASS B 16 39 Event entering state OB_82_MDL_DEFECT TRUE Module fault OB_82_EXT_FAULT TRUE External fault Unfortunately it is not possible to recognize the actual cause of the problem from the local variables of OB82 This can be determined as follows e For PROFIBUS DP by calling SFC13 DPNRM_DG or SFB 54 RALRM in OB82 e For PROFINET IO by calling SFB54 RALRM in OB82 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 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 11 11 Alarm error and system messages 11 4 Slave diagnostics or O device diagnostics Its local variables OB_82_EV_CLASS OB_82_MDL_DEFECT and OB82_EXT_FAULT can have the following values Variable Value Meaning OB_82_EV_CLASS B 16 38 Event exiting state OB_82_MDL_DEFECT F
96. evice diagnostics ceccceececceeeeceeeeeeeeeeeaeeeeeeeseeeeeesaaeeeeseaeeeeesaass 1 11 Technical dala seraano inienn EEREN REEE ARKET EAA NEENAKE EAER RARE 12 1 12 1 General technical specifications cece cecccca ee ceececeeeeeecaeececeeeceeseecessaeceseaeeceseueesseaeeetseeeessenaes 2 1 12 2 Technical specifications of SIMATIC VS120 o eeeceecceceeecessesesseseeeeseseeceseseseneeseaseseneeeesenesenes 12 3 Port assignment of the processing UNit ccc ccccccccesesssssneceeeeeeeeeeeeeceeesesaaaaeeeeeeeeeeeeeeeenes 12 8 Dimension drawings cscs eeces tence tea peee te setco ede daegeunceceuetonncees deehoseoebrae ciencatsuseadued acnccesunucensennunsvesestesdceuex ees 13 1 13 1 SIMATIC VS120 processing unit ccecccccseeeeeceeceeeeeeeeeesaeeeeeeseseeeeseeseeeseeeeeeeeseeeeeesaaeeeesaaes 13 1 13 2 SIMATIC VS120 sensor N ad cccccccccceceeeeeessseesesseececeeeeeeeceeeeeeeeeaaeseaaaaaaeasessseeeeeeeeeees 13 2 13 3 SIMATIC VS120 lighting unit cc cecccccceececeeececeseeeeeeeeeeceeecseeeeeseeeeeeeeseeeeesseeeeeseeeeeeseeeas 13 3 Scope of delivery Spares ACCESSOTIES cccscccceeecesecceseecaseeceseeccueeecaeeeeaeecsaseesageesageessueeseeeeeeeaeeesages 14 1 14 1 COMPONEN Nee ere ne ee nt eee ee eee Oe eee eee eee et nn eer 4 1 14 2 FULD a K O a R E E E E 14 2 14 3 ACO S OO ae AA E E E E E A E AA 14 4 C mount lens and inspection W NdOW SIZE 0 ceccceececeseeceeeeeeseceeeeeee
97. eyond 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 Image processing 4 9 Model type parameter 4 9 Model type parameter The human eye instinctively classifies edges with a strong contrast as being more important than those with a weak contrast In the Model type parameter this phenomenon is taken into consideration in the processing with two settings e Edges if prominent edges of the specimen are important for processing Edges is the default value e Area if all the edges in the specimen are weighted the same for processing Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 4 17 Image processing 4 9 Model type parameter Example 4 18 The cross in the middle is a contour with significantly greater contrast than other contours If an application requires this region to be weighted as being more important than the rest for the search 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 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 10 Model sets 4 10 Model sets Fea
98. f only one ROI had been trained the quality would have been 87 2 quality of the main ROI Sub ROI1 60 6 Sub ROI2 98 7 Sub ROI3 42 0 70 is selected as the quality limit for all ROIs and an object is then evaluated as N_OK if a sub ROI falls below the quality limit 4 6 2 Example of the influence of sub ROls on the quality value Based on the example below we will illustrate the effects on the quality value of a specimen of using sub ROls Note If features are allowed in the area enclosed by the ROI or sub ROls that you do not want to be evaluated select Find as the job in the Options Training tab of the adjustment support Otherwise select the value Identify The example model appears as follows Note 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 Image processing 4 6 Main ROI and sub RO Without sub ROls green rectangle means With sub ROls red rectangle means sub ROls main ROI The following specimens must be evaluated Without sub ROls_ With sub ROls Identify Qc 100 Qa 100 ae Qa 100 Note e Qc is the cumulative quality of the main ROI e Qa is the average value of the quality of the sub ROls Without sub RO
99. firm with OK Confirm the selected Ports menu command with OK Change to the Ethernet menu and confirm with OK Confirm the selected IP Mode menu command with OK Select Manual and confirm with OK Change to the IP Address menu and confirm with OK Now enter the IP address of the VS120 processing unit with the arrow keys and confirm with OK Change to the IP Mask menu and confirm with OK 9 Enter the subnet mask with the arrow keys and confirm with OK Step 3 Establish the Ethernet connection 1 Next step Establish an Ethernet connection between the VS120 processing unit and PC PG Use a network cable of the type Ethernet RJ 45 crossover Perform the activities described in the section Check the connection 8 8 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC 8 4 1 4 Integrating the VS120 processing unit as a DHCP client in a network You want to do the following with the VS120 processing unit e Connect to the PC PG over your existing network e Operate as a DHCP client because the IP address configurations are assigned to the PCs in the existing network by a DHCP server Notice Depending on your network structure it may be necessary to inform the DHCP server of the MAC address the unique device identifier of the VS120 processing unit You c
100. ger Interval 00 00 01 058 N_OkK 0 K 9 0 Mir 00 00 01 057 0 000 Y 89 0 Wax 00 00 01 058 Angle 0 0 Trigger too fast i 0 000 info model Siemens 1 5 6 pan eae Reset Info model Siemens 1 4 6 Info model Siemens 1 6 6 Select ROI Main Main ROI Logging xmin 9 0 Images 6 OK 39 Mai 8 9 Reports 3303 100 000 Y min 69 0 Warninats T Ymax 88 9 0 000 Angle min 0 0 N_OK 0 Angle max 0 0 0 000 iso bes Figure 9 19 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Info pages Processing in normal mode 9 35 Operation 9 3 Working with setup support Classification mode for part recognition SIEMENS Vision Sensor SIMATIC V 120 Job Adjustment Processing Mode Select model set Connections m Model set E OK gt Training a Start Options Information Optimization Maintain a Limit 70 Current Status rs pama Info model set No 1 16 44 200 Show al images Table contents Model Best ROI Main T M XY area M Show edges 100 a 100 300 Current image 1 an 3 Warnina s fit ge Fa 0 000 N_OK p 0 000 ene Current ad Min Wax Ary Figure 9 20 Processing with classification mode Language Features a Quality Cycle Time 8 9 89 2 0 0 99 8 2704 ms 8 4 89 2 0 0 99 8 2704 ms 8 9 59 2 o 0 99 8 270
101. ging to the next NOK event is saved permanently in the EEPROM Ring Ring When the diagnostic buffer contains 5000 entries entries 1 2 are overwritten Stack When the diagnostic buffer contains 5000 entries no further entries are made Image Off As soon as the function is enabled as many diagnostic entries as you specify in Entries are saved in the EEPROM Existing entries are deleted when you switch over to On If the diagnostic buffer in the EEPROM reaches the number of permanently storable diagnostic data records no further entries are made Note Deleting takes several seconds 2000 Number diagnostic data records that can be stored on the EEPROM Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 2 Working with the processing unit Parameters Path Possible Values Default Diagnostics Diagnose gt Delete all the diagnostic entries stored Logging gt on the EEPROM Report gt Note Deleting takes several seconds Permanent Timebase Diagnose gt Here you specify the source for the time Logging stamp of the diagnostic events SNTP IP Diagnose gt XXX XXX XXX XXX 192 168 0 44 IP address of the SNTP server only when Logging xxx 0 to 255 Timebase SNTP Diagnose gt This is where you specify if diagnostic Monitor images reports and a current image is to be displayed in processing mode e On Display e Off Not displayed Vision Sensor SIMATIC V
102. h in your existing PROFINET IO network Use a network cable of the type Ethernet RJ 45 2 Establish an Ethernet connection between the VS120 processing unit and your existing network Use a network cable of the type Ethernet RJ 45 Next step Follow the steps described in the section Check whether a proxy server is being used Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 8 11 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC 8 4 2 Procedure Result Next step 8 12 Check whether a proxy server is being used If the VS120 processing unit is used in a network with proxy servers the following problems can occur The address entered for the VS120 processing unit is not known to the Internet Explorer Error message when starting adjustment support You should therefore check whether or not a proxy server is entered in the Local Area Network LAN Settings dialog of the Internet Explorer A O N gt Start the Internet Explorer and select the menu command Tools gt Internet Options Click on the Connections tab Click on the LAN Settings button in the Local Area Network LAN settings group box If the Use a proxy server check box is selected in the Proxy server group box a proxy server is used and the Advanced button is enabled A proxy server is used in the Internet Explorer if one of the following conditions is met
103. he sensor head 1 Insert the mounting plate in one of the grooves of the sensor head 2 Secure the sensor to your holder with a mounting plate How to mount the LED ring flash beside the sensor head No ring light flash is supplied to secure the LED ring flash beside the sensor head For ordering information on a suitable ring flash holder refer to the section Accessories in the operating instructions 1 Mount the sensor head on your holder 2 Secure the LED ring flash to the ring flash holder 3 Secure the ring light holder to your holder e LED ring flash beside the sensor head at an angle to the optical axis of the sensor head Notice LED ring flash beside the sensor head 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 Sensor head N N E Object ai Conveying unit Figure 6 2 Components with ring light Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 6 3 Installation 6 2 Installing the sensor head with LED ring flash Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Connecting r 7 1 Guidelines on installation and avoiding electrical interference To avoid interference you must shield your system Low frequency LF and high frequency HF interference signals can result in an incorrect response if the system i
104. her computers as needed Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 SF Glossary General fault Shutter speed Shutter speed SIMATIC S7 The shutter speed decides how long the CCD sensor of a camera is exposed When more light is available the operator can select a faster shutter speed and vice versa At slow shutter speeds there is greater risk that the image will suffer from camera shake Siemens automation system with the controller families SIMATIC S7 300 and SIMATIC S7 400 SIMATIC VS120 Vision Sensor Slave Hardware and software Full package consisting of the components Sensor LED overhead lighting processing unit connecting cable installation instructions CD with adjustment support and documentation The device configured as slave in a communications system receives data from the device configured as master The slave is always the passive partner SNTP Simple Network Time Protocol SP1 STEP 7 STL Sub ROIl SNTP is a simplified version of NTP and NTP is one of the oldest TCP IP protocols still in use Service Pack 1 gt Additional software for the Windows XP Professional operating system and Internet Explorer 6 0 STEP 7 is programming software for the S7 300 and S7 400 controller families STatement List gt User program in which control functions are listed in the form of statements The area in the main ROI with characteristics of the specime
105. in 94 9 Images 6 x min 9 0 Max 99 9 Reports 3303 maxi 6 9 Position Yomin 59 0 a 90 Y masi 68 9 ati 89 0 Angle min o o Angle 0 0 Angle mar 0 0 Reset statistics Home Hack Next Help Figure 9 26 Information Statistics tab in normal mode You can clear the statistics with the Reset statistics button if you have management permissions see Options Security tab The statistics are reset automatically when you change the model The list box contains the names of the main ROIs and sub ROls 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 Operation 9 3 Working with setup support Part recognition with classification mode SIEMENS Vision Sensor SIMATIC 120 i Current Status l J l Language Engisn Home Figure 9 27 Info Statistics tab in classification mode In contrast to normal mode the following statistics results are displayed e No results for the sub ROls e The frequency of the models recognized with OK for the models included in the model set Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 45 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 SIEMENS Vision Sensor SIMATIC 120 J
106. in suitable for installation without cubicle Dimensions W x H x D in mm 170 x 140 x 76 Weight Approx 0 5 kg Rated voltage 16 5 V DC Degree of protection IP 40 to IEC 60529 Interfaces on the processing unit Interface for load current supply 4 pin circular connector male for load current supply e Cable length 10 m 4 x 0 56 mm2 e Rated input voltage 24 V DC e Rated input current 2 2 A e Input voltage range 20 4 V 28 8 V DC Illumination control e 4 pin circular connector female for power supply and for triggering the flash e Power consumption at 16 5 V Max 0 3 A e Cable length 2 5 m 4 x 0 23 mm Sensor head interface e Digital interface 26 pin D sub female connector for connecting the SIMATIC VS120 sensor head e Power consumption at 16 5 V DC Max 0 16 A e Cable length 2 5 m 26 x 0 09 mm Digital inputs for 24 V DC e 8 one being a trigger input with interrupt capability for standard binary sensors e 7 further PLC compliant control inputs Digital outputs for 24 V DC e 6 max load 0 5 A each however in total a maximum of 1 5A 15 pin D sub female for inputs outputs e Cable length 10 m 15 x 0 14 mm DP interface e 9 pin D sub socket programmable Isolated Data lines A B control lines RTS 5 V power supply max 90 mA Grounded Shield of the DP12 connecting cable RS 485 floating Non floating 24 V DC 150 mA Ethernet interface e 8 pin RJ 45 jack 10 100 Mbps Vision Se
107. ion parameter The precision setting is based on the size of the ROIs and recognizable changes in the specimen The search for a part in the image is pyramidal It starts with a coarse search at low resolution and finishes with a fine search at high resolution The Precision parameter affects the coarse and fine search Coarse and fine search The table shows the start and end values of the resolution during the search process with the various levels of precision Precision level Start value for the resolution End value for the resolution Width x Height in pixels Width x Height in pixels 320 x 240 640 x480 160 x 120 640 x480 80 x 60 640 x480 The precision for determining the position should be set as follows e Fine for the sub pixel range e Medium for 1 pixel and 1 e Coarse for 2 pixels and 1 The precision for determining the position still depends on the pattern size and the number of edges found in it and may therefore deviate from the values shown above The angle precision can be increased to lt 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 4 5 Image processing 4 3 Generating models and detecting orientation Note If exposure is set to Manual and the user changes the pre
108. is not applied and no restart occurs If you change the current parameter the configured trigger delay source is reset to manual 11 7 Alarm error and system messages 77 2 Error messages and error handling No Message Description Remedios 12 Invalid You have entered an illegal value in a The subnet mask must have the Netmask subnet mask under Ports gt Ethernet The form xxx xxx xxx xxx with Xxx value will not be used 0 255 and binary requires that the left part be made up of ones without a gap and the right part be made up of zeros without a gap In addition the 0 0 0 0 and 255 255 255 255 masks are not allowed Must be a The entered PROFINET station name DNS style does not match the DNS convention Use the system update to install firmware that is valid for your processing unit or use a processing unit with a version that supports this firmware version Loading When starting processing or when a model data model set is changed the model data is Please wait loaded and preprocessed This can take several seconds or even minutes depending on the amount of data Model not When working with an automation system Check your model selection If trained a model was selected that has not been necessary retrain the model trained Model set When working with an automation system Remove the untrained model from incomplete a model set was selected that contains the model set or train the missing
109. it Initial commissioning Turn on the power supply of the VS120 processing unit for its initial commissioning The VS120 processing unit then performs a self test e Test of the Ethernet connection e Function test of the sensor head Note During the initial commissioning Factory Settings Used appears on the LCD display 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 e Test of the stored settings and model data e Test of the Ethernet connection e lf appropriate test of the connection to PROFINET IO e lf appropriate test of the Ethernet RS 232 converter or TCP server and connection to the PC PG e lf appropriate test of whether data can be exchanged with PROFIBUS DP e Function test of the sensor head e lf appropriate test of the connection for archiving model data If the self test completes without any errors the main menu the Adjust display or the RUN menu is displayed on the LCD display depending on the status when the device was last turned off e Main menu Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 8 3 Commissioning 6 3 Turn on the VS120 processing unit e Adjust displayed on the LCD display e RUN menu Note Apart from controlling from the VS120 processing unit you can also control S
110. j l J poira 300 200 100 0 100 200 300 Trigger delay fo TE Current image 288 Precision Fine Distortion fo Language Home Anni Hep Figure 8 4 Adjustment Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 8 17 Commissioning 8 6 Adjust the sensor head using setup support 2 Position an object below the sensor head 3 Set the displayed image to that it is sharp by adjusting the distance between the end of the sensor head and the model correctly 4 Secure the sensor head and then check the image sharpness again 5 Make sure that the triggering is exact and the content of the image has as much contrast as possible lf necessary correct the settings or use the automatic shutter mode You can set the following parameters Exposure settings Trigger settings Precision Distortion Notice If Shutter is set to Auto the model must remain fully in the image for at least 100 ms 6 Click the Apply button to save the settings Note 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 and process your models for your application Refer to the section Operation for more information Vision Sensor SIMATIC VS120 8 18 Operating Instructions Edition 02 2006 A5E00757507 01 Operation Q 9 1 Overview There are two ways of operating the SIMATI
111. ject will be distorted The evaluation will be inaccurate If the objects always pass the sensor head in the same position the angle of the mid axis of the objects to the vertical can be up to 45 Notice Distance D between sensor and object The ideal distance D between sensor and object depends on the type of sensor head With sensor heads with the order numbers MLFB below the recommended distance D is as follows e 6GF2 002 8DA01 100 mm e 6GF2 002 8EA01 90 mm Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 6 1 Installation 6 2 Installing the sensor head with LED ring flash There are two possible ways to install the LED ring flash e LED ring flash on the sensor head parallel to the optical axis of the sensor head Sensor head LED ring flash Conveyor unit Figure 6 1 Components How to mount the LED ring flash on the sensor head The LED ring flash is supplied with two mounting brackets to allow it to be mounted on the sensor head 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 6 2 Operating Instructions Edition 02 2006 A5E00757507 01 Installation 6 2 Installing the sensor head with LED ring flash How to mount the sensor head A mounting plate is supplied with t
112. lass 3K3 climatic environmental conditions Mechanical environmental conditions sine shaped oscillations Frequency range in Hz Test values 10 lt f lt 58 0 075 mm amplitude 58 lt f lt 500 1 g constant acceleration Test for mechanical environmental conditions Test for Test standard Comments Vibrations e Vibration type Frequency cycles with a rate of change of 1 Oscillation test complying octave minute with IEC 60068 2 6 10 Hz lt f lt 58 Hz constant amplitude 0 075 mm sine 58 Hz lt f lt 500 Hz constant acceleration 1 g 10 Hz lt f lt 55 Hz amplitude 1 mm only sensor head and lighting unit e Vibration duration 10 frequency cycles per axis in each of the 3 perpendicular axes Test for Test standard Comments Shock Shock test e Type of shock Half sine complying with e Strength of the shock IEC 60068 2 29 Processing unit 10 g peak value 16 ms duration Sensor head illumination 10 g peak value 16 ms duration e Direction of shock 100 shocks in each of the 3 perpendicular axes Shock test Sensor head illumination complying with e 70g peak value 6 ms duration 3 times in each direction IEC 600697227 30 g peak value 11 ms duration 3 times in each direction Ambient climatic conditions for operation Ambient conditions Permitted range Comments Temperature 0 to 50 C Temperature change Max 10 C h Relative humidity max 95 at 25 C No condensation corresponds to relative h
113. lave The master is always the active partner PC Personal Computer Vision Sensor SIMATIC VS120 Glossary 6 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary PELV Protective Extra Low Voltage extra low voltage with safe isolation 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 PG Programming device Ping A utility for checking connections to one or more remote hosts The ping command uses the echo packets and echo replies of ICMP to check connectivity with an IP system ina network Ping is useful in troubleshooting the IP network or the router PLC Programmable Logic Controller Port or port address Address for a channel for data transfer between an input or output device and the processor From the CPU s perspective a port represents one or more memory addresses to which it can send data or from which it can receive data Special hardware such as expansion boards places data from a device in the memory address and sends data from these addresses to the device Some ports are only for input and some only for output Processing unit SIMATIC VS120 hardware unit for the recognition of models and test specimens Operator control is interactive using operator buttons and a display field or controlled by signals over an
114. leased IP configurations and other optional parameter information A computer on which the Microsoft DHCP service runs This provides active DHCP clients with dynamic configuration of IP addresses and related information DHCP Dynamic Host Configuration Protocol DI DO DIN A TCP IP service protocol that allows dynamic configurations of host IP addresses for a certain time and distributes related configuration parameters to authorized network clients DHCP provides safe and simple to use configuration of TCP IP networks prevents address conflicts and helps to restrict the number of IP addresses required in the network DHCP uses a client server model in which the DHCP server takes over central management of IP addresses used in the network Clients with DHCP support can then request and obtain the lease of an IP address from a DHCP server when the network starts up Digital Input Digital Output Deutsches Institut fur Normung German institute for standardization Distortion Distortion Image error that becomes evident in the image of a rectangular grid where the straight lines are bent inwards or outwards DNS server Domain Name System server Download DP A hierarchically distributed database containing assignments of DNS domain names to various data types such as IP addresses DNS allows computers and services to be found based on user friendly names and also allows other information stored in the database to be found In
115. lected 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 Commissioning 6 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 For a description refer to the section ntegrating the PROFINET 10 device SIMATIC VS120 in HW Contig Step 3 Integrating your PC in the PROFINET IO network Notice e The network attachment must not have an IP address that is already being used in your network e The IP address of the PC must be in the same subnet as the IP address of the VS120 processing unit If necessary the port configuration of the PC must be adapted 1 Click Start gt Settings gt Network and Dial up Connections NO In the Network and Dial up Connections dialog select the existing local area connection to the network This must have the status Enabled Select Properties in the context menu and select the Internet Protocol TCP IP entry Click the Properties button Select the Use the following IP address radio button Adapt the IP address and Subnet mask to your PROFINET IO network O oO A O Step 4 Establish the Ethernet connection 1 Establish an Ethernet connection between your PC and a switc
116. ls_ With sub ROls Identify Qc lt 100 Qa lt 100 ae Qa 100 Operating Instructions Edition 02 2006 A5E00757507 01 4 11 Vision Sensor SIMATIC VS120 Image processing 4 6 Main ROI and sub RO Without sub ROls_ With sub ROIs Identify Qc lt 100 Qa 100 Qa 100 Without sub RO s_ With sub ROls Identify Qc lt 100 Qa 100 T Qa 100 Without sub ROIs_ With sub ROIs Identify Qc lt 100 Qa lt 100 E Qa 100 Vision Sensor SIMATIC VS120 4 12 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 Job parameter 4 Job parameter The Job parameter has the options Find and Identify Find If the Find option is selected additional edges of the specimen are not taken into consideration Identify If the Identify option is selected additional edges of the detected specimen are taken into consideration and compared with the edges of the reference model Example Metal plate with three holes If Find is set the quality 100 will be output for a metal plate with an additional hole 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 Operating Instructions Edition 02 2006 A5E00757507 01 4 13 Image processing 4 Job parameter 4 14 Example 1 Trained sub ROI Find job Result Quality 99 3 Identif
117. ly user who can assign permissions To assign permissions select a user in the table and select the check boxes for the permissions you want to assign to the user 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 Make sure that only one PC accesses the VS120 processing unit red padlock with green D 2 Place the mouse pointer on the currently logged on user top right and click This brings you to the Options Security page 3 Log on as a user such as User1 or Service who is allowed to take control of the SIMATIC VS120 Vision Sensor Take control check box selected Remember however that logging on means intervention in the control of the SIMATIC VS120 Vision Sensor by the programmable controller only relevant for functions that require the DISA bit for example change models Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 41 Operation 9 3 Working with setup support Part 3 4 Diagn amp Monitoring In Options Diagnostics amp Monitoring you specify the information to be stored for diagnostic purposes SIEMENS Vision Sensor SIMATIC 120 Figure 9 24 Options Diagnostics amp Monitoring tab Vision Sensor SIMATIC VS120 9 42 Operating Instructio
118. manual overexposure This image was manually overexposed The contour is ideal and can be clearly recognized If this method cannot be used the user can do the following e Use the erasure function on the edges of the model to enable optimally training for the contour e Correct the problem by setting the shutter speed offset for automatic exposure control Other interference affecting object recognition In addition to the previously mentioned interference other factors can also have a negative influence on the search for a pattern e Shadows particularly caused by the depth of the objects e Non uniform lighting e Geometric distortion by the lens particularly when the camera is not perpendicular to the pattern e 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 Vision Sensor SIMATIC VS120 4 4 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 3 Generating models and detecting orientation 4 3 Generating models and detecting orientation A model is created from the sum of the edges extracted in the image and their arrangement To ensure good processing quality the contours of the model should lie within the ROI Region of Interest 4 3 1 Setting for the Precis
119. mes 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 Order No A5E00757507 01 Copyright Siemens AG 2006 Automation and Drives Edition 02 2006 Technical data subject to change Postfach 48 48 90437 NURNBERG GERMANY Table of contents BINT OCLC TOO ac tre crate tes acetone cnet enacted secede sexe toca ue aeneue EE EE E E Safety instructions scccinncsareucsnsaneanasanacercwuedanamasaanennanonatabnnananebs bansdnsmhaned amine let Sousebawaianensaxanavamnantinounnensetanvant PSS CGO ON acta arses tr ianes E E EE E E E sas oansietnamyn EE E 3 1 Product GOS CHIDUOIN ssenari naini na aaO ANa a aTa nRa Ena ante aia anni 3 2 Performance features ccccccsseccccsscecceesececececeeuseecessaaeeecsaaseeeeceaueeessaaeeeesseaseeessasseeeesasseuseeeess 3 3 EO RTA E A A E EE etn Suid wench ema E euan iyi EEE E IE E E 3 4 System components coi sissies code naseaereaw dan vonssiatioandnceddiuntandaigeeannelseedlawcigue snes dcutg
120. messages and error handling PROFIBUS DP bit no starting at diagnostic byte 0 15 PROFINET lO Value Message on the LCD Description display 12 Lamp overload W 16 500F The IR lighting unit is overloaded Below you will see the maximum trigger frequency fr for the selected shutter speeds TB TB 500 us with fr 60 Hz TB 1000 us with fr 40 Hz TB 2000 us with fr 20 Hz TB 3000 us with fr 13 Hz TB 4000 us with fr 10 Hz TB 5000 us with fr 8 Hz TB 6000 us with fr 7 Hz TB 7000 us with fr 6 Hz TB 8000 us with fr 5 Hz TB 9000 us with ft 4 5 Hz TB 10000 us with fr 4 Hz Note Trigger frequencies gt 33 Hz are not practicable W 16 5011 An error occurred in PROFINET IO communication Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 13 PROFINET IO Error Remedies Reduce the trigger frequency or reduce the shutter speed Make sure that the parameters for communication over PROFINET IO and the communication partners are correctly configured and active Check the connection to the IO controller Alarm error and system messages 77 2 Error messages and error handling Occurrence of PROFIBUS DP or PROFINET IO errors If a PROFIBUS DP Error or PROFINET IO Error occurs the processing unit checks during the time the error is displayed if the cause of the error continues to be p
121. mmecisi damneedeaeinemnowennamendenies 3 5 System requirements cccccsscccceeseeccceeeseeeceaccseseececeuseeecsedeeeessaueeeseaseeeecsegseeeseaeeesssagesseeesseags 3 6 Design of the SIMATIC VS120 processing Unit ceeeeeececceeeeeceeeeeceeeeseseeeseeeaaeeeeeeeeeseeeeeees 3 6 3 7 Design of the sensor head with LED ring flaSh ccceeecceeceeeeeeeseeeeeeeseeeeeesaeeeeeeeaeeeeeesaeees 3 8 4 Imag proc sSsSiNg sce seatie cae seem eaeeccateseentorceteedsansehsonancotac senesnatenoctidesactenecniteupesteeeonnddcapacsuantacuastocnadesaecntet 4 1 4 1 General INIOMMAWOIN inst otoscrcseseenestecectsnsdaresantdeaenrssnctmeee Ea E iaaa f 1 4 2 Shutter Speed and BV QMINCSS osuran eea a NTE EE E ESES 4 2 1 Different exposures and brightnesses cccccececeeceeeeeeeeceeeeeeeeaeeeeeesaeeeeeesseeeeeeseeeeeeeseeeeeseae men 4 2 2 Disturbing contours caused by SNING cc ccccseeeceeeccseeeeeeeeeeceeeeeeseeeeeseeeeesseeessaeeeeseueeeseneeeaasaes B 4 3 Generating models and detecting orientation cccccseeecceeseeeeeeeeeeeeeeeeeeeeeeseeeeeeesaeeeeesnaeeeeeens E 4 3 1 Setting for the Precision parameter ccccceccccceecceceeeeeeecaeeeeeeseeeeeesseeeeeesseeeeeeseaeeeeeeaaeeeeeaeesaaes 4 3 2 Measures for optimizing object recognition cccccsececceeeeeeeeeceeeeeeseeeeeeeeseeeeeesaeeeeesaaeseeeeaaes 4 4 Quality of the measured values 0 eee ee eee eee eet e ee tene tne e neste tees see tneeeeesneesnenee
122. n for the update time of the PROFINET IO system in HW Config Assignment of the IP address to the processing unit in the network Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 2 Working with the processing unit Port IP Address Ports gt Ethernet XXX XXX XXX XXX 192 168 0 42 IP address of the processing unit xxx 0 to 255 An IP address consists of four numbers separated by periods with each number being in a range from 0 to 255 IP Mask Ports gt Ethernet XXX XXX XXX XXX 255 255 255 0 The subnet mask indicates which part of not active if IP xxx 0 to 255 the IP address specifies the network and Mode DHCP except which part specifies the VS120 0 0 0 0 processing unit 255 255 255 255 For XXX XXX XXX XXX binary requires that the left part be made up of ones without a gap and the right part be made up of zeros without a gap Example 11111111 10100000 is not permitted Ports gt Ethernet XXX XXX XXX XXX 192 168 0 255 IP address of the network node that can xxx 0 to 255 establish connections outside of the current subnet Gateway not active if IP Mode DHCP MAC Info Ports gt Ethernet Cannot be Device dependent The MAC address Media Access modified Control is the hardware address of each network device and is used to identify the device uniquely in the network IP Address Ports gt XXX XXX XXX XXX 192 168 0 43 IP address of the Ethernet RS 232 TCP RS
123. n system PLC PC 70 3 Control over the DI DO O interface Creating a bit pattern Output Preparing for model selection and model sets DISA must have the value 1 No edge change is required however Select model model sets based on example of model 11 TRD 0 Model switchover starts after max 150 ms RDY 0 TRD 1 The model selection is confirmed after 150 ms RDY 0 Model 11 is selected The model changeover is completed after 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 Operating Instructions Edition 02 2006 A5E00757507 01 10 9 Process interfacing over an automation system PLC PC 10 4 Control over PROFIBUS DP and PROFINET IO 10 4 Control over PROFIBUS DP and PROFINET IO 10 4 1 Principle of data transfer over PROFIBUS DP and PROFINET IO The following block diagram shows the relevant interfaces of the SIMATIC VS120 processing unit for data transmission over PROFIBUS DP and PROFINET I O DP Master IO Controller SIMATIC VS120 processing unit User data interface Send 32 bytes User data interface Receive 32 bytes Figure 10 4 Data transfer over PROFIBUS DP and PROFINET IO Note Of the Send user data interface bytes 0 to 31 are relevant of the Receive user data interface only bytes 0 to 9 are relevant If these two user data interfaces ar
124. nent at the output section of a controlled system which intervenes in energy or mass flows and thereby causes changes Adjustment support Software Web server application in which most operator actions are performed on the PC screen using a mouse and keyboard The software processes and displays models ASCII American Standard Code for Information Interchange Automation system An automation system is a programmable logic controller consisting of at a central processing unit a variety of input and output modules as well as operator control and monitoring HMI devices BF Bus fault Bit Binary digit Bus A cable or conductor system used for data transfer among the components of a computer system 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 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary 1 Glossary CCD Com server Contour Counter CPU Crossover cable CSV DB Debouncing Glossary 2 Charge Coupled Device A Com server represents the communication center between a serial DTE machine measuring device controller and the TCP IP computer network Closed line that completely runs along the edge of an object i e it encompasses the border points A counter registers the s
125. ng Non floating Data line I O Not used Input Input Output Output Output Output Output Blue Violet White black White brown White green White orange White red Gray 12 9 Technical data 12 3 Port assignment of the processing unit 12 10 Ethernet interface ETHERNET socket Wiring Name 1 TxD 2 TxD 3 RxD 4 2 5 3 6 RxD T 2 8 GND Function Send data Send data Receive data Not used Not used Receive data Not used Chassis non floating Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Dimension drawings 1 3 13 1 SIMATIC VS120 processing unit r NZ DARE Id Figure 13 1 Processing unit e Intended fixing screws M4x12 or longer e Permitted static bending radii with Power supply cable with a minimum radius of 40 mm Illumination cable with a minimum radius of 25 mm Sensor cable with a minimum radius of 40 mm DI DOcable with a minimum radius of 50 mm Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 13 1 Dimension drawings 13 2 SIMATIC VS120 sensor head 13 2 SIMATIC VS120 sensor head 18 Variable length 24 Variable length 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 Dimensi
126. ng the completeness of a model The SIMATIC VS120 also checks specimens for completeness Deviations from the trained model are detected and the quality values of the evaluation are displayed Sorting functions for models and model sets Depending on the importance of the application 15 model sets with 64 different models can be assembled and saved for processing The models are sorted according to the application with a controller for processing with the SIMATIC VS120 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 3 3 Description 3 4 System components 3 4 System components SIMATIC VS120 Vision Sensor full package comprising e Sensor e Processing unit e Lighting e Cable PG PC for Processing unit adjustment support Power SIEMENS supply RJ 45 Ethernet cable STERREN ERSE Automation system Power supply cable Functional earthing Lighting cable Sensor cable PROFIBUS DP DI DO cable Sensor head LED ring flash Photoelectric barrier C gm YY Y iY YY YY Conveyor unit Conveyor unit gt Figure 3 1 Example of a typical system configuration with conveyor system Vision Sensor SIMATIC VS120 3 4 Operating Instructions Edition 02 2006 A5E00757507 01 Description 3 5 System requirements 3 5 system requirements You require the following hardware and software components for the SIMATIC VS120 Vision Sensor system Hardware SIMATIC VS12
127. nit will be restarted Start Wocate rSiemens A 2006 All rights reserved 2 Done l i Paj aj Local intranet a Figure 9 32 Updating the firmware of the SIMATIC VS120 Vision Sensor SIMATIC VS120 9 50 Operating Instructions Edition 02 2006 A5E00757507 01 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 SIEMENS Vision Sensor SIMATIC 120 Job Stop Sensor WEB Adjustment Connections Training Current status of processing unit Run Options Stop Information Maintain Stop Current Status Language Figure 9 33 Stop Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 51 Operation 9 3 Working with setup support Vision Sensor SIMATIC VS120 9 52 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 1 O 10 1 Integrating the PROFIBUS DP slave SIMATIC VS120 in HW Config Installing the GSD file device master file The supplied GSD file SIO180ED GSD contains the properties of the PROFIBUS DP slave SIMATIC VS120 If necessary the file can be downloaded from the Internet at http support automation siemens com 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 t
128. 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 Safe isolation can be implemented according to the requirements of VDE 0100 410 HD 384 4 41 S2 IEC 60364 4 41 as protective extra low voltage with safe isolation PELV or VDE 0805 EN 60950 IEC 60950 as safety extra low voltage SELV or VDE 0106 Part 101 The power supply chassis of the I O and CPU must be connected to the power supply chassis of the processing unit Vision Sensor SIMATIC VS120 1 2 Operating Instructions Edition 02 2006 A5E00757507 01 Connecting 7 3 Connecting components Figure 7 1 Locations of the connection element Wiring Connector label Type Number Cable cross Type of pins section Functional earth Screw type 1 5 mm Stranded terminal conductor Power supply IN 24 V DC Circular M12 0 56 mm connector Lighting unit LAMP Circular M12 0 23 mm Socket connector Sensor head SENSOR HD D sub 0 09 mm2 Socket a cable vo DyDODsub 15 014mm Socket pRoFBusDoe oe fosw o bo Tso Ethernet ETHERNET RU45 Bo Socket Cable connection e Read the guidelines on preventing electrical interference e Connect the processing unit to the sensor head and the lighting unit with the c
129. ns Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Part 4 4 Extras You can specify the additional functions you want to use for image processing in the Options Extras tab SIEMENS Vision Sensor SIMATIC 120 pT Siemens 12 Siermens 13 Siemens 14 siemens 15 Siemens 16 Siemens 17 Riemens fimi Figure 9 25 Options Extras tab 9 3 7 Information The Information dialog consists of four parts e Part 1 4 Statistics e Part 2 4 Model e Part 3 4 Diagnostics e Part 4 4 Device Info Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 43 Operation 9 3 Working with setup support Part 1 4 Statistics This part of the dialog shows you the statistics for recognition with the currently active models model sets Normal mode for examination and recognition default mode SIEMENS Vision Sensor SIMATIC Y93120 Job Information Part 1 4 Statistics WEB oS Adjustment Connections Statistics Diagnostics Device Info Training Current model Siemens 1 Run statistics Options OK 39 Cycle time 381ms Select RO Main Information 100 000 Mlin Jefms Pos a Waringts 0 Wax 382ms OK 39 _ Maintain 0 000 Trigger Interval 00 00 01 058 an 100 000 Stop N OK o Min 00 00 01 057 Warning s 0 0 000 Max 00 00 01 058 A EU Current Status Trigger too fast o MOK i Bansa 0 000 0 000 Quality 94 9 Logging Main RGI M
130. ns of special relevance for image processing Sub ROls are created when the characteristics of the main ROI are not adequate for evaluation Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary 9 Glossary Switch English switch TCP TCP IP Trigger A switch is an electronic device for connecting several computers or network segments in a local network LAN similar to a hub Switches are also known as intelligent hubs In its original form the switch operates at layer 2 Data Link layer of the OSI model The switch processes 48 bit MAC addresses and creates an SAT Source Address Table The switch has properties similar to a bridge and is also known as a multi port bridge Ethernet switch is the shortened form of switching hub and indicates the ability to operate switched Ethernet Transmission Control Protocol gt Connection oriented protocol for reliable data transmission Collective term for a family of protocols A trigger is a switch that is activated by a specific event URL Uniform Resource Locator VDE WAN XML Glossary 10 An address uniquely identifying a location on the Internet A URL for a WWW page is preceded by http A URL can contain other details such as the name of a hypertext page identified by the file name extension HTML or HTM Association of Electrical Engineering Electronics and Information Technology Germany Wide Area Network gt For
131. nsor SIMATIC VS120 12 6 Operating Instructions Edition 02 2006 A5E00757507 01 Side length of a pixel SIMATIC VS120 for large specimens SIMATIC VS120 for small specimens C CS mount Vision Sensor SIMATIC VS120 Graphic width 70 mm 40 mm 12mm 300 mm Operating Instructions Edition 02 2006 A5E00757507 01 Technical data 12 2 Technical specifications of SIMATIC VS120 Actual length at a resolution of 640 x 480 70 640 mm 40 640 mm 12 640 mm 300 640 mm Actual length at a resolution of 640 x 480 70 320 mm 40 320 mm 12 320 mm 300 240 mm 12 7 Technical data 12 3 Port assignment of the processing unit Wire color Red Orange Black Brown Direction Output Direction Input Input Output Output Output Output Wire color Black Brown Green Orange Yellow Vision Sensor SIMATIC VS120 12 3 Port assignment of the processing unit Power supply IN 24 V DC pin Wiring Name Function Direction 1 24V 24 V DC supply voltage 2 24V 24 V DC supply voltage 3 M Ground 4 M Ground Interface to the Lighting Unit LAMP socket Wiring Name Function 1 16V 16 5 V DC supply voltage 2 LIGHT Pulse to start a light flash 24 V DC 3 M Ground 4 M Ground Interface to Sensor Head SENSOR socket Wiring Name Function Casing Shielding 9 M 10 M 14 16 V 20 TxDP Image data 21 TxDN Image data 22 CLK_P Image synchronization 23 CLK_N Image synchronizati
132. nstance The SFB 54 RALRM returns the following diagnostic information in the AINFO parameter 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 Operating Instructions Edition 02 2006 A5E00757507 01 11 15 Alarm error and system messages 11 4 Slave diagnostics or O device diagnostics Byte Value Meaning W 16 0002 Block type fixed W 16 0022 W 16 0016 Length of diagnostic data with alarm entering exiting state W 16 0100 Version fixed diagnostic interrupt exiting state Module identification fixed 24 to 25 W 1 6 Bxxx W 16 0xxx Alarm specifier for alarms entering exiting state Bits 0 through 10 Sequence number Bit 11 Channel diagnostics 0 fixed Bit 12 Status of vendor specific diagnostics Bit 13 Status of diagnostics on submodule Bit 14 reserved 0 e Bit 15 Application relation diagnostic status VV 16 0003 36 to 37 Value from the table in Error ID for occurring error messages Read data record with SFB52 RDREC In contrast to event based reading of diagnostic data with the SFB54 it is also possible to read diagnostic data based on the status Status related reading of the diagnostic data is performed using SFB52 RDREC SFB52 is called as follows e Assign the diagnostic address of the SIMATIC VS120 to the parameter ID in hexade
133. o add the GSD file of the SIMATIC VS120 Vision Sensor with Extras gt Install GSD Files The corresponding graphics file VS1X0__N DIB must also be in the same directory as the GSD file The SIMATIC VS120 Vision Sensor appears in the module catalog of HW Config see screenshot below e As of STEP 7 V5 3 SP1 in PROFIBUS DP Sensors VS100 VS120 e In STEP 7 earlier than V5 3 SP1 in PROFIBUS DP Additional Field Devices General Machine Vision Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 1 Process interfacing over an automation system PLC PC 10 1 Integrating the PROFIBUS DP slave SIMATIC VS120 in HW Contig Configuration example MW Config SIMATEL s0003 ioniitutalion Vsti R j laj xi miy Ststion Edit Insert PLC Waw Ophone Window Help x Oe SB By Si alo lo EH he ar 1 J PS 307 54 2 CPU 317 2 PN DP Profile Xt JF MEDA PROFIBUS 1 DP master system 1 Profile Standard X2 f ind Ethernet 45 PROFIBUS DP 4 Additional Field Devices Fy CiR Object Closed Loop Controller E Configured Stations E DP VO slaves E DP AS i E DP P amp Link C ENCODER 9 ET 2008 9 ET 200C 9 ET 200eco 9 ET 200S E ET 200iSP 9 ET 200L 9 ET 200M E ET 200pro ET 200R 9 ET 2005 E ET 200U E ET 200 9 Function Modules E IDENT E IPC Hg NC Network Components 0 OS Oo eo 1 S120
134. o form patterns that can be recognized edges transitions from light to dark or vice versa from the image are used Although the algorithm extracts the edges automatically the user must make sure that the lighting is ideal for an image with good contrast in other words to create models for recognition it is essential to use the lighting correctly to achieve an image with high contrast Note The installation of suitable lighting often involves more time than all the other activities such as securing the camera connecting to the PLC training setting the correct triggers etc together With metallic surfaces in particular it is advisable to ask the advice of a lighting expert due to the possible shine Part of object recognition is the recognition of the position of the object in the image The starting point is the midpoint of the image to which all coordinates relate The top left has the coordinates 320 240 and bottom right 320 240 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 4 1 Image processing 4 2 Shutter Speed and Brightness 4 2 Shutter Speed and Brightness Correct exposure time shutter speed influences the quality of the extracted edges To control the exposure time brightness
135. ob Information Part 2 4 Model WER lt Ajmer J near eas Statistics Diagnostics Device Infa Training Select model Run Model Eehons Training Information Maintain Wax shutter sp 0000s SIEMENS Stop Max brightness 500 m Shuters offset Current Status Disp metering spot KO N ano o Precision Fine Job Find ae Bae Main ROL X 10 Y 90 H 222 Wi Td A 0 0 Peach pine Sub ROE roin Search Limited ate nee Precision Fine A Limit T0 JESSUP SNS ye Eoy ya A eae ae i ates Job Find Warn vit 30 Model type Edge Job ie Warning eae a0 Language Angle 180 Scaling ied Model type Edge NY area 6407460 Description oe 44 102 R54 ADO English Home Back Next Help Figure 9 28 Information Model tab Vision Sensor SIMATIC VS120 9 46 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Part 3 4 Diagnostics In this part of the you can display delete and save and open diagnostics images and diagnostics reports SIEMENS Vision Sensor SIMATIC 120 Yl wit persistent A cee een nt tore iti persisten wr With Herstetent Wii Rersisefit Language Engish L 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 Operating Instructions Edition 02 2006 A5E00757507 01 9 47 Oper
136. ocessing unit N O Oo A Press the enter key on the keypad Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 8 15 Commissioning 6 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 SIEMENS Pagina de inicio Senice amp Support Intemet Vision Sensor 5120 SIMATIC 5120 Network ee Identification MAC address 08 00 06 71 8C 8B IP address Ss 141 73 10 142 Browser test DHCP e Adjust sensor the first thing to do Web aided adjustment and control Or monitoring of the live image for browsers with Javascript Documentation Please refer to the supplied CD for further information Erowser est Checks whether your browser is correctly configured for Web aided adjustment and control Siemens AG 2006 All rights reserved Firmvyyare version 2 0 0 E j Brai oo Fir Aa a Bly Figure 8 3 Home The adjustment support is started with Adjust Sensor The SIMATIC VS120 then automatically blocks operator input at the VS120 processing unit The LCD display of the VS120 processing unit displays the message Settings controlled by Web Next step Follow the steps described in the section Adjust the sensor head using adjustment support Vision Sensor SIMATIC VS120 8 16 Operating Instructions Edition 0
137. odule The received data is stored in data block DB10 in bytes 1 to 245 Vision Sensor SIMATIC VS120 10 22 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 10 6 Sample programs 10 6 2 Example 2 Program for archiving diagnostic information on a PC PG Note The program described here is also available on the documentation CD of the documentation package in Examples Diagnostics With the archivedemo exe example you can archive diagnostic data records in the form of csv files can be read for example with Excel and diagnostic images as bitmaps on a PC In addition to the diagnostic images a text file is transferred that contains details of the image Process interfacing The PC PG is connected to the VS120 processing unit via Ethernet for archiving the records and or the diagnostic images Adjustment support Make the following settings in adjustment support Example program Connections Interfaces tab dialog In Archive enter the IP address and the port of the PC PG on which you want to archive the diagnostic information Connections Integration tab dialog In Diagnostic transfer select what you want to archive Only diagnostic data records only diagnostic images or both Under Connection set the IP configuration of the Ethernet interface of your PC through which you want to communication with the VS120 processing unit The settings must be
138. on 24 RxD_P Sensor parameter 25 RxD_N Sensor parameter 26 M I O interface DI DO socket Wiring Name Function Direction 1 DISA Disable Disable manual keypad input Input model selection via digital I O 2 SELO Select 0 Model selection Bit 0 Input 3 SEL Select 1 Model selection Bit 1 Input 4 SEL2 Select 2 Model selection Bit 2 Input 5 SEL3 Select 3 Model selection Bit 3 Input 12 8 Operating Instructions Edition 02 2006 A5E00757507 01 Technical data 12 3 Port assignment of the processing unit I O interface DI DO socket 6 7 10 11 TRG RES IN_OP TRD RDY OK N_OK Not used Trigger An evaluation is started on the positive going edge Reset Reset error In operation e 0 SIMATIC VS120 starting up or error message is displayed e 1 SIMATIC VS120 functional no errors Trained Selected model has been trained Ready e 0 Device startup or SIMATIC VS120 in Stop e 1 SIMATIC VS120 in processing mode Run Evaluation result Trained model was recognized Not used Evaluation result Trained model was not recognized Ground PROFIBUS DP Interface socket Wiring O LOINIOTOaI Rl_oTrmy il Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Name M LTG_B RTSAS GND P5V 24V LTG_A Function Not used Chassis non floating Data line I O Turn on PLC transmitter O Chassis floating 5 V fused floati
139. on drawings 13 3 SIMATIC VS120 lighting unit 13 3 SIMATIC VS120 lighting unit 13 Figure 13 4 Lighting unit 1 M4 screw 2 Mounting bracket for mounting the sensor head Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 13 3 Dimension drawings 13 3 SIMATIC VS120 lighting unit Vision Sensor SIMATIC VS120 13 4 Operating Instructions Edition 02 2006 A5E00757507 01 scope of delivery Spares Accessories 1 4 14 1 Components Full package The full SIMATIC VS120 package comprises Sensor head with CCD sensor chip for acquiring specimens LED ring light red diffuse for SIMATIC VS degree of protection IP65 not included in every full package Processing unit for image processing output of results attachment to PROFIBUS DP and 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 Italian French Documentation CD SIMATIC VS120 with Operating Instructions for SIMATIC VS120 in the languages German English Spanish Italian and French Operating Instructions compact for SIMATIC VS120 in the languages German English Spanish Italian and French Online Help Function block FB1 and data block
140. ough storage space Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 4 19 Image processing 4 10 Model sets Example The model set consists of two models You need to decide if the image to be processed contains the SIEMENS model or the COMPANY model SIEMENS ne SIEMENS model COMPANY model e The user selects this model set instead of the model in processing mode Each captured image is evaluated in comparison to the individual models in the model set e 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 model Vision Sensor SIMATIC VS120 4 20 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 10 Model sets e 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 IF Peepe Lompany a _ Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 4 21 Image processing 4 10 Model sets Vision Sensor SIMATIC VS120 4 22 Operating Instructions Edition 02 2006 A5E00757507 01 Ne
141. processing unit with a SIMATIC controller using FB1 e Example 2 Program for archiving diagnostic information on a PC PG 10 6 1 Example 1 Program for interfacing the SIMATIC VS120 processing unit with a SIMATIC controller using FB1 Note The program described here is also available on the documentation CD of the documentation package in Examples SIMATIC DBL H Z Y3120 IN_ OF H Z PROCESS 256 PELEASE RESULT 256 oR RESULT NOT oR DATA BESET VALID BUTTON ERROR LASER ERROR ALERT PROXIMITY WITCH ERRCODE MODEL OUT P DB10 LENGTH _ DEM1 o BYTE 245 ENO Figure 10 6 Example program FB1 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 21 Process interfacing over an automation system PLC PC 10 6 Sample programs Legend Parameters of FB1 _ Meaning o RESET_BUTTON RESET Reset button to acknowledge errors LASER TRG Light barrier for triggering PROXIMITY_SWITCH P DB10 Receive range for the result values DBX1 0 BYTE 245 SIMATIC VS120 in processing mode Run Including FB1 in a STEP 7 program In the supplied STEP 7 program the FC1 function contains an example for outputting the result data 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 m
142. r Vision Sensor SIMATIC VS120 10 6 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 70 3 Control over the DI DO O interface 10 3 Control over the DI DO I O interface You will find the connector pin assignment of the I O interface in the section 7echnical specifications in Port assignment of the processing unit Control byte 0 __ DISA_ Disable Disable manual keypad input model selection via digital VO 1 SELO__ Select 0 Model selection bitO 2 SEL1 Select 1 Model selection bit4 o Notassigned Note e The SELO SEL1 SEL2 and SEL3 signals are effective only when DISA 1 e The RES signal bit no 7 is effective regardless of the DISA signal bit no 0 Status byte Pee In operation Group error e 0 error message is displayed e SFon e 1 SIMATIC VS120 functional no errors e SF off Trained TRAINED e 0 Model model set cannot be run e 1 Model model set can be run i e 0O Device startup or SIMATIC VS120 in Stop e 1 SIMATIC VS120 in processing mode Run Model was recognized e 1 OK during debounce pulse time a Notassigned o b 5 N_OK Model was not recognized N_OK 1 N_OK during debounce pulse time Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 10 7 Process interfacing over an automation system PLC PC 70 3 Control over the DI DO O interface Model selection 10 8 To select a model
143. resent When the relevant communication is reestablished the processing unit resets the error display In any case you can acknowledge the error manually on the processing unit or in the adjustment support and thereby make changes to the configuration The occurrence of these two errors as well as their automatic acknowledgment are permanently saved in the diagnostics records in other words the corresponding entries are not overwritten by new errors They are indicated at the following locations if their number deviates from zero e Inthe Info menu of the VS120 processing unit e Inthe adjustment support for the Processing job e Inthe adjustment support for the Info job in the Statistics tab Note The occurrence of a PROFIBUS DP Error or PROFINET IO Error results in an OB86 call rack failure ina SIMATIC S7 CPU If you have not programmed OB86 the CPU goes to STOP Warnings instructions as LCD displays on the processing unit No Message Desotpton L Remetiee PROFIBUS Connection failed Permission denied for Restart to Activate TCP IP Esc Skip When setting Control OK N_OK Output or Trigger on PROFIBUS DP no connection could be established The setting is adopted when the message is acknowledged with OK The settings are not applied if you acknowledge with ESC The security settings prevent this value being set in the menu of the processing unit A device name change on PROFINET I
144. rs 3 Hide unimportant or disturbing edges ofa ROI 4 Test the model and adjust the exposure parameters 5 Specify the sequence ofthe Jsub ROls and save the model Options Information Maintain Stop Current Status Sensor int trig Sensor ext trg a Man trigger ire Language Home Bark Next Figure 9 13 Training Selection tab 9 28 Part 1 5 Selection WEB Freeze Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 3 Working with setup support Part 2 5 ROI In the Training ROI tab you can specify the properties for the main ROI and the sub ROls You define the main ROI and any sub ROls for image processing in the ROI tab The relationships between the functions of main ROI and sub ROI are described in the section Image processing SIEMENS Vision Sensor SIMATIC 120 Job Train model Part 2 5 ROI WEB Adjustment Connections Training Parameter Rn Precision Fines Options Job Find Select ROl Information Scaling Fixed gt Maintain Search Limited Stop Angle fiso eat Bhar fE 40 Current Status Area aso a Limit ro Ee Warming limit feo w Am l Model type Edge I Full size o aw 200 ROI New Form Circle Color i e Delete Rectangle Narre Main Enalis Home Back ent Help Figure 9 14 Training ROI tab
145. rs are correctly configured and active Check the connection to the DP master Alarm error and system messages 77 2 Error messages and error handling Message on PROFIBUS PROFINET Description Remedies the LCD DP bit no lO display starting at Value diagnostic TCP RS232 W 16 500E Connection error Make sure that the Communic in communication connected TCP server or overa TCP Ethernet RS 232 converter connection or is correctly configured and when using an ready to receive Ethernet RS 232 Depending on the converter connected Ethernet RS There is no TCP 232 converter it can take connection or the up to 20 s before changes data transmission to the RS 232 settings or cannot be parameter changes for the completed within trigger source or the output the set time of the result string to TCP RS232 take effect During this time the first trigger of a processing cycle should not occur nor should that be a change to RUN Archive W 16 500E Error in Check the connection to Communic communication the server over the archiving Make sure that the data is connection There processed by the server in is no 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 Alarm error and system messages 11 2 Error
146. s s consisting of hood and base i Interfaces Status LEDs LEDs Color_ Meanins SSS SF Red Generalfautt S READY Green off device startup or SIMATIC VS120 in Stop e on SIMATIC VS120 in Run Result good Model was recognized Green Result bad Object was not recognized an Bus fault on PROFIBUS DP or PROFINET IO Vision Sensor SIMATIC VS120 3 6 Operating Instructions Edition 02 2006 A5E00757507 01 Description 3 6 Design of the SIMATIC VS120 processing unit No 1 LCD Displays menu commands lines 1 to 3 and the keys display that are currently available line 4 Navigation from menu to menu and within the menus Interfaces Item No Supply voltage 24 V DC circular M12 connector Functional ground with M5 screw type connector 3 Lighting unit circular M12 connector Sensor head HD D sub connector 26 pin I O D sub connector 15 pin PROFIBUS DP D sub connector 9 pin Ethernet PROFINET 10 RJ 45 plug Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 3 7 Description 3 7 Design of the sensor head with LED ring flash 3 Design of the sensor head with LED ring flash Circular connector M12 LED ring flash not supplied with all full packages Lens permanently installed and non adjustable fixed focus version Vision Sensor SIMATIC VS120 3 8 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 4 1 General information T
147. s A group 1 e Emitted interference via the AC input power supply in accordance with EN 55011 Limit class A group 1 e Emitted interference and illumination are within the limit value to comply with 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 The climatic conditions correspond to IEC 60721 3 3 Class 3K7 for storage and IEC 60721 3 2 Class 2K4 for transport The mechanical conditions correspond to IEC 60721 3 2 Class 2M2 Conditions Permitted range Free fall lt 1m up to 10 kg Temperature 30 to 70 C Atmospheric pressure 1080 to 660 hPa corresponds to a height of 1000 to 3500 m Relative humidity at 25 C 5 to 95 no condensation Sine shaped oscillations complying with 5 9 Hz 3 5 mm IEC 60068 2 6 9 500 Hz 9 8 m s Shock complying with IEC 60068 2 29 250 m s2 6 ms 1000 shocks Vision Sensor SIMATIC VS120 12 2 Operating Instructions Edition 02 2006 A5E00757507 01 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 e Class 3M3 mechanical requirements e C
148. s badly grounded or not shielded Interference signals can be caused for example by e Switching relays or contactors large fast changes in current or voltage and HF interference signals e Different ground potentials between two parts of the system LF interference signals Using installing interference proof cable e Always use the supplied cable to connect the sensor head e All plug in connections must be secured by screws or a locking mechanism e Signal lines must not run parallel to power cables A separate cable channel must be used with a minimum clearance of 50 cm from power cables Note For more detailed information refer to the installation manual SIMATIC S7 300 Programmable Controller Hardware and Installation in the section on Wiring 7 2 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 1 1 Connecting 7 3 Connecting components 7 3 Connecting components Connect the processing unit with the other components using the connectors on the front panel The pinning of the connectors is described in the section Technical specifications and with the description of the supplied cable in section Scope of delivery Spares Accessories AN Caution Do
149. sed since processing last started 3 specimens could not be identified as model 2 since processing started This corresponds to 0 093 of all images processed since processing last started The required processing time cycle time for the specimen currently under examination is 300 ms Since the beginning of the statistical analysis for model 02 the shortest evaluation time was 120 ms and the longest 276 ms Operation 9 2 Working with the processing unit 9 12 Step Display Meaning 7 7 7 7 H Bz Tria H Bz Qual minsa mazg 714 t MB Pos mins Marz 2AA wid t H Bz Pos min 14 Nax o9 Zig F Ok H ee Anale minsi 10 max 179 50 l ri4 Ok M a ROL Pos c4 lirzi4 Ok H be ROI Dim width i heisht itiz Iv 14 F Ok H be Tria Too Fast HHH irige t OF Absolute and relative number of image processing procedures during which the next trigger signal came too fast Since the beginning of the statistical analysis for the model 02 the lowest quality value was 85 and the highest 99 Since the beginning of the statistical analysis for model 02 the lowest x coordinate of the target rectangle was 222 and the highest 233 Since the beginning of the statistical analysis for model 02 the lowest y coordinate of the target rectangle was 14 and the highest 89 Since the beginning of the statistical analysis for the model 02 the lowest roll angel was 120 1 and
150. sing unit 6GF2002 8CB Sensor head with mounting plate A5E00190326 degree of protection IP 65 field of view variable Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 14 3 Scope of delivery Spares Accessories 14 3 Accessories 14 3 Accessories Machine Readable Designation Product Code 6XV1 850 2HH20 Ethernet RJ 45 x RJ 45 send and receive line crossed over 2 m long 6XV1 850 2GH20 Ethernet RJ 45 RJ 45 send and receive line not crossed over 2 m long Supported Sensors Machine Lens Max resolution Distortion factor Light Readable Product Code 6GF2002 8AA Fixed focus 6 5mm 640 x 480 pixels 50 Infrared with infrared band filter 6GF2002 8CB C mount suitable for 640 x 480 pixels Daylight tube 6GF2002 8DA01_ Fixed focus 6 5mm 640 x 480 pixels 130 Daylight 6GF2002 8EA01 Fixed focus 8mm 640 x 480 pixels Daylight 6GF2002 8FA01 Fixed focus 16mm 640 x 480 pixels 0 Daylight 6GF2002 8BA Fixed focus 8mm 640 x 480 pixels 5 Infrared with infrared band filter Note 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 e Simatic Sensors catalog order number E86060 K8310 A111 A2SIMATIC SENSORS e On the Internet at http Awww automation siemens com simatic sensors or http www siemens com automation mall Vision Sensor SIMATIC VS120
151. ssigned by the CPU This symptom indicates that the PROFIBUS DP segments are not working efficiently It may be necessary fora PROFIBUS DP systems specialist to check the entire system Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 11 9 Alarm error and system messages 11 3 Diagnostics based on the BF LED 11 3 Diagnostics based on the BF LED BF LED with PROFIBUS DP BF LED Meaning if an error occurs Remedies SIMATIC VS120 is not in the data Check that the bus connector is correctly exchange phase but is searching inserted for the transmission rate Check that there is no break on the bus cable to the DP master If you use an S7 DP master Check the diagnostic buffer of the DP master or the slave diagnostic information in HW Config Flashing SIMATIC VS120 is neither in the Check the cable lengths relative to the data exchange phase nor transmission rate searching for the transmission rate Check the settings of the terminating resistors Check the configuration of the DP master PROFIBUS address transmission rate configuration bus profile If you use an S7 DP master Check the diagnostic buffer of the DP master or the slave diagnostic information in HW Config BF LED with PROFINET I O BF LED Bus problem no physical Check that the bus connector is correctly inserted connection to a subnet switch Wrong transmission rate Full duplex transmission is not enabl
152. st no connection to the configured Ethernet RS 232 converter or PC PG with TCP server can be established yet If the message does not disappear automatically after a few seconds check the connection to the Ethernet RS 232 server or PC PG with TCP server With ESC you can skip connection establishment or it continues in the background During the self test it is still not possible to start communication over PROFIBUS If the message does not disappear automatically after a few seconds DP check the connection to the DP master With ESC you can skip connection establishment or it continues in the background During the self test it is still not possible to start communication over PROFINET This message has its origins in the changeover of the IP address during reconfiguration The message exists until the changeover procedure has ended If the message does not disappear automatically after a few seconds check the connection to the IO controller With ESC you can skip connection establishment or it continues in the background The defaults for all parameters are used no models have been trained After the self test the processing unit changes immediately to the Adjust mode IP mode is changed to PNIO or it is in PNIO and should obtain a different value The change comes into effect only after a restart of the processing unit Confirmation with OK leads to a restart If you press ESC the change
153. such when the camera is too close to or at too oblique an angle to the object e Differences in the object for example dirty objects e Variation in the trained background structure Fluctuations in size Fluctuations in size in the image up to 10 are tolerated if the specimens are the same position as the trained pattern These fluctuations can be caused by the following e Different distances between specimens and the lens caused by a different position on the conveyor belt or workpiece holder e Different pattern sizes in the specimen Perspective distortion e Perspective distortion in the recorded image are tolerated if the specimens have the same orientation as the trained pattern e lf there is perspective distortion and the orientation is different no general statement is possible 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 4 7 Image processing 4 5 Geometric distortion Relationship between resolution and pixel size 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
154. t Transmission medium duplex Automatic settings in the individual network in the Properties window of the PROFINET I O system slot X2 on the Options tab Caution SIMATIC VS120 Vision Sensor does not support an update time less than 4 ms and cannot be set to lower update times If you configure with STEP 7 V5 3 SP1 the minimum update time for all PROFINET IO devices of the affected PROFINET system changes to 4 ms Vision Sensor SIMATIC VS120 10 4 Operating Instructions Edition 02 2006 A5E00757507 01 Process interfacing over an automation system PLC PC 10 2 Integrating the PROFINET IO device SIMATIC VS120 in HW Contig cM Eorifia LSIMATIC aott Mooniiuuealion rass PM lal x mh Ststion Edit Insert PLE Wawa Ontlens Widow Help x Oe 2 By S pell ddlm O UR SSS IF E aaa Profile Standard 7 Ethernet 1 PROFINET IO System 100 A SE PROFIBUS DP AS PROFIBUS PA j 38 PROFINET 0 J Additional Field Devices H Gateway BA General oy 170 es i Sensors Pia a e vs100 V5120 a S130 2 i 9120 Slot d Module Order Number m VSLRT A N ee a ass z f Iioa at EALAR E SIMATIC 300 i SIMATIC 400 sf SIMATIC PC Based Control 300 400 B SIMATIC PC Station Fl BA i Properties UserData R 52 i x General Address Inputs Start 256 Process image End 287 Outputs Start 256 Proc
155. t it cannot should not be modified In the Internet Protocol TCP IP Properties dialog the Use the following IP address radio button is selected You can check the setting by following the steps described in the section Procedure for checking the 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 8 7 Commissioning 6 4 Establish an Ethernet connection between the processing unit and PG PC Step 1 Checking the IP setting of the PC PG 1 2 Click Start gt Settings gt Network and Dial up Connections In the Network and Dial up Connections dialog select your active local area connection to the network 3 Select Properties in the context menu and select the Internet Protocol TCP IP entry Click the Properties button 5 Note down the displayed IP address and subnet mask of your PC PG Step 2 Manual configuration of the VS120 processing unit Notice N O Oo BP OON lt e Co The IP address of the VS120 processing unit must be in the same subnet as the IP address of the PC The default gateway is not necessary for a direct connection between the VS120 processing unit and a PC PG After turning on the VS120 processing unit and after the self test is completed go to the Connect menu and con
156. tatus transitions edges of a digital signal With each status transition the counter increases increments or decreases decrements a value that is then evaluated by SIMATIC S7 or a PLC Central Processing Unit A crossover cable can only be used for a direct connection between two PCs or devices Due to the crossing of the send and receive wires the PCs devices can communicate without additional components HUB switch Both the PC and processing unit must have an Ethernet RJ 45 port Character Separated Values gt A CSV file can be read with Microsoft Excel for example is a text file for saving or exchanging simply structured data Data block Permanent electrical contact does not occur immediately when electrical switching or key contacts are closed the connection opens and closes several times within a fraction of a second With digital input devices computer keyboards input controllers on keypads etc this bouncing effect causes each occurrence of the contact to be registered as a separate input 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 Operating Instructions Edition 02 2006 A5E00757507 01 Glossary DHCP client DHCP server Each device with network capability that supports communication with a DHCP server to obtain dynamically
157. tes 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 Notice indicates that an unintended result or situation can occur if the corresponding information 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 Qualified Personnel 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 Within the context of the safety notes 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 Prescribed Usage Note the following Warning This device 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 Trademarks All na
158. th setup support Firmware 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 SIEMENS Visti Sensi SIMANIC S120 Update the Firmware of the SIMATIC VS120 VSZ To install anew version of the V3120 decoder program please S170 select the file _ws120 vsz that was provided by Siemens AG Network i Browse piee a If you do not start the update within 5 minutes you must reopen this page Ng 00 06 71 8C SB again fram Adjustment and Control IP address of 141 73 10 142 If You have received a file with the name bin instead of DHEP ce vsl20 vsz do not continue here Lise the system update instead You can change to system update by pressing the right button on the processing unit while you switch It on Save the settings of your device an the Maintain page of Acustment and antral Make sure that the processing unitis in STOF before you Start the firmware Update Make sure that no PLO or other extemal controller switches the processing unit to RUN before the update is completed Do not interrupt the power supply during the firmware update Do not use any links in the browser during the firrmvare update Following a successful firmware update the processing u
159. the highest 179 3 For model 02 the midpoint of the target rectangle has the following coordinates x 2 y 4 For model 02 the target rectangle has the following dimensions Width 101 Height 102 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Operation 9 2 Working with the processing unit Display Meaning MaruelIPs 132 163 Display of the IP address of the processing unit in the network Ade 13714 t OK Transiert Connection interrupted in the PROFIBUS DP or PROFINET IO Errors network 1 l4 14 t Ok Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 9 13 Operation 9 2 Working with the processing unit Structure of the Info display for a model set from the RUN menu Info ESC Fi 2 Curr Cacletime A 4 6 F 5 Be Cycle minsi zems mas 2 TEMS H oe Tria Too Fast H ARE bo f Ok Transient Errors ee t 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 9 2 5 Options Options menu Operation 9 2 Working with the processing unit The following schematics provide you with an overview of all the parameters of the SIMATIC VS120 that can be set in the Options menu Diagnose Figure 9 5 Structure of the options men
160. the maximum possible image widths Graphic Resolution per pixel Resolution per pixel width at 640 480 at 320 240 SIMATIC VS120 70 mm 70 640 0 11 mm pixel 70 320 0 22 mm pixel for large specimens SIMATIC VS120 40 mm 40 640 0 06 mm pixel 40 320 0 13 mm pixel for small specimens C CS mount 12 640 0 02 mm pixel 12 320 0 04 mm pixel 45 Geometric distortion Geometric distortion caused by the lens is compensated With sensor heads with fixed lenses the value of the distortion is set automatically and should no longer be changed If standard lenses with a C mount are used the user can make the compensation manually by changing the parameters 4 6 Main ROI and sub ROI Procedure 4 8 Processing with main ROls is usually sufficient to evaluate the image ROIs Region of Interest are used to distinguish a part from the background better The sub ROI option added to the main ROI allows certain details of patterns which would otherwise be indistinguishable in comparison to the total contour to be weighted more heavily Testing for damage or completeness are examples of this This is for example the case if you have shiny areas or variable areas in the object Using sub ROls you can concentrate the search and the evaluation on the important characteristics and suppress irrelevant ones 1 Training of the main ROI concentrating on the invariable characteristics of the specimen 2 Select the ROI New button
161. ting Instructions Edition 02 2006 A5E00757507 01 2 AN Caution Please observe the safety instructions on the back of the cover sheet of this documentation You should not make any expansions to your device unless you have read the relevant safety instructions Safety instructions This device meets the relevant safety requirements in compliance with IEC VDE and EN If you have questions about the validity of the installation in the planned environment please contact your service representative Repairs Only authorized personnel are permitted to repair the device Warning Unauthorized opening of and improper repairs to the device may result in substantial damage to equipment or risk of personal injury to the user System expansion Only install system expansions intended for this device If you install other upgrades you may damage the system or violate the safety requirements and regulations for radio frequency interference suppression 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 2 1 Safety instructions Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Description 3 3 1 Product description The S
162. tion Address e Bit Oto 7 Station number acc to configuration e Bit 8 to 14 DP master system ID acc to configuration e Bit 15 0 Bit 4 to 7 Profile type 0000 i e Bit 0 to 3 Alarm information type alarm of a non DPV1 slave non lO device e Bit 4 to 7 Structure version B 16 00 B 16 01 Flags of the PROFIBUS DP master interface e Bit 0O 0 Alarm from integrated interface module e Bit 0O 1 Alarm from external interface module e Bit 1 to 7 In each case 0 25 B 16 01 B 16 00 Flags of the PROFIBUS DP master interface e Bit 0 1 for alarm entering state e Bit 0 0 for alarm exiting state e Bit 1 to 7 In each case 0 26 to 27 W 16 80ED PROFIBUS identification number fixed Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 11 13 Alarm error and system messages 11 4 Slave diagnostics or O device diagnostics 11 14 SFB54 RALRM returns the following diagnostic information in the AINFO parameter alarm status information for PROFIBUS DP Bre Nae Mene 0 B 16 0F_ Length of the received alarm information in bytes 15 i B 6 o1 ID for the alarm type 1 diagnostic interrupt C E a R B 16 01 B 16 02 1 event entering state slot fault 2 event exiting state slot fault cleared According to standard Station status 1 bit 3 1 External diagnostic information sae are 5 According to standard Stationstatus2 oS 6 According to standard Station status3
163. tures e The model sets functions enables the SIMATIC VS120 Vision Sensor to classify sort parts e 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 A model with the highest cumulative quality is determined from all the models evaluated as OK This evaluation result is generated as Best e The number of models allowed in a model set depends on the complexity of the mode and is limited by the storage capacity of the VS120 processing unit e Increasing the number of models in the model set increases beyond proportion the processing time by several seconds e Up to 40 trained models can be added to each model set e The option of integrating several models in a single model set can be enabled in Options gt Extras gt Use Multimodel Note Exposure Control Model Set The settings for the model with the lowest model number always apply for setting the exposure of a model set Note Error messages The following error messages can occur in processing mode for the model sets e One of the models in the model set has not yet been trained e A model set contains models with different precision important in this respect only the precision value of the parameter counts in other words all models must be either Fine or Coarse e The model set contains too many models that are too large so that there is not en
164. twork and system integration 5 5 1 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 Note Other combinations of modes are permitted for example control via PROFIBUS DP and result output via RS 232 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 5 1 Network and system integration 5 2 System configuration over digital I O 5 2 System configuration over digital I O Acquisition and output of recognition values via digital I O Processing unit Power supply SICMENS PG PC for adjustment support RJ 45 Ethernet cable Power supply cable Functional earthing cable Lighting cable Sensor cable DI DO cable Sensor head LED ring flash Photoelectric barrier LE ME ESTO Conveyor unit Conveyor unit gt Figure 5 1 System configuration via digital I O System features A PC PG dedicated to adjustment is connected via the Ethernet port 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 Vision Sensor SIMATIC VS120 Oper
165. u Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Timebase Buffer Reasons Permanent SNTP IP only by Timebase SNTP Ring Stack Trigger N_OK O a WARN Train mage 1 Image nh O Ring Stack ff O SaveNext Entries only by SaveNext Off Clear On Off 9 15 Operation 9 2 Working with the processing unit Options parameter menu Parameters Path Possible Values Default Light k Buffer Reasons Record Save Next Entries 9 16 Diagnose gt Logging gt Images Diagnose gt Logging gt Images Diagnose gt Logging gt Images Diagnose gt Logging gt Images Diagnose gt Logging gt Report Diagnose gt Logging gt Report gt Permanent Diagnose gt Logging gt Report gt Permanent Ring Stack Trigger N_OK OK WARN Train Image 1 Image Ring Stack e On e Off 10 to 2000 Here you enter the type of illumination being used Ring Type of image buffer Ring When the buffer contains 6 entries entries 1 2 are overwritten Stack When the buffer contains 6 entries no further entries are made N_OK This is where you specify what causes an image to be saved Image If one or more of the causes listed above occurs the current image Is saved 1 Image Not only the current image but also the previous and next image are saved Off On The image belon
166. umidity degree 2 to IEC 61131 2 Atmospheric pressure 1080 to 795 hPa corresponds to a height of 1000 to 2000 m Contaminant e SOz2 lt 0 5 ppm RH lt 60 e Check 10 ppm 4 days concentration no condensation e Check 1 ppm 4 days e H2S lt 0 1 ppm RH lt 60 no condensation Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 12 3 Technical data 12 1 General technical specifications Note The mechanical and climatic environmental conditions for operation specified above apply only to the sensor heads with order numbers 6GF2 002 8DA01 and 6GF2 002 8EA01 For the sensor heads with order numbers 6GF2 002 8CB the mechanical and climatic environmental conditions depend on the lens used Test voltages to IEC 61131 2 Circuits with nominal voltage Ue to other circuits Test voltage or ground 0 V lt Ue lt 50 V 350 V 50 V lt Ue lt 100 V 700 V 100 V lt Ue lt 150 V 1300 V 150 V lt Ue lt 300 V 2200 V Vision Sensor SIMATIC VS120 12 4 Operating Instructions Edition 02 2006 A5E00757507 01 Lighting unit LED ring flash Casing Dimensions W x H x D in mm Weight Rated voltage Degree of protection Sensor head Image capture Image data transfer Casing Dimensions W x H x D in mm Weight Rated voltage Distance sensor front edge test piece Field of vision Degree of protection CCD resolution Vision Sensor SIMATIC VS120 Operating Instructions
167. utputs are available for sorting the specimens OK N_OK e Fully Web based user interface e Extensive operator control and monitoring functions even in the processing mode e Wide ranging diagnostics and logging functions Error image memory and event logging e Firmware update using operator interface of the Web browser e Control via Digital I O PROFIBUS DP and PROFINET IO e 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 3 2 Operating Instructions Edition 02 2006 A5E00757507 01 Description 3 3 Function 3 3 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 When specifying the recognition and evaluation areas avoid shiny surfaces on specimens Principle of edge recognition To recognize image patterns edges are used These edges from the images are the transitions from light to dark or vice versa A model is created from the sum of the edges extracted in the image and their arrangement Recognition and localization of parts The SIMATIC VS120 scans specimens and determines the coordinates including the roll angle and passes them to the control system such as S7 for example via PROFIBUS DP Testi
168. with power e The VS120 processing unit self test is completed Procedure 1 Make sure that the VS120 processing unit and PC are correctly connected to the existing network or are connected together using an Ethernet crossover cable 2 After turning on the VS120 processing unit and after the self test is completed go to the Connect menu and confirm with OK Confirm the selected Ports menu command with OK Change to the Ethernet menu and confirm with OK Change to the IP Address menu and confirm with OK Note down the IP address displayed on the VS120 processing unit N O OF fF W Open the command prompt on the PC with Start gt Run and enter the program name cmd 8 In the command prompt enter the following ping lt IP address or name of the VS120 processing unit gt Example ping 192 168 0 42 9 Confirm your entry by pressing the enter key on the keyboard Result If the connection from the PC to the VS120 processing unit exists 4 packets are first sent from the PC to the processing unit as shown above and then 4 packets are returned from the VS120 processing unit to the PC The reply from the VS120 processing unit appears on the PC for example as follows Reply from 192 168 0 2 bytes 32 time lt 10ms TTL 255 Reply from 192 168 0 2 bytes 32 time lt 10ms TTL 255 Reply from 192 168 0 2 bytes 32 time lt 10ms TTL 255 Reply from 192 168 0 2 bytes 32 time lt 10ms TTL 255 This is followed by the ping
169. y 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 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 Job parameter Example 2 Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 An additional sub ROI is trained Find job If the Job parameter is set to the value Find the following quality values are obtained e Main ROI 98 7 e Additional sub ROI 90 5 Even a value of 90 5 is too unreliable to be able to set the quality limit here Identify job The Job parameter is now set to 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 4 15 Image processing 4 8 Search parameter 4 8 Search parameter Two areas can be specified for image recognition e Limited The ROIs around the specimen cannot extend beyond the edge of the image Limited is the default value e Open The ROls around the specimens can go beyond the edge of the image by a maximum value specified by d You must specify the maximum value d by the following when an open area is used dmax 30 of b 2 h2 Figure 4 1 Search parameter w width h height d maximum value for the position b
170. y as the example described above Measures for optimizing object recognition Problem Object was not trained Remedy 4 6 If the object could not be trained the reason may be that there were not enough contours in the selected ROI Make sure that the ROI is selected correctly position and size and that the object is within the ROI when training If this problem still occurs the object to be trained has too few contours In this case a change in the setting of the precision towards greater precision might help for example from Medium2 to Medium 1 or to Fine Vision Sensor SIMATIC VS120 Operating Instructions Edition 02 2006 A5E00757507 01 Image processing 4 4 Quality of the measured values e lf these measures still do not lead to success try the following for example Select other lighting Specify other more detailed object regions in the ROI Enlarge the ROI or similar e Another remedy is to change the brightness with high contrast in order to clearly detect the change in the image 4 4 Quality of the measured values All the displayed measured values for imaging geometry of a read model are subject to the following inaccuracies Processing precision e for the position x and y coordinates up to 0 1 pixels e forthe angle angle precision up to 0 2 The processing precision is influenced by the following factors e Lighting effects such as reflection and shadow e Perspective distortion
171. you can zoom the image to its original size using the Full size check box In the Name text box you can assign a name with a maximum of 8 characters to each sub ROI The names of the defined ROIs are displayed in the selection list and can be selected by clicking on them in the list or by clicking on them in the image You can assign a color to each ROI in addition to the name to help you identify it in the image The ROI is then displayed with this color in the image and selection list 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 Operating Instructions Edition 02 2006 A5E00757507 01 Part 3 5 Edges Operation 9 3 Working with setup support If you click on the Training Edges tab you start the editing of edges or retouching of unnecessary image features SIEMENS Vision Sensor SIMATIC 120 Job Train model Part 3 5 Edges WEB Adjustment Connections Selection Training Instructions p Bun Hide unimportant or disturbing edges ofa ROI Options Select ROI Information Main Maintain Stop Current Status i Brush size T Full size Restore Language Engien 7 Main X 10 Y 90 Width 228 Height 76 Roll angle 0 0 Y Home Back Next Help a
Download Pdf Manuals
Related Search
Related Contents
Télécharger le sommaire en pdf L-Carnitine - Antidoping Schweiz Supermicro MBD-H8DMR-82-B PS 5000 A Serie ユーザーマニュアル 27MHz 1W DSB無線電話装置 JSD-283 PAN08 – 19“ DI-BOX/LINE ISOLATOR 4 KANAL AKTIV 50-0108-0100 Philos 12A Canon imageRUNNER 2870 Brochure Owner Manual Copyright © All rights reserved.
Failed to retrieve file