Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Do-more Programming Examples => Topic started by: BobO on October 21, 2012, 03:17:42 PM

Title: Example: Use general purpose Serial device to implement DirectNet Server
Post by: BobO on October 21, 2012, 03:17:42 PM
This example implements a serial DirectNet Server on the DM1's internal serial port. This is a great example to demonstrate using a device reference in a complex communication protocol, and how to write a complex serial protocol in a program block using stages.

Please read the Start Page in the project for details on how to use this example.

As with all examples, this is for educational purposes only and the user assumes are responsibility for its use.
Title: Re: Example: Use general purpose Serial device to implement DirectNet Server
Post by: roger3208 on April 09, 2015, 02:19:30 AM
BobO,
I was having some trouble sending 0x1B 0x53 0x0D = <Esc> <S> <CR> from a Do-more serial port to and older machine with a serial port that I need to start with <Esc> to clear it out then <S> and then <CR> to start it. As soon as I open your example for communications and saw the INIT block for loading it to the STREAMOUT block as a buffers, O-snap 4 bits and it works fine one rung.
Thank's
Roger
Title: Re: Example: Use general purpose Serial device to implement DirectNet Server
Post by: BobO on April 09, 2015, 09:00:40 AM
BobO,
I was having some trouble sending 0x1B 0x53 0x0D = <Esc> <S> <CR> from a Do-more serial port to and older machine with a serial port that I need to start with <Esc> to clear it out then <S> and then <CR> to start it. As soon as I open your example for communications and saw the INIT block for loading it to the STREAMOUT block as a buffers, O-snap 4 bits and it works fine one rung.
Thank's
Roger

Glad to hear it!