EasyManuals Logo

Siemens SIMATIC RF1040R User Manual

Siemens SIMATIC RF1040R
68 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
Page #34 background imageLoading...
Page #34 background image
Programming
6.2 Programming via USB interface
SIMATIC RF1000
34 Operating Instructions, 11/2019, C79000-G8976-C432-06
6.2.1.14 Autoread_GetMessage
This function reads data from a transponder located in the antenna field. Up to 16 bytes of
data can be read autonomously with this function.
Function call
int
brp_exec_comand(
int Handle,
byte devcode,
byte cmdcode,
byte * param,
byte param_len,
init timeout,
init * Status,
byte * resp,
int * resp_len,
init max_resp_len
);
Table 6- 16 Description of the parameters
Parameter
Description
brp_exec_comand
The parameter reads data from a transponder located in the antenna field.
Handle
The session key returned by the function "brp_open_usb_session".
devcode
0x05
cmdcode
0x01
param
--
param_len
0x00
timeout
Time in [ms] until the action is aborted (100 is the recommended value).
Status
OK
ERR_NOMESSAGE
ERR_AR_DISABLED
You will find more information on the reader status in the section "Status
codes (Page 48)".
resp Buffer for the received data
Byte 0: Message type (0x00 for card identification)
Byte 1: Message length in bytes
Byte 2: ... message length +1: Message data
resp_len
Current length of the response data in bytes
max_resp_len
Maximum length of the response data
Return value
BRP_OK
You will find more information on return values in the section "Return val-
ues (Page 35)".

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC RF1040R and is the answer not in the manual?

Siemens SIMATIC RF1040R Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC RF1040R
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals