L9_RBIT: Reset Bit
(Original Document)
Naming
Name in LL984 Editor
Function Block Name
name of legacy 984 instruction
name in other tools and editors like:
  • Type Library Browser
  • Data Editor
  • Animation Tables
  • Search Results
Function Description
The L9_RBIT reset bit procedure lets you reset an ON bit within a word located in %MW memory. The L9_RBIT procedure clears a bit set by the L9_SBIT procedure.
IN_REG is the word that contains the bit to be turned OFF. The BITLOC value identifies the specific bit - 1 through 16 - to be turned OFF.
When the ENABLE pin is turned ON, the controlled bit is cleared to 0; when the ENABLE pin is turned OFF, the controlled bit remains cleared. The OUT output echoes the state of the ENABLE pin.
Representation
Parameters
Inout Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON clears the specified bit to 0. The bit remains cleared when this input turns OFF.
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN/OUT
IN_REG
%MW
The variable located to a word that contains the bit to be cleared.
Bottom
IN
BITLOC
UINT
1...16
The specific bit to be cleared.
Valid range: 1 to 16.
Note: Employs LL984 bit addressing: 1-based starting at the left end of 16-bit sequences.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
Echoes the state of the ENABLE input.