Hello
on codesys 2.3;
I'm trying to find out how to combine different datas into One bytes.
Seems to be "easy" on codesys 3.5 , but can't find solution on 2.3 as per datatype bit is unknow on 2.3
thanks for your help
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Will a function block that shove 8 bits in a byte help? See my photo
Then you need to download the Util libary and add this library to your libaries in your library.
Than you have this funtion block. Just add a block and name it PACK.
I have add the util lib in the attachments.
Hello
on codesys 2.3;
I'm trying to find out how to combine different datas into One bytes.
Seems to be "easy" on codesys 3.5 , but can't find solution on 2.3 as per datatype bit is unknow on 2.3
thanks for your help
Regards
more posts ...
Hello Mawaloc,
Will a function block that shove 8 bits in a byte help? See my photo
Then you need to download the Util libary and add this library to your libaries in your library.
Than you have this funtion block. Just add a block and name it PACK.
I have add the util lib in the attachments.
Hope this helps
Regards
Hi
ThankYou Edwin.
Forget to reply, but I had info ( same as you) few days after.
It's work like that regards