516
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.17 FNC129 – INT / Floating Point to Integer Conversion
Related devices
→ For the methods of zero, borrow and carry flags, refer to Subsection 6.5.2.
Caution
1. Caution in the operation
• Values after the decimal point are rounded.
Device Name Description
M8020 Zero flag Turns ON when the operation result is 0
M8021 Borrow flag Turns ON when the conversion result is cut in the decimal part.
M8022 Carry flag
Turns ON when the operation result is outside the range from −32768 to 32767
(in 16-bit operation) or from −2,147,483,648 to 2,147,483,647 (in 32-bit operation) and overflow
occurs. (The operation result is not reflected.)