Ole_link1, Com1 [baudrate][databit][parity][stopbit – ICP DAS USA TDRS4050601 User Manual

Page 52

Advertising
background image

Industrial Redundant Ring Switch

– RS Series User Manual

TDRS4050601

q

Note: if you intend to set up any one of the recovery time, forward time, max age, or

hello time manually by using console commands, you are required to set up these
values all together by using the corresponding console commands, too. If you do not

assign specific values for these settings, they will become preset values (or default

values if no values were previously assigned)

com1 [baudrate][databit][parity][stopbit]

Description

The first serial port

Com1 is assigned for RS232. This command enables you to set

up the transmission speed(baudrate),data bit(databit), parity check type (parity) and

stop bit(stopbit).

The transmission speed parameter [baudrate] allows the following settings: 300, 600,

1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200. The port speed and

device speed must match.

The number of data bits can be 7 (for true ASCII) or 8 (for any kind of data, as this

matches the size of a byte),

The parity check code can be set to none (0), even (1), or odd (2). None(0) means

that no parity bit is sent at all. Even (1) means applying even parity check, each set

of transmitted bits must have an even number of set bits. Odd (2) means applying

odd parity check, each set of transmitted bits must have an odd number of set bits.

Stop bit is used in asynchronous communications to indicate the end of a piece of

data.

Parameters

Parameter

Description

baudrate

Provides the baud rate (300 or 600 or 1200 or 2400
or 4800 or 9600 or 19200 or 38400 or 57600 or
115200)for your usage, default value is 115200

databit

Provides the data bit value(7 or 8), default value is 8

parity

Provides the parity check type, none k(0) , even (1),
odd (2):, default value is 0.

stopbit

Provides the stop bit(1 or 2), default value is 1.

Example:

Advertising