News:

  • June 09, 2026, 01:49:18 PM

Login with username, password and session length

Author Topic: ANSCII Using RS232  (Read 8269 times)

Brian

  • Newbie
  • *
  • Posts: 1
ANSCII Using RS232
« 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

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: ANSCII Using RS232
« 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.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.