Senatek LS100 manual Serial Port Configuration parameters

Models: LS100

1 46
Download 46 pages 30.74 Kb
Page 37
Image 37

5: Serial Port Configuration

To attach the serial device to the LS100 serial port, its serial port operation should match exactly to that of the serial device. Serial port configuration parameters are summarized in Table 5-1.

Table 5-1. Serial Port Configuration parameters

 

 

Parameter

Values

Baud rate

1200, 2400, 4800, 9600, 19200, 38400, 57600, or 115200

Data bits

7 bits or 8 bits

Parity

None, Even or Odd

Stop bits

1 bit or 2 bits

Flow control

None, Hardware (RTS/CTS)

DTR option

Always HIGH, Always LOW, or Show TCP connection

DSR option

None, Accept TCP connection only by HIGH, or

Open/Close TCP connection

 

Inter-character timeout

Inter-character timeout value in milliseconds

To configure serial port parameters, use ‘set’ command as follows:

set serial baudrate data_bits parity stop_bits flow_control dtr_option dsr_option interchar_timeout(ms)

where,

baudrate: 1200, 2400, 4800, 9600, 19200, 38400, 57600, or 115200

data_bits: 7=7-bits / 8=8-bits

parity: n=none / e=even / o=odd

stop_bits: 1=1-bit / 2=2-bits

flow_control: n=none / h=hardware

dtr_option: h=always high / l=always low / s=show tcp connection

dsr_option: n=none / a=accept only by high / o=open,close TCP connection

interchar_timeout: inter-character timeout value in milliseconds

The factory default settings of baud rate, data bits, parity and stop bits are 9600, 8 data bits, No- parity and 1 stop bit respectively. Among the serial configuration, there are three serial modes the LS100 does not support. The LS100 does not support 7 data bits, No parity, 1 stop bit configuration. In this case, the LS100 will operate as 7 data bits, No parity, 2 stop bit mode. In case the LS100 is configured as 8 data bits, Even(or Odd) parity, 2 stop bits mode, the LS100 will operate as 8 data bits, Even (or Odd) parity, 1 stop bit mode.

The factory default setting of the flow control is None. Only hardware flow control using RTS/CTS is

37

Page 37
Image 37
Senatek LS100 manual Serial Port Configuration parameters