EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 349

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 BASIC INSTRUCTIONS
6.4 Bit Processing Instructions
347
6
Processing details
These instructions extract the bit data at the position specified by (s2) of the double-word device specified by (s1), and write
it to the bit device specified by (d).
The bit device specified by (d) turns off when the extracted bit data is 0 and turns on when the bit data is 1.
Specify the bit position (0 to 31) of the double-word data in (s2). When 32 or a greater value is specified in (s2), the
remainder of (s2)32 becomes the bit position.
Ex.
When (s2)=34: The remainder of 3432 is 2, and therefore the data in bit 2 will be extracted.
Operation error
There is no operation error.
(1) (s2) bit (When (s2)=21)
  b31 b15b16 b0
(d)
(s1)
b21
(s1)+1
(1)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals