AH500 Programming Manual 
6-296 
API 
Instruction code  Operand  Function 
1219    BRST  P 
D, n 
Resetting the bit in the word device
Device
X  Y  M  S  T  C  HC  D  L  SM  SR  E  PR  K  16#  “$”  DF 
  Pulse instruction
16-bit instruction (5 steps)
32-bit instruction 
Symbol: 
:
Device number  Word 
n
:
Bit number  Word 
Explanation: 
1.  The instruction is used to set the n
th
 bit in the register specified by D to 0. 
2.  When the instruction BRST is driven, the specified bit is set to OFF. 
3.  The operand n should be within the range between 0 and 15. 
Example: 
When X0.0 is ON, the ninth bit in D10 is set to 0. 
 
After the instruction 
is executed
1 1 1 1 1 1 1 1 1 1
0 0 0 0
1 1
b0
b15
D10
1 1 1 1 1 1 0 1 1 1
1 0 0 0
1 1
b0
b15
D10
 
Additional remark: 
If n is less than 0, or if n is larger than 15, the instruction is not executed, SM0 is ON, and the error 
code in SR0 is 16#200B.