Data Type Conversion Instructions
82
S7-400 Instruction List
A5E00267845-01
Data Type Conversion Instructions
The results of the conversion are in ACCU1.
Instruc-
Addr. ID
Description
Length
in
Execution Time in
s
Instruc-
tion
Addr. ID
Description
Length
in
Words
CPU 412
CPU 414
CPU 416
CPU 417
BTI
Convert contents of ACCU1-L
from BCD (0 to +/- 999) to integer
(16 bits) (BCD To Int)
1
0.1
0.06
0.04
0.03
BTD
Convert contents of ACCU1 from
BCD (0 to +/-9 999 999) to
double integer (32 bits) (BCD To
Doubleint)
1
0.1
0.06
0.04
0.03
DTR
Convert contents of ACCU1 from
double integer (32 bits) to real
number (32 bits) (Doubleint To
Real)
1
0.3
0.18
0.12
0.09
ITD
Convert contents of ACCU1 from
integer (16 bits) to double integer
(32 bits) (Int To Doubleint)
1
0.3
0.06
0.04
0.03
Status word for:
BTI, BTD, DTR, ITD
BR
CC1
CC0
OV
OS
OR
STA
RLO
/FC
Instruction evaluates:
–
–
–
–
–
–
–
–
–
Instruction affects:
–
–
–
–
–
–
–
–
–