About byte swap and convert into 16 bits

Hello,

 I have %QB0 8 high bits and %QB1 8 low bits .  How can i swap bits %QB0 and %QB1 for  requirment positions in a 16-bit value ? after that i need %QB0 and %QB1 in to 16bits . For that, i need help.

Please see attached pictures for your reference.

Thanks in advance.

Best reply by Chirag03

Hi ,

Thank you for your reply.

Yes that is true . I only map it in dialogue  . But there is still same error. i can not set into the output bytes .  i have to set into form of 16  bit . 

View original
MicrosoftTeams-image (18).png
17.83KB
MicrosoftTeams-image (17).png
60.39KB
4 replies