Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 184

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

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)
2820
The range of the device specified by (d) exceeds the range of said device.
3400
0 is specified for (s2) value.
3403
The data type of the data setting is signed data and the operation result exceeds 32767.
6 BASIC INSTRUCTIONS
182
6.2 Arithmetic Operation Instructions

Advertisement

Table of Contents
loading

Table of Contents