Name in LL984 Editor
|
Function Block Name
|
---|---|
name of legacy 984 instruction
|
name in other tools and editors like:
|
![]() |
![]() |
Input Pin
|
Name
|
Data Type
|
Address Range
|
Meaning
|
---|---|---|---|---|
Top
|
ENABLE
|
–
|
OFF to ON initiates the operation.
|
|
Middle
|
SETBIT
|
BOOL
|
–
|
OFF = clear bit to 0
ON = set bit to 1
|
Bottom
|
INCPTR
|
BOOL
|
–
|
ON = increment BITLOC by 1 after modification
(only if BITLOC = %MW, not possible if BITLOC = %IW or constant value)
OFF = do not increment BITLOC.
|
Node
|
Node Type
|
Name
|
Data Type
|
Address Range
|
Meaning
|
---|---|---|---|---|---|
Top
|
IN/OUT
|
BITLOC
|
%IW, %MW
|
Bit location in data matrix to be set or cleared. Can be a constant value, %MW, %IW or an unlocated variable.
Valid range: 1 .. 9,600
Note: Employs LL984 bit addressing: 1-based starting at the left end of 16-bit sequences.
|
|
Middle
|
IN/OUT
|
DATA
|
ANY_ARRAY_UINT or ANY_ARRAY_EBOOL
|
%M, %MW
|
data matrix with bit to be set/cleared
|
Bottom
|
IN
|
LENGTH
|
UINT
|
1...600
|
length of data matrix (number of 16 bit sequences)
Valid range: 1 to 600.
|
Output Pin
|
Name
|
Data Type
|
Address Range
|
Meaning
|
---|---|---|---|---|
Top
|
OUT
|
BOOL
|
–
|
ON indicates the bit modification operation succeeded. (Echoes the status of the ENABLE input).
|
Middle
|
OSETBIT
|
BOOL
|
–
|
Echoes the value of the SETBIT input.
|
Bottom
|
ERR
|
BOOL
|
–
|
ON = error
bit location > matrix length
|