Home
Siemens E12 User's Manual
Contents
1. 100 000 300 200 100 0 100 200 300 pal m ze Alle Bild Aktuelles Bild 3 m 0 000 nl eige e Bilder uelles Bild N OK 0 0 000 Teil1 1 X Y Winkel Qualit t Zykluszeit Aktuell 11 1 23 0 0 8 99 5 2018 ms raa en i Min 100 23 0 0 0 98 4 1642 ms Sprache lt 3 gt gt R cks Max 86 0 16 0 1 0 99 8 2102 ms Deutsch v Startseite TE i Hilfe SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Auswertebetrieb WEB Einrichten Y Modellset w hlen Verbindungen mn 4 Modellset 1 Ok v 200 Trainieren Auswerten Tabelleninhalt BENONER Modell Info Optimierung Bestes Per Verwalten Q Limit ROI Stopp Warn Limit z 100 fel cece Info Modellset Nr 1 1 5 0 Modellset Nr E benas OK 4 200 ij FREIEN I Zeige Kanten 100 000 Mg T 300 200 100 100 200 300 amm LJ T si 0 000 uni Zeige Alle Bilder v Aktuelles Bild 4 N_OK 0 0 000 Teil2 2 x Y Winkel Qualit t Zykluszeit Aktuell 25 9 3 7 35 99 0 536 ms e a Min 320 0 23 0 0 0 0 0 535 ms Each gt gt gt Ricks Max 86 0 240 0 3 5 99 8 2102 ms Deutsch v Startseite Hilfe The work pieces are recognized TIA Training Document Page 44 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Even if the number is faulty a parts assignment is still made by means of the shape
2. nicht train 17 nicht train 18 Wenn nicht train 8 Auswertung nicht train 10 nicht train 11 Winkelgenauigkeit 1 v nicht train 12 nicht train 13 nicht train 14 Beleuchtung lt nicht train 15 nicht train 16 Typ Rot v I fram wv Sprache i Hinweis Spezialeinstellungen Bitte lesen Sie die Online Hilfe oder das Handbuch Deutsch v Startseite Zur ck bernehmen Hilfe All additional information about operating the Web server based interface is provided in Chapter 9 3 of the operating instructions Image Processing System Vision Sensor SIMATIC VS120 TIA Training Document Page 43 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Now click on the button Evaluate and start the evaluation mode Set the CPU to Run and start image evaluation with Start 10 0 SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Auswertebetrieb WEB Einrichten Modellset w hlen Verbindungen P m 1 Modellset 1 OK v 200 Trainieren Auswerten Tabelleninhalt Optionen Modell Info Optimierung Bestes u Verwalten Q Limit ROI Stopp Warn Limit E MEE 100 Akt Zustand Iw Zeige Kanten Info Modellset Nr 1 1 5 7 Xv Bereich mnn OK 3 200 EE
3. Vision Sensor SIMATIC YS120 Adjust sensor Live image with Javascript Browser test 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 e Browser Test Checks whether your browser is correctly configured for Web aided adjustment and control Firmware Version YS120 2 1 0 Build 021 000 1985 gt siemens com Vision Sensor SIMATIC VS120 Sensor einrichten Livehild mit Javascript Browserest Sensor einrichten das erste was zu tun ist Web unterst tzte Einrichtung und Steuerung Oder berwachung des Livebildes f r Browser mit Javascript Dokumentation Bitte venwenden Sie die mitgelieferte CD f r weitere Informationen e Browser Test Uberpr fung ob Ihr Browser f r die Web unterst tzte Einrichtung und Steuerung korrekt konfiguriert ist Siemens 4G 2007 Alle Rechte vorbehalten Firmware Version WV S120 v2 1 0 Build 021 000 1985 TIA Training Document E12 Status 01 2010 Page 34 of 47 Industry Automation and Drive Technologies SCE Service amp Suppart Internet VS120 Network Identification MAC address 00 0E 6C 9B E9 A0 IP address 192 168 0 120 PROFINET IQ Service amp Support internet VS120 Netzwerk Identifikation MAC Adresse OO0 0E 8C 9B ES AD IP Adresse 192 16
4. Ethernet 1 gt Don t use a router OK Eigenschaften Ethernet Schnittstelle PN IO R0 52 7 Allgemein Parameter Bel Anwahl eines Subnetzes werden die nachsten freien Adressen vorgeschlagen Metzubergang IP Adresse 1192 168 0 100 REE Keinen Router verwenden Subretzmaske 255 255 255 0 _ Router verwenden Adresse nicht vernetzt Meu Ethernet 1 ZZ Eigenschaften Loschen eA Jie TIA Training Document Page 17 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Notes regarding networking on the Ethernet additional information is provided in Appendix V of the training manual MAC address The MAC address consists of a permanent and a variable part The permanent part Basic MAC address identifies the manufacturer Siemens 3COM The variable part of the MAC address differentiates the different Ethernet stations and should be assigned globally unique On each module a MAC address specified by the factory is inscribed Value range for the IP address The IP address consists of 4 decimal numbers in the value range 0 to 255 separated by a period for example 141 80 0 16 Value range for the subnet screen form This screen form is used to establish whether a station or its IP address belongs to the local subnet or can be reached only by mea
5. 4232 0 SubROT 16 Result Tl Quality te 0 6 0 yFos 10 0 Angle 14 0 46 4 c Mi mm ce i i ti aH ti to ti c b i m zi m m m H a iy a ii In In M f M f f fr w He He He He m ct ct ct ct H da H a Fh E i cC H un TIA Training Document E12 Status 01 2010 END STRUCT DB10 has a size of 246 bytes and can accommodate 16 SubROls Quality HainsSubRBR Il Industry Automation and Drive Technologies SCE Rnfangsuvert Kommentar First byte of Receive area TELSFO Page 30 of 47 Module Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 9 Supplementing the Symbol Table Open the symbol table and enter the following symbol assignments Symbol Kommentar S120 Funktion OK a 40 BOOL 9 4 SIMATIC YS120 funktionsf hig kein Fehler S120_Modellzet_Ok A 4 1 BOOL 1 Modell Madellset ist ablauff hlg v1 20 RUN A 4 2 e 1 SIMATIC 5120 im amp usveertebetrieb Run S120_Modell OK A 4 3 1 Objekt wurde erkannt Teil OK VS120 Model M ok A 4 4 AOL 1 Objekt wurde nicht erkannt Teil nicht OK YS120_NDR A 4 5 Bool Neue Daten empfangen Steht nur 1 Zyklus an WS120 Fehler A 4 6 Bool Es ist ein Fehler aufgetreten START E 0 0 BL Bildaufnahme und Auswertung starten RESET E 0 1 Boop Auswertegerat oder FB
6. SI E M E N S Industry Automation and Drive Technologies SCE 4 1 Setting Up a New Project 1 The central tool in STEP 7 is the SIMATIC Manager It is called here with a double click gt SIMATIC Manager e Fr SIMATIC Manager 2 STEP7 programs are managed in projects We are now setting up such a project gt File gt New K SIMATIC Manager u nl x Datei Zielsystem Ansicht Extras Fenster Hilfe Etrit Assistent Neues Projekt ffnen Ctr o S7 Memory Card Memory Card Datei L schen Reorganisieren Verwalten Archivieren Dearchivieren Seite einrichten 1 PROFIsafe02 Projekt F 30 S7 ProjekteVPROFIs 2 2 Profi Umrichter Projekt F 10 57 ProjektelProfi Um 3 Erreichbare Teilnehmer PROFIBUS Beenden Alt4 F4 Erstellt ein neues Projekt oder eine neue Bibliothek AL 3 Now the project is assigned the Name VS120 gt VS120 OK EB Abscherv Vorlage CHSIEMENSYSTFrop bsche_4 EB Abschervorrichtung C Program Filess5iemenss Step r t CASIEMENS S Praj s amp bsche 2 C Program Files Siemenss Step Ep Proj C Program FilessSiemens sStep EBAS Busplatz CSSIEMEMSSS7PraSAS Buspla RAC 1 Dosis KAD A CICATRICI CTD mAT bs partial i n aktuelles Multipryekt einf gen M ame i vet en Projekt ed F Biblicthel Ablageort Pfad C Program Filess5iemens S tep s pro Durchsuchen Abbrechen Hilfe TIA Tra
7. transfer of the trigger delay time to the SIMATIC VS120 in us value range 0 to 9 999 999us Note The delay value is a multiple of 50us with rounding off limits of Ous or 50us For example 49us becomes Ous 65us becomes 50us RECV INPUT Receive Receive area for the result values Permissible are only data block areas and the data type BYTE This parameter has to be wired and the data block has to be at least as large as the maximum result to be expected Notes TIA Training Document Page 26 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS FB1 Output Parameters 1 Parameter Dekla a ration Industry Automation and Drive Technologies SCE Beschreibung OUTPUT BOOL OUTPUT BOOL OUTPUT BOOL OUTPUT BOOL OUTPUT BOOL OUTPUT BOOL ERROR ERRCODE OUTPUT BOOL OUTPUT WORD In Operation Fehlermeldung wird angezeigt e SIMATIC VS120 funktionsf hig kein Fehler Trained 0 Modell Modellset ist nicht ablauff hig Modall Modellset ist ablauff hig Heady 0 Anlauf des Ger ts oder SIMATIC VS120 im Stopp SIMATIC VST20 im Auswertebetrieb Run Objekt wurde erkannt OK w hrend der eingestellten Pulszeit Objekt wurde nicht erkannt N OK w hrend der eingestellten Pulszeit New Data Received Neue Daten empfangen Hinweis Dieser Parameter steht nur einen CPU Zyklus lang zur Verf gung Es ist e
8. 1 1 v5120x Profit Standard nd ASE PROFIBUS DP g H PROFIBUS PA PROFINET IO DI16 DC24V Drives DO15xDC24V Gateway HMI 2 c3 o LL Ident Systems C Network Components Lj Sensors v LL Spectation lt gt Lj 5100 g vS120 T d S130 2 gt m vetzod20 C Weitere FELDGER TE Steckplatz Baugruppe Bestelnummer E Adresse 4 Adresse Diag LK hi SIMATIC 300 a m VAIA AGF 07834370 AW E SURE p F 7 E a aion Ps Ar poe BSI se a sr E E E SIMATIC PC Station BGF1 018 24410 SIEMENS yS120 Objektprufung GSDML V2 0 Siemens 002A VS100 Gm N Einf gen m glich And mh Adress bersicht Ee 1l Adressen von Mui ELS Adressbereich von 0 bis 204 CPU 315F 2 PN DP Freie Adressyergabe Ja Baugruppentrager Oe Steckplatz Filter Eing nge I Ausg nge iw Adressl cken Typ Ad von Adrbis Baugruppe TP DP en S E 1 BliBxDC24 0B1 FA i 4 E z 9 Liicke E 10 10 SteuerBute OB1 PA4 100 71 1 u E 11 255 L cke E 256 eof NutzD aten OB1 PA 100 1 2 E 288 2042 L cke ES 2043 2043 wST1208120 100 1 oO E 2044 2044 FN Ox100 E 2 z E 2045 2045 Port 1 0 2 4 E 2046 2046 PN Os100 2 2 E 2047 2047 MPIYDF 2 1 UA 0 3 Lucke la 4 5 D l5sDC24v 05 amp OBT P 0 5 j A B 18 L ck
9. 1BH01 0440 es Es SS ae BES7 322 1BH01 04A0 a Digitalausgabebaugr D016 24 0 5A Wurzelung 8 auch als SIPLUS Baugruppe mit Einf gen m glich And Note The module s order number is shown in the footer of the catalog 13 Now we have to change the PROFINET device name to PN IOx100 Select PN IO with a double click gt PN IO PN IOx100 OK Eigenschaften PN IO RO S2 2 Allgemein Adressen PROFINET Synchronization Uhrzeitsynchronisation Kurzbezeichnung PH IU Geratename FH IOx1 OU Schnittstelle Typ Ethernet Ger tenummer Adresse 192 169 0 100 Vernetzt ja Eigenschaften Kammentar Abbrechen Hilfe TIA Training Document Page 20 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS Industry Automation and Drive Technologies SCE 14 Then drag the PROFINET IO System 100 module tier lt lt gt gt toward the right and from the folder PROFINET IO add the SIMATIC VS100 module VS120 by dragging it to the tier If module VS120 should not be available for selection it has to be added by a data carrier by means of the menu Options Install GSD files oh Hw Konfig SIMATIC 300 1 Konfiguration S120 ag ly Station Bearbeiten Ansicht Extras Fenster Hilfe E x Dc s phg rds DO RR ni xi za UR Ethernet 1 PROFINET IO System 100
10. 512MB only XP 1 GB RAM free disk storage approx 650 to 900 MB MS Internet Explorer 6 0 and network card 2 Software STEP 7 V 5 4 3 SPSSIMATIC S7300 with CPU 315F 2 PN DP and at least one digital input and output module Sample configuration Power supply PS 307 2A CPU CPU 315F 2 PN DP Digital inputs DI 16x24VDC Digital outputs DO 16x24VDC 0 5 A 4 SIMATIC VS120 evaluation device with sensor head and LED ring lamp 5 Ethernet connection between PC CPU 315F 2 PN DP and VS120 M wan 2 STEP 7 5 Ethernet Connection Sensorkopf LED Ringlicht S un ET AO j z Oe E x P per re i gt z b H E H H r N 1 x N i 3 SIMATIC 87 300 with 4 SIMATIC VS120 CPU 315F 2 PN DP with sensor head and LED ring lamp TIA Training Document Page 6 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS TIA Training Document Page 7 of 47 Module E12 2 NOTES ON USING THE CPU 315F 2 PN DP The CPU 315F 2 PN DP is a CPU that is shipped with 2 integrated interfaces The first interface is a combined MPI PROFIBUS DP interface that can be used at the PROFIBUS DP as master or slave to connect distributed lO field devices with very fast reaction time In addition it is possible to program the CPU here by means of an MPI or PROFIBUS DP The second interface is an integrated PROFINET interface This allows for using t
11. Fehler rucksetzen DISA E U2 Boop sperren der manuellen Tastenbedienund oave and close the symbol table 4 10 FC10 Control Program In FC10 we now generate the control program for the Vision Sensor Module VS120 Generate FC10 Eigenschaften Funktion Allgemein Teil 1 Allgemein Teil 2 Aufrufe Attribute M ame FOU Sembolischer M ame ISTEUERUNGSPR GBRAMM Sumbalkamnmentar Steuerungspragramm mit FBT und DBTU Erstellsprache FLIP Frajektpfad Speicherort des Projekts C Program Files Siemens Steps ssf props 2L Code Schnittstelle Erstellt am 13 12 2003 09 05 30 Zuletzt ge ndert am 13 12 2003 09 05 30 13 12 2003 09 05 30 Kommentar Abbrechen Hilfe TIA Training Document Page 31 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE parameters of FB1 With input 10 0 the command for image pickup and for starting the evaluation is executed With input 10 1 the error is reset if there is an error 2 With input 10 2 operating the V8120 manually is disabled The input output addresses of the VS120 hardware have to be entered at the first four input 1 At input parameter RECV DB10 is specified as ANY PZDB10 DBX1 0 BYTE 245 In DB10 data is entered starting with Byte 1 By means of the inputs Q4 0 to Q4 6 the VS120 status information is displ
12. Galing FC IOINOBT c een Boa elle 33 5 WEB Server based operator interface of VS120 ussssussnssssnssnnnnennnnnnnnnnnnnennnnnnnnnennnnnnnnnennnnnnnnnnnnnnennnnennnnnnn 34 5 1 Setting Up and Evalliating Ihe Model nes neh 34 5 2 Setting up the Model Set and Evaluating the Model Number 22000022220002002000nnnnnn nennen 42 6 Results of image evaluation in the CPU uuueessssnnnneesnnnnnnnennnnnnnnnnnnnnnnnnnnnnnnnnnnennnennnnnnnnnennnnnnnnnennnnnnennnennn 46 6 1 Web View hihe Evaluation eek Bess 46 6 2 DB LO DIA VIEW see ar EET 46 6 3 Variable Table DB Vallesa An ee een ech 47 6 4 SyMDOl Table satin nein engl 47 o Training Document Page 3 of 47 Module Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE The following symbols serve as a guide through Module E12 Information Programming Sample Task Notes TIA Training Document Page 4 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 1 PREFACE Regarding its content Module E12 is part of the instruction unit IT Communication with S7 Fundamentals of STEP7 Programming 2to3days Modules A Additional Functions of STEP7 Programming 2to3days Modules B with SIMIT SCE System Simulation 1to 2 days Modules G Programming Indus
13. Info Modell Teil1 1 1 6 T iv xfv Bereich OK 3 200 E _ 2a 300 200 100 Warn 0 mil f i 0 000 un Zeige Alle Bilder v Aktuelles Bild 5 N OK 2 40 000 Teil1 1 X Y Winkel Qualit t Zykluszeit 1 Aktuell 36 2 12 9 13 3 61 2 1932 ms ee Min 6 9 12 9 1 8 61 2 1872 ms Srachie gt gt gt Ricks Max 36 2 8 9 13 3 99 4 1940 ms Deutsch Muster nicht gefunden Startseite Hilfe Evaluation result Faulty part with Number 16 instead of Number 1 SIEMENS Vision Sensor SIMATIC VS120 Blockieren Aufgabe Auswertebetrieb WEB Einrichten ET l Modell w hlen Verbindungen r i Modell Teil1 1 Trainieren ery st Auswerten Tabelleninhalt Optionen Modell Info Optimierung Verwalten Q Limit 70 ROI Stopp Warn Limit 80 96 Main Akt Zustand b Info Modell Teil1 1 1 6 7 XY Bereich OK 3 i iv Zeige Kanten 50 00096 TM 0 300 200 100 0 100 200 300 L 0 000 1 Zeige Alle Bilder v Aktuelles Bild 6 N OK 3 50 000 Teil1 1 X Y Winkel Qualit t Zykluszeit Aktuell 68 0 14 0 3 3 59 5 1992 ms FEIER en Min 6 9 14 0 1 3 59 5 1872 ms Sprache gt gt gt Ricks Max 68 0 8 9 13 3 99 4 1892 ms Deutsch Muster nicht gefunden Startseite Hilfe TIA Training Document Page 41 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and
14. Vergabe von PROFINET 10 Device Ger tenamen And PA Note A precondition for this is that the PG PC interface is set to TCP IP and the network card for the PC is configured correctly For example IP address 192 168 0 99 subnet 255 255 255 0 and router address refer to Module E02 19 Highlight the VS100 module and then click on the button Assign name Close the window Ger tenamen vergeben 5 Geratename v5 2001 20 aeratetyp vston vorhandene Ger te IP Adresse MAC Adresse Ger tetyp Ger tename Mame zuweisen 1921 63 0 120 O0 0E 8C 9B E9 40 V5100 51208120 Teilnehrmer Blinktest Dauer Sekunden 3 Blinken ein Hiner an lt gt iw nur Ger te gleichen Typs anzeigen nur Ger te ohne Namen anzeigen Aktualisieren Exportieren Schlie en Hille TIA Training Document Page 23 0f 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Bi 20 By clicking on ZZ we can now load the hardware configuration into the PLC The operating mode switch should be on Stop gt a Eh Hw Konfig SIMATIC 300 1 Konfiguration VS120 Max ci Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe E X Dane E amp Bo xr FIO X M B xi SOUR Ethemet 1 PROFINET ID System 100 Suchen x 4 il 1 PS30754 A aa CPU 315F 2
15. for IO operations 1 FB1 facilitates software engineering integration into the control program Tasks of FB1 Selecting a model or model set Reading the result data and storing it in DB10 DB10 is included in the documentation package Operating the control and status interface triggering result bits e Transmitting the delay time of the trigger Reading out error indications TIA Training Document Page 25 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE FB1 Input Parameters 9 LADDR_ INPUT INT Address of the control byte in the SIMATIC VS120 CONTROL interface that is entered under the Connection Control This parameter has to be wired LADDR_ INPUT INT Address of the status byte of the SIMATIC VS120 STATUS interface that is entered under Connection Control LADDR_ INPUT INT Start address of the user data interface Send of the RECWV SIMATIC VS120 Receive of the PLC LADDR INPUT INT Start address of the user data interface Receive of SEND the SIMATIC VS120 Send of the PLC MODEL INPUT BYTE Model number 1 to 15 Note For model changes the DISA bit has to be set INPUT Disable disables manual key operation i RESET INPUT BOOL Reset Reset error evaluation device or FB error Note Works also without setting the DISA bit INPUT Trigger Image pickup and starting the evaluation DELAY INPUT Delay time
16. modules and remains empty for that reason The module s order number is shown in the footer of the catalog TIA Training Document Page 19 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 12 Then we drag the output module for the 16 outputs to the 5th slot The module s order number is inscribed on the front gt SIMATIC 300 DO 300 SM 322 DO16x24VDC 0 5A ul Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe dx Dg m8 dz dr BAUR Ethemet 1 PROFINET IO System 100 ol xi ZU UR Suchen at ay Profil Standard vl Lj DO 300 rs SM 322 DO16 AC120 SM 322 DO16xAC1 20 SM 322 DO16 AC120 SM 322 DO16xDC24 SM 322 DO16xDC24V SM 322 D 16 DC24V SM 322 D 16 DC24V SM 322 DO1ExDC24y SM 322 DO1ExDC24 SM 322 DO16sRel AC SM 322 D016xRel AC SEEN un SM 322 DO1ExUC24 4 Steckplatz FR Baugruppe Bestellnummer Firmware MPl Adresse MPI Adresse E A E SM 322 DD 32xAL1 20 UK memes 1222721 0027 2125 1 25 SM 322 DO32xACT20v SM 322 DO32xDC24V SM 322 DO4xDC15 2 SM 322 DO4xDC24V 71 SM 322 DO64xDC24y SM 322 DO64xDC24 EA EA A A A A A A A TEA TEA IEA EA FEA FEA TEA TEA FOA TEA TOA TA a EEE I blexbcoav BES 321 1BH01 0440 Sa Ss i ie F xa em ds j DO15 DC24V 0 5A BES 322
17. 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 3 Assigning the Device Name 18 Highlight module VS120 and then select via the menu Destination system at Ethernet Assign device name nij HW Konfig SIMATIC 300 1 Konfiguration VS120 Ja ES p Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe En x ICH b i L hee C bi Laden in Baugruppe Ctr id e Laden in PG Bx zi un pen Suchen ntaj 1 PS30754 A x CPU 315F 2 1 Profi Standard 7 Baugruppenzustand Ctrl D E m PROFIBUS DP HE PROFIBUS PA M PROFINET IO DIExDC24V 4 Drives DO15xDC24V l ug Gateway HMI C3 1 0 Ger tenamen auf Memory Card speichern Ident Systems Lj Network Components Ethernet X Ethernet Teilnehmer bearbeiten 77 Sensors Spectation PROFIBUS gt Ger tenamen berpr fen 1g vS100 Ger tenamen vergeben v3120 i V5130 2 gt o vs120120 Weitere FELDGER TE Steckplatz Baugruppe Bestellnummer EAdresse Adresse Diag K t SIMATIC 300 li m LXLAWLAS EEE HEDWIG Au t dle N 7 Simard 000000000 0 E A o e ation 8 E 1 le poe L Bd Snir Con an E SIMATIC PC Station IBGF1 018 2AA10 SIEMENS lc 5120 Objektprufung GSDML Y2 0 Siemens 0024 VS100
18. 8 0 120 PROFINET IO Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Click on Set up Sensor SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Stopp Sensor WEB Einrichten Verbindungen Trainieren Aktueller Betriebszustand des Auswerteger tes Auswerten Optionen Stopp Info sese eo TREE Akt Zustand b I M Sprache Deutsch vi Startseite Hilfe On the left of the interface you will see a selection of tasks in the form of buttons Activate the desired task with a mouse click on the corresponding button The associated dialog will then be displayed on the right side of the interface The Web server based interface for Vision Sensor SIMATIC VS120 provides the following dialog fields for image evaluation e Set up e Connections e Training e Evaluating e Options e Info e Managing e Stop A traffic light is located below the task buttons that shows you at a glance the current operating mode of the evaluation device VS120 The traffic light can display the following states e Green Evaluation mode VS120 with result output e Yellow STOP including setup and training e Red Error TIA Training Document Page 35 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Click on
19. Drive Technologies SCE 5 2 Setting Up the Model Set and Evaluating the Model Number Several models are to be trained and combined into a set Train parts 2 to 5 Rol ausw hlen Wolle Gr e ROl ausw hlen Wole Gr e ROl ausw hlen Man 200 100 100 200 Wolle Gr e BU ROl ausw hlen Main Molle Gr e m 300 200 1400 100 200 300 TIA Training Document Page 42 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Parts 1 to 5 are to be combined into one model set Click on the button Options In the tab Extras under Multi Model Use select ON Highlight Part1 to Part5 Save Part1 with the names Click on the button Accept SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Optionen Teil 4 4 Extras WEB Einrichten er Verbindungen Training Sicherheit L Diag amp berwachung L3 Extras Trainieren Multimodell Belichtungssteuerung Auswerten Verwenden Ein v Bel zeit Offset verwenden Aus v Optionen Modellset 1 Automatik Info Enth lt Modelle Teilt 1 Messfeld verwenden Aus v Verwalten a ei Stopp ale oos Erweiterte Triggeroptionen VEDI ME es acad j nicht train B Schneller Trigger DI Akt Zustand nicht train 7 nicht train 8
20. Form Kreis Farbe Gi Dm Rechteck Name Sprache Deutsch m Main X 10 Y 4 Radius 206 Drehwinkel 0 0 Startseite Zur ck Weiter Hilfe Click on the button Continue Additional information about the parameters is provided in Chapter 4 3 of the operating instructions Image Processing System Vision Sensor SIMATIC VS120 Under the tab Edges interfering or unimportant edges can be removed ua rannig Document Page 38 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS SIEMENS Industry Automation and Drive Technologies SCE Vision Sensor SIMATIC VS120 Aufgabe Model Trainieren Teil 3 5 Kanten WEB Einrichten Verbindungen Auswahl ROI Kanten Test Speichern Trainieren Anleitung Auswerten Unwichtige oder st rende Kanten 4 einer ROI ausblenden 200 oun RO ausw hlen Info Main ___ 100 Verwalten Stopp Akt Zustand d Pinselstarke 5 amp 2 200 s i M volle Gr e mi 300 200 100 0 100 200 300 Rucksetzen Sprache Deutsch Main X 10 Y 4 Radius 206 Drehwinkel 0 0 Startseite Zur ck Weiter Hilfe Under the tab Test the trained part is tested SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Model Trainieren Teil 4 5 Test WEB Einrichten Verbindungen Auswahl ROI Kanten Test Speichern Trainieren Bel
21. SI E M E N S Industry Automation and Drive Technologies SCE Training Manual for Integrated Automation Solutions Totally Integrated Automation TIA MODULE E12 VISION SENSOR Shape Checking with SIMATIC S7 300F 2 PN DP and VS120 TIA Training Document Page 1 of 47 Module Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE This manual was prepared for training purposes by Siemens AG for the project Siemens Automation Cooperates with Education SCE Siemens AG does not guarantee the contents of this document Passing on this document as well as copying it using and communicating its contents is permitted within public training and continued education facilities Exceptions require the written permission by Siemens AG Michael Knust michael knust siemens com Violators are held liable to pay damages All rights including translation reserved particularly if a patent is granted or a utility model or design is registered We wish to thank the Michael Dziallas Engineering corporation and the instructors of vocational schools as well as all those who provided support during the preparation of this manual TIA Training Document Page 2 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE PAGE Te PROTA CC cs cerns telat a a Fehler Textm
22. SIEMENS Vision Sensor SIMATIC VS120 Blocieren Aufgabe Auswertebetrieb WEB Einrichten Modellset w hlen Verbindungen i Modellset 1 Ok v 200 Trainieren Auswerten Tabelleninhalt SIRUAPSR Modell Info Optimierung Bestes a Verwalten G Limit 96 ROI Stopp Warn Limit ELE mM 100 Akt Zustand iw Xl Y Bereich Info Modellset Nr 1 1 5 ey 200 iw Zeige Kanten 42 857 300 200 100 0 100 200 300 Warn 1 T 71435 umi Zeige Alle Bilder v Aktuelles Bild 9 N OK 8 57 1423 Teil4 4 X Y Winkel Qualit t Zykluszeit Aktuell 68 9 27 8 179 0 52 0 2130 ms Temporare Fehler 1 Min 320 0 38 4 179 0 0 0 466 ms Sprache FS gt gt Ricks Max 122 9 240 0 178 5 97 3 2142 ms Deutsch Muster nicht gefunden Startseite Hilfe SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Auswertebetrieb WEB Einrichten 1 Modellset w hlen Verbindungen m Modellset 1 OK v 200 Trainieren Auswerten Tabelleninhalt Optionen Modell Info Optimierung Bestes m verwalten Q Limit ROI Stopp Warn Limit 96 m 100 Akt Zustand Info Modellset Nr 1 1 5 CE d 7 Y Bereich nce OK 6 290 x d iv Zeige Kanten 37 50096 300 200 100 0 100 200 300 Warn 1 m LU eige e bilder v ueles DING 6 250 Zei Alle Bild Aktuelles Bild 11 N_OK 10 62 500 Teils 5 A E Winkel Qualit t Zyklusze
23. Suchen ht i PS 30754 as CPU 315F 2 1 vl Profil Standard W PROFIBUS DP HE PROFIBUS PA ME PROFINET IO I Drives I Gateway I HMI 170 J Ident Systems I Network Components I Sensors XJ Spectation INS100 S120 S130 2 gt 1 S120 3 well FELDGERATE SIMATIC 300 SIMATIC 400 E DI16xDC24 DO15xDC24V l Uf EEE teckplatz Baugruppe Bestellnummer E Adresse Adresse Diag K Im SLA EGET GIF BAA IG MF Ir Stair SIMATIC HMI Station SIMATIC PC Based Control 300 400 SIMATIC PC Station ha b sg t ae er IBGF1 018 2410 t SIEMENS 81 20 Objektprufung GSDMLV2 0 Siemens O02AVS100 y Einf gen m glich And A 15 Double click on the inserted module and change the device name to VS120x120 and the IP address to 192 168 0 120 Eigenschaften VS120 Eg Allgemein 10 Zyklus Kurzbezeichnung V5120 V5120 Objektprufung Bestell Nr Firmware 6GF1 018 25A10 R02 0 Familie S100 Ger tename vS120x120 GSD Datei GSDML V2 0 Siemens 002 V5 100 20060831 xml Ausgabestand ndern Teilnehmer PROFINET 0 System Ger tenummer PROFINE T IO System 100 IP Adresse 192 168 0 120 Kommentar OK Abbrechen Hilfe TIA Training Document Page 21 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Driv
24. arched for pyramidically We start with a rough search with low resolution and conclude with a detail search with a high resolution The accuracy influences the rough and detailed search The higher the checking accuracy the longer the evaluation takes Additional information is provided in Chapter 4 of the operating instructions Image Processing System Vision Sensor SIMATIC VS120 TIA Training Document Page 36 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Now click on the button Connections SIEMENS Vision Sensor SIMATIC VS120 Blockieren Aufgabe Verbindungen Teil 1 3 Schnittstellen WEB Einrichten Verbindungen Schnittstellen Integration Li Ausgabe Trainieren Ethernet e TCPRS232 ee _Auswerten_ IP Mode PROFINET Mode v IP Adresse 192 188 0 43 __Optionen IP Adresse Ill IE Port 8000 Info Subnetz Maske 4 1 Zeitlimit 0 sec Verwalten Gateway i Leerlauf Text n Stopp Pe ty PROFINET IO PROFIBUS DP 4 Akt Zustand Ger tename VS120x1 20 Adresse a Zeitlimit 500 ms Zeitlimit ms Pulszeit 30 ms Pulszeit ms m DIDO Archiv e Pulszeit 30 ms IP Adresse 192 1 1168 0 1 45 Port 8765 Doo Zeitlimit 10 sec Sprache Deutsch v Startseite Weiter Hilfe Then click on the tab Integration or on the button Co
25. arke nicht definiert 2 Notes on using the CPU 315F 2 PN DP sssssssssseseee nennen nnne nnne n nnns nhanh nnns nna nn nnns nenas nnn 7 3 Notes on the SIMATIC VS120 COMPONENTS dete codice ean bain aderire due ctt Pak atn dol pru EO ce eat D acea ecd 7 3 1 Product DEeseriplion une er aa 7 3 2 Pernormance Features ne 8 3 3 mise seen 8 3 4 Recording and Reading Out Recognition Values in a PROFINET IO Environment 9 3 5 Setting the Communication Interface of the V8120 to PROFINET 2200022222002ennneneneneennn 10 4 Starting up a project with CPU 315F 2 PN DP and VS120 us22204uu0ssnnennnnnnnnnennnnnennnnnnnnnnnnnennnnen nennen 12 4 1 Setting Up a New Project ccccccsssssccceceeeeeeeeecaeeeceessseeeeeeeeseeeeeessseeeceeeseuseeeessseaeeeeesssaeeeceesssaneeeees 13 4 2 ontig urindthe HardWare 2 eisen else datu adus 15 4 3 Assianing the Device Name aa ER el 23 4 4 Inserting Blocks and FB1 and DB10 into the Project 4u00240400RRnennnn nennen nnennnnnennnn nennen nenn 25 4 5 UME LIOMIBIOCK EB anne TL a a N 25 4 6 Operan FEN ee ee mt 28 4 7 FBIMEROT MODO er tete eisen 29 4 8 Data BIOCK DB Id nn 29 4 9 Supplementing the Symbol Table eeessssesssesssssesseeeeeeene nnne nnn nn nn nnne nnn nnn nnns 31 410 POI Control OOM ee isse iaa opes doe derer e ues d ee re 31 AWA
26. ation area glossy areas on the objects to be tested are to be avoided Recognition principles of edges To recognize image patterns edges are used These edges in the images are transitions from light to dark or vice versa A model is generated from the sum of edges extracted in the picture and from their arrangement Recognizing and localizing parts The SIMATIC VS120 recognizes objects to be checked and determines the coordinates including the rotational position and forwards them for example by means PROFIBUS DP to a control system like the S7 Checking a model for completeness In addition the SIMATIC VS120 checks the objects in question for completeness Deviations from the trained model are detected and the quality values of the evaluation are displayed Sorting functions of models in model sets Depending on the importance of the application it is possible to group and store 15 model sets for evaluation with 64 possible models When evaluated with the SIMATIC VS120 the models are sorted according to the application with a control system TIA Training Document Page 8 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 3 4 Recording and Reading Out Recognition Values in a PROFINET IO Environment By means of the Ethernet TCP IP and a switch a PC PG is connected that is used exclusive for the setup process B
27. ation with Start 10 0 SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Auswertebetrieb WEB Einrichten z Modell w hlen Verbindungen P 4 Modell Teil1 1 Trainieren ei d Y Ausweren Tabelleninhalt Spinnen Modell Info Optimierung Verwalten Q Limit 2 TT Stopp Warn Limit 860 9 Main x Akt Zustand Info Modell Teil1 1 1 6 7 XfY Bereich OK 1 e iv Zeige Kanten 100 000 a 300 200 100 100 200 300 L m anne al Zeige Alle Bilder v Aktuelles Bild 1 N OK 0 0 000 Teina x Y Winkel Qualit t Zykluszeit x Aktuell 6 9 9 0 1 5 99 4 1874 ms Er Min 6 9 9 0 19 99 4 1874 ms Boraihe lt gt gt gt Ricks Max 6 9 9 0 1 5 99 4 1874 ms Deutsch wv Startseite Hilfe TIA Training Document Page 40 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Evaluation result Faulty part with the Number 1 is too large and milling is crooked SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Auswertebetrieb WEB Einrichten 1 Modell w hlen Verbindungen 1 Modell Teil 1 v 200 Trainieren Ausweren Tabelleninhalt Optionen Modell Info Optimierung Verwalten Q Limit 70 ROI Stopp Wam Limit 80 3 vam 400 Akt Zustand iw Zeige Kanten 60 000 Up 100 200 300 Be
28. ayed FB1 is called on Network 1 FC10 Steuerungsprogramm WElZ0O Hetzwerk 1 Funktionzbaustein FBl aufrufen DBL TSlZ0 WwSsl2z 0 Funktion OR 20 VSlZ0_ Modellset _ OR 10 Wwslz 0 PIN 256 WSslz Modell OR 256 wSsl2z 0 _ Modell N OR DISA VSl20 _ BESET HDR START WSl20 Fehler PEDBl DEX1 oO HODEL OUT BYTE 245 LENGTH ENO Symbolinformation YSlzZzo FBI VYS120 Communication via PROFIBUS DP 57 3007400 DISA E Z Sperren der manuellen Tastenbedienung RESET E l Auswerteger t oder FE Fehler r cksetzen START E0 Eildaufnahme und Auswertung starten VSlz Funktion OF Ad 0 1 SIMATIC VElZO funktionsf hig kein Fehler vVElZ0 Modellset OR A4d 1l 1 Modell Modellset ist ablauff hig VSL2ZO RUN E 4 2 1 SIMATIC VS120 im Auswertebetrieh Pun VvSlz 0 Modell OF Ad 3 1 Objekt wurde erkannt Teil OF VS5lz Modell N OR Ad 4 l2 bjekt wurde nicht erkannt Teil nicht OF VSlz0 NOR L45 Neue Daten empfangen Steht nur 1 Zyklus an VSlz0 Fehler 406 Es ist eim Fehler aufgetreten Additional information is provided in Chapter 10 6 of the operating instructions Image Processing System Vision Sensor SIMATIC VS120 TIA Training Document Page 32 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 11 Calling FC10 in OB1 Double click on OB1 Ente
29. e AS A 20 20 SteuerByte OB1 P4 100 71 1 0 la 2 255 L cke ANE 1 A 256 2B NutzD aten OB1 PA 100 1 2 A 288 2047 L cke s Drucken Hilfe After the hardware is loaded into the CPU the red BF LED on the VS120 goes out 21 Close the hardware configuration TIA Training Document Page 24 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 4 Inserting Blocks and FB1 and DB10 into the Project From the template directory or from the Image Processing System SIMATIC VS120 V2 1 CD from the directory Function Blocks de archive and open the library V8120 2 Add FB1 and DB10 to the block folder of the project Close the library ep Bp vS120 Pragramm gd SIMATIC 30011 54 CPU 315F 2 PN DP gr S7 Programm 1 _ Ge VS120 2 C Program Files Giemens Step 718 7ProjW5120 2 ip Quellen H E austeine eee e_n Iz g V5120 2 ga FE 13 DB10 Bu VS1202 a SFC24 gioco y Bausteine Note Instead of library V8120 2 we can also de archive the example program VS120 Examples The file Vs120 Examples zip is located on the Image Processing System SIMATIC VS120 V2 1 CD in the directory Examples subdirectory SIMATIC 4 5 Function Block FB1 For a simpler handling of the functions of Vision Sensor SIMATIC VS12 the function block FB1 is provided
30. e Technologies SCE 16 Now double click on the control byte of the inserted module and change the address of the inputs to 10 and of the outputs to 20 Eigenschaften SteuerByte R S1 Allgemein Adressen Eingange Anfang hoo o Proze abbild Ende 10 OBIPA Ausg nge Anfang 20 Proze abbild Ende 0 OB1 PA gt Abbrechen Hilfe Hardware View Bh HW Konfig SIMATIC 300 1 Konfiguration S120 Jag ah Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe 89 DEt um xr FC R M Bi xi BUR _ Ethemet 1 PROFINET 10 System 100 EI wad PS30754 A ie bier CPU 315F 2 1 V5120x Profit Standard 88 PROFIBUS PA E PROFINET IO DITExDC24V i a Dres DOTEXDC24VA id Dv HMI amp 3 10 Ident Systems C Network Components 3 Sensors L Spectation vs100 u V5120 vS130 2 x i 3 1 vS120x120 C Weitere FELDGER TE Steckplatz JL Baugruppe Bestellnummer E Adresse A Adresse Diag K T SIMATIC 300 a VELAELAT AGE DATO Au J swari me Ed 2 Stuf Td y 2 pe ko a SIMATIC PC Station IBGF1 018 24410 SIEMENS Ivs1 20 Dbjektprufung GSDML V2 0 Siemens 0024 V5100 Einf gen m glich And 17 By clicking on 8 the hardware configuration is stored and compiled TIA Training Document Page 22 of 47 Module E12 Status 01
31. eady differs In the example we have to alternatively change the subnet screen form to 255 255 0 0 or the IP address to 141 30 128 5 or the gateway address to 141 30 0 1 TIA Training Document Page 18 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 11 Next we drag the input module for 16 inputs to the 4th slot The module s order number is inscribed on the front gt SIMATIC 300 DI 300 SM 321 DI16x24VDC Dl station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe Pt l x Des Se amp a PIO 3 ae Ethernet 1 PROFINET IO System 100 Suchen Profil Standard DI 300 SM 321 DI16xAC120 2 SM 321 DIT6xAC120 SM 321 DIT8xACT20V SM 321 DITExDC24V SM 321 DI16 DC24V SM 321 DI16 DC24V SM 321 DI16 DC24V SM 321 DI16 DC24V SM 321 DI16 DC24V SM 321 DIT6xDC24 SM 321 DIT6xDC24 SM 321 DI16xDC24V SM 321 DI16 DC48 12 SM 321 DI16 DC48 12 SM 321 DITExNAMUR SM 321 DI16xUC24 4 SM 321 DI32xACT120V SM 321 DI32 DC24V SM 321 DI32 DC24V SM 321 DIA amp NAMUR v gt BES 321 1BHO1 04A0 Re Digitaleingabebaugr DI16 24 Wurzelung 16 0 un Steckplatz A _ Baugruppe orme A PA WERFEN FEA FEA FEA PEA IEA EA EA PA TA PEA EA FA PA TA A TATEN iu Eu Einf gen m glich Note Slot 3 is reserved for interface
32. gies SCE 6 3 Variable Table DB_Values i KA DB Werte S120 SIMATIC 300 1 CPU 315F 2 PN DPAS7 Programm 1 0 frm Operand Symbol Anzeigeformat Statuswert Steuervwert IL DB1 0 DBB 0 DB Result Main Rl Reserve 0 DEZ E 2 DB10DBB 1 DB Resut Main_ROlWYarr DEZ D 3 DBIO DBR 2 DB Resut Main Fol Result DEZ 1 4 DB10 DBB 3 DEB Resut Main_FOl Quality DEZ IF 5 DB1O0 DBD 4 DB Result Main Rol xPas GLEITPUNET 45 0 IE DBIO DED 8 DB Result Main Fil yPas GLEITPUNET 31 8 IB DBIO DBD 12 DB Result hain FOL Angle GSLEITPUNKT BE 0 IE DB1 0 DBB 23 DB Result SubRol 01 duality DEZ T IE DB10 DBB 16 DB Resut Main FO Mocel DEZ 3 IE D A 40 yc420 Funktion OK BooL true In A 44 S120 _Modellset_OkK BOOL 1 true ik 2 A 42 S120 RUN BOL i true Ik 3 A 43 S17 20_Modell OK BOOL false IE 4 amp 44 X120 hodel MOK BOOL false Ik 5 A 45 v5120 MDR BOOL false Ifa B A 4 6 wal Fehler BGL falze 6 4 Symbol Table symbol Adresse Datentyp Kommentar S120_ Funktion OK A 40 BOOL 1 SIMATIC 75120 funktionsf hig kein Fehler S120_Modellszet_OK A 4 1 BOOL 1 Modell Madellset ist ablauff hlg VS 120 RLIMN A 4 2 BOOL 1 SIMATIC 75120 im Auswertebetrieb Fun S120_Modell_OkK A 4 3 BOOL 1 Objekt wurde erkannt Teil OK WS120 Modell M Ok A 4 4 AOL 1 Objekt wurde nicht erkannt Teil nich
33. gt gt workpiece carriers circulation systems and gripper units as well as robots Quality control of checked objects Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 Industry Automation and Drive Technologies SCE SI E M E N S Industry Automation and Drive Technologies SCE 3 2 Performance Features e Incident light method with LED ring lamp Object recognition with object search and object check 1 e Startup by means of setup support at the PG PC with installed Internet Explorer Up to 20 object checks per second Up to 64 objects to be checked can be stored To sort the objects to be checked 2 digital outputs are provided OK N OK Operator interface is completely Web based Extensive operating and monitoring functions also in the evaluation mode Extensive diagnosis functions and logging functions Firmware update by means of the operator interface of the Web browser e Control by means of digital VO PROFIBUS DP and PROFINET IO Result output by means of PROFIBUS DP PROFINET IO RS232 interface of an RS232 Ethernet converter TCP IP connection of the PC PG 3 3 Function Checking the properties of an object to be checked for correctness 1 64 models are provided to recognize objects to be checked The SIMATIC VS120 checks whether the individual characteristics of the object to be checked are shaped as the trained model is When specifying the recognition and evalu
34. he CPU as PROFINET IO controller to operate distributed IO on PROFINET The CPU can be programmed by means of this interface also Moreover it is possible to use fail safe IO devices on both interfaces Notes In module E12 the CPU 315F 2 PN DP is used as the controller for the data exchange of a SIMATIC RFID system on the PROFINET Torun this CPU a micro memory card is required The addresses of the input and output modules can be parameterized at this CPU 3 NOTES ON THE SIMATIC VS120 COMPONENTS 3 1 Product Description The vision sensor SIMATIC VS120 is used to optically recognize and check objects applying the incident light method The vision sensor SIMATIC VS120 checks whether the object is the correct one whether it is intact and what its position is The vision sensor SIMATIC VS120 supplies the following recognition values for object recognition x coordinate y coordinate angle Quality values of the object being checked number of the parts found This object recognition data is transmitted to evaluation units in automation systems The data is then processed in the evaluation units of the automation systems The vision sensor SIMATIC VS120 is suitable for the following e Recognizing parts for sorting tasks Determining the position for Pick amp Place applications Existence check and position check in manufacturing Position check for feed engineering for example for swing conveyors lt lt
35. ichtungsteuerung Auswerten Belichtung Manuell v Optionen Belichtungszeit 50 hs ROI ausw hlen ifa Helligkeit 500 E Man VOTWEHSR Bel zeit Offset us Stopp info OK 14 Akt Zustand 100 000 e Warn 0 0 000 N_OK 0 2 PAGO Volle Gr e Qualit t 99 3 96 mi 300 200 100 0 100 200 300 Riicks Had E x Y Winkel Qualit t E me Sensor int Trg v Aktuell 6 8 9 2 1 5 99 3 Steuerung M bk Min 29 9 30 2 1 2 99 0 Sprache D Max 12 8 8 2 73 99 4 Dautsch m Main X 10 Y 4 Radius 206 Drehwinkel 0 0 Startseite Zur ck Weiter Hilfe Click on the button Continue TIA Training Document Page 39 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Under the tab Save save the model with the name Part1 SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Model Trainieren Teil 5 5 Speichern WEB Einrichten Verbindungen Auswahl ROI Kanten Test Speichern Trainieren Reihenfolge der Sub ROls Optionen Info Modell speichern Verwalten Nummer 1 Stopp Name Teilt Sub ROls Akt Zustand nn E Vorhandene Teil1 1 Monera mi 300 200 100 100 200 300 p Speichem Sprache Bousch Wertebereich 1 bis 64 Startseite Zur ck Hilfe Now click on the button Evaluate and start the evaluation mode Set the CPU to Run and start the image evalu
36. in Fehler aufgetreten Tritt w hrend der Bearbeitung der Funktion ein Fehler auf enth lt der R ckgabewert einen Fehlercode e W 16 0000 kein Fehler e W l6 lxyz FBl interner Fehler Wl6 2xyz Fehler des Auswertegerats e Wizl6s xyz Fehlermeldungen interner SFCs 1 MODEL OUT OUTPUT BYTE Nummer des aktuell angew hlten Modells LENGTH OUTPUT L nge des Ergebnisses in Bytes Notes TIA Training Document E12 Status 01 2010 Page 27 0f 47 Module Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 6 Operating FB1 Model Selection To select a model the DISA bit has to be set to 1 The desired model number is set up at FB1 input MODEL e The model change is completed when the TRD and RDY bit changes from FALSE to TRUE The model number that was set up is placed on output MODEL OUT As long as no model was transmitted O is read out at output MODEL OUT e The output MODEL OUT changes to 0 as soon as the DISA bit is reset e lf MODEL 0 the model that was selected last is retained 0 is read out at output MODEL OUT Reset When errors are reset SIMATIC VS120 module errors IN OP 0 and the FB1 transmission errors are reset Triggering With the trigger input at FB1 image evaluation with the SIMATIC VS120 can be activated For mixed operation Controlling by means of PROFIBUS DP and triggering by means of DI DO
37. ining Document Page 13 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 Next highlight your project and insert an Industrial Ethernet Subnet gt VS120 Insert gt Subnet Industrial Ethernet ers inf gen fielsystem Ansicht Extras Fenster Hilfe Station Are Ee dum TEE Datei Bearbeiten f eS EB z Kein Filter gt 1 MPI 2 PROFIBUS 3 Industrial Ethernet vmbaltabelle l exkbibliathek d F terne Duele BE ar UL IHE Er i win Flexible RT Globales Schrittteld EE Waa Globale Deklarationen 5 Now a SIMATIC 300 Station is inserted Insert gt Station gt SIMATIC300 Station Fenster Extras Ansicht Hilfe 3 x ES SLE sae alll o ekeinFite gt 8 T1 Sube 3 SIMATIC H Station 4 SIMATIC PL Station 5 SIMATIC HMI Station amp Andere Station 7 SIMATIC 55 Symboltabelle 5 PG Pil Textbibllotnek b a SIMATIC OP Externe Quella amp SIMATIC 200 Station ee eee ihr nu Ethemet 1 Ys Globales Schriftfeld Programm Software 5 Baustein Mr Sohkm are b amp vst20 c wWincc Flexible RT Globale Deklarationen TIA Training Document Page 14 of 47 Module E12 Status 01 2010 Vision Sensor Sha
38. it Aktuell 52 1 36 9 0 0 44 8 693 ms Tempor re Fehler 1 Min 320 0 38 4 179 0 0 0 152 ms Sprache gt gt gt R cks Max 122 9 240 0 178 5 97 3 2142 ms Deltech Muster nicht gefunden Startseite 1 Hilfe TIA Training Document Page 45 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 6 RESULTS OF IMAGE EVALUATION IN THE CPU 6 1 Web View of the Evaluation Tabelleninhalt 200 o0 Modell Hestes w t ROI 100 m i i 200 r Bereich iv Zeige Kanten 300 200 100 u 100 200 gt 00 Ei Zeige Alle Bilder v Aktuelles Bild 13 Teils 3 A Y Winkel ualit t Zvkluszeit Aktuell 45 0 31 8 66 0 95 7 1517 ms Min 320 0 38 4 179 0 0 0 152 ms Max 122 8 240 0 178 5 97 3 2142 ms 6 2 DB10 Data View The result of the image evaluation is stored in DB10 an em ee ae S seem nor reseve o rr jenes eneno emen aernsme a sepan sor yes uas jo oeoeseeso st s 17 0 Main BOL Quality MainSubR I BYTE B 16 0 B 1l6 60 18 0 Main B I Mumber of SubbB Is BYTE B 1 6 0 B 1 6 00 16 0 Main BOL Model BYTE B lc Bs les 3 20 0 Main EDI Reserve WORD W leos WELSEOOOO TIA Training Document Page 46 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS Industry Automation and Drive Technolo
39. mation and Drive Technologies SCE SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Model Trainieren Teil 1 5 Auswahl WEB Einrichten A 4 Verbindungen Auswahl ROI Kanten Test Speichern i Lrainieren 2 Kurzanleitung 11 Daten und Bild eines vorhandenen Modells bzw neues Optionen Bild ausw hlen 2 ROIs definieren und deren Auswerten Info Parameter bearbeiten Verwalten 13 Unwichtige oder st rende Kanten einer RO ausblenden Stopp i4 Test des Modells und Belichtungsparameter anpassen 5 Reihenfolge der Sub ROls Akt Zustand w hlen und Modell speichern Quelle Sensor int Tra Sensor ext Trg 2 Einfrieren Man Trigger Sprache Deutsch wv Startseite Weiter Hilfe Then click on the button Continue set the parameters and draw a circular ROI Region of Interest around the part SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Model Trainieren Teil 2 5 ROI WEB Einrichten I Verbindungen Auswahl ROI Kanten Test Speichern Trainieren Parameter _ Auswerten Genauigkeit Fein3 v e g Optionen Aufgabe Identifizierer v ROI ausw hlen li Info Skalierung Fest v 400 Main Verwalten Suche Begrenzt v Stopp Winkel 180 Bereich 640 Akt Zustand Y Bereich G Limit 70 Warn Limit an 96 200 Modell Typ Kante v Volle Gr e mil 300 200 100 0 100 200 300 E ROI Neu
40. nly data blocks are permissble The receive area does not exist data block not available The receive area is too short The receive area is write protected The delay value is outside the permissible range of 0 to 9 999 999us Selected model number is not trained Transfer of SFC14 and SFC 15 error indications _ No module is configured for the specified logical base address An access error was detected during the access to the IO System error at the external PROFIBUS DP interface _ 1 1 1 1 1 1 1 1 1 1 1 4 8 Data Block DB10 Tasks of DB10 1 DB10 is laid out for the structured acceptance storage of the data from one Main ROI and a maximum of 16 Sub ROls In the setup support the number of Sub ROls is set in Connections Register Output TIA Training Document Page 29 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS Structure of the DB10 Adresse 0 0 0 0 Reserve f tl Warn Z 0 3 0 Result Quality 4 0 5 0 Pos Angle Model Tlz 16 0 T17 1158 0 Zz0 0 Reserve zz l 422 0 SubROI n1 0 0 1 0 Quality 6 0 10 0 vPos angle 14 0 36 0 S ubROI nz 0 0 1 0 Quality 2 0 6 0 10 0 14 0 wos angle 50 0 SubROI_03 0 00 1 0 Quality Z 0 6_0 10 0 14 0 4ngle 64 0 SubROI n4 0 00 l 0 Quality 2 0 6 0 10 0 14 0 angle 75 0 SubROIl_0S 0 0 Result 1 0 Quality 2 0
41. ns of a router The subnet screen form consists of 4 decimal numbers in the value range 0 to 255 separated by a period for example 255 255 0 0 The 4 decimal numbers of the subnet screen form have to contain in their binary representation from the left a series of gapless values 1 and from the right a series of gapless values O The values 1 determine the area of the IP address for the network number The values 0 determine the area of the IP address for the station address Example Correct values 255 255 0 0 Decimal 1111 1111 1111 1111 0000 0000 0000 0000 binary 255 255 128 0 Decimal 1111 1111 1111 1111 1000 0000 0000 0000 binary 255 254 0 0 Decimal 1111 1111 1111 1110 0000 0000 0000 0000 binary Incorrect value 255 255 1 0 Decimal 1111 1111 1111 1111 0000 000 7 0000 0000 binary Value range for the address of the gateway router The address consists of 4 decimal numbers in the value range 0 to 255 separated by a period for example 141 80 0 1 Relationship of the IP addresses router address and subnet screen form The IP address and the gateway address must differ only at those positions where a 0 is shown in the subnet screen form Example You entered the following for subnet screen form 255 255 255 0 for IP address 141 30 0 5 and for router address 141 30 128 1 The value for the IP address and the gateway address is to differ only in the 4th decimal number However in the example the 3rd position alr
42. nserted in your actual rack and place them in the configuration table To this end click on the name of the respective module hold the mouse key and drag it to a line in the configuration table We start with the power supply PS 307 5A gt SIMATIC 300 PS 300 PS 307 5A ex Bly station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe Deregs drm MO ER Bi xj Suchen ataj Profi Standard Ls ME PROFIBUS DP 38 PROFIBUS PA SE PROFINET IO B SIMATIC 300 x C7 _ M EXTENSION I Netz bergang PS 300 PS 307 104 PS 307 104 PS 307 24 PS 307 54 2 RACK 300 SM 300 SIMATIC 400 SIMATIC HMI Station SIMATIC PC Based Control 300 400 E SIMATIC PC Station lt RI RE REP REI EP oo e e IN FE GES 307 1EA00 0440 x Laststromversorgung 120 230 AC 24VDC 54 And Einf gen m glich Note If your hardware differs from the one shown here simply select the corresponding modules in the catalog and insert them in your rack The order numbers of the individual modules that are also inscribed on the components are shown in the footer of the catalog TIA Training Document Page 16 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 9 Next we drag the CPU 315F 2 PN DP to the second slot The CPU s order
43. ntinue SIEMENS Vision Sensor SIMATIC VS120 Aufgabe Verbindungen Teil 2 3 Integration WEB Einrichten Verbindungen Schnittstellen Integration Ausgabe Trainieren Trigger q Verbindung Auswerten Quelle PROFINET IO v Ausgabe PROFINET IO Y Optionen Flanke Steigend v OK N_OK PROFINET IO v Info Entprellung ms Steuerung PROFINET IO v Verwalten Triggertext Stopp Verz gerungsquelle Manuell v d Ald Zustand Verz gerungszeit 0 ms a z Anleitung f Legen Sie hier fest welche Funktionen mit Diagnoseubertragung den Schnittstellen verkn pft werden sollen Bilder bertragen Keine v i Info Reports bertragen Keine v Es sind nicht alle Kombinationen zul ssig Folgende Einschr nkung besteht Als SasonsnsnnsnnennsnsnunnnunnnnnePhunnnenedWlenununnnnsnnnnnuunnnnsnnnnnnnnnsnssnnedWFes Triggerverz gerungsquelle kann PROFIBUS i DP PROFINET IO nur gew hlt werden wenn auch die Steuerung ber PROFIBUS DP PROFINET IO erfolgt OT ee Sprache Deutsch v Startseite Zur ck Weiter bernehmen Hilfe As Trigger set the source PROFINET IO At Connection set the output OK N_OK and controller PROFINET IO Click on Accept Next click on the button Training y Document Page 37 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Auto
44. number and the version are provided on the front of the CPU gt SIMATIC 300 CPU 300 CPU 315F 2 PN DP 6ES7 315 2FH13 0AB0 V2 6 mh Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe mx Dera amp amp do dr FIC x kh Suchen at il PS 307 5 Profil Standard pa CPU 300 eg CPU 312 t CPU 312 IFM im CPU 312C I CPU 313 9 CPU 313C LL CPU 313C 2 DP I CPU 313C 2 PIP LL CPU 314 I CPU 314 IFM C CPU 314C 2 DP CI CPU 314C 2 PtP I CPU 315 C CPU 315 2 DP LL CPU 315 2 PN DP C CPU 315F 2 DP C CPU 315F 2 PN DP BES 315 2FH10 04BC BES 315 2FH13 0ABC 0 un _Steckplatz Baugruppe Bestellnummer Firmware MPI dresse E A Kir HH IR v23 IR v25 IR V2 6 v lt gt IBES7 315 2FH13 0ABO nt Arbeitsspeicher 256KB 0 1ms kAW PROFINET Anschluss 57 Kommunikation ladbare FBs FCs yy Dr cken Sie F1 um Hilfe zu erhalten And 10 When entering the CPU the window below is displayed In this window do the following assign to the CPU 315F 2 PN DP an IP Address specify the Subnet screen form and select the Ethernet that is already set up Optionally a Router Address can be selected for network overarching communication Confirm your inputs with OK gt IP Address 192 168 0 100 gt Subnet screen form 255 255 255 0
45. ode and press the OK button Place the cursor in front of PNIO and press the OK button The evaluation device now requests a restart press the OK button to confirm After the restart the red bus error LED BF flashes until communication is established by means of PROFINET between a controller and the VS120 ESC may have to be pressed several times to get to the main menu and 9 2 of the operating instructions N All additional information for operating the evaluation device is provided in chapters 8 3 8 4 Image Processing Systems Vision Sensor SIMATIC VS120 TIA Training Document Page 11 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 STARTING UP A PROJECT WITH CPU 315F 2 PN DP AND VS120 Below starting up the VS120 in a project is described As SIMATIC S7 300 Station the CPU 315F 2 PN DP is used In the CPU s control program a data structure has to be generated by means of a function block call FB1 with data block DB10 The data structure looks like this FB1 DB10 for VS120 Result of the form checl Instance DB1 of FB1 All additional information is provided in Chapter 10 of the operating instructions Image Processing Systems Vision Sensor SIMATIC VS120 TIA Training Document Page 12 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120
46. pe Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS 4 2 Configuring the Hardware 120 C Program IRE 20 BR S120 g Hardware SIMATIC SO0 7 Industry Automation and Drive Technologies SCE 6 With a double click open the configuration tool for the Hardware Hardware Tu 7 Open the hardware catalog by clicking on the symbol El gt EN Insert the Mounting Channel with a double click gt SIMATIC 300 RACK 300 Mounting Channel al Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe Dri 42 Be nu MO X Ok T0 UR Dr cken Sie F1 um Hilfe zu erhalten Note EF x ni xi Suchen at nhi Profit Standard 7 ME PROFIBUS DP SSP PROFIBUS PA ME PROFINET I0 S SIMATIC 300 zm C 9 CP 300 C CPU 300 FM 300 C IM 300 5 M7 EXTENSION Netz bergang C PS 300 5 RACK 300 Profilschiene SM 300 SIMATIC 400 SIMATIC HMI Station SIMATIC PC Based Control 300 400 SIMATIC PC Station BES7 390 1 7770 0440 Re In verschiedenen L ngen lieferbar Then a configuration table is displayed automatically for setting up Rack O TIA Training Document Page 15 of 47 E12 Module Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 8 Now from the hardware catalog select all modules that are also i
47. r symbolic name and symbol comment Eigenschaften Organisationsbaustein Allgemein Teil Allgemein Teil 2 Aufrufe Attribute Mame OB Symibolischer Marne IPROGRAMMALFRUF S ymbolkammentar Steuerungsprogramm zu V 57121 aufrufen Erstellsprache FLIP Projektpfad v5120s5IMATIC 300 1 4 PLI 315F 2 PN DP5S57 Programm t Bausteine tlB1 Speicherort des Projekts C Program Files Siernens Steprse7 proja 20 Code Schnittstelle Erstellt am 09 12 2009 16 05 21 Zuletzt ge ndert arn 13 12 2003 09 40 51 15 02 1996 16 51 12 Kommentar Main Program Sweep Cycle 7 Abbrechen Hilfe Confirm with OK Enter Network 1 Bl Main Program Sweep Cyele Netzwerk 1 Steuerungsprogramm VvVSlz aufrufen SIEUERU NGSPROGE AMM Symbolinformation STEUERUNGSFRO GRAMM FCLO Steuerungsprogramm mit FEL und DBlO Save and close OB1 5 vet20 3 Systemdaten 081 3 FE gd SIMATIC 30001 FCID DBI Z DEIN 4 CPU 315F 2 PN DP s7 S7 Programm 1 iB Quellen We now can load the program into the CPU TIA Training Document Page 33 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SIEMENS 5 WEB SERVER BASED OPERATOR INTERFACE OF VS120 5 1 Setting Up and Evaluating the Model Open the Internet browser As link enter the IP address 192 168 0 120 of the VS120 SIEMENS gt siemens com Pagina de inicio 2 n
48. t Ol VS 20 NDR A 45 BOL Neue Daten empfangen Steht nur 1 Zyklus an WS120 Fehler A 4 6 Bool Es ist ein Fehler aufgetreten DB Resuft DB 10 DB 10 DB Result START E D Boop Bildaufnahme und Auswertung starten RESET E 0 1 BooL Auswereger t oder FB Fehler rucksetzen DISA E 1 2 BOL sperren der manuellen Tastenbedienung S120 FB 1 FB 1 S120 Communication via PROFIBUS DP 57 3004400 gt TEUIERUMNGSPROGR ARM FC 10 FC 10 Steuerungsprogramm mit FAT und DBTU PROGRAMMAUFRUF OB 1 OB d Steyerungsprogramm zu S120 aufrufen DB Werte WAT 1 TIA Training Document Page 47 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120
49. the button Set up SIEMENS Vision Sensor SIMATIC VS120 Blodieren Aufgabe Sensor einrichten WEB Einrichten Anleitung Verbindungen 1 Bild scharfstellen 2 F r exakte Triggerung sorgen Trainieren 3 Einstellungen sichern mit Auswerten amahan Optionen Einstellungen Info Belichtung Manuell ow A Verwalten M Belichtungszeit 50 us Stopp A Helligkeit 500 Akt Zustand Bel zeit Offset us s ext Trigger Eee Man Trigger ESE i 300 m Tiggere H ms Aktuelles Bild 437 Genauigkeit Fein v Entzerrung 0 ee Sprache D rtsch Wertebereich Helligkeit 10 bis 500 Startseite bernehmen Hilfe Here we specify the parameters for image pickup and image evaluation To create patterns that can be recognized edges that is the transition from light to dark or vice versa of the image are used Although the algorithm extracts the edges automatically the user has to provide for an image rich in contrasts through optimum exposure i e to generate models that are recognizable creating an image that is rich in contrasts through optimum exposure is a precondition Automatic exposure time should be selected only if the object to be checked is not moving Selecting the accuracy is based on the size of the search ranges and on the detectable changes of the object to be checked Parts in the image are se
50. the trigger signal can be connected directly to the evaluation device V8120 The FB1 parameter TRG remains free in this case Transmitting Delay Time The time delay for hardware oriented trigger delays is set up at the FB1 parameter DELAY With the delay time parameter the value for the hardware oriented trigger supply can be specified Reading and transmitting result data The FB1 is always ready to receive After an OK or N OK evaluation the result data is read out The data is valid when bit NDR changes from 0 to 1 With the setup support under Connections Register Output we are setting how many Sub ROls regions of interest are transmitted TIA Training Document Page 28 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE 4 7 FB1 Error Information e If an error occurs ERROR 1 is set 1 The exact cause for the error is indicated in ERRCODE Error information e 0000 No error e 1xyz Internal FB1error e 2Xyz Evaluation device error e 8xyz Error indications of internal SFCs ERRCODE ERROR Explanation W 16 0000 Oo j Noemt 0 1001 1002 1 1003 1004 1005 1006 1007 2001 8090 80A0 80C0 Impermissible model number parameter model The values 1 to 15 are permissible Impermissible reveive area Only data type BYTE is permissible Impermissible data area O
51. trial Fieldbus Process Languages Systems Visualization 2 to 3 days Modules C 2 to 3 days Modules D 210 3 days Modules F Frequency Converter IT Communication at SIMATIC S7 with SIMATIC S7 2 to 3 days Modules H 210 3 days Modules C Objective In Module E12 the reader learns how networking and data exchange between PLCs and the vision sensor evaluation device VS120 is set up As PLC the CPU 315F 2 PN DP and as vision sensor evaluation device the VS120 system for the shape check are used The SIMATIC VS120 components consist of an evaluation device with a sensor head and an LED ring lamp PROFINET is used for networking between the PLC and the SIMATIC VS120 Module E12 shows in principle the procedure for the startup based on a brief example Prerequisites To successfully work through Module E12 the following knowledge is assumed e How to handle Windows e Fundamentals of PLC programming with Step for example Module A3 Startup PLC Programming with STEP7 e Fundamentals of network engineering for example Appendix V Basics of Network Engineering TIA Training Document Page 5 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Hardware and software required 1 PC operating system Windows XP Professional with SP2 or SP3 Vista 32 Bit Ultimate and Business Server 2003 SP2 with 600MHz only XP 1 GHz and
52. valuation device V8120 performs the following self test e Checking the stored settings and model data e Checking the Ethernet connection If needed checking the connection to PROFINET IO If needed checking the Ethernet RS232 converter or TCP server and to the PC PG lt lt gt gt If needed checking whether it is possible to exchange data from and to PROFIBUS DP Function check of the sensor head e If needed checking the connection for archiving the model data If the self test ran without a fault the following is indicated on the LCD display the main menu the display Adjust or the RUN menu depending on the status at the last switch off You may have to press ESC several times to get to the main menu In addition we navigate in the LCD display between the menus and make entries Main Menu gt Adaust Connect EL To set the V8120 to PROFINET we have to get to the Connect menu Place the cursor in front of Connect and press the OK key TIA Training Document Page 10 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Connect Menu 1 The Ethernet IP mode has to be set to PNIO DP nur bei IP Mode DP PNIO nur bei IP Mode PNIO Place the cursor in front of Ports and press the OK button Place the cursor in front of Ethernet and press the OK button Place the cursor in front of IP M
53. y means of the Ethernet and a switch a connection exists to an automation systems with PROFINET IO capability e The SIMATIC VS120 is controlled by the automation system The result of the objects to be checked is read out via PROFINET IO to the automation system Evaluation Device PC PG to support Switch setup Power Supply Automation System Power Supply Cable Functional Ground Cable Illumination Cable PROFINET IO Sensor Cable _ Sensor Head Cable DI DO LED Ring Light Light Barrier 6 4 f f WW Conveying Direction Conveyor Additional information is provided in Chapter 3 of the operating instructions Image Processing Systems Vision Sensor SIMATIC VS120 TIA Training Document Page 9 of 47 Module E12 Status 01 2010 Vision Sensor Shape Check with SIMATIC S7 300F 2PN DP and VS120 SI E M E N S Industry Automation and Drive Technologies SCE Setting the Communication Interface of the V8120 to PROFINET First switch on the power supply of the evaluation device VS120 for the initial startup At the initial startup Factory Settings Used appears on the LCD display Confirm with OK The VS120 will then perform a self test e Checking the Ethernet connection Press ESC e Functional check of the sensor head Press ESC After completion of the self test Adjust appears on the LCD display Press OK to get to the main menu At any additional start of the SIMATIC VS120 the e
Download Pdf Manuals
Related Search
Related Contents
Du trinôme du second degré à la théorie de Galois レッグシールド 組付・取扱説明書 Todos lo que tienes que saber para empezar Manual PDF pH測定キット - マニュアル - aquamind laboratory LG LW1810HR Specification Sheet Copyright © All rights reserved.
Failed to retrieve file