Greetings,
I need to move various bits from a tag TO_SEND (type = SINT[20]) to a consecutive order into bits 0-15 of a tag = SEND (type = INT[10].
For example:
TO_SEND[1].5 needs to goto SEND[1].0
TO_SEND[3].2 needs to goto SEND[1].1
TO_SEND[6].5 needs to goto SEND[1].2
and so on.
I need to get these bits packed into a word so that it can be read by other software.
Any help would be greatly appreciated.
Thanks!!!
I need to move various bits from a tag TO_SEND (type = SINT[20]) to a consecutive order into bits 0-15 of a tag = SEND (type = INT[10].
For example:
TO_SEND[1].5 needs to goto SEND[1].0
TO_SEND[3].2 needs to goto SEND[1].1
TO_SEND[6].5 needs to goto SEND[1].2
and so on.
I need to get these bits packed into a word so that it can be read by other software.
Any help would be greatly appreciated.
Thanks!!!