Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 108
Advertising

5.3 Numeric Operation Instructions
5.3.9 Real Remainder (REM)
5-39
Instructions
5
( 3 ) Programming Examples
In the following programming examples, the base value is subtracted from the input data n times and the remainder is
stored in the output data.
• Storing the Output Data in MF00000 When the Input Data Is 5.0 and the Base Value Is 2.0
5.0
–
2.0
–
2.0 = 1.0 < Base (2.0)
→ MF00000 = 1.0
• Storing the Output Data in MF00000 When the Input Data Is 3000.0 and the Base Value Is 3.0
3,000.0
–
3.0
–
3.0 ... = 0.0 < Base (3.0)
→ MF00000 = 0.0
Advertising
This manual is related to the following products: