EasyManua.ls Logo

Siemens SIMATIC Ident - Appendix A; Service and Support

Siemens SIMATIC Ident
142 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Setting parameters for blocks
3.5 Programming the Ident profile
Ident profile and Ident blocks, standard function for Ident systems
Function Manual, 10/2018, C79000-G8976-C387-04
79
3.5.4.1
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 100
areas available in which commands can be set. The parameter "CMDSEL" specifies which
command [1...n] is started with "EXECUTE".
Remember that the first element in the buffer is always reserved for "INIT". This means that
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 3- 55 Command structure of the parameters
Parameter
Data type
Default val-
ue
Description
CMD BYTE B#16#0 Command code (compare the table in the section
"Commands of the Ident profile (Page 77)".)
OFFSETBUFFER INT 0 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.
EPCID_UID ARRAY[1...6
2] OF BYTE
B#16#0 Buffer for up to 62 bytes EPC-ID, 8 bytes UID or 4 bytes
handle ID.
2 - 62-byte EPC-ID is entered at the start of the buff-
er (length is set by "LEN_ID")
8-byte UID is entered at the start of the buffer
("LEN_ID = 8")
4-byte handle ID must be entered in the array ele-
ment [5]-[8] ("LEN_ID = 8")
Default value: 0x00 unspecified single tag access
LEN_DATA
WORD
W#16#0
Amount of data to be read/written in bytes
ADDR_TAG
DWORD
DW#16#0
Physical start address on the transponder
ATTRIBUTES BYTE B#16#0 Sub command name for several commands (e.g.
"READER-STATUS", "INVENTORY", etc.)
CHAINED BOOL FALSE
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.
CONFIG BYTE B#16#0
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

Table of Contents

Other manuals for Siemens SIMATIC Ident

Related product manuals