CmpDNP3RS232Configuration (STRUCT)

TYPE CmpDNP3RS232Configuration : STRUCT

Settings to open and to configure a COM interface.

InOut:

Name

Type

Comment

comPortNumber

INT

Port number: 0=disabled, 1=COM1, 2=COM2, ….

comPortBaudrate

UDINT

Baudrate: 4800, 9600, 19200, 38400, 57600, 115200….

comPortDataBits

USINT

Number of bits 4-8

comPortStopBits

CmpDNP3StopBits

Supported stop bits

comPortParity

CmpDNP3Parity

Supported parity

comPortBufferSize

UDINT

Buffer size of FIFO buffer

comPortTimeout

TIME

The Timeout is the TIME between two received OR sent characters until the read or write operation will return.