EasyManua.ls Logo

IMC CANSAS - Bitwise NOT; Bitwise or

IMC CANSAS
582 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
148 Virtual Channels
imc CANSAS Users Manual - Doc. Version 1.9 - 05.12.2014© 2014 imc Meßsysteme GmbH
Data types:
1st input channel
2nd parameter
Result channel
Integer
Integer (2nd parameter is an input
channel)
Integer
Integer
Digital (2nd parameter is an input
channel)
Integer
Digital
Integer (2nd parameter is an input
channel)
Integer
Digital
Digital (2nd parameter is an input
channel)
Digital
Integer or Digital
2nd parameter is a numerical value
Integer
4.10.12 Bitwise NOT
Parameter
Definition
Input channel
Channel whose sample values are negated bit by bit
Result channel
Channel containing the results of the bit-wise negation
Description: The sample values of Input channel are negated bit by bit. Integer values are treated as 16-
bit numbers and each individual bit is negated, which means that if a bit has the value 0 (FALSE), it
becomes 1 (TRUE) and vice-versa. For digital input channels, the single digital bit's value is switched to
the other binary value.
Data types:
Input channel
Result channel
Integer
Integer
Digital
Digital
4.10.13 Bitwise OR
Parameter
Definition
1st parameter
Channel whose sample values are disjunctioned bit by bit with the respective value
from the 2nd parameter
2nd parameter
Channel whose sample values are disjunctioned bit by bit with the respective value
from the 1st parameter, or
numerical value which is disjunctioned with each vale from the 1st parameter
Result
Channel containing the results of the bit-wise disjunction.
Description: A bit by bit OR-operation is performed on the two parameters. The sample values of the
input channel are treated as whole 16-bit numbers. If a bit is set in either of the parameters' sample
values, the corresponding bit of the result channel is set (=1), otherwise it is not.

Table of Contents

Other manuals for IMC CANSAS