EasyManua.ls Logo

IMC CANSAS - Barometer (Only for P8 Modules); Bitwise and

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...
Function Reference 147
imc CANSAS Users Manual - Doc. Version 1.9 - 05.12.2014© 2014 imc Meßsysteme GmbH
Data types:
Input channel
Result channel
Integer or Digital
Integer
4.10.10 Barometer (only for P8 modules)
Parameter
Definition
Result clock pulse
Pulse rate of the result channel
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:
Input channel
Result channel
Integer
Integer
4.10.11 Bitwise AND
Parameter
Definition
1st parameter
Channel whose sample values are conjunctioned bit by bit with the respective value
from the
2nd parameter.
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
Result
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.

Table of Contents

Other manuals for IMC CANSAS