Siemens SIMATIC RF1070R Podręcznik - Strona 26
Przeglądaj online lub pobierz pdf Podręcznik dla Urządzenia przemysłowe Siemens SIMATIC RF1070R. Siemens SIMATIC RF1070R 34 stron.
5 Useful information
Useful information
5
5.1
Programming via the RS232 interface
5.1.1
Introduction
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 kbps
•
Flow control: None.
In this application example, parameters are assigned for the basic interface
parameters of the CM1241 RS232 dynamically via the user program.
5.1.2
Connecting via the CM1241 RS232 communication module
The reader can be connected to a SIMATIC controller with the help of the CM1241
RS232 communication module and P2P communication ("Send_P2P" and
"Receive_P2P"). With a connection via the CM, you need to set the communication
parameters of the CM as follows:
•
Data bits: 8
•
Parity: None
•
Stop bits: 1
•
Transmission speed: 115.2 kbps
•
Flow control: None.
Reading out UID with SIMATIC RF1070R
Article ID: 109780625,
V1.0,
09/2020
26