EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 476

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...
474
6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
Processing details
These instructions store the binary value, corresponding to the bit which is set to 1 in the 2
(n)
bit data in the device specified
by (s), in the device specified by (d).
Specify a value 1 to 8 for (n).
When (n)=0, no processing is performed and the values in the device specified by (d) remain unchanged.
A bit device is treated as 1 bit, and a word device is treated as 16 bits.
When two or more bits are 1, the upper bit position is used for processing.
Operation error
Error code
(SD0)
Description
3401H The value specified by (n) is out of the range, 0 to 8.
The bits in the 2
(n)
bit data in the device specified by (s) are all 0s.
110
(d)
7
0
86543210
01000000
(s)
=6

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals