9 real remainder (rem), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 107

5.3 Numeric Operation Instructions
5.3.9 Real Remainder (REM)
5-38
5.3.9 Real Remainder (REM)
( 1 ) Operation
The remainder from a real number division is stored in the output data. Here, the remainder refers to the remainder
obtained by repeatedly subtracting the base value from the input data.
Specifically, the value obtained by subtracting the base value from the input data n number of times (input data - base
value
× n) is output when it becomes less than the base value.
Condition n
The output data is computed by using the first value of n that satisfies the following formula when the value of n is
incremented from 0, 1, 2, 3, etc.
(Input data – Base value
× n) < Base value
( 2 ) Format
∗ C and # registers cannot be used.
Input data
Output data
Base value
−
×
n
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Input data (Src)
×
×
×
{
×
×
{
Base (Base)
×
×
×
{
×
×
{
Output data (Dest)
×
×
×
{
*
×
{
×
Base value
Output data
Input data
Icon:
Key entry: REM