USER MANUAL – Z-GPRS2-SEAL / Z-LOGGER-SEAL
118
CAUTION!
The Block only works if the variable is checked into the Data Logger Variables window, the variable
refresh time is the datalogger sample time.
15.
BLOCKS FUNCTIONS
15.1.
Function Block BIT: STATE BITS TEST FUNCTION
This block perform a bit test to the input variable connected.
The output boolean (True/False) value is obtained by the relation:
OUTPUT = TRUE
IF (INPUT & BIT_MASK) is different from 0
OUTPUT = FALSE
IF (INPUT & BIT_MASK) is equal to 0
For create the BIT_MASK click on the block:
Where:
= don’t care, this bit is not tested
= this bit must be True (1)