Bit Set And Reset For Word Devices (Bset, Brst) - Mitsubishi Electric Q172CPU Programming Manual

Melsecq series motion controller sv43
Hide thumbs Also See for Q172CPU:
Table of Contents

Advertisement

7 MOTION PROGRAMS FOR POSITIONING CONTROL

7.16.13 Bit set and reset for word devices (BSET, BRST)

Code
Bit operation of the ward
Function
devices
B
S
Format
B
RST
[Explanation]
[Program Example]
BSET, BRST
ET
D
n
;
D
n
;
(1) BSET sets the specifies bit in the word device.
(2) BRST resets the specifies bit in the word device.
Set the 10th bit of D2000.
BSET #D2000 10 ;
Reset the 12th bit of #@100.
BRST #@100 12 ;
Sets or resets the specifies bit in the word device.
Set bit number (0 to15)
Word device which operates bit. (#D, #W, #@)
Reset bit number (0 to15)
Word device which operates bit. (#D, #W, #@)
7 - 150

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents