Industry Automation and Drive Technologies - SCE

5.8Basics of Entries at Command Block FC11

The values for DB47 are specified by means of the input variables of FC11.

One UDT21 is used for each request or command.

Data View of the UDT21

Command Overview

 

Command (hex)

 

 

 

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Normal

 

Chained*

 

 

 

 

 

 

 

 

01

 

41

 

Write data to MDS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

02

 

42

 

Read data from MDS

 

 

 

 

03

 

43

 

Initialize MDS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

04

 

44

 

Reader status

 

 

 

 

06

 

--

 

NEXT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

08

 

48

 

END; end communication with the MDS

 

 

 

0A

 

4A

 

Aerial on/off

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0B

 

4B

 

MDS status

 

 

 

 

 

*) 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

 

 

 

 

 

 

 

 

 

Page 36
Image 36
Siemens DP Data View of the UDT21 Command Overview, Writing data to the transponder, Reading data from the transponder