EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #247 background imageLoading...
Page #247 background image
245
GBIN, GBINP, DGBIN, DGBINP
1
2
3
4
6
7
8
6.3 Data conversion instructions
6.3.10 GBIN, GBINP, DGBIN, DGBINP
Program Example
(1) The following program converts the BIN data at D100 to Gray code when X10 is ON, and stores result at D200.
[Ladder Mode] [List Mode]
(2) The following program converts the BIN data at D10 and D11 to Gray code when X1C is ON, and stores it at D100 and
D101.
[Ladder Mode] [List Mode]
: Gray code data or head number of the devices where the Gray code data is stored (BIN 16/32 bits)
:
Head number of the devices where the converted BIN data will be stored (BIN 16/32 bits)
Function
GBIN
Converts Gray code data at device designated by to BIN 16-bit data and stores at device designated by .
6.3.10 GBIN, GBINP Co nversion from Gray code t o BIN 16-bit da ta
DGBIN, DGBINP Conversion from Gray code to BIN 32-bit data
6.3.10
GBIN, GBINP, DGBIN, DGBINP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
–– ––
Step
Instruction
Device
Step
Instruction
Device
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
S D
DS
GBINP, DGBINP
GBIN, DGBIN
P
indicates an instruction symbol of GBIN/DGBIN.
S
D
S
D
S
D
b15
0Gray code 1234 0 0 0 0
1 1
0
1
0
1 1 1
0
11
b0
16 bit
0
BIN 1234
0
0 0 0 1 0 0 1 1 0 1 0 0 10
b15 b0
S
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals