220
7 BASIC INSTRUCTIONS
7.2 Arithmetic Operation Instructions
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
(SD0/SD8067)
Description
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.
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......