Conversion Of Gray Code To Bin 16 And 32-Bit Data (Gbin(P),Dgbin(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.3.10
Conversion of Gray code to BIN 16 and 32-bit data
(GBIN(P),DGBIN(P))
GBIN(P),DGBIN(P)
GBIN, DGBIN
GBINP, DGBINP
Setting
Data
S
D
Function
GBIN
Converts Gray code data at device designated by
designated by
S
Gray code 1234
D
BIN 1234
DGBIN
Converts Gray code data at device designated by
designated by
S
Gray code 305419896 0
D
BIN 305419896
Command
Command
: Gray code data or head number of the devices where the Gray code data is stored (BIN 16/32 bits)
S
: Head number of the devices where the converted BIN data will be stored (BIN 16/32 bits)
D
Internal Devices
R, ZR
Bit
Word
.
D
16 bit
b15
0
0
0
0
0
0
1
1
b15
0
0
0
0
0
1
0
0
.
D
+1 (Upper 16 bits)
S
b31
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
+1
b31
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
High
Basic
performance
indicates an instruction symbol of
J
\
U
\G
Bit
Word
to BIN 16-bit data and stores at device
S
b0
0
0
1
1
1
1
1
1
b0
1
1
0
1
0
0
1
0
to BIN 32-bit data and stores at device
S
(Lower 16 bits)
S
b16
b15
D
b16
b15
GBIN(P),DGBIN(P)
Process
Redundant Universal
LCPU
GBIN/DGBIN.
S
D
P
S
D
Constants
Zn
Other
K, H
––
––
––
b0
b0
6-93
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents