I am using a Do-More H2-DM1E PLC and this is the ASCII string that I am getting from a particle counter.
Is there and easy way to get out just the numbers I need to store in DataWorx, or use just about every ASCII block in program?
And if the string length is changing will make it even more fun.
This is the ASCII data string:
Sample of the string I am receiving;
12-MAR-2012 14:04:57, 0.3, 136960, 0.5, 25440, 0.7, 9580, 1.0, 6220, 2.0, 2620,
5.0, 960, 24, 41, 1, 60,0.3,0.5,0
The 6 numbers I need to get from the above string are:
0.3 0.5 0.7 1.0 2.0 5.0 (none of the time and date in front of the 0.3 and none of the info after the 5.0) (and remove 136960 25440 9580 6220 2620)
This group of 6 numbers will change with each sample.
Thank’s
Roger