Home
Siemens S7-300F-2 User's Manual
Contents
1. EN SIMATIC PC Based Control 300 400 MA a SIMATIC PC Station es BES 3O7TEADODAAD E ol aststromversorgung Per AC 24VDC 54 Einf gen m glich And Note If your hardware deviates from the one displayed here simply select the corresponding modules from the catalog and insert them in your rack The order numbers for the individual modules that are also inscribed on the modules are displayed in the footer of the catalog TIA Training Document Page 14 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE SR Next we drag the CRU 315F 2 PN DP to the second slot The order number and the version of the CPU are inscribed on the front of the CPU gt SIMATIC 300 CPU 300 CPU 315F 2 PN DP gt 6ES7 315 2FH13 0ABO gt V2 6 D HW Konfig SIMATIC 300 1 Konfiguration RFID_RF180C Ja ES E Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe El x Dera Wi ZS Su er BO S Ki aixi 0 UR Suchen H ar aj 1 PS 307 54 gt Profit Standard E 3 CPU 300 A 3 CPU 312 LJ CPU 312 1FM E CPU 312C GH CPU 313 GH CPU 313C 3 CPU 313C 2 DP a CPU 3130 2 PtP J CPU 314 3 CPU 314 IFM I CPU 314C 2 DP 3 CPU 314C 2 PIP GH CPU 315 CPU 315 2 DP 3 CPU 315 2 PN DP 3 CPU 315F 2 DP 3 CPU 315F 2 PN DP BES 315 2FH10 048C GJ 6ES7 315 2
2. TIA Training Document Page 28 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C Industry Automation and Drive Technologies SCE SIEMENS ENITIS 978 engelsch LM LaS INA ang Sipoy TUsJsg lINT any zaasnmata o sT a o ar n Z148 2114130 2 Tete 50198145 Sp0 9 ME 335 7 pus 2 sn3eas hTs JTUI EUSSST 7 uaqta Ias Taaa sol z 9T a z8STHA Ss 211021939 2 TESS dd 14d UT 2100S UeEJUY sep Jre ashteg O ol ae sseippe gq Iwd TITUsJed Z TEUEH usgeg SdH any dd usgeg 8d IYI sep zamm LL II zem gq Led 11148329 2 TEVEN SHL IS S0H any IELA LINI Taq ssssapepug say rs ssseapesbueziy ogsT n atst m eo SW SS3appe T Tueleqd Z Teuey saig UT Us Wed aptata Uspusaqtaayoas ha Asp testy TL 1111428123 TESS SALYIS IISSNLYIS SCH IMT LIS ANg ang SPON Tue3 g LINI ang zaasnwsta o sT a o arg a mag prenmos qns T 148328 Z reueg 513845 S5p 0 9 que assay pussies Sng gs ATS p 7 UEL E uasa Tr USgTsayos T TlsIeg sol z 9T a z argal Ss Irilroetasg 2 TESS ad 14d mr azomshuejuy sep jhe Zabraz O ol mw ssa ppe Ad L d s Tusszea T reueg used SdH An ad used faq IYI sep E asi INT asqm ad Lg Leitgeitsag T reueg SOLYIS SCH ANI AUeL NH LINI 199 2SS2APEPUE OH JNE sssapesbuesm og arg n a at m oo SdH Sssappe Leitgaiag T reueg saig UT Wa Wed TSpUIs s3T USBUISITFSAUIS nz Asp mem O O Tanz 511048129 T TESS 3NITIS 973 801IYIS 98 M1 10 198 dua an
3. schreiben Z lese Bitmuster f r INIT Befehl Mo Anzahl der schreibenden le Anfangsadresse auf MDS Endad Nummer des DAT DB Daten DB f Zeiger auf das An schreiben INIT schreibenden e auf MDS Eni Nummer des DAT DE eni l MDS Ber Bitmuster f r Befehl Mo Anzahl der zu Anfangsadress Daten DE eiger auf das of 65 fangswort im DAT lesen 3 1nit 4 Jadress Anfangswort im DAT AUFTRAG Kanal 2 Befehl 2 command AUFTRAG Eanal_z_ Betehl z sub command AUFTRAG Kanal 2_ Befehl Z length AUFTRAG Fanal_ _ Befehl Z address MDs AUFTRAG Kanal 2 Befehl z DAT DP mber AUFTRAG Kanal Z_ Befehl zZ DAT DB address n 3s 1init 4 slgq s dus fur END SET ANT MDS STATUS senden Daten resse bei Or MDS Daten DB dus f r END SET ANT MDS STATUS SLG S lesenden Daten in Bytes e be f r MDS Daten A DE te tatus s in Bytes INIT RU sig status o i INIT KW Jahr f r Jahr f r send Asset nd A set ant B mds status ST TTT MDS STATUS Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and SI E M E N S Industry Automation and Drive Technologies SCE 5 13 OB1 Program Call Double click on OB1 in the project window or open the object properties of OB1 and enter the symbolic name and the symbol comment Eigenschaften Organisationsbaustein Allgemein Teil
4. Teilnehmer Blinktest Dauer Sekunden 3 ei Blinken em nur Ger te gleichen Typs anzeigen nur Ger te ohne Namen anzeigen Aktualisieren Exportieren Schlie en Hilfe TIA Training Document Page 20 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE This is what the completed hardware configuration with the associated addresses looks like 19 By clicking on we can load the hardware configuration to the PLC The operating mode switch on the CPU should be on Stop gt Ei Bh HW Konfig SIMATIC 300 1 Konfiguration RFID_RF180C a Ji ES En Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe a x Dez RH 8 gy er En S ki ol x Suchen nt Ai Profil Standard v BE PROFIBUS DP T PROFIBUS PA KS PROFINET I0 D Dn 7 Drives D DO16xDC24V 0 17 Gateway HMI 1 0 3 Ident Systems Y SIMATIC RFID a Arisoc Network Components x Sensors de m maan Weitere FELDGER TE Steckplatz J Baugtuppe Bestelnummer _ EAdiesse Adresse Diag K IE SATI ae a a AERO BGT EOP RUDE TER i e 7 Il amarte 5 eR ee A Se EN SIMATIC PC Based Control 300 400 amp SIMATIC PC Station 6GT2 002 0JDOO A Ee SIEMENS D Kommunik ationsmodul RF180C IP67 zur Verbindung zweier Re
5. Value Operating Mode Default reserved for setting with switch or GSD parameterization different interfaces without switch under stand under MOBY mode 0 the MOBY mode MOBY I or MOBY E without MDS All ENT MORY with MDS 507 452 454 456 MOBY U D or RF300 without multi taa handlina 475 473 452 456 RF170C Res for MOBY U with multi tag handling Reserved for MOBY D or RF300 with multi tag handlina FRAR MOBY I Dialog MOBY Y MOBY F with MDS F1xx MORY F with MNS F4xx MORY F reserved for MNS 454 452 456 A 475 473 452 854 850 475 473 452 854 850 u SES SS SS SES SS Fa 71 KN C o be noted MOBY mode must onlv be chanaed after an IM is switched on scanning_time MOBY IV Scannung_time is the scanning time for the MDS 507 of MOBY I and MOBY V For all other MDS types the value 00 can be used here The figure below shows the setting for the scanning time refer also to confiaquration manual for Reader 44 MDS 507 mn value 00 3F Time factor 00 0 01 s 01 0 15 10 15 11 10s Example The result of a scanning time of 1 second 81 hex for the parameter ABTA scanning time 2 220 ern EEE FI on Notes TIA Training Document Page 43 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE scanning_time MOBY U Scanning_time beschrei
6. Data view of the Reader status in DB50 UDT111 Byte 0 to 27 ualwert Kommentar B l5 0 Modus SLG Status 1 0 SLG_Status hardware HW Variante Z 0ISLG Status hardware version WORD WELSEO HW Version i WORD WELSFO Urlader Version Lard i a a It Ir i ct ct a u in in m In IS N ct gt e Y H d E Iw rm in o H o S td aio Ss 3 3 SIE te th th tk H ejeje E Rie E Ph n ini D ole T te te te ES o ojojo o ojo o m et D tk tk S er m D o o SLG_Status firmware CHAR FU Variante SLG_Status firmware version WORD WELSFO FW Version 10 0 SLC_Status driver 12 0 5LG Status driver version WORD Treiber Variante Treiber Version kee SLG_Status driver SLG_Svatus driver version 14 0 SLG_Status interface BYTE B 16 0 Schnittstelle RS 232 RS 422 16 0 B 16 0 B 16 0 Reserviert 19 0 EE ARA BF160 Reichweitenbegrenzung ISLG_Stetus multitag SLG BYTE B 16g0 B 16 0 Multitag SLG DE A A A sc olsissrarme mms comeroz em jesieso Joes Tanwesenheit Data view of the Reader diagnosis in DB50 UDT281 Byte 28 to 55 28 0 SLG_Diamose status_info BYTE B 16 0 B 16 0 Modus SLG Status SLG_Diagnose FZP BYTE Bg16g0 Fehlerz hler passiv Ruhefehlerz hler SLG Diagnose ABZ BYTE B 16 0 Abbruchz hler 31 0 SLG Diagnose CFZ B 16 0 Codefehlerz hler 32 0 SL6_Diagnose SFZ BF16 0 Signaturfehlerz hler 33 0 SLG Diagnose CRCFZ B 1 6 0 CRC Fehlerzahler SLG_Diagnose BSTAT B 16
7. Allgemein Teil2 Aufrufe Attribute Mame Bi S Symbolischer Name PROGRAM MAUFFLUF symbolkommentar Steuerungsprogramm aufrufen Erstellsprache FLIP Projektpfad RFID AFIS0C_IECASIM TIE 30001 CPU 315F 2 PHEDPAS 7 Programml Bausteine OET Speicherort des Projekts Program FilesiSiemensi5tepvAs propi FID_R_6 Code Schnittstelle Erstellt arn 05 12 2003 16 34 07 Zuletzt ge ndert am 08 12 2003 19 29 24 15 02 1996 16 51 12 Kommentar Steusrungsprogramm aufrufen oe Abbrechen Hilfe Open OB1 and call FB1 with DB1 0B1 Steuerungsprogramm aufrufen Eonment ar FEl aufrufen Fommentar DPI STEUERUNGS PROGRAMM EN ENO Symbolinformation STEUERUNGS PROGRAMM FEl Steuerungsprogramm mit Baustelnen Confirm the window with the query for generating DB1 by clicking on Yes Save and close OB1 We can now load the program into the controller and test it TIA Training Document Page 61 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS 5 14 Variable Table STATUS SLG_1 Industry Automation and Drive Technologies SCE i Onerand i Symbol Anzeigeformat Statuswert Steyerwert Cancel 0645 08xX 190 SG PARAMETER SLG 1 cancel BRL false N Command Start DAS DEX 191 SLG_PARAMETER SLG 1 command_start BRL fals
8. BYTE i BYTE 67 0 SLC_2 reserved BYTE 68 0 SLG_2 ANZ_MDS present BOOL FALSE 68 1 SLG_2 ANZ_ cancel FALSE 68 2 SLG_2 aNZ_ECC FALSE 63 3 SLG_2 reservedo FALSE 63 4 SLG_2 LR_bat BOOL FALSE B 16 0 Input RESET Befehl Option 1 w i ke bi D He D ri BFl16 F Input Reichweitenbegrenzung B 16 1 Input max Anzahl MDS im Feld B H1 6 0 Input BERO Betriebsart BF16 0 Input BERO Zeit B 16 0 D be ke ti D far ku H w w HLA H ti t w w E Rie nia te ojo Anwesenheit eines MDS FALSE Cancel Bit im PEW ist gesetzt FALSE Fehlerkorrektur wurde durchge f hrt mimi wm wm Ler Gt ee e E GIE ele tte mM TN Th m m m m E E bi H e g GA CH vo Im IE D a elele CIS ie lo llo 5 2 2 3 24 CG iD IA M dla SI pia bw o e Dm WW bi gg th th be a th o Batterie des MDS 507 FALSE Batterie berwachung FALSE Fehler w hrend der Befehlsbearbeitung Der Befehl bzw Befehlskette ist ausgef hrt Set Befehl bzw Befehlskette abbrechen Set Startsigmal f r Befehl bzw Befehlskette Set Letzten Befehl wiederholen Set ASM r cksetzen und neu parametrieren OBlZZ Set ASM ausgefallen FC aktiv FALSE Befehl NEXT war letzter Befehl FALSE Befehl RESET war letzter Befehl FALSE ASM bearbeitet einen Befehl FALSE ASM f hrt Befehlswiederholung durch 71 0 SLG_2 number ms BYTE pgic o esisgo Anzahl der im Feld befindlichen MDS 72 0 SLG_2 error MOBY BYTE B l6g0 BF
9. MDS to DB48 of the CPU Reading the transponder data information MDS to DB49 of the CPU Reading the reader status information reader to DB50 of CPU The data structure of the German language UDTs is as follows FB45 DB45 for Reader 1 a UDT11 integrated DB48 General data Per commd Per commd UDT21 for each reader Write to MDS Source data UDT11 Command 01 I Destination data EXT MDS status DB49 MDS Status EXT 0B 01 Ku 261 FB45 Read MDS Status for Reader 2 UDT11 Command 0B 02 Byte 50 to Byte 99 Read reader status to Reader 2 Command 04 01 DB50 Reader Status DB1 yo Read from MDS Ss Byte 49 Multi instance to Reader 1 Command 02 DB of FB45 DB1 UDT111 Read reader status Command 04 06 UDT281 Reader diagnosis To generate the data structure the required UDT data types have to be imported to the Step 7 project and function block FB45 A sample program with the blocks is provided on the CD RFID Systems Multi instance DB of FB45 Additional information about the data structure is available in the function manual RFID Systems FB45 TIA Training Document Page 10 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 1 Setting Up a New Project 1 The central tool in STEP 7 is the SIMATIC Manager which we call here with a double click gt
10. SIMATIC Manager IS e SIMATIC Manager 2 STEP 7 programs are managed in projects We are now setting up such a project gt File gt New E SIMATIC Manager P loIx Datei Zielsystem Ansicht Extras Fenster Hilfe Chr Assistent Neues Projekt ffnen Ctr O 57 Memory Card Memory Card Datei L schen Reorganisieren Verwalten Archivieren Dearchivieren Seite eintichten 1 PROFIsafe02 Projekt F 0_57_Projekte PROFIs_2 2 Profi Umrichter Projekt F 10_57_ProjekteiProfi_Um 3 Erreichbare Teilnehmer PROFIBUS Beenden Alt F4 Erstellt ein neues Projekt oder eine neue Bibliothek E 3 Next we are assigning the Name RFID_RF180C to the project gt RFID_RF180C gt OK F Neues Projekt A nmenderprojek te Bibliotheken Multiprojekte EB Abscherv_Vorlage CASIEMENS S Prop absche_4 EB Abschervorichtung C Program Files Slemens5tep rr EB Abschervorichtung CASIEMENSAS7Prop besche_2 Ep anlagensim_neu C Program Files Slemens5teprr EB A Projekt C Program Files Siemensi Stepr E EPAS_ IB ueplatz CASIEMENSAS7Prop65_ Buspla a Ac Ds rl ADI PACIDRACKICVC Orn AC TL Di nkAE lt gt N In aktuelles Multiprojekt einf gen Name Typ RFID_RFISOC Prot sl T F Eibliothek Ablageort Pfad CAProgram Files Siemens Steps hs pro Durchsuchen OR Abbrechen Hilfe E TIA Training Docum
11. UDT 281 MOBY P SLG Status_d AML Datentyp 1 3 KM STATUS SLG_1 STATUS Ga Varnablentabelle 1 3 KM STATUS SLG_2 STATUS SLG_2 Varablentabelle 1 3 FS FEA TOM AAL Systemfunktionsbau 1 0 g GEB ROREL AML systemfunktionsbau 1 0 B SFESS WE AAT Systemfunktionsbau 7 0 5 18 DB49 Data View DB49 MDS_STATUS RFID_RF180C_IECASIMATIC 300 1 CPU 315F 2 PN DP DB49 ONLINE Jes D LN EE 2 O MDS_Status0 UID 1 Byte_1 4 pworp pwgiego DWsl go0000000 MDS Nummer unique identifier ED nn Ca e e 11 olms statuso tock state eyre esiego eslss00 Schreibschutzstatus EEPROM 12 o ms_status0 reservedl 1 B 16 00 zo ole Sretue 05111 Bee LA pworp owgieso pug1eg00000000 MDS Nummer unique identifier 24 0 IDS_Statusl UID 1 Byte_5_8 DW 16 557BA57F o ET TRIE T AE FE AAA A re S Leistungsflussdichte Beziehung zwischen Grenzwert ur Fehlerz hler passiv Puhefehlerz hler Fehlerz hler aktiv Fehler w hrend Kommunikation Anwesenheitsz hler er a TIA Training Document Module E11 Status 01 2010 RF180C Page 65 of 65 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and
12. a Datei Bearbeiten Einf gen Zielsystem Test Ansicht Extras Fenster Hilfe Ders e hear DR rm 1n Save and close DB48 TIA Training Document Page 23 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE DB49 MDS Status Information In DB49 the MDS status Information is entered The information is stored in a data block with a specified structure Read MDS status with Sub_ Command 01according to UDT261 or Sub_ Command 02 according to UDT271 Generating DB49 r tigenschaften Datenbaustein ES Allgemein Teil 1 Allgemein Teil 2 Aufrufe Attribute D Mame und Typ DBAS 0 Global DE Symbolscher Name MS STATUS Smbolkommentar hier werden die MDS Status Informationen abgelegt Erstelleprache DE Projektptad Speicherort des Projekts C Program Files Siemens Step fprojsAFiD HN Code Schnittstelle Erstellt am 06 12 2009 09 09 26 Zuletzt ge ndert am 06 12 2009 09 09 26 06 12 2009 09 09 26 kommentar o Ke Abbrechen Wis O O D UO GA i gt o D o 5 GU D ech C g N O mb DA o C g N mb egge Pr tangas esst or 0_0 MbS_ StatusD MOBY P MDS Status oa hier ist der ULTzZ51 abgelegt O pe See MOBY P MDS Status L n fo hier ist der UPTZ71 abgelegt am se 36 0 reek DB49 d
13. mut baier EI EE ER 1 PC 5 Ethernet Connection 3 SIMATIC S7 300 with with reader RF310R SLG write read device and transponder RF340T MDS TIA Training Document Page 6 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 2 NOTES REGARDING THE USAGE OF 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 the 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 bg In module E11 the CPU 315F 2 PN DP is used as the controller for the data exchange of a SIMATIC RFID system on the PROFINET To run this CPU a micro memory card is required The addresses of the input and output modules can be parameterized at this CPU TIA Training Document Page 7 of 65 Module E11 Status 01 2010 RF180C Radio Frequency Identification RFID with SIMATIC
14. 0 Be fehlsstatus SLG_Diagnose ASMFZ BYTE B 16 0 Fehlerz hler Hostinterface 45M 36 0 SLG Diaqnose reservedO 1 BYTE B 16 0 Din oi a ei oa re a a a el a al ao a a I ed Fe id id id I ic w th ae e ae fae ae e em ala a dee tee fee fe fe e dee fe ee fe ee lg elelelelelerlejelelejele erjelejelejele e jejee HIHAInininialalalalalalalalalalalalialal alalaln te eh e e ae ae lee ee ae fae ae dee tee fae ae E ME e E E fe ee lm oftojojojojojojojojojojojojojojojoljojojojojojo 37 0 SLG_Diagnose reservedO 21 B 16 0 SLG_Diaqnose reservedO 3 BYTE B 16 0 SLG Diagnose reserved0 4 B 16 0 SLG Diagnose reserved0 5 B 16 0 41 0 SLG Diagnose reserved0 6 B 16 0 42 0 8LC Diagnose reserved0 7 B 16 0 43 0 SLG Diagnose reserved0 3 B 16 0 SLG Diagnose reserved0 9 B 16 0 45 0 SLG _Diagnose reserved0 10 B 16 0 SLG Diagnose reserved0 11 B 16 0 47 0 SLG Diagnose reserved0 12 B 16 0 45 0 SLG_Diagnose reservedO 13 B 16 0 SLG_Diagnose reserved0 14 Bg16 0 SLG Diagnose reservedO 15 B 16 0 51 0 S5LGC_Diagnose reserved0 16 B 16 0 SLG Diagnose reserved0 17 BYTE B 16 0 SLG Diagnose reserved0 18 eyre Bg16g0 B 16 0 SLG_Diagnose reserved0 19 BYTE B 16 0 B 16 0 SLG Diagnose reserved0 20 BYTE B 16 0 B 16 0 SO For Sub Command 01 the start address in DB50 is 0 Reader status information and for Sub_ Command 06 28 Reader diagnosis information The data length in both cases is 28 bytes Save and close
15. 007141 7 0507144 io UDT 260 i UDT 261 CA UDT2b4 i UDT2 0 UDT 20 CA UBT 264 i UDT 200 i UDT A0 a UDT 284 eM Status Channel 1 1 Status Channel 2 TIA Training Document Module E11 Status 01 2010 RF180C Page 22 of 65 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and SI E M E N S Industry Automation and Drive Technologies SCE 5 5 Generating Data Blocks DB48 Write Read Data Here the source data of a write request to the transponder is stored or the destination data for the read request from the transponder Generating DB48 Eigenschaften Datenbaustein x Allgemein Teil Allgemein Teil Aufrufe Attribute Name und Typ DB48 a Global DE EN Symbolischer Name SL DATEN Symbo lkommentar hier werden die Daten des Schreib Lese Auftrags eingetragen Erstellsprache DE E E Projektptad Speicherort des Projekts C Program lech G emench Giep Ze zone BEID BB Code Schnittstelle Erstellt arn 06 12 2009 09 47 43 zuletzt ge ndert am 06 12 2009 09 47 43 06 12 2009 09 47 43 Kommentar Abbrechen Hille Open DB48 set up 1024 bytes Under Name enter Data At Type Combined data select with the right mouse key the ARRAY data format Enter 1 1024 within the brackets In the next line select or enter BYTE fr KOPFAWL FUP DB48 al DATEN RFID_RFTSOCWIMATIC 300 1 CPU 315F 2 PN DP Db45
16. 1 600 DAG DBR 57 GL DATEN Daten 58 ZEICHEN 8216200 DAS DD 16 SLG_PARAMETER SLG_1 feld_ON_time HEX 6816200 D4 DBR 10 AUFTRAG Kanal_1_Befehi 2 command HEX B 16 01 DA DD 11 AUFTRAG Kanal _Befehl 2 zub_command HEX 616200 0647 DAW 12 AUFTRAG Kanal_1_Betfehl 2 lencth DEZ a DB4 DEW 14 AUFTRAG kanal_1_Befehl 2 addres _MDS HEX 441 6200010 0647 DAW 16 AUFTRAG Kanal _Befehl 2 DAT_DB_number DEZ 45 DB4 DW 18 AUFTRAG Kanal_1_Betehi 2 DAT DD address DEF D TIA Training Document Module E11 Status 01 2010 RF180C Page 62 of 65 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and SIEMENS 5 15 Variable Table STATUS SLG 2 Industry Automation and Drive Technologies SCE Steuer wert Operancl symbol anzeigetormat Statuswert Cancel 0645 08 69 0 GG PARAMETER SLG 2 cancel BOL false Command Start DB45 DBx 691 SLG PARAMETER SLG_2 command_start BOL false U System Start Up 0645 00 693 SLG PARAMETER SLG_2 init_run BOL false if Ready DB45 DBx 65 7 GG PARAMETER SLG 2 ready BOL true H Presence of a MOS 0645 00xX 658 0 GG PARAMETER SLG 2 4N7 MOS present BOGL false MD 50 NAVY SLG2 ZEIT T 32994me H Error DAS DV 658 6 SLG PARAMETER SLG _2 error BOL false H Errors 0645 DBB 72 GG PARAMETER SLG 2 eror_MOB Y HEX B 16 00 DB45 DBB 73 SLG PARAMETER SLG 2error ER HE B 16 00 MOBY Command 0647 DD 50 AUFTRAG Kanal 2 Betfehl 1 command HEX B 1 6246 0647 DB8B 51 AUFTRAG
17. 2009 20 24 43 08 12 2009 19 29 03 Kommentar Steusrungsprogramm Abbrechen Hilfe TIA Training Document Page 56 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Setting up TEMP Variables Inhalt von Umgebiungi Schnittstelle TEMP E init runl E init rune Network 1 to 2 FB10 is inserted as a multi instance block FEl Steuerungsprogqramm Metzwerk 1 Steuerbefehle zu 5161 aufrufen fsteuern slgl START SLGL slg start SCHOER PARAMETER JELG Na Mbs_ present SLG_ PARAMETER SLG_ SLG 1 PARAMETER error Silo error SLG_1 command SLG_ start PARAMETER LE 1 SLC ready 519_ready FARAMETER SLG_1 option l E le z SOG RESET PARAMETER SLG1 sly reset SLG 1 field DN RESO0D_ ime Iso slg iso finit runl 45 Params DE Ale SLGL Params 0 ADDE Symbolinformation START SLE1 RU 0 Befehlsstart des SLEI SLG PARAMETER SLC LANZ MDS present DEIS DEXTIS 0 Anwesenheit eines HDS SLG PAPAMETER SLG l error DB45_DBH1LS_ 6 Fehler w hrend der Befehlsbearbeitung SLG PARAMETER SLC 1l ready DR45_TDBxH1Le 7 Der Befehl bzw Befiehlskette ist ausgef hrt RESET SLG1 EO 1 LCI Fehler r cksetzen RF300_150 ED Z Wert 0 EF300 Wert 1 150 SLC PARAMETER SLG 1 command start DE45 DE19 1 Set S5tartsignal f r Befehl bzw Eefehlsk
18. FUNDAMENTALS Radio Frequency Identification RFID makes it possible to automatically identify and localize objects and living beings and thus considerably facilitates recording and storing data The RFID system consists of the following 1 a transponder that is located in the object or in the living being and identifies it and 2 a reading device for reading out the transponder ID The reading device includes a software a micro program that controls the actual read process and an RFID middleware with interfaces to other EDP systems and data bases As a rule a read device generates an electro magnetic high frequency field with a short range preferably with induction coils Itis not only used to transmit data but to also to supply the transponder with power Only if larger ranges are to be obtained are active transponders used that have their own power supply Usually the frequency of 13 56 MHz is used RF300 ISO The reading device reader generates a high frequency electromagnetic alternating field that illuminates the aerial of the RFID transponder RFID tag As soon as the aerial coil enters the electro magnetic field an induction current is generated in it This current is rectified and with it a capacitor is loaded as short time storage which for the read process provides for the power supply of the chip For active tags an installed battery takes care of the supply The micro chip thus activated in the RFID tag decodes the commands
19. PREFACE vs di a aE a S a 5 2 Notes regarding the usage of CPU 315F 2 PN DP 22220000002aan000nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nun 7 3 Notes regarding the SIMATIC RFID components c0occcoocccccnonccncnnonoconnnnnononnnnoncnnancrnnnnnnrrenannrrnnnanerrnnanrrrnnaanans 8 4 BEIB Eundanmientals ne ne a A 9 5 Starting up an RFID project with CPU 315F 2 PN DP and RF1800C 22u20000n2 nnn00nonnnnnnnnnnnnn 10 5 1 Setting Upa New PROC CL en re als ea 11 5 2 Gontguringrthe HardWare sense ae 13 5 3 ASSIGIMING a DEVICE EE 20 5 4 seria UDT Blocks and ETH 22 5 5 Generating Data Bl cks ass 23 5 6 Programming a Restart or Warm Restart ooccccccccncccncccnconnccnnccnnnnncnnanonnnnoncnnnnnnnnnonnnncnnnnanrnnnnnnrnnnnnnnennss 33 5 7 FC11 Function for a Command or Request ooocccncccccoccnnncccnoncnnncnononcnnnonnnancnnnononancnnnonnnncnnnnnnnnrnrnnnnnnnns 34 5 8 Basics of Entries at Command Block FCI 36 5 9 Command SiN EE 39 5 10 Basic Sor B45 an DBA ae 40 5 11 FB10 Reader Control Prod aioa el 51 5 12 FB i GOntr Ol KOON aM sesia ee e ld io 55 5 13 EN Weieen UE 61 5 14 Variable Table STATUS Asa een 62 5 15 Variable Table STATUS GO 3 63 5 16 8yMDO Table es een een ee re 64 5 17 Seier ele 65 5 18 DBA DAS VS WY na MD ED 65 TIA Training Document Page 3 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Industry Automation and Drive T
20. Save and close DB47 Page 29 of 65 TIA Training Document Module E11 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and Status 01 2010 RF180C SI E M E N S Industry Automation and Drive Technologies SCE DB45 Reader Parameter Block Each MOBY channel reader needs its own parameters These are predefined in a data structure as UDT 10 with English comments UDT 11 with German comments and UDT 14 with Spanish comments This UDT has to be called for each MOBY channel in a data block In UDT 11 different variables are defined e INPUT parameters The user has to enter these variables once during configuration exception command_DB_number command_DB_address It is not necessary to change or poll these parameters during the entire execution time Please note that when an INPUT parameter is changed an init_run has to be performed before the new setting takes effect refer to chapter Programming Restarts and Warm Restarts e Control bits With these Boolean variables the user starts his commands e Displays The displays show the user the progress of his commands Errors are easy to analyze e Internal FB variables These variables are of no significance to the user They must not be changed by the application Otherwise malfunction and data corruptions would be the result Generating DB45 Eigenschaften Datenbaustein Eg Allgemein Teil Allgemein Tel 2 Aufrufe Attribute Mame DA
21. TIA Training Document Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C Page 25 of 65 SI E M E N S Industry Automation and Drive Technologies SCE DB50 Reader Status Information The reader status information is entered in DB50 Depending on the request the information has to be stored in a data block with a specified data structure Read reader status with Sub_Command 01 according to UDT111 or Sub_ Command 06 according to UDT281 Generating DB50 Eigenschaften Datenbaustein ES Allgemein Teil 1 Allgemein Teil Aufrufe Attribute Name und Typ DESO Global DE j 7 Symbolischer Name ISLG_STAT US Symbolkommentar hier werden die SLG Status Informationen abgelegt Erstellsprache D B E Froektpfad Speicherort des Projekts C sProgram Files Siemens Step s profhAFID_A_S Code Schnittstelle Erstellt arn 06 12 2009 12 18 52 Zuletzt ge ndert am 06 12 2009 12 19 52 06 12 2009 12 18 52 Kommentar Abbrechen Hille Open DB50 and insert UDT111 and UDT281 Open DB50 and insert UDT111 for Reader_ Status For Reader_diagnosis insert UDT281 Do A o CR TIA Training Document Page 26 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE
22. of the cyclical word refer to chapter Cyclical Control Word between Master and MOBY IM Reset is automatic by starting a new command ANZ_ECC Only MOBY If the ECC driver is switched on INPUT parameter ECC mode TRUE the bit indicates that the data read by the MDS was corrected ANZ_ECC is notan error indication since the data is OK ANZ_ECC indicates that in the near future the MDS memory that was just processed may completely fail reserved Presently not assigned LR_bat This bit is of significance only if at MOBY I processing takes place with the MDS507 It indicates an empty MDS507 dialog battery For all other MDSs this bit can take on any state battery_low Only for MOBY I V with RAM MDS The back up battery of the RAM MDS is below the threshold Although it is still possible to process several months at room temperature with the remaining capacity it is recommended to immediately change the battery or to replace the MDS if the battery can t be changed error FB45 sets this bit if a command is concluded faulty The error bit is the sum error bit for all occurring errors The exact cause for the error is located in the variable error_MOBY error_FB or error_BUS refer also to chapter Additional Indications or chapter Error Indications and Error Search Restarting the command resets the error bit ready Ready indication after ready TRUE was indicated the error bit FALSE has to be polled This ensures that the co
23. repeat command is processed Please note that the user has to reset this bit in order to stop command repetition The result of the command repetition is fetched by the use setting command_start Repeat_command is not reset automatically by FB45 after the command is processed The commands init_run and cancel reset the variable repeat_command This also interrupts a command repetition in the IM repeat_command can be set again by the application with the next command _start Handling of command repetition is described in the chapter Command Repetition Init_run True IM restart In this case FB45 is also reset and the IM re parameterized All data and commands in the IM are lost This bit has to be set in the restart OB OB100 for each MOBY channel or IM After a MOBY IM fault the error error MOBY 0F is indicated to the user The user then has to perform an init_run Please note e When loading a parameter data block from the programming device to the SIMATIC bit init_run is pre assigned TRUE The result is the automatic execution of an IM restart The time to execute init_run is normally in the millisecond range If there is an error this time may extend to 15s IM_failure True the IM failed The user sets this bit in OB122 refer to chapter Programming Module Failure FB45 then signals an error to the user error_FB 09 and interrupts the current command If the user does not program OB122 the PLC enters the STOP mode i
24. sent by the reader This reader encodes and modulates the reply into the irradiated electro magnetic field through field weakening in the contact free short circuit or in opposition reflection of the field that the reader transmitted With this the tag transmits its own unchangeable serial number additional numbers of the marked object or other data that the reader polled The transponder itself does not transmit a field it only changes the reader s electro magnetic transmission field Readout BEID Station 0 O p2 Chip A Transponder switch open aerial is on Absorption return value 0 y j l Readout Station 0 Transponder switch closed aerial is on Reflect return value 1 Source Wikipedia TIA Training Document Page 9 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 STARTING UP AN RFID PROJECT WITH CPU 315F 2 PN DP AND RF180C Below the startup of an RFID 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 FB45 with data blocks and embedded UDT data types In our example it has to be possible to perform the following actions for each reader Writing data to the transponder DB48 of the CPU to the MDS Reading the data from the transponder
25. 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 71 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 an 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 already 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 16 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 11 Next we are dragging the input module for 16 inputs to the 4th slot The module s order number is located on the front gt SIMATIC 300 gt DI 300 gt SM 321 DI16x24VDC Eh HW Konfig SIMATIC 300 1
26. 16 0 Fehleranzeige vom Anschaltmodul 73 0 S16_2 error_FB er E egisgo Bg 680 Fehleranzeige von FC 74 0 SLG_2 error BUS worD wgicgo wslsgo Fehleranzeige von PROFIBUS 76 0 SLG_2 version MOBY WORD WELSFO WELSFO Firmwareversion MOBY FE interne Variablen Diese d rfen vom Anwender nicht ver ndert werden es olsuo_2 reservsautz pwomn pws1es0 pwszsso Gu lt O o 2 O 0 D LI D la dl Note The inputs in the data block are entered as actual value Take note that when the data block is initialized or a general reset is performed on the CPU the actual values are overwritten with the start values of the data blocks Additional information about setting up the data structure with data blocks and about the individual UDTs is provided in the function manual RFID Systems FB45 TIA Training Document Page 32 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 6 Programming a Restart or Warm Restart A restart of the MOBYIM interface module is carried out by setting the variable init_run With init_run the IM and FB45 are re parameterized and synchronized init_run is necessary after the following e Switching on the SIMATIC OB 100 e Switching on the power supply for the IM e PROFINET communication is interrupted e An error indication by the variable error_
27. 21108328 T TEUEH used SIH An ad usaeqd 9d LYI S P zeen al ENT asqmu gg Legd 2114e129 T Tee SOIVIS 80H ang ILMA LINI 194 ssssapepug sam IYE ssseapesbueziy og arg u o st n maom SdH sssappe 21108329 T TeuEy sig NT Wa Wey TSPUSSST USPUSITFAUIS nz Asp tee TL F 2 T4329 T Tee S0IYIS S0M LINY LAS INA ang SUPON TusJsg LINT ang zaasnmsta garg o ar a ALAA z1TysIsg T Tee 5118145 S5p0 9 OEB DT Ssngeas ATSsip ATM THF u8598 73 USsgTsayos T TlsIeg sol gange z at al Ss Lzilroeiag T TEUEY dd 14d Wt qzomshuejuy sep Ing Zabraz ME ssa ppe gq Led 11108398 I reueg 13187 SW INJ dd used gq IYI sep O zagqm ad LYI 11148329 T TEVE SOI LS SdH INJ IEC MA LINI 199 sssapepug sau Ine ssseapeshueziy ogargu ORSTEM dion SW s 2ppe 11198329 T TRUE saig UT We Qed USPUSSST Uapusqraayos nz Asp a O T 1111428129 T Teey SOLYLS O15 SHLVIS SdW LN LasS dN ang SUPON TUsJsg LINI 103 aeqsnmitg o sT a o st a ALAA T TuBIeg T TRUE SNE 4S Dt EI meE 355 7 puan snye gs ATS Ett E Ost 2 189 T 190 T7 11481 3 sol z 9T a z argal Ss 11198123 T TEVEH EE o TS LU 85 U Dn O PS 1 25 a T3 D DS 0 SF O 2F UD TF U GC AIS O FE O Ze E o TE 070E 078z O az O Fz D zz E J TZ 0 02 OST OST O FT O ZT A SILTLS 075 UI D OI DU g UI Starting with byte 50 the commands for Reader2 or channel 2 start Data View of DB47
28. 6 0 FB intern o w w to to te t tt H r H R Elala n Gd ol jojo o o DWF160 FE interne Variablen Diese d rfen vom Anwender nicht ver ndert werden TIA Training Document Page 31 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Data view of DB45 starting with byte 34 SLG Reader SLG_l reservedl 2 DWORD DWORD pugisso pws sso SLG_l reservedl 3 DWE16 0 so o s e 2 Asp address mr 256 256 Input Basisadresse des ASM zyklisches Wort 54 0 s16_2 command DB number INT 47 7 Input Befehlsdatenbaustein Nunner L ss olsuc 2 comuand pB_address bm _58 o s G_ 2 1005 comtrol BYTE o dla aj ajaja in ee po toe 00 tee tee tee te po to pes ESPE Lei DELE EIE A ie La Di apa jaja jor R mM WV td bi ei Il bi wi ti Input Anfangsadresse der Daten im BEDB B 16 1 Input Anwesenheitskontrolle und MDS Steuerung 0 l 2 ka ei 4 b to PR On ka BOOL FALSE FALSE Input Betriebsart mit ECC 59 1 SLG_2 RESET_long soot TRUE TRUE Input true langes RESET Telegramm nur f r MOBY Mode 5 6 BYTE eg16g5 B 16 5 Input MOBY Betriebsart 61 O0 SLC_2 scanning time BYTE egl6g0 B 16 0 Input Abtastzeit f r MOBY I U D i 4 ba to H ba o 62 0 SLG_Z option_1 BYTE 63 0 SLG_2 distance limiting BYTE BYTE
29. 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Network 6 AUFTRAG BEFEHL SG PARAMETER 5LG 2 command start E lE 4E EflEfz 18 49 18 Symbolinformation AUFTRAG BEFEHL SLG_PARAMETER SLG Z command start F anal ZP efehl 1l co AUFTRAG umand AUFTRAG Kanal 2 Befehl 1l sub_command AUFTRAG Kanal 2 Befehl l length AUFTRAG Kanal 2 Befehl 1 addre MDS AUFTRAG Kanal 2 Befehl 1 T DE number AUFTRAG Kanal 2 Befehl 1 DAT_DE address AUFTRAG Kanal 2 Befehl 2 manda AUFTRAG Kanal 2 Befehl 2 sub command AUFTRAG Kanal 2 Befehl Z lengrh AUFTRAG Kanal 2 Befehl Z address MDS AUFTRAG Kanal 2 Befehl 2 DAT_DB number AUFTRAG Kanal 2 Befehl 2 DAT DB addre Save and close FB 1 TIA Training Document Module E11 Status 01 2010 RF180C AUFTRAG Kanal Z_ Befehl 1 connard AUFTRAG Kanal Befehl 1 sub command ATFTRAG Kanal Z Befeh1 1 length AUFTRAG Kanal Z Befehl 1 address _ MDS AUFTRAG Kanal Z_ Befehl 1 DAT DE umber AUFTRAG Kanal Z Befeh1 1 DAT DBE_ address DB47 I DE47 DEWS4 DB47 DE 6 DB47_DBW DB47_DBB DB47_DBB61 DB47 DEU DB4 DEWS4 DB47 DEWSE DBE47 DEW Page 60 Industry Automation and Drive Technologies SCE Netzwerk 6 Auftrag oder Befehl zu SLGZ aufrufen AUFTRAG BEFEHL EN GEAR E B 16 0 3 45 50 MDS Befehl 1l
30. All Attendance check is switched on The MDS control is switched off The variable ANZ_MDS present indicates an MDS in the transfer window of a reader Attendance check is switched 454 on The MDS control is switched on and happens by means of the attendance check of the MDS The NEXT command has to be sent to the IM after each MDS processing ECC_mode Switches on the ECC mode on true or off false Take note that the ECC mode is permitted only for MOBYI RESET _ long With the command init_run all INPUT parameters are transmitted to the IM For MOBY U D or RF300 operation this bit has to be set to true MOBU_mode 5 Notes Parameter ASM_address value 256 refer to hardware configuration Parameter AN channel value 1 for Header Parameter ASM_channel value 2 for Header Parameter command_DB_number value 47 for both readers Parameter command_DB_ address value 0 for Reader TIA Training Document Page 41 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Parameter command_DB_address Value 50 for Reader2 Industry Automation and Drive Technologies SCE TIA Training Document Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C Page 42 of 65 SI E M E N S Industry Automation and Drive Technologies SCE 9 TANNE MOBY_mode Setting the MOBY Operating
31. B as shown below The destination and source data of the MDS are stored consecutively in DB48 Read MDS address 0000 hex length 600 Read MDS address 1000 hex length 100 Read MDS address 1200 hex length 1 Write MDS address 1200 hex length 1 Initial Value Teilbefehl 1 command Teilbefehl 1 pattern Teilbefehl 1 length Teilbefehl 1 adress_MDS Teilbefehl 1 DAT_DB_number Teilbefehl 1 DAT_DB_address Read command another command follows Teilbefehl 2 command Read command another command follows Teilbefehl 2 pattern Teilbefehl 2 length Teilbefehl 2 adress_MDS Teilbefehl 2 DAT_DB_number Teilbefehl 2 DAT_DB_address Teilbefehl 3 command Read command another command follows Teilbefehl 3 pattern Teilbefehl 3 length Teilbefehl 3 adress_MDS Teilbefehl 3 DAT_DB_number Teilbefehl 3 DAT_DB_address Teilbefehl 4 command Write command last command in string Teilbefehl 4 pattern Teilbefehl 4 length Teilbefehl 4 adress_MDS Teilbefehl 4 DAT_DB_number Teilbefehl 4 DAT_DB_address Notes TIA Training Document Page 39 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 10 Basics of FB45 and DB45 FB45 accesses DB45 In DB45 a UDT11 is embedded for each reader Data view of the UDT11 Adresse a Typ Anfangswert Kommentar 0 bo Dei comm
32. BUS e A transponder type change for example from RF300 to ISO or vice versa e Changing an INPUT parameter in DB45 Reader_Parameter Generating OB100 Eigenschaften Organisationsbaustein S Allgemein Teil 1 Allgemein Teil2 Aufrufe Attribute Name DPI Sembolischer Mame INEUSTART Sembolkommentar Programmierung von Neustart und wiederanlauf Erstellsprache FLIP EN Projektptad Eneicheren des Poeke C Program Files Siemens Step s projsAFID_AF1 Code Schnittstelle Erstellt arn 26 11 2009 17 35 45 Zuletzt ge ndert am 26 11 2003 17 35 45 26 11 2009 17 35 45 Kommentar AR DK Abbrechen Hilfe Open OB100 and enter the program 08100 Neustart und Wiederanlant Fonment ar Het zwerk 1 Setzen der Variablen init_ run Komment ar SET S SLG PAPAMETER SLG 1 init run DE45 DEX19 3 Set ASM r cksetzen und neu parametrieren 5 SLG PARAMETER SL Z init run DE45 bDEXR amp E3 3 Set ASM r cksetzen und neu parametrieren Save and close OB100 TIA Training Document Page 33 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 7 FC11 Function for a Command or Request definition of a command UDT 21 German comments is provided UDT21 is embedded
33. DB50 TIA Training Document Page 27 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE DB47 Request Data Block The DB47 is set by means of the UDT11 in DB45 In DB47 a UDT21 is embedded for each reader The request commands are then entered in the respective UDT21 The data of the read write request is then stored in DB48 The reference to DB48 is assigned in UDT21 of DB47 Generate DB47 Eiger nse chaften Datenba ustein Allgemein Teil 1 Allgemein Teil2 Aufrufe Attribute Name und Typ DB47 Global DB l EN Sumbolscher Name AUFTRAG Simbolkommentar hier werden die Kommandos eingegeben Erstellsprache DB ei Projektpiad 7 if Speicherort des Projekts C sProgram Files Siemens Step s praj AFID_RFT Code Schnittstelle Erstellt am 26 11 2009 13 18 30 Zuletzt ge ndert am 26 11 2009 13 18 30 26 11 2009 13 18 30 kommentar Jj OR Abbrechen Hilfe Open DB47 and add UDT21 for each request Open DB47 and for Reader insert the UDT21 five times by means of ARRAY format For Reader2 also insert UDT21 five times by means of ARRAY format ra orn AO m E a Note In our example five request commands are possible for each reader or channel Thus the UDT21 is embedded in DB47 10 times The commands or requests of the second reader start with address 50
34. F 2PN DP lg UDT281 12 S7 Programml2 pi Quellen y Bausteine e RFID_FB45_UDT_Bausteine C Program Filesiemenstep AS libs RFID_FB4 TUDTIE e RFID_FB45_UDT_Bausteine go FB45 ec UDTIO ec UDT11 Sy 57 Programm1 UDT20 UDT21 UDT24 UDTED e Quellen 3 UDTE1 ec UDTE4 UDT70 UDT71 cy Bausteng quptra UDT100 UDT101 UDT104 eh UDT110 UDT111 ch UDT114 UDT120 UDT121 ch UDT124 ch UDT130 ch UDT131 UDT134 g UDT140 ec UDT141 g UDT144 UDT260 4 UDT281 ec UDT264 ch UDT270 quote ch UDT274 T UDT280 ec UDT281 UDT254 Note Instead of the library RFID_FB45 UDT_ Blocks the sample program MOBY FB45 can be de archived The file FB45_V1_3 zip is available on the RFID Systems CD in the directory Data sub directory FB45 Ep opp orga 3 SIMATIC 30011 a UOT E CPU SISE 2PN DOP en UDT sz 57 Programmi2 a Quellen oy Bausteine io UDT111 io UDT261 io UDT271 Ep MOBY FB45 C Program Files Siemens Step AS ProfiFB45_V41_3 ES MOBY FB45 o 081 9 0880 3 0882 EIER j el FB45 a 08100 i 081 21 y 06122 7 FBAS 5 Quellen Se q DEN CH D I CH DEAS CH DE CH Bausteine i DAD CH DR 4 OBET i DBGZ io DBES i DA CA DBS i DB i4 im DB FS UDTIO i UDT11 i UDT14 Ze UDT 20 CA UDT21 i UDT24 CA UDTEO oc UDTEN ei UDTE4 3 UDT O 3 UDT ec UDT ZA CA UDT100 0057101 057104 a UDTII0 y 0057111 i UDT114 y UDT120 Quoi i UET124 i 007130 007131 4g UDT134 y 057140
35. FH13 04B0 0 UR Steckplatz E Baugruppe Bestellnummer Firmware MPI dresse Ez A Ra 7 PS 30 6ES7 307 1E400 0440 A D IOC CC E EE EC EC CC EE EE EC EC E GES 315 2FH13 04B0 o te Arbeitsspeicher 256KB 0 1ms k4w PROFINET Anschluss 57 Kommunikation ladbare FBs FCs yy Dr cken Sie F1 um Hilfe zu erhalten And 10 When entering the CPU the following window appears In this window we do the following assign to CPU 315F 2 PN DP an IP address specify the Subnet screen form and select the Ethernet that has already been set up Optionally a Router address can be selected for network overarching communication Confirm your entries with OK gt IP address 192 168 0 100 gt subnet screen form 255 255 255 0 Ethernet 1 gt Don t use a router gt OK Eigenschaften Ethernet Schnittstelle PN IO R0752 2 Allgemein Parameter Bel Anwahl eines Subnetzes werden die nachsten freien Adressen vorgeschlagen Metzubergang IP Adresse 1192 168 0 100 Fk e Keinen Router verwenden Subretzmaske 255 255 255 0 NA Router verwenden Adresse Subnetz nicht vernetzt Meu Ethemnet 1 Eigenschaften Loschen Abbrechen Hilte TIA Training Document Page 15 of 65 Module E11 Status 01 2010 RF180C Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and SI E M E N S Indus
36. G A oj xi j 00 D Zi UR wu Suchen pr AU PS 307 54 4 o Ee CPU 315F 2 P Profil Standard ei Baugruppenzustand Ctrl D Ei PROFIBUS DP Se PROFIBUS PA PROFINET 10 DIT6 DC24y a En Drives DO16xDC24V70 7 Gateway 13 HMI a 140 Ger tenamen auf Memory Card speichern gt F D a SE P Ethernet gt Ethernet Teilnehmer bearbeiten g AFIS0C AE vam See 3 Network Components er tenamen berpr fen CH Sensors gt 1 Arieociro Ger tenamen vergeben C Weitere FELDGER TE Steckplatz H Baugruppe Bestellnummer _ EAdiesse Addresse Diag K 17 i Zon son a a AS PERRET FE ETE REMUOR IR a 7 amarte cir Far AA ARA e Ze SIMATIC PC Based Control 300 400 Ml SIMATIC PC Station 6GT2 002 0JD00 la te SIEMENS Ha Kommunikationsmodul RF180C IP6 zur Verbindung zweier Reader mit w Vergabe von PROFINET IO Device Ger tenamen And Note A prerequisite for this is that the die PG PC interface is set to TCP IP and the PC s network card is configured correctly For example IP address 192 168 0 99 subnet 255 255 255 0 and router address refer to Module E02 18 Highlight the SIMATIC RFID module and then click on the button Assign name Then close the window Ger tenamen vergeben Geratename IAFISOCH 10 7 Geratetyp SIMATIC RFID Vorhandene Ger te IP Adresse MAC Adresse Ger tetyp Ger terame 132 163 0 110 08 00 06 99 28 B4 SIMATIC RFID AF180 x110
37. Kanal_2 Befehl 1 sub_command HEX B 16 02 0647 DW 52 AUFTRAG Kanal 2_Befehl 1 length DEZ 19 0647 DW 54 AUFTRAG Kanal 2_Befehl 1 acddress_MDS HEX We 620000 0647 00 56 AUFTRAG Kanal_2 Befehl 1 027_08 number DEZ 49 0647 00 58 AUFTRAG Kanal 2_Befehl 1 DAT_DB_address DEZ 15 DAG DD 0 SL DATEN Daten ZEICHEN FR Dao DD 1 GL DATENT Daten 2 ZEICHEN P Dao DD 2 GL DATEN Daten 3 ZEICHEN Y 0B48 0BB 3 GL DATEN Daten 4 ZEICHEN D D46 DD 4 GL DATEN Daten S ZEICHEN T bB45 CBB 5 5_L_DATEN Daten 6 ZEICHEN E Dao DD E GL DATEN Daten ZEICHEN Dao DD 7 5 L DATEN Daten ZEICHEN F DG DD So S_L_DATEN Daten 51 ZEICHEN FR Dao DD 51 GL DATEN Daten S2 ZEICHEN Gi Dao DD 52 GL DATEN Daten S3 ZEICHEN i Dao DD S3 SL DATEN Daten S4 ZEICHEN D DAG DD 54 GL DATEN Daten 55 ZEICHEN T Dao DD 55 5_L_DATEN Daten 56 ZEICHEN E Dao DBB 56 S_L_DATEN Daten S7 ZEICHEN DG DD 57 GL DATEN Daten Sa ZEICHEN ER D47 DEB 60 AUFTRAG Kanal_2 Betfehl 2 command HEX Bf 1 eto DB47 DEB 61 AUFTRAG Kanal 2 Betfehl 2 sub command HE B 16 00 0847 DW El AUFTRAG Kanal 2_Befehl 2 length DEF a 0647 00 64 AUFTRAG Kanal_2 Befehl 2 address MDS HEX 141 60000 0647 DW 66 AUFTRAG Kanal_2 Befehl 2 04T_ D number DEZ 45 0647 00 68 AUFTRAG Kanal 2_Befehl 2 DAT_DB_ address DEZ 50 TIA Training Document Module E11 Status 01 2010 RF180C Page 63 of 65 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and SI E M E N S Indus
38. Konfiguration RFID_RF180C Max m Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe MR Ders amp gn en ma 22 K Ethemet 1 PROFINET 10 Systern 100 ol x T0 UR Suchen J At mil Profil Standard EN oC DI 300 ra SM 321 DIT6xAC120 2 SM 321 DI16x4 01 20 SM 321 DIT6xAC120 SM 321 DI16xDC24 Sssssssssssssssssnissssssnnsssssnsssnsssenssnssensens SM 321 DI16xDC24 SM 321 DI16xDC24 SM 321 DI16xDC24 SM 321 DIT6xDC24Y SM 321 DI16xDC24 SM 321 DIT6xDC24 4 SM 321 DIT6xDC24 SM 321 DIT6xDC24 SM 321 DI16xDC48 12 f f f f f f f F f f f f f f f f f f f f f D PS 307 54 6ES7 307 1E400 0440 A SM 321 DITE DCA48 12 CPU 315F 2 PN DP 6ES7 315 2FH13 0ABO 26 2 Ein da ne e KS E EE e Maa m m e a on et Isi ll a 3 SE EE Scot GRRE 4 J oeoc EES BETEN AA ak 5 AAA ee ES es a 6 AAA i 0 7 Oi AO AAA A 6ES7 321 1BH01 0AA0 zd 8 SS A as Ss ere Digtaleingabebaugr DI16 24V 3 SaaS SSS SS SSS ern Einf gen m glich Note Slot 3 is reserved for interface modules and remains empty for that reason The module s order number is indicated in the footer of the catalog TIA Training Document Page 17 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 12 Now we drag the output module for 16 outpu
39. S Symbolischer Name ELE DABAMETER gt ymbolkommentar hier findet man die Parameter Zu den SLG 8 Erstelleprache DE Projektpfad AFD_AFISOCHSIMATIC 30001 CPU 315F 2 PN OPS Programm 2 Bausteine DE 45 Speicherort des Projekts Program Files Siemens step 74s propi FID_R_5 Code Schnittstelle Erstellt am 06 12 2009 15 42 30 Zuletzt ge ndert am 06 12 2009 15 45 20 06 12 2009 15 45 20 kommentar Abbrechen Hille Open DB45 and insert UDT11 for each reader In DB45 UDT 11 is called for each reader esse Anfangswert kommentar 0 0 SLG_1 MOBY Param d 50 0 5LG_ MOBY Param d 100 0 Sa END STRUCT Parameter des ersten SLG Parameter des zweiten SLG Ine TIA Training Document Page 30 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Entries in DB45 The base address for the RF180C is 256 refer to hardware here to be entered at address 0 0 and 50 0 The selection of Reader1 has to be entered under address 2 0 The selection of Reader2 has to be entered under address 52 0 DB47 request data block is referred to in DB45 The requests of the first reader have to be entered in DB47 starting with DBBO here at address 4 0 and 6 0 The requests of the second reader have to be entered in DB47 starting with DBB50 here at address 54 0 and 56 0 No other values ar
40. S7 300F 2PN DP and SI E M E N S Industry Automation and Drive Technologies SCE 3 NOTES REGARDING THE SIMATIC RFID COMPONENTS The communication module RF180C is a module for operating RFID components at any controller by 1 means of PROFINET IO At the RF180C up to 2 readers SLG write read device can be operated in parallel The user can start a command in parallel on two readers FB 45 if operated on a SIMATIC S7 The tag data is accessed by means of addressing the tag physically In the SIMATIC S7 FB 45 is provided for this FB 45 makes available to the S7user an interface that is easy to handle and is equipped with powerful commands processing a complete tag with a single command command chaining S7 data structures by means of UDTs Controller For example 87400 CPU PROFINET lO cable 24V for RF180C and reader SLG write read device to additional PROFINET IO stations LLE The RF180C is integrated into the hardware configuration by means of a GSDML file Then the RF180C can be configured by means of HWConfig of the SIMATIC Manager The GSDML file is provided on the CD RFID Systems Additional information is available in the operating instructions RFID Systems Communication Module RF180C TIA Training Document Page 8 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 4 RFID
41. SI E M E N S Industry Automation and Drive Technologies SCE Training Manual for Integrated Automation Solutions Totally Integrated Automation TIA MODULE E11 Radio Frequency identification RFID with SIMATIC S7 300F 2 PN DP and RF180C TIA Training Document Page 1 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and F180C 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 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE PAGE 1
42. TUS DAT_DE_ mmber INT 48 Mummer des DAT DE Daten DE f r MDS Daten DAT DE address INT Zeiger auf das Anfangswort im DAT DB ed we Command Overview Command hex Command BCE P08 a8 Lager OOOO C e osses Not all readers or IM modules support chained commands Note the information in the MOBY manuals for configuration installation and service Writing data to the transponder Command Sub_command length address_MDS hex DAT_DB dec Comment hex dec 01 1 to 32767 0000 to FFFF Pointer to the Length of the Starting with this user data that MSD data to be start address the is to be written written data is written to the to the MDS MDS Reading data from the transponder Command Sub_command length address _MDS DAT_DB Comment hex dec hex dec 02 1 to 32767 0000 to FFFF Pointer to the Length of the Starting with this user data MSD data to be start address the Here FB45 read data is read from stores the the MDS MDS data that TIA Training Document Page 36 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE OOO O T T T TI a Initialize Transponder Command Sub_command length address_MDS hex DAT_DB dec Comment 7 dec 00 to FF hex Memory size of the value that is MDS to be initialized written to the MDS Read out Reader status Command Sub_
43. Y SLG Status_d UDT 111 UDT 111 MOBY SLG Status Daten MOBY PMDS Status LDT 261 UDT 261 MOBY P MDS Status Daten MOBY P MDS Status UDT 271 UDT 271 MOBYP MDS Status Daten MOBY P SLG Status_d UDT 281 UDT 281 MOBY P SLG Status Daten STATUS SE Si VAT 1 variablentabelle des SL STATUS_SLG_2 YAT 2 Wariablentabelle des SLG2 TIA Training Document Page 64 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Industry Automation and Drive Technologies SCE 5 17 Block Folder Objektname aymbolecher Mame Erstellsprache Grobe im Arbeitsspel Ty Verse ES Systemdaten SDB 0B FAROGRAMMAUFRUF FLIP fe Organisationsbaustein 0 1 08100 MEUSTART AL Ae Organitationsbaustein 01 i FB STEUERUNGSPROGRA FUP 1242 Funktonsbaustein 0 1 FB10 SLG_STEUERUNG FLIP 346 Funktionsbaustein 0 1 EF FE45 MOBY FE AAL 846 Funktionsbaustein pez FC11 AUFTRAG_BEFEHL FLIP 98 Funktion 0 1 DE DB 972 Instanzdatenbauste UU DB45 SLG_PARAMETER DB 136 Datenbaustein 0 1 DB47 AUFTRAG DE 136 Datenbaustein 0 1 7 DB48 SL DATEN DE 1060 Datenbaustein 0 1 DBAS MOS STATUS DE ZA Datenbaustein 0 1 DB50 SLG_STATUS DE 92 Datenbaustein 0 1 T UDTII MOBY Faram_d AL Datentyp 1 3 UDT A MOBY CMD d AML Datentyp 1 8 1107111 MOBY SLG Status_d AL Datentyp 1 3 4 UDT 261 MOBY PMD5 Status Od AML Datentyp 1 3 UDT 271 MOBY F MOS Status 1_d AL Datentyp 13
44. ader mit y Speichert und erzeugt alle Systemdaten in der aktuellen Station And By Adress bersicht Adressen von Adressbereich won O bis 047 CPU 315F 2 FM DF Freie Adressvergabe Ja Baugruppentr gern 0 2 Steckplatz Filter Eing nge Ausg nge W Adressl cken Le JL A aal Ad bis Baugruppe nn nn E en anne Enn BS A LE E el A CA E anos IA es E 2 255 Licke 5 E Zb 259 Anschluss zweier Reader UD H i 10011 1 U E 60 2042 L cke E 2043 2043 RFISOCKTI0 10011 O 0 E 2044 2044 FN Os100 0 2 2 ES 2045 2045 Port 1 U 2 3 E D4b 046 PN 0 100 0 2 2 ES 2047 2047 MPIDP 0 El 1 A 0 A Lucke la 4 D DO16 DE24 0 54 UD D i U 5 A E 255 Lucke A 56 259 Anschluss zweier Reader URT PA 10011 1 O N 260 2047 L cke i Schlie en ee Hille 20 Close hardware configuration TIA Training Document Page 21 0f 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Industry Automation and Drive Technologies SCE 5 4 Inserting UDT Blocks and FB45 De archive the library RFID_FB45_UDT_Blocks from the template directory and open it Copy UDT11 UDT21 UDT 111 UDT261 UDT271 UDT281 and FB45 and insert them in the block folder Close the library Espen Fe 0861 FB5 gD oo SIMATIC 30011 io UDT21 io UDT111 io UDT261 io UDT eq CPU S15
45. aia w pee e pee poe pee pee te pee oee tee pe E ei P FE EI DET I ER ETF EA Y a ka MiMi MI MI MI MI NI Ni Ni nim T ti w a a a a j a j ajajaja gt to ei ke ba w H n o FALSE Cancel Bit im PEW ist gesetzt FALSE Fehlerkorrektur wurde durchge f hrt FALSE FALSE Batterie des MDS 507 FALSE Batterie berwachung FALSE Fehler w hrend der Befehlsbearbeitung FALSE Der Befehl bzw Befehlskette ist ausgef hrt FALSE Set Befehl bzw Befehlskette abbrechen o 19 1 8LG6 1 command stare Jena FALSE Set Startsimal f r Befehl bzw Befehlskette 1s 2 s 6_1 repeat command BOOL FALSE Set Letzten Befehl wiederholen 13 a siG 1 inie run Son Jm TRUE Set ASM r cksetzen und neu parametrieren 19 4 SLG_1 ASM_failure Son FALSE FALSE OB122 Set ASM ausgefallen FALSE Befehl NEXT war letzter Befehl 19 7 SLG_1 AN2_resee mBo0L FALSE FALSE Befehl RESET war letzter Befehl zo olsic_1 4sm busy Boon rarse FALSE ASM bearbeitet einen Befehl o zo 1 sLG 1 command rep_active B00L FALSE FALSE ASM f hrt Befehlswiederholung durch 21 0 SLG_1 mumber ms BYTE B 16 0 Anzahl der im Feld befindlichen MDS ro es IDO AE a Didi oi ol ol ol ol w D OloOlotoioioioiolo r o o o o o o o o0 o0 EDIE tee SS een ee et B 16 0 Fehleranzeige vom Anschaltmodul B 16 0 Fehleranzeige von FC W 1l 6 0 Fehleranzeige von PROFIBUS WELSFO Firmwareversion MOBY BF16 0 Interner Schleifenz hler BF1
46. ana Js H ON ntrolle O Hc DI ama Telegramm n r MOBY Mode Eee MOBY rm H bo H H A I D LA H es Anzahl MDS im Feld H j de Ca gt nn EH to H H a He to H H nn He O ri hy In Di b to C nd Hala Ir ta ta in a rm to It O Di JO lo ie eg lH a Ut OJO See Hy ON I D CO D tea ru Ir Di t lb topo O ds a mn a ei EY a ae s ory gt OL to Fit e O LO do Ou 7 Befehl NEXT war BOO INF N DAANA BOO or H bo titit Mle IH IO W Ju lolo lo amt number MDS BYTE WORD ETAD e Vi Ts to to e H t mid He HE He pe Anschaltmodul a EI oy a a Na Ti H yender DWO de NA initRUN_timeout INT OO FB interne Variablen vom Anwender nicht ve werde ver FB interne Variablen vom Anwender nicht ve werden werae FB interne Variablen vom Anwender nicht ve nicht TIA Training Document Page 40 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Input Parameters of the UDT11 The user has to enter these variables during configuration exception command_DB_number command_DB_address It is not necessary to change or poll the
47. and the associated relative addresses in UDT 11 are shown in the figure below Control bits The user starts his commands with these Boolean variables DBW 18 DBB 18 DER 19 Relative address in UDT 10 45 144 13 12 11 10 9 g ila 6 3 4 3 2 1 o UU EE II EE cancel command_start repeat_command Im Dun ASM failure FC45 active ANZ next ANZ reset ANZ_MDS_ present ANZ cancel ANZ_ECC Has to be set by the user reserved Must absolutely be polled by the LR_bat E battery_low _ Optimal scanning bits error ready TIA Training Document Page 46 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Fi Control bits from Bit0 to Bit7 1 cancel True interruption of a current command or a command string FB45 then sets the variable ready MOBY U D or RF300 the variable cancel is not available A command has to be canceled with the variable init_run repeat_ command True command repetition The command or command chain stored last in the IM is reprocessed with the next MDS However command processing for the MDS is started only after the MDS that was processed has exited the transmission window ANZ_MDS_present 0 and a new MDS has entered the transmission window of the reader ANZ_MDS_present 0 gt 1 False no command repetition or command repetition is stopped after the command that was started with the
48. ata view hans Tr hnsangswrt steet MDS_StatusO reserved O BYTE B 16 0 BF16 0 MDS StatusD status info BYTE B le o BFl16 0 Modus MDS Status MDS_StatusO UID 1 Byte_ 1 4 DWORD DW 16 0 DU LEFO MDS Nummer unique identifier A C S Zou 5 BF16 0 MDS Typ B BF16 0 Schreibschutzstatus EEPROM BF16 0 BF16 0 BF16 0 12 0 MD5_StatusOD reservedl 1 BYTE B 16 0 i 15 0 MD StatusO reservedl 4 BYTE B 16 0 B 16H 0 5 13 0 5 StatusO reservedl Z BYTE B 16 0 B 14 0 MD5_StatusO reservedl 3 BYTE B 16 0 5 f 16 0 MDS_ StatusO reservedl S BYTE B 16 0 17 0 MDS StatusO reservedl 6 BYTE B 16 0 BF16 0 BF16 0 BF16 0 BF16 0 Modus MDS Status 20 0 MDS_Statusl UID 1 Byte_1 4 pworp Dws16g0 DW LEFO MDS Nummer unique identifier 28 0 MDS_Statusl LFD BYTE sien Bs eso Leistungsflussdichte Beziehung zwischen Grenzwert und gemessenen Wert oos searusi rzPp evre aen esisgo Fehlerz hler passiv Ruhefehlerz hler 30 0 MD3_Statusl FZA BYTE sien mgl6g0 Fehlerz hler aktiv Fehler w hrend Kommunikation an B 16 0 Anwesenheitsz hler ap The start address in DB49 is 0 for Sub Command 01 and 18 for Sub_ Command 02 The data length is 18 bytes in both cases El 5 TIA Training Document Page 24 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Save and close DB49 Industry Automation and Drive Technologies SCE
49. ation 6672 002 0JD00 o Ze SIEMENS ki Kommunikationsmodul RF180C UPG zur Verbindung zweier Reader mit w Einf gen m glich And 15 Then double click on the inserted module and change the device name to RF180Cx110 and the IP address to 192 168 0 110 Eigenschaften RF180C Allgemein 10 Zyklus Kurzbezeichnung AF180C Kommunik ationsmodul AF180C 1P67 zur Verbindung zweier Reader mit PROFINET IO Bestell Nr Firmware 6672 002 0 D00 Familie SIMATIC RFID Ger tename IRF1800x110 GSD Datei GSDML V1 0 SIEMENS RF180C 20070122 xml Teilnehmer PROFINET 10 Systern Ger tenummer 1 PROFINET 10 System 100 IP Adresse 192 168 0 110 Ethemet v Kommentar Abbrechen Hilfe 16 By clicking on Em the hardware configuration is saved and compiled TIA Training Document Page 19 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 3 Assigning a Device Name 17 First highlight the module RF180C and then select under the menu Destination system and under Ethernet Assign device name Dh HW Konfig SIMATIC 300 1 Konfiguration RFID_RF180C max Eh Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe EI x De a Ay S Laden in Baugruppe Ctri L Laden in P
50. bt die Standby Zeit f r den MDS Erh lt der MDS vor Ablauf der scanning_time einen weiteren Befehl so kann dieser sofort bearbeitet werden Erh lt der MDS einen Befehl nach Ablauf der scanning_time so wird die Befehlsbearbeitung um die sleep_time des MDS verz gert Eine scanning_time sollte nur eingestellt werden wenn der MDS mit mehreren Befehlen bearbeitet wird und e der Bearbeitungsvorgang in einer minimalen Zeit abgeschlossen sein muss 00 hex keine Standby Zeit Default Ol hex 7 ms Standby Zeit 02 hex 14 ms Standby Zeit C8 hex 1400 ms Standby Zeit Beachte Die scanning_time beeinflusst die Batterielebensdauer Je gr er die eingestellte scanning_time desto k rzer die Batterielebensdauer Genauere Berechnungen finden Sie im MOBY U Handbuch f r Projektierung Montage und Service MOBY D bzw RF300 00 hex reserviert option_1 Dieses Byte ist bitweise kodiert Es hat standardm ig den Wert B 16 0 Es k nnen damit besondere Steuerungen im ASM vorgenommen werden Bit H D 5 4 3 2 1 0 A Se ERR PRE 1 Das Blinken der ERR LED wird durch einen LED Steuerung init_run zur ckgesetzt ASM 452 Bei RF300 wird mit dieser Option auch die siehe ERR_LED am Reader zur ckgesetzt Anhang 1 Ein MDS Befehl wird mit Fehler zur ckgemeldet wenn sich kein MDS im Feld befindet nur MOBY I 1 Testbetrieb darf im normalen Betrieb nicht gesetzt werden nur MOBY I distance_limiting MOBY U Reichweitenbegre
51. command length address_MDS hex DAT_DB dec Comment hex dec 01 status according to Pointer to the MOBY U D or UDT 1101 result The RF300 02 status according to result is MOBY U UDT 120 last represented commands with the MOBY U 03 status according to corresponding ah da UDT refer to 04 status according to Sue ROANG UDT 140 MDS in the field 05 status according to UDT 150 communication quality 06 status according to UDT 280 diagnosis data In our example we are using the German language UDT111 and UDT281 for RF300 Command NEXT Command Sub_command length address _MDS DAT_DB Comment hex dec hex dec NEXT processing this MDS is completed Command END Command Sub_command length address _MDS DAT_DB Comment hex dec hex dec 00 Processing ANZ_MDS_present with the MDS is is reset ended 01 Processing ANZ_MDS_present TIA Training Document Module E11 Status 01 2010 RF180C Page 37 of 65 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and SIEMENS Industry Automation and Drive Technologies SCE DEE _ eee MDS Switching the reader aerial on off Command Sub_command length address _MDS DAT_DB Comment hex dec hex dec 01 switch on aerial 02 standby Switch aerial off 09 adjust aerial to the environment FFT Transponder Status The command Aerial on off can not be started with command repetition r
52. e system Start Up DAS DX 193 GG _PARAMETER SLG_ mg run AOL false if Ready DAS DEX 18 7 SLG_PSRAMETER SLG_1 ready AL I true Presence of a MDS DAS DEX 18 0 SG PARAMETER SLG 1 42 MOS present BRL false Mb 40 AZ SLG1 ZEIT T 5321mx3 Error DAS DEX 186 SLG_PARAMETER SLG_1 error BRL falze H Errors DAS DD 22 SLG PARAMETER SLG_1 error MOBY HEX 8216200 0B45 DBB 23 SG PARAMETER SLG 1 error FER HEX 16200 U MOBY Command bE47 DBB 0 AUFTRAG kanal_1_Befehl 1 command HEX 416248 DE47 DBB 1 AUFTRAG Kanal_1_Befenl 1 sub_command HEX B16 01 DB4 DEY 2 AUFTRAG Kanal_1_Befehl 1 length DEZ 18 0647 DW 4 AUFTRAG Kanal _Befehl 1 address Miz HEX Vue 6200010 0647 DM 6 AUFTRAG Kanal _Befehl 1 DAT_DB_number DEZ 49 0B47 DEW 5 AUFTRAG Kanal_1_Betehi 1 DAT DB address DEZ o DAG Ip OF S_L_DATEN Daten ZEICHEN Fe FR DAG DD 1 GL DATEN Daten 2 ZEICHEN e P DAG Ip 2 SL DATEN Daten 3 ZEICHEN T DAG DD 3 GL DATEN Daten 4 ZEICHEN D D DAG DD 4 GL DATEN Daten S ZEICHEN T Se DAG DBR 5 SL DATENT Dateie ZEICHEN E E DAG DBA 6 GL DATEN Daten ZEICHEN SE SI DAG DD 7 GL DATEN Daten 8 ZEICHEN d ON DAG Ip 50 GL DATENT Daten 51 ZEICHEN 616200 DAG DD 51 GL DATEN Daten 52 ZEICHEN D i G DAG DBR 52 SL DATEN Daten S3 ZEICHEN 616200 DAG DD 53 GL DATEN Daten 54 ZEICHEN B 16 00 DAG DD 54 GL DATEN Daten 55 ZEICHEN 616200 0B4S DBB 55 S_L_DATEN Daten 56 ZEICHEN D i G DAG DBR 56 GL DATEN Daten 57 ZEICHEN B
53. e a 3 CAN AAA re 10 AA AAA CT AAA WEE SA 11 p A VEER A ep DEE 6ES 390 17770 0440 K In verschiedenen L ngen lieferbar And Dr cken Sie F1 um Hilfe zu erhalten Note A configuration table for configuring Rack 0 is displayed automatically TIA Training Document Page 13 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 8 From the hardware catalog we can now select all modules that are present in the actual rack and insert them in the configuration table To this end we 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 unit PS 307 5A gt SIMATIC 300 PS 300 gt PS 307 5A Bh HW Konfig SIMATIC 300 1 Konfiguration RFID_RF180C ale ES oh Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe EH X DERE HS do ds DO Br 1 oj xi 310 UA Suchen ntaj Bali Pala Profit Standard el ME PROFIBUS DP HE PROFIBUS PA HE PROFINET I0 E SIMATIC 300 3 9 C7 C CP 300 3 CPU 300 3 FM 300 3 IM 300 C M7 EXTENSION 1 Netz bergang lt DA Sent See See See 3 PS 300 d PS 307 104 4 PS 307 104 ARA E 4 PS 307 24 4 PS 307 54 EEEN Lae EE Gene EE SIMATIC 400 IS es m SIMATIC HMI Station
54. e changed For the entries in DB45 take note that the DBs continue to be chained correctly Data view of DB45 to byte 33 we _ Se ee Ys Str 7 u E ET 0 0 816_1 ASM_address Input Basisadresse des ASM zyklisches Wort 1 An SLG_1 command DE number Input Befehlsdatenbaustein Nummer 6 0 SLG_1 command DB_address int o jo Imput Anfangsadresse der Daten im BEDB _ 8 0 SLG_i mps_controi BYTE B 16 1 BH16 1 Input Anwesenheitskontrolle und MDS Steuerung 0 1 2 9 0 SLG_1 ECC_mode BOOL FALSE FALSE Input Betriebsart mit ECC 9 1 SLG_1 RESET_long BOOL TRUE TRUE Input true langes RESET Telegramm nur f r MOBY Mode 5 6 10 0 SLG_1 MOBY mode BYTE B 16 5 B 16 5 Input MOBY Betriebsart 11 0 S1c_1 scanning time BYTE e 16g0 B 16 0 Input Abtastzeit f r MOBY I U SLG _l option 1 BYTE B 16 0 B 16 0 Input RESET Befehl Option 1 13 0 sLG _1 distance limiting BYTE 14 0 81G_ 1 multitag 15 o sLG_1 field ON_control SLG_1 field ON time 17 0 SLG_l reserved 18 0 SLG LAN MDS present SLG_1 ANZ_cancel 18 2 SLG_1 ANZ_ECC SLG_1 reserved O SLG_1 LR bat SLG_l battery_low SLG_l error SLG_1 cancel a E B IS F Input Reichweitenbegrenzung B lec l Input max Anzahl MDS im Feld B 16 0 Input BERO Betriebsart BF16 0 Input BERO Zeit BFIGLO FALSE Anwesenheit eines MDS D w i Kal ENEE ti w w w th Flee Ala on th th te ojoje bozi iiio S BL gt D ai aa aaa
55. echnologies SCE The following symbols serve as a guide through this module Information Programming Sample Task Notes TIA Training Document Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C Page 4 of 65 SI E M E N S Industry Automation and Drive Technologies SCE 1 PREFACE Regarding its content Module E11 is part of the instruction unit IT Communication with SIMATIC S7 Fundamentals of STEP7 Programmig 2 to 3 days Modules A Additional Functions of STEP7 Programming i 2 to 3 days Modules B with SIMIT SCE System Simulation 1 to 2 days Modules G Programming Industrial Fiedbus Process Languages Systems Visualization 2 to 3 days Modules C 2 to 3 days Modules D 2 to 3 days Modules F Frequency Converter IT Communication at SIMATIC S7 with SIMATIC S7 2 to 3 days Modules H 2 to3 days Module E Objective In Module E11 the reader will learn how networking and data exchange between PLCs and RFID components is set up As PLC the CPU 315F 2 PN DP and as Radio Frequency Identification RFID a SIMATIC RFID system is used The RFID components consist of the interface module RF180C ASM with write read device RF310R Reader or SLG write read device and different mobile data systems such as RF340T RF350T RF360T or ISO Moby D MDS D124 transponder or MDS PROFINET is used for networking the PLC and the SIMATIC RF180C Module E11 shows in princi
56. efer to chapter Command Repetition Only Reader 80 MOBY F Command Sub_command length address _MDS hex DAT_DB dec Comment hex dec 00 status and diagnosis Today s date Pointer to only MOBY U week year to result The refer to calculate the life of result is chapter The the battery for represented UDTs of example 1401 hex with UDT 100 FB45 20th week of year 01 type and write Pointer to protection status result The result is represented with UDT 260 02 diagnosis data Pointer to result The result is represented with UDT 270 RF 300 refer to chapter The UDTs of FB45 RF 300 refer to chapter The UDTs of FB45 In our example we are using the German language UDT261 and UDT271 for RF300 Notes TIA Training Document Module E11 Status 01 2010 RF180C Page 38 of 65 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and SI E M E N S Industry Automation and Drive Technologies SCE 5 9 Command String The user configures the command string by storing a corresponding number of UDT 21 one after the other in a DB All commands that are strung together have to be of the Command type 4x The last command of a string has to be of the type 0x With it the FB 45 recognizes the end of a command string Example of a command string in DB47 Four data records are to be processed by an MDS The command structure is stored in the request D
57. ent Page 11 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 4 Highlight your project and insert an Industrial Ethernet Subnet gt RFID_RF180C gt Insert gt Subnet gt Industrial Ethernet A SIMATIC Manager RFID_RF180C Datei Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe Station Subnetz Programm 2 PROFIBUS 3 Industrial Ethernet 4 PTP iemensiStep projRFID_R_5 co S7 Softmare S7 Bausteir MrF Software Globales Schriftfeld Symboltabelle a Textbibliothek Externe Quelle I WinCC Flexible R Globale Deklarationen PF 5 Then we insert a SIMATIC 300 Station gt Insert gt Station gt SIMATIC 300 Station A SIMATIC Manager RFID_RF180 C Datei Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe 1 SIMATIC 400 Station 2 SIMATIC 300 Skation 3 SIMATIC H Station 4 SIMATIC PE Station 5 SIMATIC HMI Station 6 Andere Station 7 SIMATIC 55 5 PG PC 9 SIMATIC GP A SIMATIC 200 Station Station Subnetz Frogramm lt Kein Filter gt 1 2am en e S7 Software F 57 Baustein M7 Software H Symboltabelle Textbibliothek Externe Quelle WFID_R_5 DI HA Etherneti a Globales Schriftfeld ine Globale Deklarationen TIA Training Document Page 12
58. ette SLG PARAMETER SLG L option 1 DA DPI Input BESET Befehl Option 1 SLG PARAMETER SLG 1 field ON time DR4A5_ DBELJ E Input BERO Zeit AWE SLG1 Deo Anwesenheitszeit des Transpnders am SLG61 Netzwerk 2 SetiSLGl ASM r cksetzen und neu parametrieren SCHOER FARAMETER 5LG6 1 init run 5 init_runl ne ae TIA Training Document Page 57 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Network 3 Netzwerk 3 Auftrag oder Befehl zu 5161 aufrufen AUFTRAG BEFEHL ADFTRAG Kanal _1l_ Befehl 1 Comm arid SLG_ PARAMETER SLG_1 command start ATFTRAG Kanal _1_ Eefehl l sub B 16 4B command AUFTRAG Eanal_l_ Befehl 1 length EFI1I6fA1 L AUFTRAG Kanal _1l_ Befehl 1 address MDS 49 AUFTRAG Kanal 1l_ Betfehl 1 DAT D umber AUFTRAG Fanal_1_ Befehl 1 DAT DE_ address AUFTRAG BEFEHL AUFTRAG Kanal LI Befehl z command B 16 1 AUFTRAG Kanal LI Befehl z sub PSG command AUFTRAG Kanal 1_ Befehl z length 45 AUFTRAG Kanal IL Befehl 2 address MDS AUFTRAG Kanal LI Befehl z DAT DB_ unber AUFTRAG Kanal IL Befehl 2 out dat DAT DE DE ADD Re sddress Symbolinformation AUFTRAG BEFEHL FC11 Baustein f r einen Auftrag bzw Befehl SLG PARAMETER ZG l c
59. f the IM fails FB45_active FB45 is just processing a command This variable is set when the command is started command_start True and remains active until FB45 has received the last acknowledgement from the IM e The init_run bit was set e The cancel bit was set The IM signaled an error ANZ_next This bit is set if the command executed last was a NEXT command ANZ reset This bit indicates that the command executed last was a RESET The user started the RESET command with init_run Notes TIA Training Document Page 47 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Industry Automation and Drive Technologies SCE TIA Training Document Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C Page 48 of 65 SI E M E N S Industry Automation and Drive Technologies SCE G Control bits from Bit8 to Bit15 1 Variable Description ANZ_MDS_present Indicates the presence of an MDS in the transmission window of the Read Write MDS ANZ_MDS_ present is indicated only if the user set the INPUT parameter MDS_control Please note that when init_run is executed tne ANZ_MDS_present indication briefly disappears even if an MDS stays permanently in the transmission window ANZ_cancel The command executed last was a command interruption cancel The bit is set if the IM displays a cancel acknowledgement by means
60. g SUPON Tu 3Sg 1INI 103 asgenmstg gare OS9TFA Isa 5 14128 T TRUE 198 4S Spm 39 108 48 8 y pus8 8 SOL Dr bh Et ET uasa uaqta Iya i Taag sol z 9T a z argal Sg T4738 T Temey dd IYI UT Saonshuejuy sep jne asitaz nm oo mw ssaappe ad IYa elTysIsg I TETEH USIE SdH any ad uesed faq Leg sep zomg al LENT asqmm gd IYJ t Teresa T TEEN SOIYLS SIH Ang IEL NA LINI 194 ssssapepug say rs essepesbuezine og arg u o st n dio SH sseappe p TUsJeg T reueg Saig UT Gage UspusasaTuspusgtsayuss nz Zap ii TL P TUsIsg I Teey SNIFLS IISSOLFIS SCH LNY 1958 008 ang snpoH THeJseg LINI any asasmmatg garg O STHA Musa F TUeJeg T Teuey SNGE 14sS S2p0 9 ME 3385 T pUIe 5Hsnge3s ATS ITUI SS Masaz uaqta Iya TI Tyee sol ease z 9T a usa F TUSIS7 T TEUEY got IYI UT qaomshwejyuy sep Ing Zabraz a ol Aw sssippe ad LYI l itgsiag T reueg used SIH any ad uesegd faq IWI sep amar ANT aaqm ad ya le tuez sa T reueg SOLYIS SCH Ang AUeL NM LINI 194 ssssapepug sa re sssapesbuezem ogst n often oo SdH sseappe L itgaiag 1 TEUEH Saig UT Gage Uspueas fUspueadtaigos nz dsp mem TL T4329 IT Tee SOLYLS J18SOL LS SdW LNY LAS GNA 203 SNPOH TUsIsg lINI any enert garg OS9T A Sal puremmoo ans e 14 1298 T TRUE SNE 14s spm 39 940e8 398 7y pue8 8 s389sS b5TS 9 UEL E uasa 0484 tT 199S 1 1181 3 sol gange z aT al Ss T43J3g IT Teuey got LYI UT 210MS UeEJUY sep Jne ashteg O a E SSSappe ad LYI
61. ile a BERO is operated the field is switched on 02 hex One or two BEROs The 1st BERO switches the field on and the 2nd BERO switches the field off If there are 2 BEROs and one field_ON_time is parameterized the field is switched off automatically if the 2nd BERO does not switch within the BERO time If no field _ON_time is parameterized the field remains switched on until the 2nd BERO is operated Activate reader synchronization by means of cable connection refer to manual for Configuration Installation and Service for MOBY U MOBY D or RF300 00 hex reserved field ON_time MOBY U time for BERO operating mode field ON control 02 ee ke Time monitoring is switched off For field switch off the 2nd BERO is needed 01 hex FF hex 1 255s switch on time forthe Readerfield 0Ohex I code 1 for example MDS D139 0 O1hex BE ISOMDS _ S RF300 00 hex reserved reserved Reserved GE NN Notes Parameter field ON time value 0 for MDS type RF300 Parameter field ON time value 1 for MDS type ISO TIA Training Document Page 45 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE En Command and Status Word BEST 1 The control bits of FB45 are defined in the command and status word The command and status word with the variables is generated with UDT 11 The variables
62. ill be read and then a read command will be executed at Reader2 With Reader2 we read 8 bytes from the transponder and then write them to DB48 starting with DBB50 With RESET_SLG2 11 1 the error is reset if there is an error LED at SLG2 flashes red and a init_run command is executed to reset the second reader In addition the attendance time of the transponders is to be recorded on the readers Supplementing the symbol table Symbol Data Comment Type START_SLG1 0 0 BOOL CommandstartofReadert m RESET_SLG1 RF300_ISO START_SLG2 RESET_SLG2 AWZ_SLG1 MD___ 40 AWZ_SLG2 MD 50 STATUS SIG 1 VAT 1 SLG1 variable tabe STATUS_SLG 2 VAT_ 2 SLG2variabletable Generating FB1 Set up a new FB1 TIA Training Document Page 55 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Eigenschaften Funktionsbaustein les Allgemein Teil Allgemein Teil2 Aufrufe Attribute Mame ER Multirstanzfahig Symbolischer Name STEUERUNGSPROGRAMM Symbolkommentar Steuerungsprogramm mit Bausteinen Erstellsprache FLIP Projektptad RFID_ZAFISOC_IECASIMATIE 300 12 PU 315F 2 PN DPASF Frogramml2 Bausteine FE1 Speicherort des Projekts C Program Files Siemens Step 4s prop AFID_R_b Code Schnittstelle Erstellt am 08 12 2009 19 05 17 Zuletzt ge ndert am 15 12
63. in DB47 multiple times So that not all inputs have to be carried out in DB47 here a block for one command or request is generated It is then possible to call this block in the control program multiple times for example for a command string Before starting a MOBY command with command_start we have to define it For a simple 1 Generating Function FC11 Set up a new FC11 function Eigenschaften Funktion Allgemein Teil Allgemein Teil 2 Aufrufe Attribute Blame ECH Gumpbolscher Marne AUFTRAG_BEFEHL symbolkommerntar Baustein f r einen Auftrag bzw Befehl Erstellsprache FUF Projektpfad RFID IEC Teila SIMATIC 30001 CPU 315F 2 PN DPYST Programm 1 AB austeme FE11 Speicherort des Projekts C Program Files Siemenesstep 4s prop RFID_1_1 Code Schnittstelle Erstellt arn 13 12 2009 18 58 48 Zuletzt ge ndert am 13 12 2003 17 46 22 13 12 2003 17 46 22 Kommentar j Abbrechen Hife Inhalt von Ungebung Schnittstelle IN slq command A slg command A sly sub command A slg sub command in length H in length in mds ADDR El in mds ADDR J in dat DB Nr El in dat DB Nr in dat DE _ ADDE El in dat DE ADDR Inhalt von UIngebung Schnittstelle 00T Gomm at E sub command out length E out length out mds ADDR El out mds ADDR out dat DE Nr tl out dat DE Nr out dat DE appr El out dat DE ADDR TIA Training Document Page 34 of 65 Modu
64. l2 Bausteine FE10 Speicherort des Projekts C Program Files Siemens Step ss prop AFID_R_6 Code Schnittstelle Erstellt am 08 12 2009 18 57 22 Zuletzt ge ndert am 15 12 2009 20 07 04 08 12 2009 13 04 41 Kommentar Gase Abbrechen Hilte Then set up IN variables Inhalt won Umgebungi Schnittstelle IN m x Mame patentyp Adresse _ Anfangswert t slg start E slg start Bool D O FALSE PI mds present E nds present Bool D L FALSE PI slg error E sly error Bool D FALSE l slg ready E slg ready Eool 0 3 FALSE tal slg option 1 GE s1y option L Eyte 1 20 EFISRF O PI slg reset E slg reset Bool 2 0 FALSE PI slg iso El slg_iso Bool ze FALSE PI Params DE El Params DE Int 4 0 0 l Params ADDR E Params ADDR Int 6 0 o Next set up OUT variables Inhalt won A eee OUT out A El command start command start FALSE EI option 1 HE option 1 Byte 2 0 EFIEFO l field on time CE field on time Byte 10 0 Be1leE 0 PI init run E init run Bool 11 0 FALSE PI mds time E mds time Time LZ T ONS TIA Training Document Page 51 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Then set up STAT variables Inhalt von Umgebung Schnittstelle STAT SE STAT Al name ratemtyp Aaresse Anfangewert EI fml El fml Bool iis 0 FALSE El tmz El i
65. le E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Enter Networks 1 to 6 Industry Automation and Drive Technologies SCE FCl1l Request or command Network 1 Command fslo command Network 2 Sub_Command sly_sub_ Codo a il Network 3 Data Length fin length Network 4 MDS start address fout mds ADDE fin uds ADDF Network 5 DB number for data storage destination or source fin dat DE Nr Network 6 Destination or target address of the DB of data storage fout dar OUT DE ADDR fin dat DE ADDR Save and close FC11 TIA Training Document Page 35 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 8 Basics of Entries at Command Block FC11 a The values for DB47 are specified by means of the input variables of FC11 1 One UDT21 is used for each request or command Data View of the UDT21 Ser rome Jo _Tnasangmrtfkomentar sm command BYTE Bsiss2 ms Befehl l schreiben Z lesen 3 init 4 slq status S end A set ant B mds status sub_command BYTE B 16 0 Bitmuster f r INIT Befehl Modus f r END SET A4NT HO0S STATOS SLG STATOS length mm Ji mea der zu schreibenden lesenden Daten in Bytes laddress ms won wsl go imfangsadresse auf MS Endadresse bei INIT EW Jahr f r HES STA
66. ll Then enter the name of the multi instance in the window refer to NW7 or NW8 without TIA Training Document Page 53 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SIEMENS Save and close FB10 Industry Automation and Drive Technologies SCE TIA Training Document Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C Page 54 of 65 SI E M E N S Industry Automation and Drive Technologies SCE 5 12 FB1 Control Program It is now possible to generate the control program with the completed blocks Task In our sample program two command strings with two requests each will be processed With the START_SLG1 10 0 the command chain of the first reader is executed First the MDS status information will be read and then a write command is carried out on Reader1 With Reader1 we write 8 bytes that are stored in DB48 starting with DBBO to the MDS With the RESET_SLG1 10 1 the error is reset if there is an error LED at Reader1 flashes red and a init_run command to reset the first reader is executed With the RF300_ISO 102 switching between MDS types for example RF360T or ISO transponder for example Moby D ISO is to be carried out on the first reader RF310R With the START_SLG2 11 0 the command string of the second reader is executed First the MDS diagnosis information w
67. mmand was processed without error Please note The ready bit does not have to be set for starting init_run or cancel Notes TIA Training Document Page 49 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Additional indications The displays indicate to the user the progress of a command Error analyses are easy to perform IM_busy This bit is set when the IM processes a command Normally IM_busy is inverted to ready IM_busy is indicated by the IM by means of the cyclical word refer to chapter Cyclical Control Word between Master and MOBY IM under IM_busy If processing takes place with the automatic command start repeat_commandg this bit indicates the processing of a new MDS with the command that is to be executed command_rep_active The IM is just executing a command repetition The bit is set as a response to the control variable repeat_commanad After init_run FB45 first resets the command_rep_active it is set again delayed since FB45 first transmits the MOBY commands to the IM MOBY U D or RF300 The number of MDSs is indicated that are presently located in the transmission window If more than 15 MDSs are in the field the display number_MDS stops at OF hex The IM signaled this error As a rule this error is indicated also on the ERR LED on the IM channel display refer to chapter Err
68. n RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Network 4 to 5 Het zverk 4 Steuerbefehle zu LGZ aufrufen fsteuern slgz START_ SLGE slg start SLG_ PARAMETER SG 2 ANZ MDS present SLG_ SLG_ PARAMETER PARAMETER SLG 2 5LG 2 error 19_error command start SL PARAMETER SLG_ SLG 2 PARAMETER ready 519_ready SLG_2 option l B 1 6 2 SLG_ PARAMETER BESET SE 2 SLG slg reset field ON ime slg iso finit_runz 45 Params DE Alla SLG2 Params En ADDR Symbolintormation START GG El Befehlsstart des SLGZ SLG PARAMETER SLG Z ANZ MDS present TB45_ Dave 0 Anwesenheit eines MDS SLG PARAMETER SLG Z_error DA DBE 6 Fehler w hrend der Befehlsbearbeitung SLG PARAMETER SLG ready DEAD DEXBS 7 Der Befebl bzw Eefehlskette ist ausgef hrt BESET SLGe 51 1 23162 Fehler rucksetzen SLC PARAMETER SLG Z command start DB45_ IBAS 1 Bet Stharteignal f r Befehl bzw Befehlskette SLG_ PARAMETER SLG Z option 1 CE45 DBBEZ Input RESET Befehl Option 1 SLG PARAMETER SLG Z field ON time DB45 DEBES Input BERO Zeit AWZ SLGZ MED Anwesenheitszeit des Transprders am SLG2 Hetzwerk 5 Set ZLGZ ASH ricksetzen und neu parametrieren SLG PARAMETER 5LG 2 init run 5 Symbolinformation SLG PARAMETER SLG 2 init run DB45 DEXS3 3 Set ASM r cksetzen und neu parametrieren TIA Training Document Page 59 of
69. nz Bool Is FALSE EI n3 El fms Bool 15 2 FALSE EI fmd El fnd Bool Ice FALSE El fms El fm5 Bool 16 4 FALSE El Come El fne Bool IS FALSE El mds zeit E nds zeit Time 13 0 T OMS Next set up TEMP variables Inhalt von Ungebung Schnittstelle TEM IB STAT 18 TEMP DI initl DI init E init Networks 1 to 3 FB1o Reader block Network 1 Command start fslg start fmds present fcommand fslg error start fslg ready Network 2 Reset Reader imz finitl fslg reset foption 1 fslg_ option L Network 3 ISO mode fms field on fslg iso ime Efle l TIA Training Document Page 52 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE Networks 4 to 8 Network 4 RF300 mode fm4 tield on ime f lg_ iso B 1le 0 Network 5 init run finitl finite finit gt Network 6 Attendance time MDS at reader ims fmds present fds time funds zeit Network 7 Readerl MDS time evaluat on fuds time evalu ation uds__ present ET mds_ time T z4D Network 8 PR4S call call_fb45 Farams DE fParams ADDE Note regarding networks 7and 8 The switch on delay TON SFB4 in Network 7 and the FB45 call in Network 8 are added as multi instance After insertion in the program click on the block with the right mouse key and select Change to multi instance ca
70. nzung normale Sendeleistung reduzierte Sendeleistung 05 hex 0 5 m 85 hex Die reduzierte Sendeleistung ist einzustellen wenn DA hex 1 0 m BA hex mehrere SLG nahe beieinander positioniert sind oder OF hex 1 5 m GF hex wenn Datenspeicher die sich in der Nahe eines SLG 14 hex 2 0 m 91 hex aufhalten sp ter oder nicht mehr erkannt werden sollen 19 hex 2 5 m 99 hex IE hex 3 0 m 9E hex 23 hex 3 5 m AS hex Nachteil Die Feldkeule wird kleiner und damit steht fur die Kommunikation weniger Zeit zur Verf gung bzw es muss genauer positioniert werden MOBY D HF Leistung von 0 5 W bis 10 W in 0 25 W Schritten 02 hex 0 5 W 10 hex 4 W default 28 hex 10 W RF300 00 hex reserviert Notes Parameter option_1 value 2 to reset the red flashing of the error LED at the reader with Init_Run TIA Training Document Page 44 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 9 1 Variable Description multitag MOBY U D or RF300 maximum number of MDS processed in parallel in the field Permissible values 1 field_ON_control MOBY U BERO operating mode aerial field is switched on off automatically The command Aerial ON OFF is overlaid by the BERO operating mode OOhex Without BEROs no reader synchronization 01 hex One or two BEROs The BEROs are logically ored Wh
71. of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 2 Configuring the Hardware 6 With a double click open the configuration tool for the Hardware Hardware di SIMATIC Manager RFID_RF180C Datei Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe Dale IE lt Kein Filter gt si o Bam Bem er E SIMATIC 300 1 7 Open the hardware catalog by clicking on the symbol En gt EI Insert the Mounting channel with a double click gt SIMATIC 300 gt RACK 300 Mounting channel Eh HW Konfig SIMATIC 300 1 Konfiguration RFID_RF180C Jia ES o x al Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe I Des NM Eu se o ge BAER D xi 2 0 UR q ae rm TTT Suchen nt aj E Profit Standard D 3 4 M PROFIBUS DP E 88 PROFIBUS PA 6 HE PROFINET 10 7 EI SIMATIC 300 H C7 E J CP 300 E 3 CPU 300 FM 300 y C IM 300 lt gt 3 M7 EXTENSION C Netz bergang 3 PS 300 2 10 un RACK 300 SES d Baugruppe Bestellnummer Firmware MPl Adresse E A K oa Zeien E A E SIMATIC 400 PAN AAA EE AAA ES NEE t AAA AAA AAA AAA NN A io Geer 4 AA A aaa NE ES ag SIMA PE Ae En 5 NN AAA AAN AAA NA SS HER SIMATIC PE Staton 6 SS Ve Gane Ee a H CAN ES AN A E Se 8 SSS AAA Ss es ee
72. ommand start DB45 DBX19 1 Set Startsignal f r Befehl bzw Befehlskette UFTRAC Kanal 1 Befehl 1 command B47 DBEO MDS Befehl 1l schreiben Z lesen 3 nit d4 sig status S eend Asset sant B mds status UFTRA Kanal l Befehl 1 sub command DB47 DEB1 Bitmuster f r INIT Befehl Modus f r END SET ANT MDS STATUS SLG STATUS UFTRA Kanal l Befehl 1 lengrh DB47 DBWZ Anzahl der zu schreibenden lesenden Daten in Bytes UFTRAC Kanal 1 Befehl 1 address MDS DB47 DBUW4 Anfangsadresse auf MDS Endadresse bei INIT EW Jahr f r MDS STATUS IFTRA Kanal l Befehl 1 DAT_DB_ number B47 DBW6 Nummer des DAT DB Daten DB f r MDS Daten FT RS Kanal l Befehl 1 DAT DB address DB47 DBWS Zeiger auf das Anfangswort im DAT DB IFT Bi Kanal 1 Befehl 2 command DB47 DBB1O MDS Befehl l chreiben 2 1lesen 3 init 4 slg status S end A set ant B mds status JFTE _Ranal 1 Befehl 2 suwb_ command DB47 DBB11 Bitmuster f r INIT Befehl Modus f r END SET 2ANT MDS STATUS SLC STATUS JFTRA Kanal 1 Befehl 2 lengrh DB47 DBW12 Anzahl der zu schreibenden lesenden Daten in Bytes UFTRA Kanal l Befehl 2 address MDS B47 DBW14 Anfangsadresse auf MDS Endadresse bei INIT EW Jahr f r MDS STATUS UFTRA Kanal l Befehl 2 DAT_DB_ number DB4 _DBW1E Nummer des DAT DB Daten DE fur MDS Daten UFT RA Kanal 1 Befehl Z DAT_DB_ address DB47 DBW1S Zeiger auf das Anfangswort im DAT DB TIA Training Document Page 58 of 65 Module E11 Status 01 2010 Radio Frequency Identificatio
73. or Indications and Error Search Error indication from FB45 refer to chapter Error Indications and Error Search error BUS The transmission path between FB45 and the IM signals an error As a rule this is a PROFIBUS error refer to chapter Error Indications and Error Search This error is indicated by the system functions SFC 58 59 version_MOBY Display of the firmware version of the MOBY IM The value entered here is updated after every IM power up It is ASCII encoded Example DBB26 DBB27 Version 1 0 gp mE Notes All other UDT 11 variables are for internal FB use only The user must not change them at all TIA Training Document Page 50 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 5 11 FB10 Reader_Control Program Now we are going to program the following in FB10 the control program for the control commands of a reader and the call of FB45 In addition the attendance time of the transponder is to be recorded Generating FB10 First set up a new function block FB10 Eigenschaften Funktionsbaustein ES Allgemein Teil Allgemein Teil2 Aufrufe Attribute Mame FBIO Mulhinstanztahig Symbolischer Name ep STEUERUNG Symbolkommentar Steuerbefehle zu einem SLG Erstellsprache FLIP Projektptad AFE_RFISOCIECHSIMATIC 3001 CFU 315F 2 PH DPAS7 Frogramm
74. ple the procedure for the startup based on a brief example Prerequisites To successfully work through Module E11 the following knowledge is assumed e How to handle Windows e Fundamentals of PLC programming with STEP7 for example Module A Startup PLC Programming with STEP7 e Fundamentals of network engineering for example Appendix V Basics of Network Engineering TIA Training Document Page 5 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C 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 600MHZz only XP 1 GHz and 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 PLC SIMATIC S7 300 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 16x24V DC Digital outputs DO 16x24V DC 0 5 A 4 SIMATIC RF180C IM interface module RF310R or RF340R SLG write read device Different transponder MDSs Mobile Data System of the type RF340T 8 KB RF350T 32 KB RF360T 64 KB ISO Moby D MDS D124 112 bytes 5 Ethernet connection between PC CPU 315F 2 PN DP and RF180C Press FT sx
75. se parameters during the entire execution time Please note that before the new setting takes effect init_run has to be performed after an INPUT parameter is changed refer to chapter Programming Restarts and Warm Restarts IM Address IM s logic base address This address has to match the IM start address in HWConfig of the SIMATIC ll Manager Please note that this address has nothing to do with the PROFIBUS address that is set at the IM or the ET200M IM Channel ee of the MOBY channel that is to be used for processing in TI Typ Value Range IM475 452 456 RF170C IM 454 754 854 ASM 473 850 Number of data block where the MDS command is specified These INPUT parameters can number be changed if ready 1 command_DB_ Address within the command_DB The next MDS command starts After a change of these address on this address command_DB_number and parameters init_run does not command_DB_ address generate a data pointer to the next have to be performed command refer to chapter Configuration Scheme Please note The input parameters command_DB_number and command_DB_ address are to be changed only if ready 1 After changing these parameters init_run does not have to be performed MDS Control MDS_control switches the attendance check or the MDS control on or off on the IM refer to chapter Attendance Check and MDS Control Attendance check is switched All ANZ_MSD_ present does not indicate a valid value
76. tion Kurzbezeichnung HI Geratename DN JO vi OD Schnittstelle Typ Ethernet Ger tenummer U Adresse 192 163 0 100 Vernetzt j Eigenschaften kommentar Abbrechen Hilfe TIA Training Document Page 18 of 65 Module E11 Status 01 2010 Radio Frequency Identification RFID with SIMATIC S7 300F 2PN DP and RF180C SI E M E N S Industry Automation and Drive Technologies SCE 14 Now drag the PROFINET IO System 100 module tier toward the right and from the folder PROFINET IO insert the SIMATIC RFID module RF180C into the module tier by dragging it there If module RF180C should not yet be selectable it first has to be inserted by a data carrier using the menu Options Install GSD files Bh HW Konfig SIMATIC 300 1 Konfiguration RFID_RF180C ole Oly Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe 0 DERT Eu amp sa Boa S Ki a9 0 UR Suchen at ay Profi Standard E e BE PROFIBUS DP TE PROFIBUS PA SSP PROFINET IO Drives 14 DO16xDC24 0 1 Gateway 3 Ident Systems I SIMATIC RFID Arisoc 3 Network Components 3 Sensors C Weitere FELDGERATE EJ SIMATIC 300 SIMATIC 400 o SIMATIC HMI Station EE A Bestellnummer Bestellnummer E Adresse 4 Adresse Diag ATE RETIRE E oe LIT EE EI SIMATIC PC Based Control 300 400 RB SIMATIC PC St
77. try Automation and Drive Technologies SCE 5 16 Symbol Table Symbol Adresse Datentyp Kommentar SLG _ PARAMETER DA 45 DB 45 Her findet man die Parameter zu den SL Gs AUFTRAG Da 47 DB 4 hier werden die Kommandos eingegeben E LE DATEN DE 48 DB 48 hier werden die Daten des Schreib Lese Auftrags eingetragen MDS STATUS DE 49 DB 49 hier werden die MOS Status Informationen abgelegt SLG STATUS DE 50 DB 50 hier werden die SLG Status Informationen abgelegt START SL E op BOOL Hetehisstart des SLG1 RESET_SLG1 E Di BOOL SLG1 Fehler r cksetzen RF3200 50 ME 0 2 BOOL Wert O RF 300 Wert 1 150 ISTART_SLG2 E 410 BOOL Hetehisstart des SLG2 RESET SLG2 E 144 BOOL SLG Fehler r cksetzer STEUERUNGSFROGR FB 1 ER 4 Steuerungsprogramm mit Bausteinen SLG_STEUERUNG Fa 10 Ep 410 Steuerbefehle zu einem SLG MOBY FB FB 45 FB 45 AUFTRAG BEFEHL FC 411 EC 11 Baustein f r einen Auftrag bzw Befehl AWE SL MO A0 TIME Anwesenheitszeit des Transpnders am SL AWE SL MO 50 TIME Anwesenheitszeit des Transpnders am SLG2 PROGRAMMALFRUF OB 4 On 4 Steuerungsprogramm aufrufen NEUSTART Cp 100 Cp 100 Programmierung von Neustart und Viederanlaut TON SFB 4 SFB 4 Generate an On Delay ROREC SFB 52 SFB 52 Read a Process Data Record MARREC SFB 53 SfB 53 Write a Process Data Record MOBY Param d UDT 11 UDT 11 Parametrier DB MOBY CMD d UDT 21 UDT Command D I Normaladressierung MOB
78. try 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 means 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 0 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
79. ts to the 5th slot The module s order number is located on the front gt SIMATIC 300 gt DO 300 gt SM 322 DO16x24VDC 0 5A Ge HW Konfig SIMATIC 300 1 Konfiguration RFID_RF180C Jay ES Dl Station Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe a x Dene nu ao FC R Ki Ethernet 1 PROFINET IO System 100 oj x 0 UR Suchen PS 307 D CPU 315F 2 P Profil Standard E JS 3 DO 300 SM 322 DO16x4 C120 SM 322 DO16x4 C1 20 DI16xDC244 SM 322 DO16x4 01 20 SM 322 DO16xDC24 SM 322 DO16xDC24V SM 322 DO16xDC24 SM 322 DO16xDC24 y SM 322 DO16xDC24 gt SM 322 DO16xDC24 SM 322 DO16xRel AC SM 322 DO16xRel AC 0 un SM 322 DO16xUC24 4 SM 322 DO32x4C120 SM 322 DO32x401 20 SM 322 DO32xDC24V SM 322 DO4xDC15 2 SM 322 DO4xDC24V 1 SM 322 DO64xDC24 SM 322 DOB4xDC24V SM 322 DO8x4 C Iso SM 322 DO8x4C1 20 2 e lt gt EES 322 1BH01 0440 Al te Digitalausgabebaugr D016 124440 D Wurzelung 8 auch als SIPLUS Baugruppe mit Einf gen m glich And Steckplatz i Baugruppe EE Note The module s order number is indicated in the footer of the catalog 13 Now we have to change the PROFINET device name to PN lOx100 Select PN IO with a double click gt PN IO PN IOx100 OK Eigenschaften PN IO RO S2 2 Allgemein Adressen PROFINET Synchronisation Uhrzeitsynchronisa
Download Pdf Manuals
Related Search
Related Contents
Curtis FRF452 User's Manual ダウンロード(1.74MB) Esquema dos vidros elétricos do Grand Vitara 2001 Fujitsu ESPRIMO P710 E90+ Bedienungsanleitung Induktionskocher Comfort 3400 S Art Copyright © All rights reserved.
Failed to retrieve file