
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
156/
316
TITLE
DRAW.NO.
4.3.2 Subtract
4.3.2.1 SUB_INT(in1, in2)
accumulator in1 - in2
Subtract one single-precision integer from another and store the result in the accumulator. The value and type of the
accumulator are unchanged.
in1: INT variable or constant
in2: INT variable or constant
4.3.2.2 SUB_UINT(in1, in2)
accumulator in1 - in2
Subtract one single-precision unsigned integer from another and store the result in the accumulator. The value and type
of the accumulator are unchanged.
in1: UINT variable or constant
in2: UINT variable or constant
4.3.2.3 SUB_DINT(in1, in2)
accumulator in1 - in2
Subtract one double-precision integer from another and store the result in the accumulator. The value and type of the
accumulator are 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.