Programming
6.3 Programming via the RS232 interface
SIMATIC RF1000
36 Operating Instructions, 11/2019, C79000-G8976-C432-06
6.3 Programming via the RS232 interface
When the RF1040R/RF1070R readers are connected to a SIMATIC controller,
communication takes place via 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 sections; 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:
● Data bits: 8
● Parity: None
● Stop bits: 1
● Transmission speed: 115.2 kBd
Connection via a communications module or serial module
The reader can be connected to a SIMATIC controller using a communications module with
RS232 interface (e.g. RF170C). With a connection via the CM, you need to set the
communication parameters of the CM as follows:
Table 6- 18 Setting options in the "Module parameters" parameter group of the CM when using the
freeport protocol
User mode Ident profile/RFID stand-
ard profile
Selection of the block with which you want to
assign parameters to the reader.
MOBY mode Freeport protocol The parameter value "Freeport protocol" must
be selected in this parameter.
Transmission
115.2 kBd The parameter value "115.2 kBd" must be se-
lected in this parameter.
Diagnostic
messages
None
Selection of whether hardware diagnostics mes-
sages are reported.
Suppression of
error LED
None
Channel 1
Selection of whether the error LED (ERR) of a
channel is suppressed.
Interface RS232 The parameter value "RS232" must be selected
Alternatively, the connection can be made using a serial module with RS232 interface and
P2P communication (e.g. ET 200SP CM PTP).