Skip to content

#934 PLCgen: Allow BOOL also for integer literals

Albert Hofkamp requested to merge 934-add-bool-bitstring into develop

Adding a BIT type is non-trivial as we have Writer as well as ModelTextGenerator model conversions, additions there must be duplicated to several classes. So instead, I opted for adding the BOOL type as a bit-string type, thus allowing PlcIntLiteral with a BOOL type in the PLC.

Addresses #934 (closed)

Merge request reports