REM
Modulus function for LREAL values. Most position variables in Yaskawa controllers are represented in user units of type LREAL. There is the need to perform modular operations on some of these positional values. The
REM
function satisfies this need.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | EN | BOOL | This function will continue to operate while EN is TRUE. | FALSE |
| V | Numerator | LREAL | The numerator for division, such as the free running motor position, which may be outside a desired range of values, such as 0 to 360.0 | LREAL#0.0 |
| V | Denominator | LREAL | The denominator for division, which is the desired max value for the Numerator input, such as 360.0 | LREAL#0.0 |
| VAR_OUTPUT | ||||
| B | ENO | BOOL | TRUE if the function is executing normally |
|