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
Ca
rr
y
fla
g
Err
o
r
fla
g
X Y M L S B F T C D W R A0
A1
Z V K H P I N
D
igit specification
Inde
x
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.
P
K
BSET D10
6
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......