Decode an ascii message – Rockwell Automation Logix5000 Controllers ASCII Strings Programming Manual User Manual

Page 25

Advertising
background image

Processing ASCII characters Chapter 2

You can extract and convert a value from an ASCII message that contains

multiple values. A message may look like the following example:

Rung A: Find and Convert a

Floating-Point Value

The FIND instruction locates characters within a string.

The Source contains the string tag to search.

The Result contains the location where the FIND instruction locates the

search value you specify.

The MID instruction identifies a group of characters within a string and places

them in their own string tag.

Decode an ASCII message

Rockwell Automation Publication 1756-PM013D-EN-P - October 2014

25

Advertising