Programming Via The Rs232 Interface; Implementation Of The System Jobs; System Jobs; Syscmd_Reset - Siemens SIMATIC RF1000 Series Operating Instructions Manual

Simatic ident
Hide thumbs Also See for SIMATIC RF1000 Series:
Table of Contents

Advertisement

Programming

6.3 Programming via the RS232 interface

6.3
Programming via the RS232 interface
For connection of the RF1070R reader to a SIMATIC controller, we recommend using the
freeport protocol. The freeport protocol allows you to communicate with the reader directly
on the lowest level. A USB connection is not required for this.
The telegrams are listed in a byte coding in the following subsections; you can apply the byte
coding directly to the user program of the controller.
The communication parameters of the RS232 interface of the reader are set as follows in the
factory:
● No stop bits
● No parity
● Transmission speed: 115.2 kBd
6.3.1

Implementation of the system jobs

The different jobs are described in more detail below. Note that you must wait for the
respective response telegram (reader response time) before you can send new request
telegrams.
The parameter length is entered in "Big Endian" format and always refers to the user data as
of byte 5 excluding the optional checksum. All other data is output in "Little Endian" format.
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.
6.3.2

System jobs

6.3.2.1

syscmd_reset

Max. reader response time: 100 ms
Table 6- 17
Byte
0
1
2
3 ... 4
5
32
Request telegram
Value
Description
0x0C
Without checksum
0x1C
With checksum
0x00
DevCode
0x03
CmdCode
0x00
Parameter length (0 bytes)
0xXX
Optional checksum "BCC8" (when the value "0x1C" is set in byte 0)
Operating Instructions, 02/2019, C79000-G8976-C432-04
SIMATIC RF1000

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic rf1060rSimatic rf1070r

Table of Contents