evilthorne
Member
Well I am trying to cleanly convert a decimal value in a DINT to the corresponding bit in a different DINT So if I have the number 11 on in DINT[1] Turn the 11th bit on in the DINTbit[1] word I have to do this several times over different ranges for different applications so I am looking for a clean way rather than forcing it.
I have a range that goes from 10-20 and range that goes from 1-100. Is there an easy way to do this without just using equ and an OTE?
In my searching I have seen FAL and FSC come up a lot but every time I try to set them up I cannot get the desired result (mostly because I have never used them before).
Thank you.
I have a range that goes from 10-20 and range that goes from 1-100. Is there an easy way to do this without just using equ and an OTE?
In my searching I have seen FAL and FSC come up a lot but every time I try to set them up I cannot get the desired result (mostly because I have never used them before).
Thank you.