Closed avnet78 closed 1 year ago
We do have outstanding issues with bool mapping because of the myriad of ways boolean values can be represented in PLCs. Have you read through this ticket? https://github.com/libplctag/libplctag.NET/issues/178
In the example you've posted, the issue could be either read or write.
I understand, do you have timeline in mind on when the bool read/write issue will be resolved? We have tested all other data types and they seems be be pretty accurate. Only issue is with the bool tags.
There is no timeline for any development, but you may be able to use the existing bool mapper classes for some of your use cases. If you're writing software for specific hardware models (as opposed to library code which needs to abstract the details of data access) I would recommend using the non-generic Tag class, whose interface is very close to the core library's.
Thank you for the update @timyhac
Here's my sample code. The bool tag write doesn't seem to be working: I am getting false in both reads.