8 mod instruction (mod) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 43

1.2 Numeric Operation Instructions
1-33
1
1.2.8 MOD Instruction (MOD)
Outline
The MOD instruction outputs the remainder of integer or double-length integer division to
the Dest. Always execute the MOD immediately after the division instruction. If the MOD
is executed somewhere else, the operation results obtained before the next entry instruction
cannot be guaranteed.
Format
Parameter
Program Example
The quotient of an integer type division is stoned in MW00101 and the remainder is stored
in MW00102.
Parameter Name
Setting
Dest
• Any integer type and double-length integer type register
(except for # and C registers)
• Any integer type and double-length integer type register with
subscript (except for # and C registers)
• Subscript register
Symbol: MOD
Full Name: Integer Remainder
Category: MATH
Icon: