Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 222

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Precautions
■Operation result
• The most significant bit of the quotient and remainder indicates the sign (positive: 0, negative: 1), respectively.
• The quotient is negative when either (s1) or (s2) is negative. The remainder is negative when the (s1) is negative.
■Device specified by (d)
• The remainder is not obtained when a bit device is specified with nibble specification.
Operation error
Error code
Description
(SD0/SD8067)
2820H
The range of the device specified by (d) exceeds the range of said device.
3400H
0 is specified for (s2) value.
3403H
Signed operation is performed and the operation result exceeds 2147483647.
7 BASIC INSTRUCTIONS
220
7.2 Arithmetic Operation Instructions

Hide quick links:

Advertisement

loading