Hello, everybody !
I have 25 bits in a DB which are located separately in a distance 6 bytes one after another.
How to make up all the bits into 2 words. The bits must be located one by one in every word.
The bit with least "address" in DB must be put into a bit0 in the word1 of the same DB.
Next bit with "address_1" = "address" + P#6.0 must be put into a bit1 in the word1, and so on.
I know how to do it in LAD.
But how to do it in STL in order to make the code shorter and to decrease the CPU cycle.
I think it's possible using AR1,AR2 and maybe some inner cycles.
Thanks in Advance.