Page 2 - Industry Automation and Drive Technologies - SCE; Siemens Automation Cooperates
Industry Automation and Drive Technologies - SCE TIA Training Document Page 2 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C This manual was prepared for training purposes by Siemens AG for the project Siemens Automation Cooperates with ...
Page 3 - PAGE
Industry Automation and Drive Technologies - SCE TIA Training Document Page 3 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C PAGE 1 PREFACE ....................................................................................................
Page 5 - How to handle W indows; Fundamentals of; to 3 days Modules A
Industry Automation and Drive Technologies - SCE TIA Training Document Page 5 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 1 PREFACE Regarding its content, Module E11 is part of the instruction unit 'IT Communication with SIMATIC S7’ ....
Page 6 - Hardware and Software Required
Industry Automation and Drive Technologies - SCE TIA Training Document Page 6 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Hardware and Software Required 1 PC, operating system W indows XP Professional with SP2 or SP3/Vista 32 bit Ulti...
Page 7 - NOTES REGARDING THE USAGE OF CPU 315F-2 PN/DP; The second interface is an integrated PROFINET interface.
Industry Automation and Drive Technologies - SCE TIA Training Document Page 7 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 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 ...
Page 8 - NOTES REGARDING THE SIMATIC RFID COMPONENTS; PROFINET IO cable
Industry Automation and Drive Technologies - SCE TIA Training Document Page 8 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 3 NOTES REGARDING THE SIMATIC RFID COMPONENTS The communication module RF180C is a module for operating RFID com...
Page 9 - RFID FUNDAMENTALS; ) makes it possible to automatically identify and localize
Industry Automation and Drive Technologies - SCE TIA Training Document Page 9 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 4 RFID FUNDAMENTALS Radio Frequency Identification ( RFID ) makes it possible to automatically identify and loca...
Page 10 - STARTING UP AN RFID PROJECT WITH CPU 315F-2 PN/DP AND RF180C; Below, the startup of an RFID project is described.; The data structure of the German language UDTs is as follows:
Industry Automation and Drive Technologies - SCE TIA Training Document Page 10 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5 STARTING UP AN RFID PROJECT WITH CPU 315F-2 PN/DP AND RF180C Below, the startup of an RFID project is describ...
Page 11 - Setting Up a New Project; The central tool in STEP 7 is the; ’SIMATIC Manager’; File
Industry Automation and Drive Technologies - SCE TIA Training Document Page 11 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.1 Setting Up a New Project 1. The central tool in STEP 7 is the ’SIMATIC Manager’ , which we call here with a...
Page 12 - ’Industrial Ethernet Subnet’
Industry Automation and Drive Technologies - SCE TIA Training Document Page 12 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 4. Highlight your project and insert an ’Industrial Ethernet Subnet’ ( → RFID_RF180C → Insert → Subnet → Indust...
Page 13 - Configuring the Hardware; W ith a double click, open the configuration tool for the; ’Hardware’; Open the hardware catalog by clicking on the symbol '; ’Mounting channel’; with a double click (; Note
Industry Automation and Drive Technologies - SCE TIA Training Document Page 13 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.2 Configuring the Hardware 6. W ith a double click, open the configuration tool for the ’Hardware’ . ( → Hard...
Page 14 - W e start with the power unit
Industry Automation and Drive Technologies - SCE TIA Training Document Page 14 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 8. From the hardware catalog, we can now select all modules that are present in the actual rack and insert them...
Page 15 - ’Subnet screen form’
Industry Automation and Drive Technologies - SCE TIA Training Document Page 15 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 9. Next, we drag the ’CPU 315F-2 PN/DP’ to the second slot. The order number and the version of the CPU are ins...
Page 16 - Value range for the IP address:
Industry Automation and Drive Technologies - SCE TIA Training Document Page 16 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Notes regarding networking on the Ethernet (additional information is provided in Appendix V of the training ma...
Page 18 - located on the front (; Now, we have to change the PROFINET device name to PN IOx100.
Industry Automation and Drive Technologies - SCE TIA Training Document Page 18 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 12. Now we drag the output module for 16 outputs to the 5th slot. The module’s order number is located on the f...
Page 19 - ’, the hardware configuration is saved and compiled.
Industry Automation and Drive Technologies - SCE TIA Training Document Page 19 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 14. Now, drag the PROFINET IO System (100) module tier toward the right and from the folder PROFINET IO, insert...
Page 20 - Assigning a Device Name; under Ethernet; Assign device name
Industry Automation and Drive Technologies - SCE TIA Training Document Page 20 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.3 Assigning a Device Name 17. First, highlight the module RF180C and then select, under the menu "Destina...
Page 21 - switch on the CPU should be on Stop (
Industry Automation and Drive Technologies - SCE TIA Training Document Page 21 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C This is what the completed hardware configuration with the associated addresses looks like 19. By clicking on '...
Page 22 - Inserting UDT Blocks and FB45
Industry Automation and Drive Technologies - SCE TIA Training Document Page 22 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.4 Inserting UDT Blocks and FB45 De-archive the library " RFID_FB45_UDT_Blocks “ from the template directo...
Page 23 - Generating Data Blocks; within the brackets.; Save and close DB48
Industry Automation and Drive Technologies - SCE TIA Training Document Page 23 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.5 Generating Data Blocks DB48 Write/Read Data Here, the source data of a write request to the transponder is ...
Page 24 - DB49 MDS Status Information; The start address in DB49 is “
Industry Automation and Drive Technologies - SCE TIA Training Document Page 24 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C DB49 MDS Status Information In DB49, the MDS status Information is entered. The information is stored in a data...
Page 25 - Save and close DB49
Industry Automation and Drive Technologies - SCE TIA Training Document Page 25 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Save and close DB49
Page 26 - DB50 Reader Status Information
Industry Automation and Drive Technologies - SCE TIA Training Document Page 26 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C DB50 Reader Status Information The reader status information is entered in DB50. Depending on the request, the ...
Page 27 - “ Reader status information and; Save and close DB50
Industry Automation and Drive Technologies - SCE TIA Training Document Page 27 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Data view of the Reader status in DB50 (UDT111) Byte 0 to 27 Data view of the Reader diagnosis in DB50 (UDT281)...
Page 28 - DB47 Request Data Block
Industry Automation and Drive Technologies - SCE TIA Training Document Page 28 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C DB47 Request Data Block The DB47 is set by means of the UDT11 in DB45. In DB47, a UDT21 is embedded for each re...
Page 29 - (Starting with byte 50, the commands for Reader2 or channel 2 start)
Industry Automation and Drive Technologies - SCE TIA Training Document Page 29 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Data View of DB47 (Starting with byte 50, the commands for Reader2 or channel 2 start) Save and close DB47
Page 30 - DB45 Reader Parameter Block
Industry Automation and Drive Technologies - SCE TIA Training Document Page 30 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C DB45 Reader Parameter Block Each MOBY channel (reader) needs its own parameters. These are predefined in a data...
Page 31 - Entries in DB45
Industry Automation and Drive Technologies - SCE TIA Training Document Page 31 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Entries in DB45 The base address for the RF180C is 256 (refer to hardware), here to be entered at address 0.0 a...
Page 32 - Save and close DB45
Industry Automation and Drive Technologies - SCE TIA Training Document Page 32 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Data view of DB45 starting with byte 34 (SLG = Reader) Save and close DB45 Note The inputs in the data block ar...
Page 33 - Programming a Restart or Warm Restart; “ is necessary after the following:; Open OB100 and enter the program
Industry Automation and Drive Technologies - SCE TIA Training Document Page 33 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.6 Programming a Restart or Warm Restart A restart of the MOBYIM (interface module) is carried out by setting ...
Page 34 - FC11 Function for a Command or Request
Industry Automation and Drive Technologies - SCE TIA Training Document Page 34 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.7 FC11 Function for a Command or Request Before starting a MOBY command with "command_start“ , we have to...
Page 35 - Enter Networks 1 to 6
Industry Automation and Drive Technologies - SCE TIA Training Document Page 35 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Enter Networks 1 to 6 Save and close FC11 Request or command Network 1 Command Network 2 Sub_Command Network 3 ...
Page 36 - Basics of Entries at Command Block FC11
Industry Automation and Drive Technologies - SCE TIA Training Document Page 36 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.8 Basics of Entries at Command Block FC11 The values for DB47 are specified by means of the input variables o...
Page 37 - Read out Reader status
Industry Automation and Drive Technologies - SCE TIA Training Document Page 37 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C was read. Initialize Transponder Command (hex) Sub_command length [dec] address_MDS [hex] DAT_DB [dec] Comment ...
Page 38 - Transponder Status
Industry Automation and Drive Technologies - SCE TIA Training Document Page 38 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C pause with the MDS ¹ remains set Switching the reader aerial on/off Command (hex) Sub_command length [dec] addr...
Page 39 - Command String
Industry Automation and Drive Technologies - SCE TIA Training Document Page 39 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.9 Command String The user configures the command string by storing a corresponding number of UDT 21 one after...
Page 40 - Data view of the UDT11
Industry Automation and Drive Technologies - SCE TIA Training Document Page 40 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.10 Basics of FB45 and DB45 FB45 accesses DB45. In DB45, a UDT11 is embedded for each reader. Data view of the...
Page 41 - Variable; Notes; Parameter “
Industry Automation and Drive Technologies - SCE TIA Training Document Page 41 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Input Parameters of the UDT11 The user has to enter these variables during configuration (exception: command_DB...
Page 44 - “ value = 2 to reset the red flashing of the error LED at the reader with
Industry Automation and Drive Technologies - SCE TIA Training Document Page 44 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Notes Parameter " option_1 “ value = 2 to reset the red flashing of the error LED at the reader with “Init_...
Page 45 - MOBY U
Industry Automation and Drive Technologies - SCE TIA Training Document Page 45 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Variable Description multitag MOBY U/D or RF300; maximum number of MDS processed in parallel in the field. Perm...
Page 46 - Relative address in UDT 10
Industry Automation and Drive Technologies - SCE TIA Training Document Page 46 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Command and Status Word "BEST" The control bits of FB45 are defined in the command and status word. The...
Page 47 - the user
Industry Automation and Drive Technologies - SCE TIA Training Document Page 47 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Control bits from Bit0 to Bit7 Variable Description cancel True =interruption of a current command or a command...
Page 49 - Only MOBY I; MOBY I
Industry Automation and Drive Technologies - SCE TIA Training Document Page 49 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Control bits from Bit8 to Bit15 Variable Description ANZ_MDS_present Indicates the presence of an MDS in the tr...
Page 50 - Additional indications
Industry Automation and Drive Technologies - SCE TIA Training Document Page 50 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Additional indications The displays indicate to the user the progress of a command. Error analyses are easy to ...
Page 51 - FB10 Reader_Control Program
Industry Automation and Drive Technologies - SCE TIA Training Document Page 51 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.11 FB10 Reader_Control Program Now, we are going to program the following in FB10: the control program for th...
Page 52 - Then, set up STAT variables; Network 1
Industry Automation and Drive Technologies - SCE TIA Training Document Page 52 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Then, set up STAT variables Next, set up TEMP variables Networks 1 to 3 Reader block Command start Network 1 Ne...
Page 53 - Networks 4 to 8; in Network 7 and the; Change to multi-instance call; Network 5; time
Industry Automation and Drive Technologies - SCE TIA Training Document Page 53 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Networks 4 to 8 Note regarding networks 7and 8: The switch-on delay TON (SFB4) in Network 7 and the FB45 call i...
Page 54 - Save and close FB10
Industry Automation and Drive Technologies - SCE TIA Training Document Page 54 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Save and close FB10
Page 55 - FB1 Control Program; W ith the; Supplementing the symbol table
Industry Automation and Drive Technologies - SCE TIA Training Document Page 55 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.12 FB1 Control Program It is now possible to generate the control program with the completed blocks. Task: In...
Page 57 - Setting up TEMP Variables
Industry Automation and Drive Technologies - SCE TIA Training Document Page 57 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Setting up TEMP Variables Network 1 to 2 FB10 is inserted as a multi-instance block.
Page 58 - Network 3
Industry Automation and Drive Technologies - SCE TIA Training Document Page 58 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Network 3
Page 59 - Network 4 to 5
Industry Automation and Drive Technologies - SCE TIA Training Document Page 59 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Network 4 to 5
Page 60 - Network 6
Industry Automation and Drive Technologies - SCE TIA Training Document Page 60 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C Network 6 Save and close FB1
Page 61 - OB1 Program Call
Industry Automation and Drive Technologies - SCE TIA Training Document Page 61 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.13 OB1 Program Call Double click on OB1 in the project window, or open the object properties of OB1 and enter...
Page 64 - Symbol Table
Industry Automation and Drive Technologies - SCE TIA Training Document Page 64 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.16 Symbol Table
Page 65 - Block Folder
Industry Automation and Drive Technologies - SCE TIA Training Document Page 65 of 65 Module E11 Status: 01/2010 Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and RF180C 5.17 Block Folder 5.18 DB49 Data View