boilermaker711
Member
Hi all,
I am reading in serial data from a Cognex Dataman 2D matrix reader into a SLC 5/04 serial port (channel 0 - user). I have successfully transmitted the data into the string register created for the information. However, I am having some trouble figuring out how to parse the data out. Currently my delimeter is a comma, however it can be something else. I cannot use the AEX (ASCII extract) instruction because the entire string of data can vary in character length. I would appreciate any advice that you guys may be able to give.
Here is an example of what my string looks like in my ST register:
122206811347A010744AA513,346,342,345,265,270,266,271,343,18^M^J
I am reading in serial data from a Cognex Dataman 2D matrix reader into a SLC 5/04 serial port (channel 0 - user). I have successfully transmitted the data into the string register created for the information. However, I am having some trouble figuring out how to parse the data out. Currently my delimeter is a comma, however it can be something else. I cannot use the AEX (ASCII extract) instruction because the entire string of data can vary in character length. I would appreciate any advice that you guys may be able to give.
Here is an example of what my string looks like in my ST register:
122206811347A010744AA513,346,342,345,265,270,266,271,343,18^M^J