3. Instruction Set
API
Mnemonic Operands Function
268 D
BRST
Reset Specified Bit of a Word
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
BRST: 5 steps
DBRST: 9 steps
SS2
SX2
SS2
SX2
SS2
SX2
Operands:
D: Destination device to be reset n: Device specifying the bit to be reset
Explanations:
1. For ES2/EX2 models, only V1.20 or above supports the function.
2. Available range for the value in operand n: K0~K15 for 16-bit instruction; K0~K31 for 32-bit
instruction.
When BRST instruction executes, the output device specified by operand n will be reset (OFF).
Program Example:
Instruction: Operation:
LD X0 Load NO contact X0
BRST K4Y0 D0 When D0 = k1,
Y1 is OFF
When D0 = k2,
Y2 = OFF