Holmzy
Member
I am trying to take data recieved through Channel 0 on a PLC5
as an Ascii string then convert it to a decimal number in the PLC
The string is made up of a combiation of numbers and letters.
example: 123CFRES1E301234
after I recieve it I need to break it down into 5 parts
123C
FR
ES
1E30
1234
I have had some luck with the extracting into the separate
strings but have not had any luck converting to integer.
The parts that have a letter do not convert.
I am using Rslogics 5 and the PLC is a PLC5/40
as an Ascii string then convert it to a decimal number in the PLC
The string is made up of a combiation of numbers and letters.
example: 123CFRES1E301234
after I recieve it I need to break it down into 5 parts
123C
FR
ES
1E30
1234
I have had some luck with the extracting into the separate
strings but have not had any luck converting to integer.
The parts that have a letter do not convert.
I am using Rslogics 5 and the PLC is a PLC5/40