7. APPLICATION INSTRUCTIONS
7 − 52
MELSEC-A
7.4.5 Word device bit set, reset
(BSET, BSETP, BRST, BRSTP)
Available Device
Bit device Word (16-bit) device Constant Pointer
Level
Carry
flag
Error
flag
X Y M L S B F T C D W R A0 A1 Z V K H P I N
Digit specification
Index
M9012 (M9010, M9011)
(D) O O O O O O O O O
n O O
O O
Functions BSET
(1) Sets (1) the "n"th bit of word device specified at (D).
(2) For "n", 0 to 15 are effective. When 15 is exceeded, the instruction is executed
at the lower four bits.
Applicable
CPU
All CPUs
(D)
Device number for bit set,
reset
n
Bit number for bit set,
reset (0 to 15)
Setting data
BSET, BRST
Indicates the instruction symbol.
Set/reset commands
P
(D) n
(D) n
Before execution
After execution
Set to 1.
PK
BSET D10 6