
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
125/
316
TITLE
DRAW.NO.
3.10.1 PMC_ADD_BCDx/PMC_SUB_BCDx/PMC_MUL_BCDx/
PMC_DIV_BCDx (x = 2, 4, 8)
Function
When EN is set to ON and is receiving the power flow,
PMC_ADD_BCDx/PMC_SUB_BCDx/PMC_MUL_BCDx/PMC_DIV_BC
Dx perform addition, subtraction, multiplication, and division on the
BCD data of input parameters IN1 and IN2, and output the result to
output parameter Q.
IN1, IN2, and Q must all be of the same data type.
If the operation produces an overflow, the maximum possible value for
that data type is set in the output reference. If invalid BCD data is
input to IN, 0 is output to Q. When the operation ends without an
overflow, ENO is set to ON.
Addition/subtraction/multiplication/division of BCD data
Name Explanation
PMC_ADD_BCD2 Addition of 2-digit BCD data
PMC_ADD_BCD4 Addition of 4-digit BCD data
PMC_ADD_BCD8 Addition of 8-digit BCD data
PMC_SUB_BCD2 Subtraction of 2-digit BCD data
PMC_SUB_BCD4 Subtraction of 4-digit BCD data
PMC_SUB_BCD8 Subtraction of 8-digit BCD data
PMC_MUL_BCD2 Multiplication of 2-digit BCD data
PMC_MUL_BCD4 Multiplication of 4-digit BCD data
PMC_MUL_BCD8 Multiplication of 8-digit BCD data
PMC_DIV_BCD2 Division of 2-digit BCD data
PMC_DIV_BCD4 Division of 4-digit BCD data
PMC_DIV_BCD8 Division of 8-digit BCD data