Conversion From Bin 16-Bit To Bin 32-Bit Data (Dbl, Dblp) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS

6.3.5 Conversion from BIN 16-bit to BIN 32-bit data (DBL, DBLP)

Internal Devices
Set
(System, User)
Data
Bit
Word
S
D
[Instruction Symbol] [Execution Condition]
DBL
DBLP
[Set Data]
Set Data
S
D
[Functions]
Converts BIN 16-bit data at device designated by
result at a device designated by
[Operation Errors]
(1) There are no errors associated with the DBL(P) instruction.
[Program Example]
(1) 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.
[Ladder Mode]
6 - 65
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Command
Command
Head number of device where BIN 16-bit data is stored
Head number of device where BIN 32-bit data is stored after conversion
.
D
S
16-bit BIN data
D100
FB2E
H
(-1234)
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
DBL
DBLP
Meaning
to BIN 32-bit data with sign, and stores the
S
+1
D
The upper 16 bits
The lower 16 bits
32-bit BIN data
[List Mode]
Instruction
Steps
R101 R100
FFFFFB2E
H
(-1234)
MELSEC-Q/QnA
QnA
Process CPU
Index
Constant
Register
K, H
Zn
S
D
S
D
Data Type
BIN 16 bits
BIN 32 bits
D
Device
6 - 65
Q4AR
Other

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents