adccommunitymod (AutomationDirect) asked a question.

Best way to delimit TCP?

Created Date: June 17,2019

Created By: Ty10YHM

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I'm looking for the best way to add a carriage return (0x0D) at the end of all my TCP string-type messages. The CPoE instruction doesn't have the option to add delimiters like other Ethernet methods. I 've tried to use the "Pack String " instruction, but that just adds the number 13 as text to the end of my strings. Any suggestions?


  • adccommunitymod (AutomationDirect)

    Created Date: June 17,2019

    Created by: Ty10YHM

    I'm looking for the best way to add a carriage return (0x0D) at the end of all my TCP string-type messages. The CPoE instruction doesn't have the option to add delimiters like other Ethernet methods. I 've tried to use the "Pack String " instruction, but that just adds the number 13 as text to the end of my strings. Any suggestions?

  • adccommunitymod (AutomationDirect)

    Created Date: June 17,2019

    Created by: OpZed

    The CPC instruction can be used for that, the helpfile shows the example of exactly what you want.