Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 08:15:10 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: ANSCII Using RS232  (Read 418 times)
Brian
Newbie
*
Posts: 1


« on: June 27, 2011, 03:43:55 am »

Hello all

Does anyone have example program of a DL06 using RS 232 ANSCII
to communicate with an other device.

Where as our slave is not using a CTS or RTS how do I direct traffic? Also what is the best way to enter text into V-memory?

I know this is some what basic but I have never done it before.

Brian
Logged
Controls Guy
Internal Dev
****
Posts: 1134


Darth Ladder


« Reply #1 on: June 27, 2011, 01:20:20 pm »

My only ASCII app on an 06 was transmit only, with a remote system collecting the transmissions which were status and data of a test sequence, parsing them, and entering records in a database. 

I found it easiest to use the "PRINT" command and just assemble the constant and dynamic portions of the message on the fly.  As far as flow control, just jumper RTS and CTS together and go without.

If you're doing control and/or monitoring of the remote ASCII device, you'll probably have to deal with return strings as well, parsing them, looking at the contents, and possibly taking some action based on what's in there, so there will be some additional work on your part to do that.
Logged

I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM