Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 481

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

Advertisement

Processing details
• These instructions separate the lower (n) nibble(s) (4 bits/nibble) from the 16-bit binary data in the device specified by (s),
and store each of the separated data in the lower 4 bits of the (n) points of data in the device specified by (d).
b15 b12
∙∙∙
b11
∙∙∙
b8
b7
∙∙∙
b4
b3
∙∙∙
(s)
(1) Data storage area
(2) Filled with 0s.
• The upper 12 bits of the (n) points of data in the device specified by (d) are filled with 0s.
• Specify a value 1 to 4 for (n).
• When (n)=0, no processing is performed and the (n) points of data starting from the device specified by (d) remain
unchanged.
Operation error
Error code
Description
(SD0)
3401H
The value specified by (n) is out of the range, 0 to 4.
b0
b15
∙∙∙
b4
b3
(d)
(d)+1
(d)+2
(d)+3
(2)
∙∙∙
b0
(n)
(1)
6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
6
479

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents