Skip to content

Resolve "Add support for boolean data-type"

m.nabywaniec requested to merge 9-boolean-type-set-single-bool into master

EDIT: Modified to draft as I'm checking support for bool arrays. EDIT 2 Removed draft, for now support only for scalar booleans, needs some changes to make booleans in arrays work properly, now there will be exception when trying to create boolean array.

Closes #9 (closed) Changes:

  • Simplified setting values for bool registers - using SetAtBit and GetBitAt from snap7.
  • No need of creating wrapper registers as in !19 (closed).
  • In diagnostic tool display values for booleans as true or false but 0 and 1 also parsed to boolean from user.

grafik

Edited by m.nabywaniec

Merge request reports