VA Motion Controller Programming Manual
244
10.5.5 I_BIT_IN* ( Invert the single bit in the bit string)
LD, FBD programming language
Function: The
I_BIT_IN*
instruction is used to
invert
a single bit in the input bit string,
including the
I_BIT_IN_WORDA
nd
I_BIT_IN_DWORD
instructions, and can handle input bit
strings of
BYTE, WORDA
nd
DWORD
types.
I_ BIT_IN_BYTE IN , BIT_
NO
Note : IL, ST language programming needs to insert variables IN1, IN, IN2 and OUT or use
constants in the current POU variable worksheet
I_BIT_IN_BYTE data processing instruction type
The NO bit in the bit string to be operated , the
value range is 0~7 for BYTE , 0~15 for WORD , 0~31
for DWORD ( other values are invalid )
Output, when
IN1
is
FALSE
, the output
OUT
is
equal to the input
IN;
when
IN1
is
TRUE
, the
output
OUT
is the input
IN
of
NO
value of the bit
negated
Funtion and Action examples
NegateDAddress V449 in the second of
the two values of the bits