1 Replies - 1153 Views - Last Post: 03 June 2014 - 09:50 AM Rate Topic: -----

#1 flashyjuniormikirony  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 02-June 14

R232 SerialPort Communication

Posted 02 June 2014 - 08:25 PM

Hi All,

I need to communicate with an RS232 device and send data in this format
<01><LEN><SEQ><CMD><DATA><05><BCC><03>

How can I calculate LEN,SEQ,BCC

And read in this format

<01><LEN><SEQ><CMD><"DATA"><04><STATUS><05><BCC><03>

Can anyone help me with a vb code to send sample data to the device and read responds

Thank You

Is This A Good Question/Topic? 0
  • +

Replies To: R232 SerialPort Communication

#2 flashyjuniormikirony  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 02-June 14

Re: R232 SerialPort Communication

Posted 03 June 2014 - 09:50 AM

View Postflashyjuniormikirony, on 02 June 2014 - 08:25 PM, said:

Hi All,

I need to communicate with an RS232 device and send data in this format
<01><LEN><SEQ><CMD><DATA><05><BCC><03>

How can I calculate LEN,SEQ,BCC

And read in this format

<01><LEN><SEQ><CMD><"DATA"><04><STATUS><05><BCC><03>

Can anyone help me with a vb code to send sample data to the device and read responds

Thank You


The link to the documentation below for anyone who want to have an idea of the Protocol

http://www.rra.gov.r....n_protocol.pdf

Hi All,

I need to communicate with an RS232 device and send data in this format
<01><LEN><SEQ><CMD><DATA><05><BCC><03>

How can I calculate LEN,SEQ,BCC

And read in this format

<01><LEN><SEQ><CMD><"DATA"><04><STATUS><05><BCC><03>

Can anyone help me with a vb code to send sample data to the device and read responds

The link to the documentation below for anyone who want to have an idea of the Protocol

http://www.rra.gov.r...on_protocol.pdf


Thank You
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1