Mitsubishi MELSEC System Q Manual page 135

Hide thumbs Also See for MELSEC System Q:
Table of Contents

Advertisement

More Advanced Programming
Category
Comparison
operations
Math
instructions
Data
conversion
instructions
MELSEC System Q Beginners Manual
Instruction
OR$<>
Character string data
OR$<=
comparisons
OR$>=
BKCMP=
BKCMP>
BKCMP<
Block data compari-
son
BKCMP<>
BKCMP<=
BKCMP>=
+
-
D+
D-
B+
B-
Addition and
Subtraction
DB+
DB-
E+
E-
BK+
BK-
x
/
Dx
D/
Bx
Multiplication and
division
B/
DBx
DB/
Ex
E/
Character string data
S+
combination
INC
DINC
Increment and
Decrement
DEC
DDEC
BCD
Binary data -> BCD
DBCD
BKBCD
BIN
BCD-> Binary data
DBIN
BKBIN
FLT
Binary data -> floating
decimal point
DFLT
INT
Floating decimal point
-> Binary data
DINT
DBL
Binary data -> Binary
data
WORD
Applied Instructions Reference
Function
Compare of two character strings (one character at a
time) within operations
Compares BIN 16-bit data stored in consecutive devices
(data blocks). The number of data blocks is specified with
the instruction. The result is stored in a separate area.
Add 16-bit binary data
Subtract 16-bit binary data
Add 32-bit binary data
Subtract 32-bit binary data
Add 4-digit BCD values
Subtract 4-digit BCD values
Add 8-digit BCD values
Subtract 8-digit BCD values
Add floating decimal point values
Subtract floating decimal point values
Add BIN 16-bit data stored in data blocks
Subtract BIN 16-bit data stored in data blocks
Multiply 16-bit binary data
Divide 16-bit binary data
Multiply 32-bit binary data
Divide 32-bit binary data
Multiply 4-digit BCD values
Divide 4-digit BCD values
Multiply 8-digit BCD values
Division 8-digit BCD values
Multiply floating decimal point values
Divide floating decimal point values
Link one character string to another
Increment (add "1" to the actual value) of 16-bit binary
data
Increment of 32-bit binary data
Decrement (subtract "1" from the actual value) of 16-bit
binary data
Decrement of 32-bit binary data
Converts 16-bit binary data to BCD
Converts 32-bit binary data to BCD
Converts 16-bit binary data blocks to BCD
Converts 4-digit BCD values to binary data
Converts 8-digit BCD values to binary data
Converts block 4-digit BCD values to block binary data
Converts 16-bit binary data to floating decimal point value
Converts 32-bit binary data to floating decimal point value
Converts a floating decimal point value to 16-bit binary
Converts a floating decimal point value to 32-bit binary
Converts 16-bit binary data to 32-bit binary data
Converts 32-bit binary data to 16-bit binary data
6 – 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents