irondesk40
Member
Have a question that is at the moment just not able to figure out.
Lets say in a allen Bradley micrologix 14 you have a value in a floating point register of 21.42857
I am trying to figure out how to place this value into two different N registers.
For example move the value of 21 into a register and then move the value
of the .42857 into another N register but enter it as a whole number of
42857 not .42857.
Afraid my math skills today is just not allowing me to quite figure this out.
Any advice?
Thanks
Lets say in a allen Bradley micrologix 14 you have a value in a floating point register of 21.42857
I am trying to figure out how to place this value into two different N registers.
For example move the value of 21 into a register and then move the value
of the .42857 into another N register but enter it as a whole number of
42857 not .42857.
Afraid my math skills today is just not allowing me to quite figure this out.
Any advice?
Thanks