L9_NCBT: Normally Closed 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_NCBT normally closed bit procedure senses the logic state of a specified bit within a word located in %MW memory. The bit is representative of an N.C. contact.
REG is the word that contains the bit to be examined. The BITLOC value identifies the specific bit - 1 through 16 - to be examined. The OUT output turns ON when the ENABLE input is ON and the specified bit is OFF.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON enables the operation.
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
IN_REG
%IW, %MW
The variable located to a word that contains the bit to be examined.
Bottom
IN
BITLOC
UINT
1...16
The specific bit to be examined.
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
Turns ON if the ENABLE input is turned ON and the specified bit is turned OFF.