# TCP Driver

**URL:** <https://forum.inductiveautomation.com/t/tcp-driver/2555>\
**Category:** Ignition\
**Created:** [January 26, 2011, 11:42am UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555 "2011-01-26T11:42:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![focus-eng](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@focus-eng](https://forum.inductiveautomation.com/u/focus-eng)\
**Post date:** [January 26, 2011, 11:42am UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/1 "2011-01-26T11:42:04Z")

</div>

Hi Gents,

I have connected a Vlinx RS232 to Ethernet Server to Ignition.  
I can get the Serial Data string when i set the driver up to be of Message type Character Based.

It seems that i can only use the keyboard characters as a delimiter here.

What i require here is the ASCII Hex value for line Feed (CR = 0xD(Hex)).

How can i get the TCP Driver to use the CR Carriage Retrun instead of normal characters.

Thanks for the help guys.  
BTW this is used to connect a Weighing Scale to the system.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 27, 2011, 9:37pm UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/2 "2011-01-27T21:37:55Z")

</div>

Using \r should give you a carriage return.

The supported special characters supported as delimiters are:

```auto
\r Carriage-return
\n Line-feed
\t Tab
\f Form-feed
```

This is somewhat arbitrary so if somebody needs something else added we probably can.

---

<div class="post-metadata">

**Author:** ![focus-eng](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@focus-eng](https://forum.inductiveautomation.com/u/focus-eng)\
**Post date:** [April 8, 2011, 3:55pm UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/3 "2011-04-08T15:55:44Z")

</div>

Hi Gents,

Is it possible to make the TCP IP drivers read write?  
Even have a check box to make it writeable as well.  
Would be very usefull for:

1. Using a Serial Ethernet converter one could write a bit of fancy scripting to write commands back to scales etc.
2. Custom RS 232 Equipment that require handshake commands etc  
Obviously i mean ASCII protocoll only.

Regards  
Sascha

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 8, 2011, 4:04pm UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/4 "2011-04-08T16:04:19Z")

</div>

[quote=“info@focus-eng.com”]Hi Gents,

Is it possible to make the TCP IP drivers read write?  
Even have a check box to make it writeable as well.  
Would be very usefull for:

1. Using a Serial Ethernet converter one could write a bit of fancy scripting to write commands back to scales etc.
2. Custom RS 232 Equipment that require handshake commands etc  
Obviously i mean ASCII protocoll only.

Regards  
Sascha[/quote]

There are plans to add a writable tag to the driver that sends any values written to it over the TCP connection.

Would this be enough to get what you need done?

---

<div class="post-metadata">

**Author:** ![focus-eng](https://avatars.discourse-cdn.com/v4/letter/f/fbc32d/32.png) [@focus-eng](https://forum.inductiveautomation.com/u/focus-eng)\
**Post date:** [April 8, 2011, 7:04pm UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/5 "2011-04-08T19:04:25Z")

</div>

Hi Kevin,  
I presume so, so long it arrives in the Ethernet to RS232 converter and it gets sent out to the port in ASCII format.

P.S: if you have a beta version of this i wouldn’t mind doing a quick test on it.

Regards  
Sascha

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 8, 2011, 8:23pm UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/6 "2011-04-08T20:23:20Z")

</div>

I’ll let you have a beta version as soon as I actually get a chance to add the feature 😉

---

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [January 18, 2021, 9:43pm UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/7 "2021-01-18T21:43:48Z")

</div>

Can I use multiple by entering like {\n,\r} ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 18, 2021, 11:02pm UTC](https://forum.inductiveautomation.com/t/tcp-driver/2555/8 "2021-01-18T23:02:18Z")

</div>

If you mean something like `\r\n` being the delimiter, yes that should work. But there’s no syntax or functionality for allowing the logical OR of different delimiters.
