Data Structure Definition - Siemens SIMATIC Ident Function Manual

For moby u, moby d, rf200, rf300
Hide thumbs Also See for SIMATIC Ident:
Table of Contents

Advertisement

Examples/applications

6.6 Data structure definition

6.6
Data structure definition
The developer can define different RFID data structures depending on the structure of the
application. Some example structures are given below.
1st example
3 readers are configured. One command is assigned to each reader. RFID parameters (DB
45), RFID commands (DB 47), and data (DB 48) are assigned to different data blocks. The
declaration view is shown.
Block: DB45; MOBY DB
Address
0.0
+0.0
*50.0
=200.0
Block: DB47; Command
Address
0.0
+0.0
*10.0
=40.0
Block: DB48; Data
Address
0.0
+0.0
*1.0
=1024.0
When the data blocks have been defined, the "Actual value" of the data must be edited using
the "View" > "Data View" menu.
70
Name
Type
STRUCT
Reader ARRAY [1..4]
UDT10
END_STRUCT
Name
Type
STRUCT
Command ARRAY [1..4]
UDT20
END_STRUCT
Name
Type
STRUCT
Data ARRAY [1..1024]
BYTE
END_STRUCT
Initial value
Initial value
Initial value
FB 45 for MOBY U, MOBY D, RF200, RF300
Function Manual, 07/2012, J31069-D0166-U001-A4-7618
Comment
Comment
Comment

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fb 45

Table of Contents