Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
2-22
2.4.3 Data conversion instructions
Table 2.12 Data Conversion Instructions
*1: The number of basic steps is two for the Universal model QCPU only.
*2: The subset is effective only with
Universal model QCPU.
Category
Instruction Symbol
Symbol Processing Details
Execution
Condition
Number of Basic Steps
Subset
See for Description
BCD
conversions
BCD
3
*1
6-73
BCDP
DBCD
3
*1
DBCDP
BIN
conversions
BIN
3
*1
6-75
BINP
DBIN
3
*1
DBINP
BIN
Floating
point
conversions
(Single
precision)
FLT
3
*1
*2
6-78
FLTP
DFLT
3
*1
*2
DFLTP
BIN
Floating
point
conversions
(Double
precision)
FLTD
4
*2
6-81
FLTDP
DFLTD
4
*2
DFLTDP
Floating
point
BIN
conversions
(Single
precision)
INT
3
*1
*2
6-83
INTP
DINT
3
*1
*2
DINTP
Floating
point
BIN
conversions
(Double
precision)
INTD
3
*2
6-86
INTDP
DINTD
3
*2
DINTDP
BCD SD
(S) (D)
BIN (0 to 9999)
BCD conversions
BCDP SD
DBCD SD
(S+1, S) (D+1, D)
BIN (0 to 99999999)
BCD conversions
DBCDP SD
BIN SD
(S) (D)
BCD (0 to 9999)
BIN conversions
BINP SD
DBIN SD
(S+1, S) (D+1, D)
BCD (0 to 99999999)
B
IN conversions
DBINP SD
FLT SD
(S)
Conversion to real number
(
D+1, D)
BIN(
32768 to 32767)
FLTP SD
DFLT SD
(S+1, S) (D+1, D)
BIN( 2147483648 to
2147483647)
Conversion to real number
DFLTP SD
FLTD S D
(S)
Conversion to real number
(
D+3, D+2, D+1, D)
BIN(
32768 to 32767)
FLTDP S D
DFLTD S D
(S+1, S) (D+3, D+2, D+1, D)
BIN( 2147483648 to
2147483647)
Conversion to real number
DFLTDP S D
INT SD
(S+1, S) (D)
Real number (-32768 to 32767)
Conversion to BIN
INTP SD
DINT SD
(S+1, S) (D+1, D)
Real number (-2147483648 to
2147483647)
Conversion to BIN
DINTP SD
INTD S D
(S+3, S+2, S+1, S)
Conversion to BIN
(D
)
Real number (
32768 to
32767)
INTDP S D
DINTD S D
(S+3, S+2, S+1, S)
Conversion to BIN
(D+1, D)
Real number (
2147483648 to
2147483647)
DINTDP S D