0% found this document useful (0 votes)
129 views38 pages

Serial Connection of SIMATIC RFID Readers Via ET 200 Systems

This document describes connecting RFID readers to a SIMATIC PLC via ET 200 systems to automate a warehouse simulation. Three stations represent incoming goods, processing, and outgoing goods. RFID tags will be initialized at incoming goods, checked and have timestamps written at processing, and verified at outgoing goods. Library blocks control the RFID readers via serial communication modules to perform identification tasks. An HMI visualizes the system status and allows resetting readers and controlling antennae. The solution demonstrates connecting RFID readers to PLCs via ET 200 using provided library blocks.

Uploaded by

Fernando Hallai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views38 pages

Serial Connection of SIMATIC RFID Readers Via ET 200 Systems

This document describes connecting RFID readers to a SIMATIC PLC via ET 200 systems to automate a warehouse simulation. Three stations represent incoming goods, processing, and outgoing goods. RFID tags will be initialized at incoming goods, checked and have timestamps written at processing, and verified at outgoing goods. Library blocks control the RFID readers via serial communication modules to perform identification tasks. An HMI visualizes the system status and allows resetting readers and controlling antennae. The solution demonstrates connecting RFID readers to PLCs via ET 200 using provided library blocks.

Uploaded by

Fernando Hallai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 38

Application Description 05/2014

Serial Connection of
SIMATIC RFID Readers via
ET 200 Systems
SIMATIC ET 200SP, SIMATIC RF300, STEP 7 V12

http://support.automation.siemens.com/WW/view/en/90472232

Warranty and Liability

Warranty and Liability


Note

The Application Examples are not binding and do not claim to be complete with
regard to configuration, equipment or any contingencies. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are solely responsible for the
correct operation of the described products. These Application _Examples do not
relieve you of the responsibility of safely and professionally using, installing,
operating and servicing equipment. When using these application examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time and without prior notice. If there are any
deviations between the recommendations provided in this application example
and other Siemens publications e.g. catalogs the contents of the other
documents have priority.
We do not accept any liability for the information contained in this document.

Siemens AG 2014 All rights reserved

