Hi, I read a modbus map in array of 350 elements.
The destination is integer.
Now I want to copy this array into floating point array while scaling it at the same time (dividing it by 10).
Is this possible to be done in one instruction, such as DIV or compute or something more advanced ?
Something that would look like this ?
-div-
source A: INT[0]
source B: 10
destination: FLOAT[0]
length: 350
Otherwise I will have to go manually and divide every integer by 10 and store it into next subset of array.
Thanks
The destination is integer.
Now I want to copy this array into floating point array while scaling it at the same time (dividing it by 10).
Is this possible to be done in one instruction, such as DIV or compute or something more advanced ?
Something that would look like this ?
-div-
source A: INT[0]
source B: 10
destination: FLOAT[0]
length: 350
Otherwise I will have to go manually and divide every integer by 10 and store it into next subset of array.
Thanks
Last edited: