Programming
6.3 Programming via the RS232 interface (using the Freeport protocol)
6.3.2.4
syscmd_set_port
Max. reader response time: 100 ms
Table 6- 27
Byte
0
1
2
3
4
5
6
7
Table 6- 28
Byte
0
1
2
3
4
5
46
Request telegram
Value
Description
0x0C
Without checksum
0x1C
With checksum
0x00
DevCode of the command set containing the command to be called.
0x07
CmdCode of the command to be called.
0x02
Parameter length (2 bytes)
0x00
0x00
port_msk:
0xXX
0x00: LED and acoustic signal
•
0x01: LED lit green
•
0x02: LED lit red
•
0x03: LED lit orange
•
0x04: Acoustic signal (only for RF1040R/RF1070R)
•
0x05: Acoustic signal (only for RF1040R/RF1070R) and LED lit green
•
0x06: Acoustic signal (only for RF1040R/RF1070R) and LED lit red
•
0x07: Acoustic signal (only for RF1040R/RF1070R) and LED lit orange
•
0xXX
Optional checksum (when the value "0x1C" is set in byte 0)
Response telegram without errors
Value
Description
0x0C
Without checksum
0x1C
With checksum
0x00
DevCode of the command set containing the command to be called.
0x07
CmdCode of the command to be called.
0x00
Parameter length (0 bytes)
0x00
0xC6
Optional checksum (when the value "0x1C" is set in byte 0)
Operating Instructions, 02/2020, C79000-G8976-C432-07
SIMATIC RF1000