Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 431

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

Advertisement

Processing details
• These instructions convert the 32-bit binary data in the device specified by (s) to 32-bit binary Gray code data, and store the
converted data in the device specified by (d).
b31
305419896 0
0
0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0
(s) BIN
b31
305419896 0
0
0 1 1 0 1 1 0 0 1 0 1 1 1 0 0 1 1 1 1 1 0 1 0 1 0 0 0 1 0 0
(d)
(s)+1: Upper 16 bits
(s): Lower 16 bits
Operation error
Error code
Description
(SD0)
3401H
When the DGRY(P) instruction is used, the value in the device specified by (s) is out of the range, 0 to 2147483647.
(s)+1
b16
b15
∙∙∙
(d)+1
b16
b15
∙∙∙
(s)
b0
∙∙∙
(d)
b0
∙∙∙
6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
6
429

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents