Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-88
DBL(P)
6.3.7 Conversion from BIN 16-bit to BIN 32-bit data (DBL(P))
DBL(P)
Function
Converts BIN 16-bit data at device designated by to BIN 32-bit data with sign, and stores the
result at a device designated by .
Operation Error
(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] [List Mode]
[Operation]
: BIN 16-bit data or head number of the devices where the BIN 16-bit data is stored (BIN 16 bits)
:
Head number of the devices where the converted BIN 32-bit data will be stored (BIN 32 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
––
–– ––
Basic
Process
High
performance
Redundant
Universal
Command
Command
DBLP
DBL
S D
DS
DBLP
DBL
S
D
S
D
S
D
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)