EasyManua.ls Logo

Siemens SIMATIC MV440 - Page 265

Siemens SIMATIC MV440
424 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Process interfacing via an automation system (PLC, PC)
10.3 Control with FB 45 and Ident profile
SIMATIC MV420 / SIMATIC MV440
Operating Instructions, 04/2013, A5E02371045-06
263
Command: Read match string
To have the current match string returned when the READ command is received, the MV
command "Read match string" (WRITE command) must be sent immediately before, see
WRITE commands/MV command interface (Page 248).
After proc
essing the READ command, the following data is available in the command data
area:
If the length of the data to be read ("MOBY_CMD".length or "PIB_COMMAND".Length) is not
n + 2 bytes (n = total length of the match string) the match string is truncated or the
command data area is padded with 0x00.
Table 10- 37 Moby_CMD
Command
[hex]
Sub_
Command
[hex]
Length
[dec]
Address_
MDS [hex]
DAT_DB_number
[dec]
DAT_DB_address
[dec]
Number of the
data DB (for example
48)
Pointer to the start
word
(for example 0)
02 - ≥ total
length
of the
match
string
+ 2
0
FB45 stores the read result data here.
Table 10- 38 PIB_COMMAND
Parameter Value
CMD 0x70
OffsetBuffer 0x00
UID 0x00
Length ≥ total length of the match string + 2
StartAddress 0x00
Table 10- 39 Command data area (FB45: Data DB, RFID standard profile: TXBUF or RXBUF)
Address Value Meaning
0x0000 0x0 – 0xF Length of the total match string
(more significant byte)
0x0001 0x00-0xFF Length of the total match string
(less significant byte)
0x0002 1st character of the match string
n + 2 nth character of the match string

Table of Contents

Related product manuals