SysComSettings (STRUCT)

TYPE SysComSettings : STRUCT

<category>Com port settings</category> <description>: Settings to open and to configure a COM interface</description>

InOut:

Name

Type

Comment

sPort

SYS_COM_PORTS

<element name=”sPort” type=”IN”>Port number: 0=disabled, 1=COM1, 2=COM2, …. See SYS_COM_PORTS for predefined values.</element>

byStopBits

SYS_COM_STOPBITS

<element name=”byStopBits” type=”IN”>Stop bits. See SYS_COM_STOPBITS for details.</element>

byParity

SYS_COM_PARITY

<element name=”byParity” type=”IN”>Parity. See SYS_COM_PARITY for details.</element>

ulBaudrate

SYS_COM_BAUDRATE

<element name=”ulBaudRate” type=”IN”>Baudrate. See SYS_COM_BAUDRATE for details.</element>

ulTimeout

SYS_COM_TIMEOUT

<element name=”ulTimeout” TYPE=”IN”>Hardware timeout. The Timeout is the TIME between two received OR sent

characters until the read or write operation will return. Typically this value should be 0 (returns immediately) See SYS_COM_TIMEOUT for predefined values.

</element>

ulBufferSize

UDINT

<element name=”ulBufferSize” type=”IN”>Buffersize of FIFO buffer</element>