Function Reference 147
imc CANSAS Users Manual - Doc. Version 1.9 - 05.12.2014© 2014 imc Meßsysteme GmbH
Data types:
4.10.10 Barometer (only for P8 modules)
Pulse rate of the result channel
Channel with current barometer values
Description: The result is the barometer's current measurement value. The barometer value is updated
about once per second.
Notes: The barometer value is specified in bar.
Data types:
4.10.11 Bitwise AND
Channel whose sample values are conjunctioned bit by bit with the respective value
from the
2nd parameter.
Channel whose sample values are conjunctioned bit by bit with the respective value
from the
1st parameter, or
numerical value which is conjunctioned with each value from the 1st parameter
Channel containing the results of the bit-wise logical conjunctions
Description: Bit by bit conjunction operation performed on the two parameters. The sample values of the
input channel are treated as whole 16-bit numbers. If both corresponding bits of the parameters' sample
values are set, the corresponding bit of the result channel is set also, otherwise it is not.
Notes: If the function is carried out on two channels, they must share the same sampling rate.
If the 2nd parameter is a numerical value, it must be expressed as a hexadecimal number in the form:
0xiiii (0 i F). If, as an example, you want to subject the lowest 3 bits of the sample values to the AND
operation, then the number 0x0007 must be specified as the 2nd parameter. If the operation should be
performed only on the lowest bit (LSB), the number 0x0001 should be specified as the 2nd parameter.