Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 347

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions extract the bit data at the position specified by (s2) of the word device specified by (s1), and write it to
the bit device specified by (d).
(1)
b15
∙∙∙
b5
∙∙∙
(s1)
(1) (s2) bit (When (s2)=5)
• 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 15) of the word data in (s2). When 16 or a greater value is specified in (s2), the remainder of
(s2)16 becomes the bit position.
Ex.
When (s2)=18: The remainder of 1816 is 2, and therefore the data in bit 2 will be extracted.
Operation error
There is no operation error.
b0
(d)
6 BASIC INSTRUCTIONS
6.4 Bit Processing Instructions
6
345

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents