Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
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