Converting 32-Bit Binary Gray Code Data To 32-Bit Binary 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 Gray code data to 32-bit binary data

DGBIN(P)(_U)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions convert the specified 32-bit binary Gray code data to 32-bit binary data.
Ladder
(s)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
DGBIN
DGBIN_U
DGBINP
DGBINP_U
Setting data
■Description, range, data type
Operand
(s)
DGBIN(P)
DGBIN(P)_U
(d)
DGBIN(P)
DGBIN(P)_U
EN
ENO
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d)
6 BASIC INSTRUCTIONS
432
6.6 Data Conversion Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
Execution condition
Description
Gray code data or the start device where the
Gray code data is stored
Start device for storing the converted binary
data
Execution condition
Execution result
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DGBIN(EN,s,d);
ENO:=DGBINP(EN,s,d);
Range
0 to 2147483647
0 to 4294967295
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
ENO:=DGBIN_U(EN,s,d);
ENO:=DGBINP_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