Programming
6.3 Programming via the RS232 interface
SIMATIC RF1000
Operating Instructions, 02/2019, C79000-G8976-C432-04
39
Table 6- 35 Response telegram without errors
Byte
Value
Description
0
0x0C
Without checksum
0x1C
With checksum
1
0x01
DevCode
2
0x02
CmdCode
3
0x08
Parameter length (e.g. 8 bytes)
4
0x00
5 ... 12 0xCC
Read data (e.g. 0xCC)
13
0xXX
Optional checksum "BCC8" (when the value "0x1C" is set in byte 0)
Table 6- 36 Response telegram with errors
Byte
Value
Description
0
0x8C
Without checksum
0x9C
With checksum
1
0x01
DevCode
2
0x02
CmdCode
3
0x01
Parameter length (e.g. 1 byte)
4
0x00
5
0x06
Status e.g. 0x06 ("READ_ERR")
Possible status codes:
•
CARD_NOT_SELECTED_ERR
•
HF_ERR
•
HW_ERR
•
CONFCARD_READ
•
AUTH_ERR
•
READ_ERR
6
0xXX
Optional checksum "BCC8" (when the value "0x9C" is set in byte 0)
6.3.2.9
vhl_write
Max. reader response time: 3 s
Table 6- 37 Request telegram
Byte
Value
Description
0
0x0C
Without checksum
0x1C
With checksum
1
0x01
DevCode
2
0x03
CmdCode
3
0x0D
Parameter length (e.g. 13 bytes)
4
0x00