+1
How to cast the Project Version (SIC) in array ?
A string is an array.
My goal is to compute the project version (SIC) into an array.
Then i can compute from array the integer math value.
Actually, i'm just blocked to cast the Project Version (SIC) into an array. How do ?
Customer support service by UserEcho
The value type of the SIC is text and for the math channel you need real/integer value type.
So sorry to say you can not use the text from the SIC in the math channel.
If in a multi-master system, there is a workaround for text channels. I use it to work with Project Version.
If you connect Project Version to a TPOUT, send that to another PLC via JFOUT. Then receive the JFIN, you can now do bit manipulation and do math on the values. Mainly I break the individual ascii characters into their own JPINs (8bit) and subtract 48 to get a number..