Converting 32-Bit Binary Data To Gray Code Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Converting 32-bit binary data to Gray code data

DGRY(P)(_U)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions convert the specified 32-bit binary data to 32-bit binary Gray code data.
Ladder
(s)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DGRY
DGRY_U
DGRYP
DGRYP_U
Setting data
■Description, range, data type
Operand
(s)
DGRY(P)
DGRY(P)_U
(d)
DGRY(P)
DGRY(P)_U
EN
ENO
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
6 BASIC INSTRUCTIONS
428
6.6 Data Conversion Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Description
Binary data or the start device where the binary
data is stored
Start device for storing the converted Gray
code data
Execution condition
Execution result
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DGRY(EN,s,d);
ENO:=DGRYP(EN,s,d);
Range
0 to 2147483647
0 to 4294967295
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
ENO:=DGRY_U(EN,s,d);
ENO:=DGRYP_U(EN,s,d);
Data type
Data type (label)
32-bit signed binary
ANY32_S
32-bit unsigned binary
ANY32_U
32-bit signed binary
ANY32_S
32-bit unsigned binary
ANY32_U
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents