
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
208/
316
TITLE
DRAW.NO.
4.9.2 Subtract BCD
4.9.2.1 PMC_SUB_BCD2(in1, in2)
accumulator in1 - in2
Subtract one BCD2 from another and store the result in the accumulator. The value and type of the accumulator are
unchanged.
in1: BYTE variable or constant
in2: BYTE variable or constant
4.9.2.2 PMC_SUB_BCD4(in1, in2)
accumulator in1 - in2
Subtract one BCD4 from another and store the result in the accumulator. The value and type of the accumulator are
unchanged.
in1: WORD variable or constant
in2: WORD variable or constant
4.9.2.3 PMC_SUB_BCD8(in1, in2)
accumulator in1 - in2
Subtract one BCD8 from another and store the result in the accumulator. The value and type of the accumulator are
unchanged.
in1: DWORD variable or constant
in1: DWORD 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.