Data Structure Of The Ident Profile - Siemens Simatic Ident Function Manual

Rfid systems ident profile and ident blocks, standard function for ident systems
Hide thumbs Also See for Simatic Ident:
Table of Contents

Advertisement

Output parameter
UIN0
UIN1
UIN2
UIN3
TRLEN
3.5.3

Data structure of the Ident profile

Each time the Ident profile is called, you need to supply the parameters ("HW_CONNECT",
"CMDREF", "TXREF" and "RXREF") with values as described in section "Structure of the
Ident profile (Page 71)".
The call for the Ident profile is always via the input parameter "HW_CONNECT" and the
"IN/OUT" parameters "CMDREF", "TXREF" and "RXREF". All three parameters need to be
created in a data block. The relationship between the three "IN/OUT" parameters is
described in greater detail below:
● CMDREF (command buffer):
– Array[1...n] of CMD_STRUCT
● TXREF (send buffer):
– Array[1...n] of Byte
– For Any, other data types/UDTs can also be created.
● RXREF (receive buffer):
– Array[1...n] of Byte
– For Any, other data types/UDTs can also be created.
Ident profile and Ident blocks, standard function for Ident systems
Function Manual, 10/2018, C79000-G8976-C387-04
Data type
Default value
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
INT
0
3.5 Programming the Ident profile
Meaning
With RFID readers, the number of transponders in the an-
tenna field is indicated. UIN0 ... UIN3 can be interpreted as
binary values.
Example:
UIN3 = 0; UIN2 = 0; UIN1 = 1; UIN0 = 1
⇒ 3 transponders
With optical reader devices, the various states of the reader
are displayed.
UIN0: Corresponds to "IN_OP" bit of the reader
UIN1: Corresponds to "RDY" bit of the reader
UIN2 + UIN3: These two bits are interpreted as an un-
signed value (bit 2 is the less significant bit) that repre-
sents the number of available decoded codes. If the
value = 3, three or more decoded codes are available.
Number of data elements received after successful execu-
tion of the command.
Setting parameters for blocks
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents