FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
159/
316
TITLE
DRAW.NO.
4.3.5 Modulus
4.3.5.1 MOD_INT(in1, in2)
accumulator REMAINDER [in1/in2]
Divide one single-precision integer by another and place the remainder in the accumulator. The accumulator type is
unchanged.
in1: INT variable or constant
in2: INT variable or constant
4.3.5.2 MOD_UINT(in1, in2)
accumulator REMAINDER [in1/in2]
Divide one single-precision unsigned integer by another and place the remainder in the accumulator. The accumulator
type is unchanged.
in1:UINT variable or constant
in2: UINT variable or constant
4.3.5.3 MOD_DINT(in1, in2)
accumulator REMAINDER [in1/in2]
Divide one double-precision integer by another and place the remainder in the accumulator. The accumulator type is
unchanged.
in1: DINT variable or constant
in2: DINT variable or constant
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.