Programming via SIMATIC controller
8.6 Programming the Ident profile
SIMATIC RF650R/RF680R/RF685R
Configuration Manual, 03/2018, C79000-G8976-C386-06
147
Example of command structure
Table 8- 35 Example of a command structure with 3 commands (without EPC-ID)
Command Parameter
Value
Description
Command
1
IID_CMD_STRUCT[2].CMD
0x69
Execute an inventory with a
duration of 2 inventories.
IID_CMD_STRUCT[2].ATTRIBUTES
0x80
IID_CMD_STRUCT[2].EXT_UHF.
INVENTORY.DURATION
2
IID_CMD_STRUCT[2].EXT_UHF.
INVENTORY.DUR_UNIT
1
IID_CMD_STRUCT[2].OPTIONS.CHAINED true
Command
2
IID_CMD_STRUCT[3].CMD
0x70
Read 10 bytes from the user
bank starting at address 0.
IID_CMD_STRUCT[3].EXT_UHF.MEM_
BANK
3
IID_CMD_STRUCT[3].LEN_DATA
10
IID_CMD_STRUCT[3].ADDR_TAG
0
IID_CMD_STRUCT[3].OPTIONS.CHAINED true
Command
3
IID_CMD_STRUCT[4].CMD
0x71
Write 10 bytes to the user bank
starting at address 20.
IID_CMD_STRUCT[4].EXT_UHF.MEM_
BANK
3
IID_CMD_STRUCT[4].LEN_DATA
10
IID_CMD_STRUCT[4].ADDR_TAG
20
IID_CMD_STRUCT[4].OPTIONS.CHAINED false
In the chaining, the entire "IID_CMD_STRUCT" buffer ("IID_CMD_STRUCT[1...10]") can be
used. The start of the chain is set with the "CMDSEL" parameter.
If several commands are executed in the chain for which data is returned, the position of the
data in the receive buffer "RXREF" can be set for each individual command using the
"IID_CMD_STRUCT[x].OFFSETBUFFER" parameter.
Note
"IID_CMD_STRUCT[1]" reserved for "INIT"
In the Ident profile, the "IID_CMD_STRUCT[1]" parameter is reserved for "INIT". If you want
to use "IID_CMD_STRUCT[1]" for another command, make sure that the reset parameters
are written into this parameter when there is an "INIT".