Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5695

RS485 Timing Control

$
0
0

Hi All,

 

I have some concerns with the way of RS485 data transmitted through NI USB to RS485 cable. Following are the list of specifications for communication,

 

1. 9-bit mode of operation (1st byte of 9th bit is 1 and 2-8 byte of 9th bit is 0).

2. Baud Rate - 230400

3. Parity - None

4. Flow Control - None

5. Stop Bit - 1

6. Data Bits - 8

 

I used the parity bit Mark (1) and space (0) for the 9th bit. I used for loop with Mark for 1st byte and space for remaining bytes as shown below,

 

123.png

 

The scope waveform is as shown below ~10ms to transmit the data,

 

tek00017.png

 

I'm not sure why there's a delay between 1st byte and the other bytes? Is it because of the parity change?

I also need to send all the data within ~1ms as the waveform shown below.

 

12.png

 

Kindly comment your queries so that I can add more information.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 5695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>