Programming
6.3 Programming via the RS232 interface
Byte
5
6
7
8
9
10 ... 17 0x33
18
Table 6- 38
Byte
0
1
2
3 ... 4
5
Table 6- 39
Byte
0
1
2
3
4
5
6
40
Value
Description
0x01
VHL file (e.g. 0x01)
0x00
Address (e.g. 0x42)
0x42
0x00
Length (e.g. 0x08)
0x08
Data to be written (e.g. 0x33)
0xXX
Optional checksum "BCC8" (when the value "0x1C" is set in byte 0)
Response telegram without errors
Value
Description
0x0C
Without checksum
0x1C
With checksum
0x01
DevCode
0x03
CmdCode
0x00
Parameter length (0 bytes)
0xXX
Optional checksum "BCC8" (when the value "0x1C" is set in byte 0)
Response telegram with errors
Value
Description
0x8C
Without checksum
0x9C
With checksum
0x01
DevCode
0x03
CmdCode
0x01
Parameter length (e.g. 1 byte)
0x00
0x03
Status e.g. 0x03 ("HF_ERR")
Possible status codes:
CARD_NOT_SELECTED_ERR
•
HF_ERR
•
HW_ERR
•
CONFCARD_READ
•
AUTH_ERR
•
WRITE_ERR
•
0xXX
Optional checksum "BCC8" (when the value "0x9C" is set in byte 0)
Operating Instructions, 02/2019, C79000-G8976-C432-04
SIMATIC RF1000