Command Structure - Siemens SIMATIC RF650R Configuration Manual

Simatic ident
Hide thumbs Also See for SIMATIC RF650R:
Table of Contents

Advertisement

Interface to the SIMATIC controller
7.7 Programming the Ident profile
7.7.3

Command structure

Before you can start a command with "EXECUTE" or "INIT", you need to define the
command. To allow simple definition of a command, the command buffer "CMDREF" was
created using the "IID_CMD_STRUCT" data type. In the command buffer, you have 10 areas
available in which commands can be programmed. The parameter "CMDSEL" specifies
which command [1...10] is started with "EXECUTE".
Remember that the first element in the buffer is always reserved for "INIT". In other words if
"INIT" is set, "CMDSEL" must be set to "1" and element "1" in the CMD buffer must be filled
with the relevant settings.
The following table contains the command structure of the parameters. Not every command
uses all parameters.
Table 7- 20
Command structure of the parameters
Parameter
CMD
OFFSETBUFFER
EPCID_UID
LEN_DATA
ADR_TAG
ATTRIBUTES
CHAINED
CONFIG
124
Data type
Default val-
ue
BYTE
B#16#0
INT
0
ARRAY[1...6
B#16#0
2] OF BYTE
WORD
W#16#0
DWORD
DW#16#0
BYTE
B#16#0
BOOL
FALSE
BYTE
B#16#0
Description
Command code (compare the table in the section
"Overview of the commands (Page 123)".)
Relative offset within the received data buffer. The pa-
rameter specifies the address within the memory area at
which the first byte of the received data must be stored
or the first byte of the data to be sent is expected.
All subsequent bytes must be stored in ascending ad-
dresses.
Buffer for up to 62 bytes EPC-ID
2 - 62-byte EPC-ID is entered at the start of the buffer
(length is set by "LEN_ID")
Default value: 0x00 ≙ unspecified single tag access
Amount of data to be read/written in bytes
Physical start address on the transponder
Sub command name for several commands (e.g.
"READER-STATUS", "INVENTORY", etc,)
0x00 = not chained
0x01 = chained
All chained commands must have this bit set except the
last command. The commands are worked through in
the order in which they are located in the CMD structure.
0x01 = reset, no configuration data
0x02 = no reset, configuration data to be sent
0x03 = reset, configuration data to be sent
0x80 = no reset, only individual parameters
Configuration Manual, 10/2015, C79000-G8976-C386-03
SIMATIC RF650R/RF680R/RF685R

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic rf680rSimatic rf685r

Table of Contents