Programming via SIMATIC controller
8.5 Programming Ident blocks
SIMATIC RF650R/RF680R/RF685R
134
Configuration Manual, 03/2018, C79000-G8976-C386-06
8.5.2.6
Write_EPC_ID
The "Write_EPC_ID" block overwrites the EPC-ID of the RF600 transponder and adapts the
length of the EPC-ID in the memory of the transponder. The new EPC-ID length to be written
is specified with the "LEN_ID_NEW" parameter and the previous EPC-ID is specified using
the "LEN_ID" and "EPCID_UID" parameters.
Make sure that when you execute the block only one transponder is located in the antenna
field. This ensures that the identification when writing the ID is unique. If there is more than
one transponder in the antenna field, a negative response is returned.
Figure 8-16 "Write_EPC_ID" block
Table 8- 17 Explanation of the "Write_EPC_ID" block
Parameter
Data type
Default values
Description
LEN_ID_NEW
Byte
W#16#0C
Length of the current EPC-ID
LEN_ID
Byte
B#16#0
Length of the previous EPC-ID
EPCID_UID
Array[1...62] of
Byte
0
Previous EPC ID
IDENT_DATA
Any / Variant
0
Current EPC ID
Note:
For Variant, currently only an "Ar-
ray_of_Byte" with a variable length
can be created. For Any, other data
types/UDTs can also be created.