Dear Experts,
Please suggest a libray block or ST code to pack ( convert ) boolean data to integer.
my requirement is that i have to send few data to 3rd party device in integer data type.
My tags are Bool data type tags which gets on/off. I can only send integer data type, so i am trying to write a particular bit in the integer so i can use 1 integer data type to send 16 bit data tags.
i am hoping to find a similar fb which converts bit by bit to integer so i can my work will be easy.