45
2
3
4
5
6
7
8
2.4
B
asic instructio
ns
2.4.3
D
ata conve
rsion instructio
ns
*1:
The number of basic steps is two for the Universal model QCPU and LCPU only.
*2:
The subset is effective only with Universal model QCPU and LCPU.
Category
Inst
ructi
on Sym
b
o
l
Symbol
Processing Details
Execution
Condition
Num
b
er o
f Ba
sic S
tep
s
Sub
set
See f
o
r Des
cr
iptio
n
Floating point
BIN
conversions
(Single
precision)
INT
3
*1
*2
INTP
DINT
3
*1
*2
DINTP
Floating point
BIN
conversions
(Double
precision)
INTD
3
*2
INTDP
DINTD
3
*2
DINTDP
BIN
16-bit
32-bit
conversion
DBL
3
-
DBLP
WORD
3
-
WORDP
BIN
Gray code
conversions
GRY
3
-
GRYP
DGRY
3
-
DGRYP
Gray code
BIN
conversions
GBIN
3
-
GBINP
DGBIN
3
-
DGBINP
INT
S D
(S
+1
,
S)
(D)
Rea
l
number
(
-32768
to
32767
)
Convers
i
on
to
BIN
INT
P
S D
D
INT
S D
(S
+1
,
S)
(D
+1
,
D)
Rea
l
number
(
-2147483648
to
2147483647
)
Convers
i
on
to
BIN
D
INT
P
S D
INTD
S D
(S
+3
,
S
+2
,
S
+1
,
S)
Convers
i
on
to
BIN
(D)
Rea
l
number
(
-32768
to
32767
)
INTDP
S D
DINTD
S D
(S
+3
,
S
+2
,
S
+1
,
S)
Convers
i
on
to
BIN
(D
+1
,
D)
Rea
l
number
(
-2147483648
to
2147483647
)
DINTDP
S D
D
BL
S D
(S)
Conversion
(D+
1
, D)
B
IN (-
32768
to
32767
)
D
BL
P
S D
WO
RD
S D
(S+
1
, S)
Conversion
(D)
B
IN (-
32768
to
32767
)
WO
RDP
S D
G
R
Y
S D
(S)
(D)
BIN
(
-32768
to
32767
)
Convers
i
on
to
gra
y
code
G
R
Y
P
S D
D
G
R
Y
S D
(S
+1
,
S)
(D
+1
,
D)
BIN
(
-2147483648
to
2147483647
)
Convers
i
on
to
gra
y
code
D
G
R
Y
P
S D
GBIN
S D
(S)
(D)
G
ra
y
code
(
-32768
to
32767
)
Convers
i
on
to
BIN
data
GBIN
P
S D
D
GBIN
S D
(S
+1
,
S)
(D
+1
,
D)
G
ra
y
code
(
-2147483648
to
2147483647
)
Convers
i
on
to
BIN
data
D
GBIN
P
S D