Programming
6.3 Programming via the RS232 interface (using the Freeport protocol)
SIMATIC RF1000
46
Operating Instructions, 02/2020, C79000-G8976-C432-07
6.3.2.4
syscmd_set_port
Max. reader response time: 100 ms
Table 6- 27 Request telegram
Byte
Value
Description
0
0x0C
Without checksum
0x1C
With checksum
1
0x00
DevCode of the command set containing the command to be called.
2
0x07
CmdCode of the command to be called.
3
0x02
Parameter length (2 bytes)
4
0x00
5
0x00
port_msk:
•
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
6
0xXX
7
0xXX
Optional checksum (when the value "0x1C" is set in byte 0)
Table 6- 28 Response telegram without errors
Byte
Value
Description
0
0x0C
Without checksum
0x1C
With checksum
1
0x00
DevCode of the command set containing the command to be called.
2
0x07
CmdCode of the command to be called.
3
0x00
Parameter length (0 bytes)
4
0x00
5
0xC6
Optional checksum (when the value "0x1C" is set in byte 0)