Mitsubishi Electric MELSEC-Q/L Programming Manual page 44

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Category
Instruction
symbol
BIN 16-bit 
DBL
32-bit
conversions
DBLP
WORD
WORDP
BIN  Gray
GRY
code
conversions
GRYP
DGRY
DGRYP
Gray code
GBIN
 BIN
conversions
GBINP
DGBIN
DGBINP
Complement
NEG
to 2
NEGP
DNEG
DNEGP
ENEG
ENEGP
EDNEG
EDNEGP
Block
BKBCD
conversion
BKBCDP
BKBIN
BKBINP
Floating-
ECON
point Single
precision 
ECONP
Double
precision
Floating-
EDCON
point Double
precision 
EDCONP
Single
precision
2 INSTRUCTION TABLES
42
2.4 Basic Instructions
Symbol
Processing details
DBL
S D
DBLP
S D
WORD
S D
WORDP
S D
Conversion to gray code
GRY
S D
GRYP
S D
DGRY
S D
DGRYP
S D
Conversion to BIN data
GBIN
S D
GBINP
S D
DGBIN
S D
DGBINP
S D
NEG
D
NEGP
D
DNEG
D
DNEGP
D
ENEG
D
ENEGP
D
(D+3, D+2, D+1, D)
EDNEG
D
EDNEGP D
• Batch converts BIN data n points
BKBCD
S D
n
BKBCDP
S D
n
• Batch converts BCD data n points
BKBIN
S D
n
BKBINP
S D
n
ECON
S D
(S+1, S)
ECONP
S D
EDCON
S D
(S+3, S+2, S+1, S)
EDCONP S D
Conversion
(S)
(D+1, D)
BIN (-32768 to 32767)
Conversion
(S+1, S)
(D)
BIN (-32768 to 32767)
(S)
(D)
BIN (-32768 to 32767)
Conversion to gray code
(S+1, S)
(D+1, D)
BIN (-2147483648 to
2147483647)
(S)
(D)
Gray code (-32768 to 32767)
Conversion to BIN data
(S+1, S)
(D+1, D)
Gray code
(-2147483648 to 2147483647)
(D)
(D)
BIN data
(D+1, D)
(D+1, D)
BIN data
(D+1, D)
(D+1, D)
Real number data
(D+3, D+2, D+1, D)
Real number data
from (S) to BCD data and stores the
result from (D) onward.
from (S) to BIN data and stores the
result from (D) onward.
Conversion to double precision
(D+3, D+2, D+1, D)
32-bit floating-point real number
Conversion to single precision
(D+1, D)
64-bit floating-point real number
Execution
Number
Subset Reference
condition
of basic
steps
*3
3
*3
3
*3
3
*3
3
*3
3
*3
3
2
2
2
3
4
4
3
3
Page 281
Page 282
Page 283
Page 285
Page 287
Page 289
Page 290
Page 291
Page 293
Page 295
Page 296

Advertisement

Table of Contents
loading

Table of Contents