Example

<< Click to Display Table of Contents >>

Navigation:  Function block library > Logic > Bitwise operations > Bitwise Not >

Example

Previous pageReturn to chapter overviewNext page

bitwise_not_example


Value

Binary representation

Operand

6

00110

Result

-7

11001

As the calculation is performed with signed value, the most significant bis is interpreted as sign bit.