Siemens SIMATIC RF1000 Operating Instructions Manual page 37

Hide thumbs Also See for SIMATIC RF1000:
Table of Contents

Advertisement

Table 7-2
Parameter
brp_open_serial_ses‐
sion
 
Return value
SIMATIC RF1000
Operating Instructions, 05/2023, C79000-G8976-C432-10
Description of the parameters
Description
This function call opens a connection to the reader via the RS232 interface.
Handle
Session key initialized by this function. The session key is valid as soon as
"BRP_OK" is returned.
com_port
Number of the COM port
Possible values:
0x00: COM1
0x01: COM2
...
ser_baudrate bau‐
Transfer speed [Baud]
drate
typedef enum {ser_baud_xxx} ser_baudrate;
Possible values:
0x00: ser_baud_300
0x02: ser_baud_600
0x03: ser_baud_1200
0x04: ser_baud_2400
0x05: ser_baud_4800
0x06: ser_baud_9600
0x07: ser_baud_14400
0x08: ser_baud_19200
0x09: ser_baud_28800
0x0A: ser_baud_38400
0x0B: ser_baud_57600
0x0C: ser_baud_115200 (Default)
0x0D: ser_baud_576000
0x0E: ser_baud_921600
0x0F: ser_baud_500000
ser_parity parity
Parity value
typedef enum {ser_par_xxx} ser_parity;
Possible values:
0x00: ser_par_none
0x01: ser_par_odd
0x02: ser_par_even
BRP_OK
BRP_ERR_BUSY
BRP_ERR_GENERAL_IO
BRP_ERR_BUFFER_OVERFLOW
BRP_ERR_NO_MORE_HANDLES
BRP_ERR_INSUFFICIENT_MEM
You will find more information on return values in the section "Return values
(Page 52)".
7.2 Programming via USB/RS232 interface (using DLL functions)
Programming
37

Advertisement

Table of Contents
loading

Table of Contents