Siemens S7-300F-2 PN, DP manual Preface

Page 3

 

Industry Automation and Drive Technologies - SCE

 

 

PAGE

1

PREFACE

5

2

Notes regarding the usage of CPU 315F-2 PN/DP

7

3

Notes regarding the SIMATIC RFID components

8

4

RFID Fundamentals

9

5

Starting up an RFID project with CPU 315F-2 PN/DP and RF180C

10

5.1

Setting Up a New Project

11

5.2

Configuring the Hardware

13

5.3

Assigning a Device Name

20

5.4

Inserting UDT Blocks and FB45

22

5.5

Generating Data Blocks

23

5.6

Programming a Restart or Warm Restart

33

5.7

FC11 Function for a Command or Request

34

5.8

Basics of Entries at Command Block FC11

36

5.9

Command String

39

5.10

Basics of FB45 and DB45

40

5.11

FB10 Reader_Control Program

51

5.12

FB1 Control Program

55

5.13

OB1 Program Call

61

5.14

Variable Table STATUS_SLG_1

62

5.15

Variable Table STATUS_SLG_2

63

5.16

Symbol Table

64

5.17

Block Folder

65

5.18

DB49 Data View

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

 

Image 3
Contents Industry Automation and Drive Technologies SCE Module E11Industry Automation and Drive Technologies SCE Preface Page S7’ ObjectivePrerequisites Simatic RF180C ASM Industry Automation and Drive Technologies SCE CPU Rfid Fundamentals DB47 Data structure of the German language UDTs is as followsPage Industry Automation and Drive Technologies SCE Page Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Value range for the address of the gateway router Industry Automation and Drive Technologies SCE MAC addressValue range for the IP address Value range for the subnet screen formIndustry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Page Page Page Save and close DB48 Generating DB48 Open DB48, set up 1024 bytesGenerating DB49 Open DB49 and insert UDT261 and UDT271 Page Generating DB50 Open DB50 and insert UDT111 and UDT281 Save and close DB50 Generate DB47 Open DB47 and add UDT21 for each request Save and close DB47 DB45, UDT11 is called for each reader Generating DB45 Open DB45 and insert UDT11 for each readerData view of DB45 to byte DB47 request data block is referred to in DB45Save and close DB45 Page Generating Function FC11 Set up in variables Set up OUT variablesSave and close FC11 Reading data from the transponder Data View of the UDT21 Command OverviewCommand Writing data to the transponderRead out Reader status Command NextCommand END Initialize TransponderTransponder Status Switching the reader aerial on/offExample of a command string in DB47 Data view of the UDT11 Variable Description Parameter commandDBaddress Value = 50 for Reader2 507 Industry Automation and Drive Technologies SCE ISO MDS Page Page Industry Automation and Drive Technologies SCE Variable Description Control bits from Bit8 to Bit15Moby U/D or RF300 Generating FB10 Then, set up in variables Next, set up OUT variablesReader block Network 1 Command start Network 2 Reset Reader Industry Automation and Drive Technologies SCE Networks 4 to Page Supplementing the symbol table TaskGenerating FB1 Industry Automation and Drive Technologies SCE FB10 is inserted as a multi-instance block Industry Automation and Drive Technologies SCE Network Industry Automation and Drive Technologies SCE Network 4 to Page Open OB1 and call FB1 with DB1 Page Page Industry Automation and Drive Technologies SCE Symbol Table