Commands; Syscmd_Reset - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Implementation for connection via a SIMATIC Ident communication module
Communication takes place using the ident blocks / the ident profile or the function block FB
45. The "Write" command handles the sending of data and the "Read" command the receipt
of data. The maximum length of the telegrams (header and data) is 233 bytes or 229 bytes
with the Ident profile.
Before you execute a "Read" or "Write" command for the first time, you need to once execute
a "Reset" command ("syscmd_reset"). With the "Reset" command, communication between
the CM and reader is reset and the buffer is emptied.
Alternatively, you can also communicate with the reader via OPC UA or XML. In this case, the
data is sent and received using the OPC UA methods "WriteTag" and "ReadTag" or the XML
commands "writeTagMemory" and "readTagMemory".
Checksum calculation ("BCC8")
Note that all bytes of the telegram must be linked with an "XOR" logical operator to calculate the
checksum. The result is shown in the "Optional checksum" field.
7.3.2

Commands

For a textual description of how the various commands work, refer to the section "Functions of
the USB/RS232 interface for Windows (Page 34)".
7.3.2.1

syscmd_reset

Max. reader response time: 100 ms
Table 7-22
Byte
0
1
2
3 ... 4
5
Table 7-23
Byte
0
1
2
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10
7.3 Programming via the RS232 interface (using the Freeport protocol)
Request telegram
Value
Description
0x0C
Without checksum
0x1C
With checksum
0x00
DevCode of the command set containing the command to be called.
0x03
CmdCode of the command to be called.
0x00
Parameter length (0 bytes)
0xC2
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.
0x03
CmdCode of the command to be called.
Programming
55

Advertisement

Table of Contents
loading

Table of Contents