Programming
6.2 Programming via USB/RS232 interface (using DLL functions)
SIMATIC RF1000
40
Operating Instructions, 02/2020, C79000-G8976-C432-07
Parameter
Description
Status
•
OK
•
ERR_NOMESSAGE
•
ERR_AR_DISABLED
You will find more information on the reader status in the section "Status
resp
Buffer for the received data
•
Byte 0: Message type (0x00 for card identification)
•
Byte 1: Message length in bytes
•
Byte 2: ... message 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-
6.2.1.17
Return values
The following table contains a list of the possible values that the reader can return for the
various functions.
Table 6- 19 Return values
Value Variable
Description
0x00
BRP_OK
No error has occurred
0x01
BRP_ERR_STATUS
The reader has returned a status code that is
≠
"0".
0x02
BRP_ERR_BUSY
The reader is currently processing a function.
0x03
BRP_ERR_IDLE
The reader is waiting for a function.
0x04
BRP_ERR_TIMEOUT
The response time has been exceeded.
0x05
BRP_ERR_CORRUPTED_FRAME
A bad frame was detected.
0x06
BRP_ERR_UNEXPECTED_FRAME An unexpected frame was detected.
0x07
BRP_ERR_GENERAL_IO
The underlying serial port has caused an error.
0x08
BRP_ERR_BUFFER_OVERFLOW
The reader sent more data than expected.
0x09
BRP_ERR_NO_MORE_HANDLES
There is no free session key.
0x0A
BRP_ERR_INSUFFICIENT_MEM
There is not enough memory to generate a new
session key.
0x0B
BRP_ERR_WRONG_HANDLE
The specified session key does not exist.
0x0C
BRP_ERR_WRONG_PARAMETERS The parameters of a function are incorrect.
Содержание SIMATIC RF1000 Series
Страница 14: ...Installation SIMATIC RF1000 14 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 18: ...Connecting SIMATIC RF1000 18 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 68: ...Technical specifications SIMATIC RF1000 68 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 70: ...Dimension drawing SIMATIC RF1000 70 Operating Instructions 02 2020 C79000 G8976 C432 07 ...
Страница 76: ...Appendix A 2 Ordering data SIMATIC RF1000 76 Operating Instructions 02 2020 C79000 G8976 C432 07 ...