EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Conversion from bin 16-Bit to bin 32-Bit Data

Mitsubishi Electric MELSEC-Q/L
1084 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
Loading...
6 BASIC INSTRUCTIONS
6.3 Data Conversion Instructions
281
6
Conversion from BIN 16-bit to BIN 32-bit data
DBL(P)
Processing details
Converts BIN 16-bit data at device designated by (S) to BIN 32-bit data with sign, and stores the result at a device
designated by (D).
Operation error
There is no operation error in the DBL(P) instruction.
Program example
The following program converts the BIN 16-bit data stored at D100 to BIN 32-bit data when X20 is ON, and stores at R100
and R101.
(S): BIN 16-bit data or head number of the devices where the BIN 16-bit data is stored (BIN 16 bits)
(D): Head number of the devices where the converted BIN 32-bit data will be stored (BIN 32 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S) 
(D) 
[Ladder Mode] [List Mode]
[Operation]
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
DBLP
DBL
S D
DS
DBLP
DBL
BIN 32-bit data
Lower 16 bitsUpper 16 bitsBIN 16-bit data
+1
S DD
Step
Instruction
Device
FB2E
H
FFFFFB2E
H
D100
( 1234)
R101 R100
( 1234)

Table of Contents

Related product manuals