Any claims against us based on whatever legal reason resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this application example will be excluded. Such an exclusion will not
apply in the case of mandatory liability, e.g. under the German Product Liability Act
(Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life, body
or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
(wesentliche Vertragspflichten). The damages for a breach of a substantial
contractual obligation are, however, limited to the foreseeable damage, typical for
the type of contract, except in the event of intent or gross negligence or injury to
life, body or health. The above provisions do not imply a change in the burden of
proof to your disadvantage.
Any form of duplication or distribution of these application examples or excerpts
hereof is prohibited without the expressed consent of Siemens Industry Sector.
Security
information

Siemens provides products and solutions with industrial security functions that
support the secure operation of plants, solutions, machines, equipment and/or
networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a productspecific newsletter. For more information, visit
http://support.automation.siemens.com.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

Table of Contents

Table of Contents
Warranty and Liability .............................................................................................. 2
1

Task................................................................................................................. 4
1.1

Solution........................................................................................................... 6
2.1
2.2
2.3
2.3.1
2.3.2

Siemens AG 2014 All rights reserved

SIMATIC PLC .................................................................................. 19


SIMATIC ET 200 systems................................................................ 21
Configuration of the CM PtP communication modules ...................... 24
Changes to the STEP 7 user program.............................................. 26

Installation and Commissioning .................................................................. 28


5.1
5.2
5.3
5.4

Program overview............................................................................ 10
Reader Reset (INIT_RUN)............................................................. 11
Antennae (ANT) ............................................................................ 13
Station 1: INCOMING_GOODS ..................................................... 15
Station 2: PROCESSING............................................................... 16
Station 3: OUTGOING_GOODS .................................................... 17
Library blocks .................................................................................. 18

Configuration and Settings .......................................................................... 19


4.1
4.2
4.3
4.4

Overview ........................................................................................... 6
Sequence of the core functionality ..................................................... 7
Hardware and software components .................................................. 8
Validity .............................................................................................. 8
Components used ............................................................................. 9

Mode of Operation ........................................................................................ 10


3.1
3.2
3.3
3.4
3.5
3.6
3.7

Overview ........................................................................................... 4

Installing the hardware ..................................................................... 28


Installing the software ...................................................................... 29
Installation of the STEP 7 V12 project .............................................. 30
Commissioning ................................................................................ 30

Operation of the Application ........................................................................ 32


6.1
6.2
6.3
6.4
6.5

Menu navigation .............................................................................. 32


Incoming goods ............................................................................... 34
Processing ...................................................................................... 35
Outgoing goods ............................................................................... 36
Reader options ................................................................................ 37

Related Literature ......................................................................................... 38

History .......................................................................................................... 38

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

1 Task
1.1 Overview

Task

1.1

Overview

Introduction
In many plants, especially for warehouses and conveyor systems, RFID (Radio
Frequency Identification) is used for tracking and identifying goods. Since the
topologies are becoming more and more decentralized, the connection of RFID
readers must meet this development. SIMATIC ET 200 systems are the common
decentralized periphery systems. In the course of this application, block libraries
(Identification_ET200) are provided which enable operating SIMATIC RFID
readers in a simple, user-friendly and cost-efficient way via SIMATIC ET 200. The
readers are connected to the SIMATIC ET 200 via serial communication modules
and controlled by a SIMATIC PLC via the blocks of the library.

Overview of the automation task


The figure below provides an overview of the automation task.
Figure 1-1
Siemens AG 2014 All rights reserved

SIMATIC S7-1500
SIMATIC ET 200

RFID reader

Goods
(TAGs)
Outgoing goods
Verification

Processing
Writing

Incoming goods
Initialization

Description of the automation task


SIMATIC RFID readers shall be operated via ET 200 systems for automatic
identification of goods in a warehouse. Three stations specify this warehouse
simulation: Incoming goods, Processing and Outgoing goods.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

1 Task
1.1 Overview
Requirements of the automation task
Table 1-1
Requirements

Explanations

Incoming goods: RFID reader 1

In Incoming goods, TAGs are initialized via the


RFID reader with a certain byte pattern.

Processing: RFID reader 2

In Processing, TAGs are read and checked for the bit


pattern of the initialization. If the initialization has
been performed correctly, a time stamp is written to
the TAGs in order to simulate successful processing.

Outgoing goods: RFID reader 3

In Outgoing goods, TAGs are checked for the correct


processing time stamp. If successful, the goods have
passed through the warehouse without errors.

Reader reset and antennae


On/Off

In addition to the tasks of the warehouse, the readers


can also be reset manually and the antennas be
switched on and off.

Operation/visualization via an HMI

For each station in the warehouse there is a picture


on the HMI. The state and status of the reader jobs/
warehouse station are visualized in the pictures.

Siemens AG 2014 All rights reserved

The user can reset the readers of the three stations


and switch the antenna fields on and off via a
separate HMI screen.

Application requirements
This warehouse simulation example shall illustrate

how SIMATIC RFID readers can be connected to SIMATIC PLCs via ET 200
systems,

how the blocks of the Identification_ET200 library can be used.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

2 Solution
2.1 Overview

Solution

2.1

Overview

Schematic overview
The figure below gives a schematic overview of the most important components of
the solution:
Figure 2-1
S7-1500
Programming device/
HMI Runtime

PROFINET / IE

Siemens AG 2014 All rights reserved

ET 200SP with CM PtP

RF300R

TAGs
Outgoing goods

Processing

Incoming goods

Warehouse logistics chain

Advantages
The solution presented here offers you the following advantages:

cost-efficient solution of the automation task

flexible expandability and scalability

simple and quick integration into your PLC projects

Topics not covered


This application does not contain a description of:

handling STEP 7 TIA Portal

programming in SCL and FBD

SIMATIC RFID Reader

Industrial Ethernet

serial communication

Basic knowledge of these topics is assumed.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

2 Solution
2.2 Sequence of the core functionality

2.2

Sequence of the core functionality

Functional sequence of the application


Figure 2-2
1

Reader reset

Hold TAG at
Reader 1

Initializing
the TAGs

Change to
HMI screen of
Station 1

Hold TAG
at Reader 2

Status display

Reading the TAG;


verification
for INIT

Change to
HMI screen of
Station 2

Writing the
TAGs with
time stamp

Station 1: Incoming goods

Siemens AG 2014 All rights reserved

Station 2: Processing

Status display

Hold TAG
at Reader 3

Reading the TAG;


verification
for time stamp

Change to
HMI screen of
Station 3

Station 3: Outgoing goods

Status display

Table 2-1
No.

Note

Description

1.

Automatic reset of the readers at the three stations when starting up the CPU.

2.

The TAG is initialized with a byte pattern.

3.

The DONE, BUSY and ERROR states are signaled by the status displays via
alarm displays on the HMI. Furthermore, the job status is output in form of
continuous text.

4.

The TAG is read and checked for the byte pattern of the initialization.

5.

If step 4 is successful, a time stamp of the CPU is written to the TAG.

6.

In Outgoing goods, the TAG is read and checked for the time stamp in step 5.

The HMI screens automatically change to each respective station when a


transponder is positioned within their field.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

2 Solution
2.3 Hardware and software components
HMI screen
The example application is operated and monitored via HMI Runtime.
A detailed explanation of the user interface is given later in chapter 6.1.

Siemens AG 2014 All rights reserved

Figure 2-3

2.3

Hardware and software components

2.3.1

Validity
This application is valid for:

STEP 7 TIA Portal from V12

SIMATIC S7-1500

SIMATIC ET 200MP/200SP

Serial communication modules CM PtPs

SIMATIC RFID Reader RF200/RF300/RF600

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

2 Solution
2.3 Hardware and software components

2.3.2

Components used
The application was created with the following components:

Hardware components
Table 2-2

Siemens AG 2014 All rights reserved

Component

No.

Article number

Note

SIMATIC S7-1500
1516-3 PN/DP
V 1.4.0

6ES7516-3AN00-0AB0

Alternatively, a different
SIMATIC S7-1500 can also be
used.

PS 60W 120/230V
AC

6ES7507-0RA00-0AB0

Alternatively, a different
voltage supply can also be
used.

SIMATIC ET 200SP
IM155-6PN ST
V 1.1.1

6EP1332-4BA00

Alternatively, a SIMATIC
ET 200MP can also be used.

CM PtP
V 1.0.0

6ES7137-6AA00-0BA0

Serial communication module


for ET 200MP:
6ES7540-1AB00-0AA0
6ES7541-1AB00-0AB0

Server module

6ES7193-6PA00-0AA0

Not applicable for ET 200MP

SIMATIC RFID
Reader
RF310R

6GT2801-1AB10

SIMATIC RFID
Transponder
RF340T

1-n

6GT2800-4BB00

Alternatively, other SIMATIC


RFID transponders of the
RF300 series can also be
used

Reader cable
MOBY D
connecting cable

6GT2891-4EH50

Alternatively, MOBY D
connecting cables of different
lengths can also be used

Software components
Table 2-3
Component
STEP 7 TIA Portal V12

No.
1

Article number

Note

6ES7822-1AA02-0YA5

Sample files and projects


The following list includes all files and projects that are used in this example.
Table 2-4
Component

Note

90472232_Identification_ET200_CODE
_V10.zip

This zip file contains the STEP 7


project (including the necessary library
blocks).
This document

90472232_Identification_ET200_DOKU
_V10_EN.pdf
90472232_Identification_ET200_TIA_Li
brary_V10_EN.pdf

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

Library documentation (\2\)

3 Mode of Operation
3.1 Program overview

Mode of Operation

3.1

Program overview
Figure 3-1
Multi instance

Startup
[OB 100]

ANT

ET200MPSP_SET_
ANT_300

Main
[OB 1]

INCOMING
_GOODS

ET200MPSP_INIT

PROCESSING

ET200MPSP_WRITE

OUTGONG
_GOODS

ET200MPSP_READ

Siemens AG 2014 All rights reserved

INIT_RUN

ET200MPSP_RESET_
RF300

User program

Library block
Identification_ET200

Global data block

HMI_
INTERFACE

Global
data blocks

The entire user program is called up in cyclic OB 1(Main) of the SIMATIC CPU.
OB100 (Startup) is only executed when starting the CPU.
The parameter interfaces of the function blocks of the user program are assigned
with and controlled by tags from the HMI_INTERFACE data block.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

10

3 Mode of Operation
3.2 Reader Reset (INIT_RUN)
The table below briefly explains the tasks of the individual blocks.
Table 3-1

Siemens AG 2014 All rights reserved

Type

3.2

Block name

Task

OB

Main

Cyclic OB: executes the user program.

OB

Startup

Startup OB: run through when starting the CPU, and


in this application example, it triggers the initial reset
of the readers.

FB

INIT_RUN

Executes the Reset blocks of the block library.

FB

ANT

Executes the SET_ANT blocks of the block library.

FB

INCOMING_GOODS

Processes jobs of station 1: Incoming goods.

FB

PROCESSING

Processes jobs of station 2: Processing.

FB

OUTGONG_GOODS

Processes jobs of station 3: Outgoing goods.

FB

ET200MPSP_RESET_RF300

Library block: responsible for the reset of the RF300


reader.

FB

ET200MPSP_SET_ANT_300

Library block: responsible for on/off of antenna fields


of the RF300 readers.

FB

ET200MPSP_WRITE

Library block: responsible for reading from the RFID


transponder.

FB

ET200MP-SP_READ

Library block: responsible for writing to the RFID


transponder.

DB

HMI_INTERFACE

This data block forms the interface between the user


program and the HMI. The tags contained here
control the application example.

Reader Reset (INIT_RUN)

Function description
In the INIT_RUN function block, the ET200MP-SP_RESET_RF300 library block
is called up in the project once for each reader in order to reset the readers of the
warehouse. The reader resets are triggered via the startup OB (OB 100) when
starting the SIMATIC CPU. From the HMI, the user can execute additional resets
on demand.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

11

3 Mode of Operation
3.2 Reader Reset (INIT_RUN)
Block diagram

Siemens AG 2014 All rights reserved

Figure 3-2

Parameter interfaces
Table 3-2 Inputs
Parameter

Data
type

Explanation

INIT_HW_ID_1

BOOL

Hardware identifier of the first CM PtP

INIT_HW_ID_2

BOOL

Hardware identifier of the second CM PtP

INIT_HW_ID_3

BOOL

Hardware identifier of the third CM PtP

EXECUTE_RESET_1

BOOL

Starts the reset job for Reader 1

EXECUTE_RESET_2

BOOL

Starts the reset job for Reader 2

EXECUTE_RESET_3

BOOL

Starts the reset job for Reader 3

Table 3-3 Outputs


Parameter

Data
type

Explanation

RESET_x_Done

BOOL

Shows the successful reset job of the respective


reader

RESET_x_Error

BOOL

Shows the failed reset job of the respective reader

RESET_x_Status

DWORD

Gives the status for the reset job of the respective


reader

Explanations on the sequence


If one of the EXECUTE_RESET_x parameter interfaces is set, the respective
reader reset is triggered. The tags are automatically reset after the job has been

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

12

3 Mode of Operation
3.3 Antennae (ANT)
completed. The output parameters show the status of the jobs (Done, Busy,
Error, Status).
Within the block there are three networks, one each for every reader in the project.
The ET200MP-SP_RESET_RF300 library block is called once per network in
order to execute and evaluate the reset jobs for one respective reader.

3.3

Antennae (ANT)

Function description
In function block ANT, the ET200MP-SP_SET_ANT_RF300 library block is
called three times. The antennae of the SIMATIC RFID reader are switched on and
off via these blocks. These operations are controlled via tags in the HMI Interface
data block which are linked with the HMI.
Block diagram

Siemens AG 2014 All rights reserved

Figure 3-3

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

13

3 Mode of Operation
3.3 Antennae (ANT)
Parameter interfaces
Table 3-4 Inputs
Parameter

Data
type

Explanation

ANT_HW_ID_1

BOOL

Hardware identifier of the first CM PtP

ANT_HW_ID_2

BOOL

Hardware identifier of the second CM PtP

ANT_HW_ID_3

BOOL

Hardware identifier of the third CM PtP

ANT_1

BOOL

Control parameters for antennae on-off at Reader 1

ANT_2

BOOL

Control parameters for antennae on-off at Reader 2

ANT_3

BOOL

Control parameters for antennae on-off at Reader 3

EXECUTE_ANT_1

BOOL

Starts the reset job for Reader 1

EXECUTE_ANT_2

BOOL

Starts the reset job for Reader 2

EXECUTE_ANT_3

BOOL

Starts the reset job for Reader 3

Table 3-5 Outputs

Siemens AG 2014 All rights reserved

Parameter

Data
type

Explanation

ANT_x_Done

BOOL

Shows the successful antenna job of the respective


reader

ANT_x_Error

BOOL

Shows the failed antenna job of the respective reader

ANT_x_Status

DWORD

Gives the status for the antenna job of the respective


reader

ANT_x_Pres

BOOL

Shows the transponder presence at the respective


reader

Explanations on the sequence


If one of the EXECUTE_ANT_x parameter interfaces is set, the antenna is
switched on or off depending on the value of the respective HMI interface tag
ANT_Ant_x (1 or 0). The output parameters show the status of the jobs (Done,
Busy, Error, Status).
Within the block there are three networks, one each for every reader in the project.
The ET200MP-SP_SET_ANT_RF300 library block is called once per network in
order to execute and evaluate the ANT jobs for one respective reader.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

14

3 Mode of Operation
3.4 Station 1: INCOMING_GOODS

3.4

Station 1: INCOMING_GOODS

Function description
Function block INCOMING_GOODS processes the jobs of the first station of the
warehouse (Incoming goods). In the function block, the ET200MP-SP_INIT library
block is called. The reader initializes TAGs with a predefined byte pattern via this
block. This means that the entire memory area of the TAG is written with the byte
pattern. In this application 16#AF is used for this.
Block diagram

Siemens AG 2014 All rights reserved

Figure 3-4

Parameter interfaces
Table 3-6 Inputs
Parameter
IN_HW_ID

Data
type
UINT

Explanation
Hardware identifier of the CM PtP

Table 3-7 Outputs


Parameter

Data
type

Explanation

IN_Done

BOOL

Shows the successful processing of the incoming goods

IN_Busy

BOOL

Shows the faulty processing of the incoming goods

IN_Error

BOOL

Shows the faulty processing of the incoming goods

IN_Status

DWORD

Outputs the status of the incoming goods

Explanations on the sequence


Within the INCOMING_GOODS function block, the ET200MP-SP_INIT library
block is called. It is interconnected so it automatically triggers the INIT job when a
transponder is present in the antenna field (PRESENCE). The entire user memory
of the transponder is written with the AF (HEX) byte pattern here. The output
parameters show the status of the jobs (Done, Busy, Error, Status).

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

15

3 Mode of Operation
3.5 Station 2: PROCESSING

3.5

Station 2: PROCESSING

Function description
Function block PROCESSING processes the jobs of the second station of the
warehouse (Processing). The data of a TAG is read via the ET200MP-SP_READ
library block called within the function block. In the function block, it is checked
whether the byte pattern of the initialization exists. If this verification is successful,
a time stamp (hh.mm.ss) is created and written to the TAG via the ET200MPSP_WRITE library block.
Block diagram

Siemens AG 2014 All rights reserved

Figure 3-5

Parameter interfaces
Table 3-8 Inputs
Parameter
PROC_HW_ID

Data
type
UINT

Explanation
Hardware identifier of the CM PtP

Table 3-9 Outputs


Parameter

Data
type

Explanation

PROC_Done

BOOL

Shows the successful processing of the incoming goods

PROC_Busy

BOOL

Shows the faulty processing of the incoming goods

PROC_Error

BOOL

Shows the faulty processing of the incoming goods

PROC_Status

DWORD

Outputs the status of the incoming goods

Explanations on the sequence


In function block PROCESSING, the ET200MP-SP_READ library block is called
in the first network. It is interconnected so it automatically triggers the READ job
when a transponder is present in the antenna field (PRESENCE). The first 100
bytes of the user memory of the transponder are read here. In network 2, it is then
checked whether the initialization byte pattern (AF) exists in the receive buffer of
the READ block. If the byte pattern does not exist, an error is output (Error +
Status). If it exists, the current CPU time is read in network 3 and written to the
write buffer of library block ET200MP-SP_WRITE, which is called in network 5
and automatically starts the WRITE job to write the time stamp to the transponder.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

16

3 Mode of Operation
3.6 Station 3: OUTGOING_GOODS
The output parameters show the status of the jobs (Done, Busy, Error,
Status).
Figure 3-6
Hold TAG at
reader of
the station

Reading the TAG


(READ)

Check receive
buffer for INIT
value (AF)

Value
exists?
Yes

Siemens AG 2014 All rights reserved

Generate
time stamp

No

Status display
(Error + Status)

Write time
stamp on TAG
(WRITE)

Status display
(Done)

3.6

Station 3: OUTGOING_GOODS

Function description
In function block OUTGOING_GOODS, the operations of the third station of the
warehouse (outgoing goods) are processed. The data of the TAGs are read via
library block ET200MP-SP_READ and checked for an existing time stamp from
the second station of the warehouse.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

17

3 Mode of Operation
3.7 Library blocks
Block diagram
Figure 3-7

Parameter interfaces
Table 3-10 Inputs
Parameter

Siemens AG 2014 All rights reserved

OUT_HW_ID

Data
type
UINT

Explanation
Hardware identifier of the CM PtP

Table 3-11 Outputs


Parameter

Data
type

Explanation

OUT_Done

BOOL

Shows the successful processing of the incoming goods

OUT_Busy

BOOL

Shows the faulty processing of the incoming goods

OUT_Error

BOOL

Shows the faulty processing of the incoming goods

OUT_Status

DWORD

Outputs the status of the incoming goods

Explanations on the sequence


In function block OUTGONG_GOODS, the ET200MP-SP_READ library block is
called in network 1. It is interconnected in so it automatically triggers the READ job
when a transponder is present in the reader field (PRESENCE). In network 2 it is
checked whether the time stamp of station 2 exists in the receive buffer of the
READ block. If the time stamp does not exist, an error is output (Error + Status).
If it exists, a successful job processing is output (Done).

3.7

Library blocks
A precise description of the library blocks from the Identification_ET200 library is
available on the download page of this entry (\2\).

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

18

4 Configuration and Settings


4.1 SIMATIC PLC

Configuration and Settings


Note

4.1

The following settings need not be made in the application example any more;
they are already contained in the project. However, when using alternative
hardware, please follow the instructions in this chapter.

SIMATIC PLC
Table 4-1
No.

In TIA Portal you go to Devices & Networks > Device view and select controller
PLC_1. Right-click on the controller and select Change device.

Siemens AG 2014 All rights reserved

1.

Action

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

19

4 Configuration and Settings


4.1 SIMATIC PLC

Siemens AG 2014 All rights reserved

No.

Action

2.

In the dialog which appears you select the alternative CPU which you wish to use.
Pay attention to the version.
Then click OK to confirm.

3.

Download the project into your CPU.

Any settings from the previous CPU have been adopted automatically for the
new CPU.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

20

4 Configuration and Settings


4.2 SIMATIC ET 200 systems

4.2

SIMATIC ET 200 systems


Table 4-2
No.

Action
In TIA Portal you go to the network view. Right-click on the ET 200 system and
select Delete. Confirm with Yes.

2.

Use drag&drop to move the alternative ET 200 system into the workspace, and
connect the Ethernet port to the subnet of CPU and HMI.

3.

Go to the settings of the ET 200 system and assign an IP address. Avoid doubleassignment for the IP addresses in your network.

Siemens AG 2014 All rights reserved

1.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

21

4 Configuration and Settings


4.2 SIMATIC ET 200 systems
No.

Action
Go to Online > Accessible Nodes.

5.

Select your ET 200S system and confirm with Show.

6.

In the project tree you double-click on Online & Diagnostics for your ET 200
system.

Siemens AG 2014 All rights reserved

4.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

22

4 Configuration and Settings


4.2 SIMATIC ET 200 systems
No.

Action
Go to Functions > Assign name and enter the PROFINET device name of your
ET 200 systems there. Confirm with Assign name.

8.

Download the project into your CPU.

Siemens AG 2014 All rights reserved

7.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

23

4 Configuration and Settings


4.3 Configuration of the CM PtP communication modules

4.3

Configuration of the CM PtP communication modules


Table 4-3
No.

Action
In TIA Portal you go to Devices & Networks > Device view and select the ET 200
system. Use drag&drop to move the serial communication module used by you
from the hardware catalog to a slot of the ET 200 system.

2.

Go to the settings of the communication module and select the parameters as


shown in the pictures below:

Siemens AG 2014 All rights reserved

1.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

24

4 Configuration and Settings


4.3 Configuration of the CM PtP communication modules
No.

Action

Repeat this process twice (each of the three RFID readers of this application
needs its own communication module).

4.

Download the project into your CPU.

Siemens AG 2014 All rights reserved

3.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

25

4 Configuration and Settings


4.4 Changes to the STEP 7 user program

4.4
Note

Changes to the STEP 7 user program


The following changes need to be performed if you have configured the
alternative ET 200 system.
Table 4-4

Siemens AG 2014 All rights reserved

No.

Action

1.

In the project tree you go to the Program blocks folder.

2.

At the function blocks ANT, INIT_RUN, INCOMING_GOODS, PROCESSING


and OUTGOING_GOODS the parameters HW_ID in Main. The correct values
are available in the hardware configuration of your ET 200 system in the hardware
identifier of the serial communication module (see 3).

3.

In order to determine the hardware identifier, select your ET 200 system from
Device view. Go to Properties > Hardware identifier.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

26

4 Configuration and Settings


4.4 Changes to the STEP 7 user program
No.
Download the project into your CPU.

Siemens AG 2014 All rights reserved

4.

Action

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

27

5 Installation and Commissioning


5.1 Installing the hardware

Installation and Commissioning


This chapter discusses the steps required to put the example into operation with
the code from the download and the hardware list.

5.1

Installing the hardware


The figure below shows the hardware setup.
Figure 5-1
PM

S7-1500
Programming device
HMI Runtime

PROFINET / IE
L+ (24 V)

Siemens AG 2014 All rights reserved

M (0 V)

ET 200SP with CM PtPs

Reader cable

RFID Reader

Note

The setup guidelines for S7-1500 (\3\), ET 200MP/SP (\4\) and RFID Reader
(\5\) must be observed.

Hardware installation of the S7 station


Table 5-1
No.

Action

1.

Mount the individual modules to a suitable module rack.

2.

Connect the voltage supply to the power grid (230V AC).

3.

Connect the voltage supply to the S7-CPU and ensure the correct polarity.

4.

Connect the PROFINET interface of the PG/PC to the PROFINET interface of the
S7-CPU

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

28

5 Installation and Commissioning


5.2 Installing the software
Hardware setup of the ET 200 system
Table 5-2
No.

Action

1.

Mount the individual modules to a suitable module rack.

2.

Connect the voltage supply to the ET 200 system and ensure the correct polarity.

3.

Connect the PROFINET interface of the ET 200 system to the PROFINET interface
of the S7-CPU

4.

Connect the serial communication modules.

5.

For ET 200SP: connect a server module at the end.

Connecting the RFID readers


Table 5-3
No.

Action

1.

Connect the RFID readers to the serial communication module of the ET 200
system via the reader cables (see Figure 5-2).

2.

Connect the voltage supply to the RFID readers (see Figure 5-2).

Siemens AG 2014 All rights reserved

Figure 5-2 Connection diagram


CM PtP connection block
L+ (Wei)

RFID Reader

M (Grn)
T(A)- (11) : E- (Pink)

5.2

11

12

13

14

R(A)- (12) : S- (Braun)


T(B)+ (13) : E+ (Grau)
R(B)+ (14) : S+ (Gelb)

Installing the software


This chapter describes the steps necessary to install the required software.
Table 5-4
No.

Action

1.

Install TIA V12 or higher

2.

Install WinCC Professional V12


(latest update)

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

Note
Follow the instructions of the
installation program.
Follow the instructions of the
installation program.

29

5 Installation and Commissioning


5.3 Installation of the STEP 7 V12 project

5.3

Installation of the STEP 7 V12 project


This chapter describes the steps necessary for the installation of the STEP 7 V12
project.
Table 5-5
No.

5.4

Action

1.

The STEP 7 V12 project is available on the HTML page from where you
have downloaded this document. Save project
90472232_Identification_TIA_CODE_V10.zip onto your hard drive.

2.
3.

Unzip the project.


In TIA Portal you open the STEP 7 V12 project in the TIA portal.
Project > Open > Browse

4.

Now the project is at your disposal.

Commissioning
The following instruction shows how to commission the example project.

Siemens AG 2014 All rights reserved

Table 5-6
No.

Action

1.

When using alternative hardware, please perform the changes described in


chapter 5.

2.

Assign an IP from IP band 192.168.0.5-254 to your programming device (subnet:


255.255.255.0).

3.

Download the project into your CPU.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

30

5 Installation and Commissioning


5.4 Commissioning

Siemens AG 2014 All rights reserved

No.

Action

4.

Start HMI Runtime.

5.

The application is operated via HMI Runtime.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

31

6 Operation of the Application


6.1 Menu navigation

Operation of the Application

6.1

Menu navigation

Main menu
Figure 6-1 Operator user interface of HMI Runtime

Siemens AG 2014 All rights reserved

Main menu

Example application

Note

Industry Online Support Information

In the user interface of the HMI you can change the display language of each
picture from German to English and vice versa by clicking on the flag icon

The example application can be started via the main menu and continuing
information be called up via the Industry Online support.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

32

6 Operation of the Application


6.1 Menu navigation
Example application
Figure 6-2

1
2
3
4
5

7
6

Table 6-1

Siemens AG 2014 All rights reserved

No.

Note

Description

1.

General menu navigation: Start screen, Settings, Back

2.

Picture for station 1: Incoming goods

3.

Picture for station 2: Processing

4.

Picture for station 3: Outgoing goods

5.

Picture for Reader options

6.

Set language (German/English)

7.

Status display of the stations

When holding a TAG to the antenna field of an RFID reader, the HMI screen
automatically changes to the respective station.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

33

6 Operation of the Application


6.2 Incoming goods

6.2

Incoming goods

Siemens AG 2014 All rights reserved

Figure 6-3

Table 6-2
No.

Operation

1.

Hold a TAG to the reader of station 1.

2.

Status display Busy of station 1 lights up as long as the initialization continues.

3.

After successful termination of the initialization, the status display Done lights up
(until a new job is pending). Furthermore, a status description is output in plain text.

4.

After faulty termination of the initialization, the status display Error lights up (until a
new job is pending). Furthermore, a status description is output in plain text.

5.

Incoming goods has now been run through.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

34

6 Operation of the Application


6.3 Processing

6.3

Processing

Siemens AG 2014 All rights reserved

Figure 6-4

Table 6-3
No.

Operation

1.

Hold the TAG to the reader of station 2.

2.

Status display Busy of station 2 lights up as long as the verification for initialization
and the description of the TAGs with the time stamp continues.

3.

After successful termination of the jobs of station 2, the status display Done lights
up (until a new job is pending). Furthermore, a status description is output in plain
text.

4.

After failed termination of the jobs of station 2, the status display Error lights up
(until a new job is pending). Furthermore, a status description is output in plain text.

5.

Processing has now been run through.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

35

6 Operation of the Application


6.4 Outgoing goods

6.4

Outgoing goods

Siemens AG 2014 All rights reserved

Figure 6-5

Table 6-4
No.

Operation

1.

Hold the TAG to the reader of station 3.

2.

Status display Busy of station 3 lights up as long as the verification for the time
stamp continues.

3.

After verification of station 3 has been completed successfully, the status display
Done lights up (until a new job is pending). Furthermore, a status description is
output in plain text.

4.

After the verification of station 3 has been terminated with an error, the status
display Error lights up (until a new job is pending). Furthermore, a status
description is output in plain text.

5.

Outgoing goods has now been run through.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

36

6 Operation of the Application


6.5 Reader options

6.5

Reader options
Figure 6-6

Siemens AG 2014 All rights reserved

The following actions are available to you:


Table 6-5
No.

Description

1.

The antennas of the individual RFID readers can be switched on and off via these
slide switches.
The status descriptions on these reader jobs is given underneath the respective
slide switches.

2.

The RFID readers can be reset manually. This function can be used to restore the
functioning of the reader after an error (red LED at the reader or editing fields at one
of the three stations).
The status descriptions on these reader jobs is given underneath the respective
switches.

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

37

7 Related Literature

Related Literature
Table 7-1
Topic
\1\

Siemens Industry
Online Support

http://support.automation.siemens.com

\2\

Download page of the


entry

http://support.automation.siemens.com/WW/view/en/90472232

\3\

SIMATIC S7-1500
Automation System
SIMATIC ET 200SP
Distributed I/O
System
SIMATIC Sensors
RFID systems
SIMATIC RF300

http://support.automation.siemens.com/WW/view/en/59191914

\4\

\5\

Siemens AG 2014 All rights reserved

Title

http://support.automation.siemens.com/WW/view/en/58649293

http://support.automation.siemens.com/WW/view/en/21738946

History
Table 8-1
Version

Date

V1.0

05/2014

RFID serially via ET 200


Entry ID: 90472232, V1.0,

05/2014

Modifications
First version

38

You might also like