EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
210
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
Operation is enabled when (s1) or (s2) have been specified by same device as (d) (perfect match). An error occurs if the
device range of (n) point(s) from (s1) or (s2) partially matches (overlaps) the device range of (n) point(s) from (d).
Ex.
If 4 points of the device from (s2) and (d) match
If 4 points of the device from (s2), (d) match partially
If the value specified for (n) is 0, processing is not performed.
If an underflow or overflow occurs for operation result, the result will be as follows. In this case, the carry flag (SM700) does
not turn ON.
Operation error
(1) Because it is a perfect match, operation is
possible.
(1) An operation error occurs if they partially
match.
If signed is specified If unsigned is specified
Error code
(SD0/SD8067)
Description
2820 The range of (n) point(s) of data starting from the device specified by (s1), (s2), or (d) exceed the corresponding device range.
2821 The device range for (n) point(s) beginning from (s1) overlaps with that of (n) point(s) starting from (d).
(Does not apply when same device has been specified for (s1) and (d).)
The device range for (n) point(s) beginning from (s2) overlaps with that of (n) point(s) starting from (d).
(Does not apply when same device has been specified for (s2) and (d).)
W1, W0
b31 b0
W3, W2
W5, W4
W7, W6
D1, D0
b31 ······ ···b0
D3, D2
D5, D4
D7, D6
b31
(1)
b0
W1, W0
b31 b0
W3, W2
W5, W4
W7, W6
D1, D0
b31 ······
···
b0
D3, D2
D5, D4
D7, D6
D9, D8
b31
(1)
b0
K2147483647
(7FFFFFFFH)
K2
(00000002H)
K-2147483647
(80000001H)
K-2147483647
(80000001H)
-
-
K2147483647
(7FFFFFFFH)
K-2
(FFFFFFFEH)
K4294967295
(FFFFFFFFH)
K1
(00000001H)
-
K0
(00000000H)

Table of Contents

Related product manuals