Functions Of The Usb Interface For Linux; Programming Via The Rs232 Interface (Using The Freeport Protocol) - Siemens SIMATIC RF1000 Operating Instructions Manual

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Value
0x09
0x0A
0x0B
0x0C
7.2.2

Functions of the USB interface for Linux

The programming in Linux is made via an API and Software Development Kit. For additional
information, contact the Siemens Industry Online Support (Page 93).
Alternatively, you can program the USB interface in Linux based on the serial telegrams.
These are described in section "Programming via the RS232 interface (using the Freeport
protocol) (Page 53)".
7.3
Programming via the RS232 interface (using the Freeport
protocol)
When the RF1040R/RF1070R readers are connected to a SIMATIC controller or any serial
interface, communication is performed 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
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10
7.3 Programming via the RS232 interface (using the Freeport protocol)
Variable
BRP_ERR_NO_MORE_HANDLES
BRP_ERR_INSUFFICIENT_MEM
BRP_ERR_WRONG_HANDLE
BRP_ERR_WRONG_PARAMETERS
Description
There is no free session key.
There is not enough memory to generate a new ses‐
sion key.
The specified session key does not exist.
The parameters of a function are incorrect.
Programming
53

Advertisement

Table of Contents
loading

Table of Contents