8 integer remainder (mod), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 105

Advertising
background image

5.3 Numeric Operation Instructions

5.3.8 Integer Remainder (MOD)

5-36

5.3.8 Integer Remainder (MOD)

( 1 ) Operation

The remainder of the immediately preceding integer or double-length integer division is stored in the output data. The
MOD instruction must be executed immediately after the DIV instruction. If the MOD instruction is executed at any
other time, the operation result obtained before the next numeric operation instruction will be invalid.

( 2 ) Format

∗ C and # registers cannot be used.

Output data

Division of an integer or double-length integer

Execute MOD instruction immediately after a division.

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Output data (Dest)

×

{

*

{

*

×

×

{

×

Output data

Icon:

Key entry: MOD

Advertising
This manual is related to the following products: