Siemens DP, S7-300F-2 PN manual Industry Automation and Drive Technologies SCE MAC address

Page 16
255.255.0.0 Decimal = 1111 1111.1111 1111.0000 0000.0000 0000 binary 255.255.128.0 Decimal = 1111 1111.1111 1111.1000 0000.0000 0000 binary 255.254.0.0 Decimal = 1111 1111.1111 1110.0000 0000.0000.0000 binary 255.255.1.0 Decimal = 1111 1111.1111 1111.0000 0001.0000 0000 binary

Industry Automation and Drive Technologies - SCE

Notes regarding networking on the Ethernet (additional information is provided in Appendix V of the training manual):

MAC address:

The MAC address consists of a permanent and a variable part. The permanent part ("Basic MAC address") identifies the manufacturer (Siemens, 3COM, ...). The variable part of the MAC address differentiates the different Ethernet stations and should be assigned globally unique. On each module, a MAC address specified by the factory is inscribed.

Value range for the IP address:

The IP address consists of 4 decimal numbers in the value range 0 to 255, separated by a period; for example: 141.80.0.16

Value range for the subnet screen form:

This screen form is used to establish whether a station or its IP address belongs to the local subnet, or can be reached only by 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:

Incorrect value:

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

 

Image 16
Contents Module E11 Industry Automation and Drive Technologies SCEIndustry Automation and Drive Technologies SCE Preface Page Objective S7’Prerequisites Simatic RF180C ASM Industry Automation and Drive Technologies SCE CPU Rfid Fundamentals Data structure of the German language UDTs is as follows DB47Page Industry Automation and Drive Technologies SCE Page Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE MAC address Value range for the IP addressValue range for the subnet screen form Value range for the address of the gateway routerIndustry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Page Page Page Generating DB48 Open DB48, set up 1024 bytes Save and close DB48Generating 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 Generating DB45 Open DB45 and insert UDT11 for each reader DB45, UDT11 is called for each readerDB47 request data block is referred to in DB45 Data view of DB45 to byteSave and close DB45 Page Set up in variables Set up OUT variables Generating Function FC11Save and close FC11 Data View of the UDT21 Command Overview CommandWriting data to the transponder Reading data from the transponderCommand Next Command ENDInitialize Transponder Read out Reader statusSwitching the reader aerial on/off Transponder StatusExample 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 Control bits from Bit8 to Bit15 Variable DescriptionMoby U/D or RF300 Then, set up in variables Next, set up OUT variables Generating FB10Reader block Network 1 Command start Network 2 Reset Reader Industry Automation and Drive Technologies SCE Networks 4 to Page Task Supplementing the symbol tableGenerating 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