Decoding Ascii String into Red Lion G315

KNeland

Member
Join Date
May 2010
Location
Boise, Idaho
Posts
87
I have a Red Lion G315C That I am feeding Ascii String data from a Weight Scale.

String is:<sp>G{GWT}<sp>{UN}<CR><LF>{EOS}

<sp> = Space, decimal value 32
G = Letter G, Decimal value 71
{GWT}= Gross Weight, Decimal value 128
{UN} = Unit, Decimal value 132
<CR> = Carriage return Decimal value 13
<LF> = Line feed, Decimal value 10
{EOS} = End of string, Decimal value 255

I can edit the string in the scale, but this happens to be a default fixed string the scale makes available as a general purpose gross weight string.

Thanks,

Kyle
 
Got it

Sheesh, sorry bout that....got sidetracked and hit send without finishing post...


I was looking for help with the program to use for decoding the Ascii string so as to display it on the Red Lion. Thankfully, between that original incomplete post and this one, I finally had the breakthrough I have been looking for and now I can see the data (Thanks Robert!)

Thanks,


Kyle
 

Similar Topics

I have a RedLion G303 that I’m feeding ASCII string data from a weight scale. String is: <STX><Signed DATA><sp><lb/kg><CR> <STX> =...
Replies
8
Views
2,893
Hello, I was wondering if anyone has a ControlLogix block or routine for encoding and decoding base64. I figured I would ask before diving into...
Replies
1
Views
258
Hello All, I hope we are all doing great and have a healthy and happy 2023!! I was wondering if anyone could help me decode this Motor Name...
Replies
15
Views
5,303
Hi, I'm using Studio 5000 PE V24. I would like to encode a Real Float so that it my be transmitted serially and stored to an RFID tag occupying...
Replies
2
Views
1,457
I've been helping out a contractor friend who has picked up several customers who use Direct Logic PLC's talking over spread spectrum radio via...
Replies
0
Views
2,045
Back
Top Bottom